Microsoft DirectX 8.0 (Visual Basic)

texreg2gb

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

texreg2gb 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.