tex2Dproj - HLSL

2D projective texture lookup. t is divided by its last component before the lookup takes place.

Syntax

ret tex2Dproj(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_1_4

See Also

HLSL Intrinsic Functions