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

tex3Dproj - HLSL


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

Syntax

ret tex3Dproj(s, t, ddx, ddy)

Where:

NameIn/OutTemplate TypeComponent TypeSize
sinput samplerobjectsampler3D1
t3-D input texture coordinate and a projective divide valuevectorfloat3
ddx3 component partial derivative in xvectorfloat3
ddy3 component partial derivative in yvectorfloat3
retoutvectorfloat4

Minimum Shader Version

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

Vertex ShaderPixel Shader
n/aps_2_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.