textureProj |
Projection de texture |
|---|---|
| OpenGL | GL/gl.h |
Syntaxe
| gvec4 textureProj(gsampler1D sampler, vec2 P, [float bias]); |
| gvec4 textureProj(gsampler1D sampler, vec2 P, [float bias]); |
| gvec4 textureProj(gsampler1D sampler, vec4 P, [float bias]); |
| gvec4 textureProj(gsampler2D sampler, vec3 P, [float bias]); |
| gvec4 textureProj(gsampler2D sampler, vec4 P, [float bias]); |
| gvec4 textureProj(gsampler3D sampler, vec4 P, [float bias]); |
| float textureProj(sampler1DShadow sampler, vec4 P, [float bias]); |
| float textureProj(sampler2DShadow sampler, vec4 P, [float bias]); |
| gvec4 textureProj(gsampler2DRect sampler, vec3 P); |
| gvec4 textureProj(gsampler2DRect sampler, vec4 P); |
| float textureProj(sampler2DRectShadow sampler, vec4 P); |
Description
Cette fonction permet d'échantillonner une texture en utilisant une projection.
Dernière mise à jour : Jeudi, le 3 Juillet 2025