MDLGeometryType Enum

Definition

Enumerates the geometric primitives to use for rendering.

public enum MDLGeometryType
type MDLGeometryType = 
Inheritance
MDLGeometryType

Fields

Lines 1

Indicates that consecutive index pairs describe lines.

Points 0

Indicates that each index describes a point.

Quads 4

Indicates that each 4-index stride in the buffer specifies a quadrilateral.

Triangles 2

Indicates that each 3-index stride in the buffer specifies a triangle.

TriangleStrips 3

Indicates that the first 3-index stride in the buffer specifies a triangle, and that successive points specify another triangle with the preceding two indices

VariableTopology 5

Indicates that the geometry is not uniform, and is described by its Topology property.

Applies to