Enumeration

MTLArgumentType

The resource type associated with an argument of a function.

Declaration

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

Topics

Argument Types

MTLArgumentTypeBuffer

The argument is a buffer.

MTLArgumentTypeThreadgroupMemory

The argument is a pointer to threadgroup memory.

MTLArgumentTypeTexture

The argument is a texture.

MTLArgumentTypeSampler

The argument is a texture sampler.

MTLArgumentTypeImageblock

The argument is an imageblock.

MTLArgumentTypeImageblockData

The argument is imageblock 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.

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