textureGather |
Rassembler la texture |
|---|---|
| OpenGL | GL/gl.h |
Syntaxe
| gvec4 textureGather(gsampler2D sampler, vec2 P, [int comp]); |
| gvec4 textureGather(gsampler2DArray sampler, vec3 P, [int comp]); |
| gvec4 textureGather(gsamplerCube sampler, vec3 P, [int comp]); |
| gvec4 textureGather(gsamplerCubeArray sampler, vec4 P, [int comp]); |
| gvec4 textureGather(gsampler2DRect sampler, vec3 P, [int comp]); |
| vec4 textureGather(sampler2DShadow sampler, vec2 P, float refZ); |
| vec4 textureGather(sampler2DArrayShadow sampler, vec3 P, float refZ); |
| vec4 textureGather(samplerCubeShadow sampler, vec3 P, float refZ); |
| vec4 textureGather(samplerCubeArrayShadow sampler, vec4 P, float refZ); |
| vec4 textureGather(sampler2DRectShadow sampler, vec2 P, float refZ); |
Description
Cette fonction permet de récupérer des échantillons de texture à partir de plusieurs texels.
Dernière mise à jour : Jeudi, le 3 Juillet 2025