// d3dumddi.h
PFND3DDDI_SETPIXELSHADERCONST Pfnd3dddiSetpixelshaderconst;
HRESULT Pfnd3dddiSetpixelshaderconst(
[in] HANDLE hDevice,
const D3DDDIARG_SETPIXELSHADERCONST *unnamedParam2,
const FLOAT *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The SetPixelShaderConst function sets one or more pixel shader constant registers with floating-point values.
hDevice [in]A handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_SETPIXELSHADERCONST structure that describes how to set the pixel shader constant registers.
unnamedParam3pRegisters [in]
A pointer to a buffer that contains 4-float vectors to copy.
SetPixelShaderConst returns S_OK or an appropriate error result if the pixel shader constant registers are not successfully set with floating-point values.