Enumeration

MTLArgumentAccess

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

Declaration

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

Topics

Specifying Access Options

MTLArgumentAccessReadOnly

The function can only read its argument data.

MTLArgumentAccessWriteOnly

The function can only write its argument data.

MTLArgumentAccessReadWrite

The function can either read or write its argument data.

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.

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.