Instance Property

bufferStructType

A description of the structure data of a buffer argument.

Declaration

@property(readonly) MTLStructType *bufferStructType;

Discussion

If the buffer data type is MTLDataTypeStruct, this property describes the type of the struct; otherwise, this property is nil.

See Also

Describing a Buffer Argument

bufferAlignment

The required byte alignment in memory for the buffer data.

bufferDataSize

The size, in bytes, of the buffer data.

bufferDataType

The data type of the buffer data.

bufferPointerType

A description of the pointer to a buffer argument.