D3DHAL_DP2BUFFERBLT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dhal.h

typedef struct _D3DHAL_DP2BUFFERBLT {
  DWORD    dwDDDestSurface;
  DWORD    dwDDSrcSurface;
  DWORD    dwOffset;
  D3DRANGE rSrc;
  DWORD    dwFlags;
} D3DHAL_DP2BUFFERBLT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dhal-_d3dhal_dp2bufferblt)

_D3DHAL_DP2BUFFERBLT structure

Description

DirectX 8.0 and later versions only.

D3DHAL_DP2BUFFERBLT is used for vertex or index buffer blts when D3dDrawPrimitives2 responds to the D3DDP2OP_BUFFERBLT command token.

Members

dwDDDestSurface

Specifies the handle to the destination vertex or index buffer.

dwDDSrcSurface

Specifies the handle to the source vertex or index buffer.

dwOffset

Specifies the offset, in bytes, of the destination buffer the copy should be directed into.

rSrc

Specifies what range of the source buffer should be copied. This is a D3DRANGE structure, which is described in the Microsoft Windows SDK documentation, and contains a UINT offset in bytes and a UINT size in bytes.

dwFlags

Unused.

Remarks

The CreateD3DBuffer callback creates the small integer handles to the vertex or index buffers that can be used as source and destination buffers for buffer blts.

See Remarks for D3DHAL_DP2TEXBLT.

See also

CreateD3DBuffer

D3DDP2OP_BUFFERBLT

D3DHAL_DP2COMMAND

D3dDrawPrimitives2