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)
2374
2374
2375
2375
.. _shader_func_textureQueryLod :
2376
2376
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
-
2406
2377
.. rst-class :: classref-method
2407
2378
2408
2379
vec2 **textureQueryLod **\ (\ |gsampler2D | s, vec2 p)
You can’t perform that action at this time.
0 commit comments