textureSamples - return the number of samples of a texture
Contents
Copyright
Copyright © 2014 Khronos Group
[FIXME: source] 11/18/2024 TEXTURESAMPLES(3G)
Declaration
inttextureSamples(gsampler2DMSsampler);inttextureSamples(gsampler2DMSArraysampler);
Description
textureSamples returns the number of samples per texel of the texture bound to sampler.
Name
textureSamples - return the number of samples of a texture
Parameters
sampler
Specifies the sampler to which the texture is bound.
See Also
texture(), textureQueryLevels(), textureQueryLod(), textureSize()
Version Support
┌────────────────┬───────────────────────────────────────────────────────────────────────────────────┐
│ │ OpenGLShadingLanguageVersion │
├────────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
│ Function │ 1.10 │ 1.20 │ 1.30 │ 1.40 │ 1.50 │ 3.30 │ 4.00 │ 4.10 │ 4.20 │ 4.30 │ 4.40 │ 4.50 │
│ Name │ │ │ │ │ │ │ │ │ │ │ │ │
├────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ textureSamples │ - │ - │ - │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │
└────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
