Class

MTLTextureReferenceType

A description of a texture.

Declaration

class MTLTextureReferenceType : MTLType

Topics

Describing the Texture

var textureType: MTLTextureType

The texture type of the texture.

var textureDataType: MTLDataType

The data type of the texture.

var access: MTLArgumentAccess

The texture's read/write access to the argument.

var isDepthTexture: Bool

A Boolean value that indicates whether the texture is a depth texture.

Relationships

Inherits From

Conforms To

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.

enum MTLDataType

Data types for function arguments.

enum MTLArgumentType

The resource type associated with an argument of a function.

enum MTLArgumentAccess

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