D3DHAL_DP2SETRENDERTARGET2 structure (d3dhal.h)

The D3DHAL_DP2SETRENDERTARGET2 structure is used with the D3DDP2OP_SETRENDERTARGET2 opcode to map a portion of a rendering target surface and depth buffer in the current context.

Syntax

typedef struct _D3DHAL_DP2SETRENDERTARGET2 {
  DWORD RTIndex;
  DWORD hRenderTarget;
} D3DHAL_DP2SETRENDERTARGET2;

Members

RTIndex

Specifies an index into the rendering target.

hRenderTarget

Specifies a handle to the rendering target.

Requirements

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

See also

D3DDP2OP_SETRENDERTARGET2

D3dDrawPrimitives2