Microsoft DirectX 8.1 (vertex shader versions 1.0, 1.1) |
Defines vertex shader constants.
def dest, fVal0, fVal1, fVal2, fVal3
To learn more about registers, see Registers.
There are three ways to define constants in a vertex shader.
This also applies to D3DXAssembleShaderFromFile and D3DXAssembleShaderFromResource