texldd - ps
Microsoft DirectX 9.0 SDK Update (October 2004)

texldd - ps


Samples a texture with additional gradient inputs.

Syntax

texldd, dst, src0, src1, src2, src3

Where:

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
texlddx *xxx

* This instruction is only supported by ps_2_a. It is not supported by ps_2_b. For more information about profiles, see D3DXGetPixelShaderProfile.

This instruction samples a texture using the texture coordinates at src0, the sampler specified by src1, and the gradients DSX and DSY coming from src2 and src3. The x and y gradient values are used to select the appropriate mipmap level of the texture for sampling.

All sources support arbitrary swizzles.

All write masks are valid on the destination.



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