Shader Authoring

Write your GPU code in the Metal Shading Language.

Topics

Essentials

Developing and Debugging Metal Shaders

Step through your app's shaders to inspect their variables during execution, and use a live preview to enhance development.

Optimizing Performance with the Shader Profiler

Discover which lines of shader code take the longest to complete, identify their primary GPU activities, and tune your shaders accordingly.

See Also

Shaders

Libraries

Organize your shaders into libraries.

Functions

Retrieve information about rendering and compute functions.