PrimitiveType Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the primitives supported by Direct3D.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

public enum PrimitiveType

Member nameDescription
Supported by the .NET Compact FrameworkPointListRenders the vertices as a collection of isolated points. This value is unsupported for indexed primitives.
Supported by the .NET Compact FrameworkLineListRenders the vertices as a list of isolated straight line segments. Calls that use this primitive type fail if the count is less than two or is odd.
Supported by the .NET Compact FrameworkLineStripRenders the vertices as a single polyline. Calls that use this primitive type fail if the count is less than two.
Supported by the .NET Compact FrameworkTriangleListRenders the specified vertices as a sequence of isolated triangles. Each group of three vertices defines a separate triangle. Back face culling is affected by the current winding-order render state.
Supported by the .NET Compact FrameworkTriangleStripRenders the vertices as a triangle strip. The back face culling flag is flipped automatically on even-numbered triangles.
Supported by the .NET Compact FrameworkTriangleFanRenders the vertices as a triangle fan.

A triangle strip renders the vertices as a series of connected triangles. Culling is removing a face from the list of faces to render. Faces can be culled using a number of techniques including: back face, view frustum, and occlusion culling.

Using triangle strips or triangle fans is often more efficient than using triangle lists because fewer vertices are duplicated.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0