Enumeration

MTLPipelineOption

The compilation options that determine which argument information to provide.

Declaration

typedef enum MTLPipelineOption : NSUInteger {
    ...
} MTLPipelineOption;

Overview

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

Topics

Retrieving Argument Information

MTLPipelineOptionNone

Do not provide any reflection information.

MTLPipelineOptionArgumentInfo

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

MTLPipelineOptionBufferTypeInfo

Detailed buffer type information retrieved for buffer arguments.

See Also

Function Argument Information

MTLComputePipelineReflection

Information about the arguments of a compute function.

MTLRenderPipelineReflection

Information about the arguments of a graphics 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.