DirectX SDK

Clipping Volumes

The results of the projection matrix determine the clipping volume, in projection space. Direct3D defines the clipping volume in projection space as:

In the preceding formulas, Xc, Yc, Zc, and Wc represent the vertex coordinates after the projection transformation is applied. Any vertices that have an x, y, or z component outside these ranges are clipped, if clipping is enabled (the default behavior).

[C++]

With the exception of vertex buffers, applications enable or disable clipping by way of the D3DRENDERSTATE_CLIPPING render state. Clipping information for vertex buffers is generated during processing, for more information see Processing Vertices.

[Visual Basic]

With the exception of vertex buffers, applications enable or disable clipping by way of the D3DRENDERSTATE_CLIPPING render state. Clipping information for vertex buffers is generated during processing, for more information see Processing Vertices.