Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
Primitive culling is enabled by the D3DMRS_CULLMODE render state (see D3DMRENDERSTATETYPE). This render state accepts values from the D3DMCULLenumeration. 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.