axiom-graphics

Diagnose GPU rendering and migrate OpenGL code to Metal.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-graphics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-graphics
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-graphics
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-graphics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a centralized, expert-level framework for navigating the complexities of GPU rendering, Metal migration, and 3D content integration, preventing common pitfalls like black screens, performance hitches, and shader compilation errors.

Core Features & Use Cases

  • Metal Migration: Systematic strategies for porting OpenGL, OpenGL ES, and DirectX code to native Metal, including shader conversion tables and API mapping.
  • Display Performance: Advanced diagnostics for ProMotion (120Hz) frame pacing, hitch detection, and render loop optimization.
  • RealityKit & USD: Modern 3D content display, RealityView integration, and USD/USDZ file authoring using USDKit.
  • Use Case: Use this skill to diagnose why a ported Metal app is stuck at 60fps on a ProMotion device or to convert complex GLSL shaders to Metal Shading Language.

Quick Start

Use the axiom-graphics skill to diagnose a black screen issue after porting an OpenGL project to Metal.

Frequently Asked Questions about axiom-graphics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert GLSL shaders to Metal Shading Language?

To convert GLSL shaders to Metal Shading Language, use systematic shader conversion tables and API mapping strategies designed for porting OpenGL code to native Metal.

Why does my Metal app get stuck at 60fps on a ProMotion device?

Your Metal app gets stuck at 60fps due to improper ProMotion frame pacing, which requires advanced render loop diagnostics and hitch detection to achieve 120Hz performance.

How do I fix a black screen after porting OpenGL to Metal?

Fixing a black screen after porting OpenGL to Metal requires systematic diagnostic guidance to identify rendering pipeline errors and ensure explicit resource management patterns.

Can I use RealityKit to display USD content in non-game SwiftUI applications?

Yes, you can use RealityKit to display USD content in non-game SwiftUI applications by leveraging RealityView integration and USDKit for USDZ file authoring.

What is the best way to optimize render loops for variable refresh rate displays?

The best way to optimize render loops for variable refresh rate displays is applying advanced frame pacing diagnostics and explicit resource management patterns for production-grade graphics performance.

Do I need Metal validation protocols for production-grade graphics performance?

Yes, you need Metal validation protocols for production-grade graphics performance to enforce explicit resource management patterns and prevent shader compilation errors during Metal migration.