Skip to content

tex{{Storage,Image,SubImage}3D: References to undefined constants in WebGL2 docs #32629

Open
@tsnee

Description

@tsnee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsarea: WebGLgoal: completeness(Experiment label) Issues about content missing important/relevant details.help wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions