Rechercher une page de manuel
tex1Dlod.3Cg
Langue: en
Version: 357511 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
tex1Dlod - performs a texture lookup with a specified level of detail in a given sampler.SYNOPSIS
float4 tex1Dlod(sampler1D samp, float4 s) float4 tex1Dlod(sampler1D samp, float4 s, int texelOff)
int4 tex1Dlod(isampler1D samp, float4 s) int4 tex1Dlod(isampler1D samp, float4 s, int texelOff)
unsigned int4 tex1Dlod(usampler1D samp, float4 s) unsigned int4 tex1Dlod(usampler1D samp, float4 s, int texelOff)
PARAMETERS
- samp
- Sampler to lookup.
- s
- Coordinates to perform the lookup. The level of detail should be passed as the last component of the coordinate vector.
- texelOff
- Offset to be added to obtain the final texel.
DESCRIPTION
Performs a texture lookup with a specified level of detail in sampler samp using coordinates s.PROFILE SUPPORT
tex1Dlod 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
tex1Dbias, tex1DcmplodContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre