estructura D3DHAL_DP2SETDEPTHSTENCIL (d3dhal.h)

DirectX 9.0 y versiones posteriores solo.

La estructura D3DHAL_DP2SETDEPTHSTENCIL se usa para asignar un nuevo búfer de profundidad en el contexto actual del controlador cuando D3dDrawPrimitives2 recibe el código de operación de D3DDP2OP_SETDEPTHSTENCIL.

Sintaxis

typedef struct _D3DHAL_DP2SETDEPTHSTENCIL {
  DWORD hZBuffer;
} D3DHAL_DP2SETDEPTHSTENCIL;

Miembros

hZBuffer

Especifica un identificador para el búfer de profundidad.

Comentarios

El controlador debe almacenar el búfer de profundidad identificado por hZBuffer en el contexto del controlador cuando el tiempo de ejecución envía un código de operación de D3DDP2OP_SETDEPTHSTENCIL en la secuencia de comandos D3dDrawPrimitives2 .

Requisitos

Requisito Valor
Header d3dhal.h (incluya D3dhal.h)

Consulte también

D3DDP2OP_SETDEPTHSTENCIL

D3dDrawPrimitives2