Microsoft DirectX 8.0 (C++)

Setting the Pixel Shader Constant Registers

You can use the following methods to set and retrieve the values in the pixel shader constant registers.

In addition, you can use the def Direct3DX assembler instruction to set the constant registers of a pixel shader.