MTLRenderPipelineReflection
Information about the arguments of a graphics function.
Declaration
class MTLRenderPipelineReflectionOverview
The MTLRenderPipelineReflection class is an interface that represents the parameters for the shaders in a render pipeline state (see MTLRenderPipelineState). Each pipeline state can include object, mesh, vertex, fragment, and tile shaders.
You create a reflection instance at the same time as the pipeline state that it represents by calling the appropriate MTLDevice method. For example, the makeRenderPipelineState(descriptor:options:reflection:) and makeRenderPipelineState(descriptor:options:completionHandler:) methods create the pipeline state and the reflection instances at the same time.
For more information, see Pipeline state creation.