texCUBEbias.3Cg

Langue: en

Version: 349945 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

texCUBEbias - performs a texture lookup with bias in a given sampler.

SYNOPSIS

   float4 texCUBEbias(samplerCUBE samp, float4 s)
 
 
 
   int4 texCUBEbias(isamplerCUBE samp, float4 s)
 
 
 
   unsigned int4 texCUBEbias(usamplerCUBE samp, float4 s)
 
 
 

PARAMETERS


samp
Sampler to lookup.
s
Coordinates to perform the lookup. The bias value 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 bias in sampler samp using coordinates s.

PROFILE SUPPORT

texCUBEbias is supported in fragment profiles starting with fp30 and in vertex profiles starting with vp40. Variants with integer samplers are only supported in gp4 and newer profiles.

SEE ALSO

texCUBElod