WebGL2RenderingContext: References to undefined constants in WebGL2 docs #32629
Labels
area: WebGL
Content:WebAPI
Web API docs
goal: completeness
(Experiment label) Issues about content missing important/relevant details.
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D
What specific section or headline is this issue about?
#internalformat
What information was incorrect, unhelpful, or incomplete?
The constants
gl.RGUI
,gl.SRGB_ALPHA8
, andgl.RGBA4444
are cited. None of these are defined in https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants.What did you expect to see?
All constants referred to in the WebGL documentation should be defined in https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants. Either
gl.RGUI
,gl.SRGB_ALPHA8
, andgl.RGBA4444
should be added to that page or removed from https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texStorage3D, https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texImage3D, and https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/texSubImage3D.Do you have any supporting links, references, or citations?
The Khronos WebGL 2 doc defines
RG8UI
,RG16UI
,RG32UI
, andSRGB8_ALPHA8
. These are very similar to two of the three undefined constants.Do you have anything more you want to share?
I think a WebGL 2 subject matter expert might be able to sort this out very quickly. I'm afraid I am not very experienced in this area.
The text was updated successfully, but these errors were encountered: