Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL2RenderingContext: References to undefined constants in WebGL2 docs #32629

Open
tsnee opened this issue Mar 9, 2024 · 0 comments
Open
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!

Comments

@tsnee
Copy link
Contributor

tsnee commented Mar 9, 2024

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.

@tsnee tsnee added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 9, 2024
@github-actions github-actions bot added the Content:WebAPI Web API docs label Mar 9, 2024
@caugner caugner added the goal: completeness (Experiment label) Issues about content missing important/relevant details. label Mar 15, 2024
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! area: WebGL and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jun 5, 2024
@Josh-Cena Josh-Cena changed the title References to undefined constants in WebGL2 docs WebGL2RenderingContext.texStorage3D: References to undefined constants in WebGL2 docs Jun 24, 2024
@Josh-Cena Josh-Cena changed the title WebGL2RenderingContext.texStorage3D: References to undefined constants in WebGL2 docs WebGL2RenderingContext: References to undefined constants in WebGL2 docs Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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!
Projects
None yet
Development

No branches or pull requests

3 participants