Skip to content

Remove extra paragraph textureQueryLod from shader_functions.rst #10312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions tutorials/shaders/shader_reference/shader_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2374,35 +2374,6 @@ ivec3 **textureSize**\ (\ |gsampler3D| s, int lod)

.. _shader_func_textureQueryLod:

.. rst-class:: classref-method

vec2 **textureQueryLod**\ (\ |gsampler2D| s, vec2 p)

Compute the level-of-detail that would be used to sample from a texture.

Available only in the fragment shader, textureQueryLod computes the level-of-detail
that would be used to sample from a texture. The mipmap array(s) that would be
accessed is returned in the x component of the return value. The computed level-of-detail
relative to the base level is returned in the y component of the return value.

If called on an incomplete texture, the result of the operation is undefined.

:param s:
The sampler to which the texture whose level-of-detail will be queried is bound.

:param p:
The texture coordinates at which the level-of-detail will be queried.

:return:
See description.

https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/textureQueryLod.xhtml

.. rst-class:: classref-item-separator

----


.. rst-class:: classref-method

vec2 **textureQueryLod**\ (\ |gsampler2D| s, vec2 p)
Expand Down