MTLPrimitiveType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |