?/TD> |
Microsoft DirectX 9.0 |
Pixel shader input register containing vertex color.
Syntax
Color Register
Remarks
Syntaxdcl v#.componentswhere:
- dcl is a register declarator. See dcl.
- v is a vertex register and # is the register number.
- components are the [xyzw] or [rgba].
Remarks
- There are two pixel shader vertex color registers: v0 and v1. They are read-only registers.
- They contain four-component RGBA values iterated from input vertices.
- They have lower precision than most registers, guaranteed to have 8 bits of unsigned data in the range 0, +1.
- There is a maximum of one in a single instruction.
Minimum operating system Windows 98
Instruction Information
Minimum operating systems Windows 98