D3DCLIPSTATUS

The D3DCLIPSTATUS structure describes the current clip status and extents of the clipping region. This structure was introduced in DirectX 5.

typedef struct _D3DCLIPSTATUS {

DWORD dwFlags;

DWORD dwStatus;

float minx, maxx;

float miny, maxy;

float minz, maxz;

} D3DCLIPSTATUS, *LPD3DCLIPSTATUS;

Members

dwFlags

Flags describing whether this structure describes 2-D extents, 3-D extents, or the clip status. This member can be a combination of the following flags:

D3DCLIPSTATUS_STATUS
  The structure describes the current clip status.
D3DCLIPSTATUS_EXTENTS2
  The structure describes the current 2-D extents. This flag cannot be combined with D3DCLIPSTATUS_EXTENTS3.
D3DCLIPSTATUS_EXTENTS3
  The structure describes the current 3-D extents. This flag cannot be combined with D3DCLIPSTATUS_EXTENTS2.

dwStatus

Describes the current clip status. For a list of the available driver-status masks, see the dwStatus member of the D3DSTATUS structure.

minx, maxx, miny, maxy, minz, maxz

x, y, and z extents of the current clipping region.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in d3dtypes.h.

See Also

IDirect3DDevice2::GetClipStatus, IDirect3DDevice2::SetClipStatus