Section courante

A propos

Section administrative du site

textureLod

Texture détaillé
OpenGL GL/gl.h

Syntaxe

gvec4 textureLod(gsampler1D sampler, float P, float lod);
gvec4 textureLod(gsampler2D sampler, vec2 P, float lod);
gvec4 textureLod(gsampler3D sampler, vec3 P, float lod);
gvec4 textureLod(gsamplerCube sampler, vec3 P, float lod);
float textureLod(sampler1DShadow sampler, vec3 P, float lod);
float textureLod(sampler2DShadow sampler, vec3 P, float lod);
gvec4 textureLod(gsampler1DArray sampler, vec2 P, float lod);
gvec4 textureLod(gsampler2DArray sampler, vec3 P, float lod);
float textureLod(sampler1DArrayShadow sampler, vec3 P, float lod);
gvec4 textureLod(gsamplerCubeArray sampler, vec4 P, float lod);

Description

Cette fonction permet de récupérer une valeur de texture en spécifiant le niveau de détail (LOD).



Dernière mise à jour : Jeudi, le 3 Juillet 2025