Microsoft DirectX 8.0 (Visual Basic) |
rn.a
Replicates the alpha channel of the affected register to all of its color channels before processing the instruction.
The following example shows how to use this modifier.
mul r0, r0, r1.a ; Modulate by the alpha channel (grayscale), ; varies only the intensity of color.
Note that this operator can be used in conjunction with the Invert or Negate operators. Its functionality is analogous to the D3DTA_ALPHAREPLICATE flag in the Microsoft® DirectX® 6.0 and 7.0 multitexture syntax.
This modifier is for use with the color and alpha blending instructions.