Class

MTLRenderPipelineReflection

Information about the arguments of a graphics function.

Declaration

@interface MTLRenderPipelineReflection : NSObject

Overview

A MTLRenderPipelineReflection object provides access to the arguments of a vertex or fragment function of a MTLRenderPipelineState object. A MTLRenderPipelineReflection object can be created along with a MTLRenderPipelineState object. Don't create a MTLRenderPipelineReflection object directly; instead call either the newRenderPipelineStateWithDescriptor:options:reflection:error: or newRenderPipelineStateWithDescriptor:options:completionHandler: method of MTLDevice to create both a MTLRenderPipelineState object and a MTLRenderPipelineReflection object.

Topics

Obtaining Argument Information

vertexArguments

An array of objects that describe the arguments of a vertex function.

fragmentArguments

An array of objects that describe the arguments of a fragment function.

tileArguments

An array of objects that describe the arguments of a tile shading function.

Releasing the Reflection Object

MTLAutoreleasedRenderPipelineReflection

A convenience type alias for an autoreleased MTLRenderPipelineReflection object.

Relationships

Inherits From

See Also

Function Argument Information

MTLPipelineOption

The compilation options that determine which argument information to provide.

MTLComputePipelineReflection

Information about the arguments of a compute function.

MTLArgument

Information about an argument of a graphics or compute function.

MTLType

A description of a data type.

MTLStructType

A description of a structure.

MTLArrayType

A description of an array.

MTLPointerType

A description of a pointer.

MTLTextureReferenceType

A description of a texture.

MTLDataType

Data types for function arguments.

MTLArgumentType

The resource type associated with an argument of a function.

MTLArgumentAccess

Function access restrictions to argument data in the shading language code.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software