Skip to content

Commit

Permalink
Merge pull request #10312 from Chaosus/shader_funcs_remove_extra_para…
Browse files Browse the repository at this point in the history
…graph

Remove extra paragraph `textureQueryLod` from `shader_functions.rst`
  • Loading branch information
Chaosus authored Nov 23, 2024
2 parents 47cd64c + ef7e5e3 commit c28b11c
Showing 1 changed file with 0 additions and 29 deletions.
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

0 comments on commit c28b11c

Please sign in to comment.