Partager via


Back-Face Culling (Windows CE 5.0)

Send Feedback

Primitive culling is enabled by the D3DMRS_CULLMODE render state (see D3DMRENDERSTATETYPE). This render state accepts values from the D3DMCULL enumeration. The default value is D3DMCULL_CCW, which indicates counterclockwise culling. Untransformed vertices may be culled in model space, world space or in camera space. The culling states also apply to transformed vertices.

Culling is only applied to triangle primitives. When line and point primitives are drawn they are all passed through the transformation pipeline because there is no winding order with only one or two vertices.

See Also

Transformation

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.