Class

MTLRenderPipelineReflection

Information about the arguments of a graphics function.

Declaration

class 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 makeRenderPipelineState(descriptor:options:reflection:) or makeRenderPipelineState(descriptor:options:completionHandler:) method of MTLDevice to create both a MTLRenderPipelineState object and a MTLRenderPipelineReflection object.

Topics

Obtaining Argument Information

var vertexArguments: [MTLArgument]?

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

var fragmentArguments: [MTLArgument]?

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

var tileArguments: [MTLArgument]?

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

Releasing the Reflection Object

typealias MTLAutoreleasedRenderPipelineReflection

A convenience type alias for an autoreleased MTLRenderPipelineReflection object.

Relationships

Inherits From

Conforms To

See Also

Function Argument Information

struct MTLPipelineOption

The compilation options that determine which argument information to provide.

class MTLComputePipelineReflection

Information about the arguments of a compute function.

class MTLArgument

Information about an argument of a graphics or compute function.

class MTLType

A description of a data type.

class MTLStructType

A description of a structure.

class MTLArrayType

A description of an array.

class MTLPointerType

A description of a pointer.

class MTLTextureReferenceType

A description of a texture.

enum MTLDataType

Data types for function arguments.

enum MTLArgumentType

The resource type associated with an argument of a function.

enum MTLArgumentAccess

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