// 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 referenceNo description available.
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.
dwDDDestSurfaceSpecifies the handle to the destination vertex or index buffer.
dwDDSrcSurfaceSpecifies the handle to the source vertex or index buffer.
dwOffsetSpecifies the offset, in bytes, of the destination buffer the copy should be directed into.
rSrcSpecifies 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.
dwFlagsUnused.
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.
D3DDP2OP_BUFFERBLT