Retrieve information about rendering and compute functions.
Framework
- Metal
Retrieve information about rendering and compute functions.
Framework
protocol MTLFunction
An object representing a public shader function in the library.
Use function constants to create variants of a function.
class MTLFunction Constant
A constant used to specialize the behavior of a shader.
class MTLFunction Constant Values
A set of constant values used to specialize a graphics or compute function.
Retrieve information about a function's arguments.
struct MTLPipeline Option
The compilation options that determine which argument information to provide.
class MTLCompute Pipeline Reflection
Information about the arguments of a compute function.
class MTLRender Pipeline Reflection
Information about the arguments of a graphics function.
class MTLArgument
Information about an argument of a graphics or compute function.
class MTLType
A description of a data type.
class MTLStruct Type
A description of a structure.
class MTLArray Type
A description of an array.
class MTLPointer Type
A description of a pointer.
class MTLTexture Reference Type
A description of a texture.
enum MTLData Type
Data types for function arguments.
enum MTLArgument Type
The resource type associated with an argument of a function.
enum MTLArgument Access
Function access restrictions to argument data in the shading language code.
Write your GPU code in the Metal Shading Language.
Organize your shaders into libraries.