Class

MTLPointerType

A description of a pointer.

Declaration

@interface MTLPointerType : MTLType

Topics

Describing the Pointer Elements

alignment

The required byte alignment in memory for the element data.

dataSize

The size, in bytes, of the element data.

elementType

The data type of the element data.

access

The function’s read/write access to the element data.

elementIsArgumentBuffer

A Boolean value that indicates whether the element is an argument buffer.

Obtaining Details for Complex Pointer Elements

- elementArrayType

Provides a description of the underlying array when the pointer points to an array.

- elementStructType

Provides a description of the underlying struct when the pointer points to a struct.

Relationships

Inherits From

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.

MTLTextureReferenceType

A description of a texture.

MTLDataType

Data types for function arguments.

MTLArgumentType

The resource type associated with an argument of a function.

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