MTLPrimitiveType Enum

Definition

Enumerates the primitive geometry used for drawing commands.

[ObjCRuntime.Native]
public enum MTLPrimitiveType
[<ObjCRuntime.Native>]
type MTLPrimitiveType = 
Inheritance
MTLPrimitiveType
Attributes

Fields

Name Value Description
Point 0
Line 1
LineStrip 2
Triangle 3
TriangleStrip 4

Applies to