tex1Dproj - HLSL

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

Syntax

ret tex1Dproj(s, t)

Where:

Name In/Out Template Type Component Type Size
s in object sampler1D 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