Description
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
, and gl.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
, and gl.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
, and SRGB8_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.