The compilation options that determine which argument information to provide.


struct MTLPipelineOption


Argument information is provided via MTLArgument objects contained in a MTLComputePipelineReflection or MTLRenderPipelineReflection object.


Retrieving Argument Information

static var argumentInfo: MTLPipelineOption

Argument information retrieved for buffers, textures, and threadgroup memory.

static var bufferTypeInfo: MTLPipelineOption

Detailed buffer type information retrieved for buffer arguments.

Creating Compilation Options

init(rawValue: UInt)

Creates new, empty compilation options.


Conforms To

See Also

Function Argument Information

class MTLComputePipelineReflection

Information about the arguments of a compute function.

class MTLRenderPipelineReflection

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 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.