tex2Dlod - HLSL
Microsoft DirectX 9.0 SDK Update (October 2004)

tex2Dlod - HLSL


2-D texture lookup with level of detail (LOD).

Syntax

ret tex2Dlod(s, t)

Where:

NameIn/OutTemplate TypeComponent TypeSize
sinobjectsampler2D1
tinvectorfloat4
retoutvectorfloat4

The mipmap LOD is specified in t.

Minimum Shader Version

This intrinsic function is supported in the following (or later) shader versions:

Vertex ShaderPixel Shader
n/aps_3_0


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