Microsoft DirectX 8.0 (Visual Basic) |
Texture declarations (texture addressing instructions) are a separate set of pixel shader instructions, as distinguished from the color and alpha blending instructions. These instructions must appear at the top of the pixel shader and can use only previously defined values. Texture addressing instructions can also perform operations. For example, you can use them to modify texture coordinates used as addresses by sampling stages or to enable perturbations effects.
For more information, see Texture Addressing Instructions.