Enumeration

MTLArgumentType

The resource type associated with an argument of a function.

Declaration

enum MTLArgumentType : UInt

Topics

Argument Types

case buffer

The argument is a buffer.

case threadgroupMemory

The argument is a pointer to threadgroup memory.

case texture

The argument is a texture.

case sampler

The argument is a texture sampler.

case imageblock

The argument is an imageblock.

case imageblockData

The argument is imageblock data.

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

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