Microsoft DirectX 8.0 (Visual Basic)

texreg2ar

Samples this stage's texture at the 2-D coordinates specified by the alpha and red components of the specified input color vector.

texreg2ar tDest, tSrc0

Registers

tDest
Destination register, holding the result of the operation.
tSrc0
Temporary source register, specifying the input argument.

Remarks

This instruction is useful for color space re-mapping operations.

Note that this instruction has an unnamed input which is the assigned texture that corresponds to this texture stage.