[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines the current clip status.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
|All vertices are clipped by the left plane of the viewing frustum.|
|All vertices are clipped by the right plane of the viewing frustum.|
|All vertices are clipped by the top plane of the viewing frustum.|
|All vertices are clipped by the bottom plane of the viewing frustum.|
|All vertices are clipped by the front plane of the viewing frustum.|
|All vertices are clipped by the back plane of the viewing frustum.|
|Combination of all clip flags.|
When clipping is enabled during vertex processing (by ProcessVertices, DrawPrimitives, or other drawing functions), Direct3D computes a clip code for every vertex. The clip code is a combination of . When a vertex is outside a particular clipping plane, the corresponding bit is set in the clip code. Direct3D maintains the clip status using ClipStatus, which has ClipIntersection and ClipUnion properties. ClipUnion is a bitwise OR of all vertex clip codes, and ClipIntersection is a bitwise AND of all vertex clip codes. Initial values are 0 for ClipUnion and 0xFFFFFFFF for ClipIntersection.
When the Clipping property is set to false, ClipUnion and ClipIntersection are set to 0. Direct3D updates the clip status during drawing calls. To compute clip status for a particular object, set ClipUnion and ClipIntersection to their initial values and continue drawing.
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.