Provided by: opengl-4-man-doc_1.0~svn33624-1_all bug

NAME

       textureQueryLevels - compute the number of accessible mipmap levels of a texture

DECLARATION

       int textureQueryLevels(gsampler1D sampler);

       int textureQueryLevels(gsampler2D sampler);

       int textureQueryLevels(gsampler3D sampler);

       int textureQueryLevels(gsamplerCube sampler);

       int textureQueryLevels(gsampler1DArray sampler);

       int textureQueryLevels(gsampler2DDArray sampler);

       int textureQueryLevels(gsamplerCubeArray sampler);

       int textureQueryLevels(gsampler1DShadow sampler);

       int textureQueryLevels(gsampler2DShadow sampler);

       int textureQueryLevels(gsamplerCubeShadow sampler);

       int textureQueryLevels(gsampler1DArrayShadow sampler);

       int textureQueryLevels(gsampler2DArrayShadow sampler);

       int textureQueryLevels(gsamplerCubeArrayShadow sampler);

PARAMETERS

       sampler
           Specifies the sampler to which the texture whose mipmap level count will be queried is
           bound.

DESCRIPTION

       textureQueryLevels returns the number of accessible mipmap levels in the texture
       associated with sampler.

       If called on an incomplete texture, or if no texture is associated with sampler, zero is
       returned.

VERSION SUPPORT

       ┌───────────────────┬───────────────────────────────────────────────────────────────────────────────────┐
       │                   │        OpenGL Shading Language Version                                            │
       ├───────────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
       │Function1.101.201.301.401.503.304.004.104.204.304.404.50 │
       │Name               │      │      │      │      │      │      │      │      │      │      │      │      │
       ├───────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │textureQueryLevels │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  ✔   │  ✔   │  ✔   │
       └───────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘

SEE ALSO

       texelFetch(), texelFetchOffset(), texture(), textureGather(), textureGatherOffset(),
       textureGatherOffsets(), textureGrad(), textureGradOffset(), textureLod(),
       textureLodOffset(), textureOffset(), textureProj(), textureProjGrad(),
       textureProjGradOffset(), textureProjLod(), textureProjLodOffset(), textureProjOffset(),
       textureSize()

COPYRIGHT

       Copyright © 2012-2014 Khronos Group. This material may be distributed subject to the terms
       and conditions set forth in the Open Publication License, v 1.0, 8 June 1999.
       http://opencontent.org/openpub/.

COPYRIGHT

       Copyright © 2012-2014 Khronos Group

[FIXME: source]                             01/03/2018                     TEXTUREQUERYLEVELS(3G)