D3DHAL_DP2SETDEPTHSTENCIL structure (d3dhal.h)

DirectX 9.0 and later versions only.

The D3DHAL_DP2SETDEPTHSTENCIL structure is used to map a new depth buffer in the driver's current context when the D3DDP2OP_SETDEPTHSTENCIL operation code is received by D3dDrawPrimitives2.

Syntax

typedef struct _D3DHAL_DP2SETDEPTHSTENCIL {
  DWORD hZBuffer;
} D3DHAL_DP2SETDEPTHSTENCIL;

Members

hZBuffer

Specifies a handle to the depth buffer.

Remarks

The driver should store the depth buffer identified by hZBuffer in the driver's context when the runtime sends a D3DDP2OP_SETDEPTHSTENCIL operation code in the D3dDrawPrimitives2 command stream.

Requirements

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

D3DDP2OP_SETDEPTHSTENCIL

D3dDrawPrimitives2