CONST_D3DCLIPFLAGS
The CONST_D3DCLIPFLAGS enumeration defines clipping flags returned by the Direct3DDevice7.ComputeSphereVisibility method.
Enum CONST_D3DCLIPFLAGS
D3DSTATUS_CLIPINTERSECTIONALL = 17891328
D3DSTATUS_CLIPUNIONALL = 17891328
D3DSTATUS_DEFAULT = 34668544
D3DSTATUS_ZNOTVISIBLE = 16777216
D3DSTATUS_CLIPINTERSECTIONBACK = 131072
D3DSTATUS_CLIPINTERSECTIONBOTTOM = 32768
D3DSTATUS_CLIPINTERSECTIONFRONT = 65536
D3DSTATUS_CLIPINTERSECTIONGEN0 = 262144
' D3DSTATUS_CLIPINTERSECTIONGEN1 to D3DSTATUS_CLIPINTERSECTIONGEN4
' omitted here for brevity.
D3DSTATUS_CLIPINTERSECTIONGEN5 = 8388608
D3DSTATUS_CLIPINTERSECTIONLEFT = 4096
D3DSTATUS_CLIPINTERSECTIONRIGHT = 8192
D3DSTATUS_CLIPINTERSECTIONTOP = 16384
D3DSTATUS_CLIPUNIONBACK = 32
D3DSTATUS_CLIPUNIONBOTTOM = 8
D3DSTATUS_CLIPUNIONFRONT = 16
D3DSTATUS_CLIPUNIONGEN0 = 64
' D3DSTATUS_CLIPUNIONGEN1 to D3DSTATUS_CLIPUNIONGEN4
' omitted here for brevity.
D3DSTATUS_CLIPUNIONGEN5 = 2048
D3DSTATUS_CLIPUNIONLEFT = 1
D3DSTATUS_CLIPUNIONRIGHT = 2
D3DSTATUS_CLIPUNIONTOP = 4
D3DCLIP_BACK = 32
D3DCLIP_BOTTOM = 8
D3DCLIP_FRONT = 16
D3DCLIP_GEN0 = 64
' D3DCLIP_GEN1 to D3DCLIP_GEN4 omitted here for brevity.
D3DCLIP_GEN5 = 2048
D3DCLIP_LEFT = 1
D3DCLIP_RIGHT = 2
D3DCLIP_TOP = 4
End Enum
Combination and General Flags
- D3DSTATUS_CLIPINTERSECTIONALL
- Combination of all CLIPINTERSECTION flags.
- D3DSTATUS_CLIPUNIONALL
- Combination of all CLIPUNION flags.
- D3DSTATUS_DEFAULT
- Combination of D3DSTATUS_CLIPINTERSECTIONALL and D3DSTATUS_ZNOTVISIBLE flags. This value is the default.
- D3DSTATUS_ZNOTVISIBLE
- Indicates that the rendered primitive is not visible. This flag is set or cleared by the system when rendering with z-checking enabled (see D3DRENDERSTATE_ZVISIBLE).
Clip Intersection Flags
- D3DSTATUS_CLIPINTERSECTIONBACK
- Logical And of the clip flags for the vertices compared to the back clipping plane of the viewing frustum.
- D3DSTATUS_CLIPINTERSECTIONBOTTOM
- Logical And of the clip flags for the vertices compared to the bottom of the viewing frustum.
- D3DSTATUS_CLIPINTERSECTIONFRONT
- Logical And of the clip flags for the vertices compared to the front clipping plane of the viewing frustum.
- D3DSTATUS_CLIPINTERSECTIONGEN0 through D3DSTATUS_CLIPINTERSECTIONGEN5
- Logical And of the clip flags for application-defined clipping planes.
- D3DSTATUS_CLIPINTERSECTIONLEFT
- Logical And of the clip flags for the vertices compared to the left side of the viewing frustum.
- D3DSTATUS_CLIPINTERSECTIONRIGHT
- Logical And of the clip flags for the vertices compared to the right side of the viewing frustum.
- D3DSTATUS_CLIPINTERSECTIONTOP
- Logical And of the clip flags for the vertices compared to the top of the viewing frustum.
Clip Union Flags
- D3DSTATUS_CLIPUNIONBACK
- Equal to D3DCLIP_BACK.
- D3DSTATUS_CLIPUNIONBOTTOM
- Equal to D3DCLIP_BOTTOM.
- D3DSTATUS_CLIPUNIONFRONT
- Equal to D3DCLIP_FRONT.
- D3DSTATUS_CLIPUNIONGEN0 through D3DSTATUS_CLIPUNIONGEN5
- Equal to D3DCLIP_GEN0 through D3DCLIP_GEN5.
- D3DSTATUS_CLIPUNIONLEFT
- Equal to D3DCLIP_LEFT.
- D3DSTATUS_CLIPUNIONRIGHT
- Equal to D3DCLIP_RIGHT.
- D3DSTATUS_CLIPUNIONTOP
- Equal to D3DCLIP_TOP.
Basic Clipping Flags
- D3DCLIP_BACK
- All vertices are clipped by the back plane of the viewing frustum.
- D3DCLIP_BOTTOM
- All vertices are clipped by the bottom plane of the viewing frustum.
- D3DCLIP_FRONT
- All vertices are clipped by the front plane of the viewing frustum.
- D3DCLIP_LEFT
- All vertices are clipped by the left plane of the viewing frustum.
- D3DCLIP_RIGHT
- All vertices are clipped by the right plane of the viewing frustum.
- D3DCLIP_TOP
- All vertices are clipped by the top plane of the viewing frustum.
- D3DCLIP_GEN0 through D3DCLIP_GEN5
- All vertices are clipped by a corresponding application-defined clipping plane.