Microsoft DirectX 8.0 (C++)

Setting the Vertex Shader Constant Registers

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

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