Contents

dataType

The data type of the struct member.

Declaration

var dataType: MTLDataType { get }

Discussion

For information on possible values, see MTLDataType. If the value is MTLDataType.array, then the arrayType() method returns an object that describes the underlying array. If the value is MTLDataType.struct, then the structType() method returns an object that describes the underlying struct.

See Also

Describing the struct member