// d3dumddi.h
typedef struct _D3DDDIARG_SETPIXELSHADERCONST {
[in] UINT Register;
[in] UINT Count;
} D3DDDIARG_SETPIXELSHADERCONST;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_SETPIXELSHADERCONST structure describes how to set the pixel shader constant registers.
Register [in]The index of the first pixel shader constant register whose value is set.
Count [in]The number of constant registers to set and, therefore, the number of values in the array that is passed in the pRegisters parameter in the call to the user-mode display driver's SetPixelShaderConst, SetPixelShaderConstI, or SetPixelShaderConstB function.
The Count member specifies the following values, depending on the structure type that is used in the call to the SetPixelShaderConst, SetPixelShaderConstI, or SetPixelShaderConstB function:
The preceding structures are identical, as the following definitions show:
typedef D3DDDIARG_SETPIXELSHADERCONST D3DDDIARG_SETPIXELSHADERCONSTI;
typedef D3DDDIARG_SETPIXELSHADERCONST D3DDDIARG_SETPIXELSHADERCONSTB;