Contents

primitiveType

The primitive type with which to draw the submesh object.

Declaration

var primitiveType: MTLPrimitiveType { get }

Discussion

Use this value for the primitiveType parameter in a call to drawIndexedPrimitives(type:indexCount:indexType:indexBuffer:indexBufferOffset:).

See Also

Properties used to Draw Indexed Primitives