tex2Dbias - HLSL

2D biased texture lookup. The mip level is biased by t.w before the lookup takes place.

Syntax

ret tex2Dbias(s, t)

Where:

Name In/Out Template Type Component Type Size
s in object sampler2D 1
t in vector float 4
ret out vector float 4

Minimum Shader Version

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

Vertex Shader Pixel Shader
n/a ps_2_0

See Also

HLSL Intrinsic Functions