Input Color Register
Microsoft DirectX 9.0 SDK Update (October 2004)

Input Color Register


Pixel shader input register containing vertex color.

Syntax

dcl v#.writeMask

where:

Remarks

Color registers are read-only registers. Each register contains 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). You cannot use more than one in a single instruction.

Related Topics



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.