Instance Property

alignment

The required byte alignment in memory for the element data.

Declaration

var alignment: Int { get }

See Also

Describing the Pointer Elements

var dataSize: Int

The size, in bytes, of the element data.

var elementType: MTLDataType

The data type of the element data.

var access: MTLArgumentAccess

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

var elementIsArgumentBuffer: Bool

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