File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
tutorials/shaders/shader_reference Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff 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
24082379vec2 **textureQueryLod **\ (\ |gsampler2D | s, vec2 p)
You can’t perform that action at this time.
0 commit comments