Name
tex1Dcmplod - performs a texture lookup with a specified level of detail and a shadow compare in
a given sampler.
Synopsis
float4 tex1Dcmplod(sampler1D samp, float4 s)
float4 tex1Dcmplod(sampler1D samp, float4 s, int texelOff)
int4 tex1Dcmplod(isampler1D samp, float4 s)
int4 tex1Dcmplod(isampler1D samp, float4 s, int texelOff)
unsigned int4 tex1Dcmplod(usampler1D samp, float4 s)
unsigned int4 tex1Dcmplod(usampler1D samp, float4 s, int texelOff)
Parameters
- samp
-
Sampler to lookup.
- s
-
Coordinates to perform the lookup. The value used in the shadow comparison should be passed right
after the normal coordinates. The level of detail corresponds to the last component of the
coordinate vector.
- texelOff
-
Offset to be added to obtain the final texel.
Description
Performs a texture lookup with shadow compare and a specified level of detail in sampler samp
using coordinates s.
Profile Support
tex1Dcmplod is supported in fragment profiles starting with fp40 and in vertex profiles
starting with vp40. Variants with texelOff are only supported in gp4 and newer
profiles. Variants with integer samplers are also only suppported in gp4 and newer profiles.
See Also
tex1Dlod, tex1Dcmpbias
|