Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ef7e5e3

Browse files
committedNov 23, 2024
Remove extra paragraph textureQueryLod from shader_functions.rst
1 parent 47cd64c commit ef7e5e3

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed
 

‎tutorials/shaders/shader_reference/shader_functions.rst

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,35 +2374,6 @@ ivec3 **textureSize**\ (\ |gsampler3D| s, int lod)
23742374

23752375
.. _shader_func_textureQueryLod:
23762376

2377-
.. rst-class:: classref-method
2378-
2379-
vec2 **textureQueryLod**\ (\ |gsampler2D| s, vec2 p)
2380-
2381-
Compute the level-of-detail that would be used to sample from a texture.
2382-
2383-
Available only in the fragment shader, textureQueryLod computes the level-of-detail
2384-
that would be used to sample from a texture. The mipmap array(s) that would be
2385-
accessed is returned in the x component of the return value. The computed level-of-detail
2386-
relative to the base level is returned in the y component of the return value.
2387-
2388-
If called on an incomplete texture, the result of the operation is undefined.
2389-
2390-
:param s:
2391-
The sampler to which the texture whose level-of-detail will be queried is bound.
2392-
2393-
:param p:
2394-
The texture coordinates at which the level-of-detail will be queried.
2395-
2396-
:return:
2397-
See description.
2398-
2399-
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/textureQueryLod.xhtml
2400-
2401-
.. rst-class:: classref-item-separator
2402-
2403-
----
2404-
2405-
24062377
.. rst-class:: classref-method
24072378

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

0 commit comments

Comments
 (0)