// d3dhal.h
typedef struct _D3DHAL_DP2SETSTREAMSOURCE2 {
DWORD dwStream;
DWORD dwVBHandle;
DWORD dwOffset;
DWORD dwStride;
} D3DHAL_DP2SETSTREAMSOURCE2;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 9.0 and later versions only.
The D3DHAL_DP2SETSTREAMSOURCE2 structure is used to bind a portion of a vertex stream source to a vertex buffer for D3dDrawPrimitives2.
dwStreamSpecifies the stream being bound. It has a value between zero and the maximum number of streams specified by the driver.
dwVBHandleSpecifies the vertex buffer handle. It is legal for the vertex buffer handle to be zero, in which case the stream is no longer bound to a vertex buffer.
dwOffsetSpecifies the offset of the first vertex size in bytes.
dwStrideSpecifies the vertex size in bytes.
D3DDP2OP_SETSTREAMSOURCE2