Enumeration

MTLArgumentAccess

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

Declaration

enum MTLArgumentAccess : UInt

Topics

Specifying Access Options

case readOnly

The function can only read its argument data.

case writeOnly

The function can only write its argument data.

case readWrite

The function can either read or write its argument 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 MTLArgumentType

The resource type associated with an argument of a function.