// d3dhal.h
typedef struct _D3DHAL_DP2SETSTREAMSOURCEFREQ {
DWORD dwStream;
DWORD dwDivider;
} D3DHAL_DP2SETSTREAMSOURCEFREQ;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 9.0 and later versions only.
The D3DHAL_DP2SETSTREAMSOURCEFREQ structure is used to set the frequency divisor of a stream source that is bound to a vertex buffer for D3dDrawPrimitives2.
dwStreamSpecifies the data stream, in the range from 0 to the maximum number of streams -1, whose frequency is being modified.
dwDividerSpecifies the frequency divisor, which is the number of vertices after which data from the given stream is fetched into the vertex shader. This number can be greater than zero and at most 2^16-1 (WORD).
A driver is requested to set a stream's frequency divisor through the D3DDP2OP_SETSTREAMSOURCEFREQ operation code.
A driver for a device that supports vertex shader version 3.0 and later can implement stream frequency division. For more information, see Modifying Vertex Stream Frequency.
D3DDP2OP_SETSTREAMSOURCEFREQ