Skip to content

WebGLRenderingContext bufferSubData documents too many parameters #42315

@AshleyScirra

Description

@AshleyScirra

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/bufferSubData

What specific section or headline is this issue about?

Parameters section

What information was incorrect, unhelpful, or incomplete?

The parameters section documents the wrong parameters for the method syntax at the top. It looks like it references the parameters from the WebGL2RenderingContext overload. For example the parameters section documents srcOffset, but that is not included in the WebGL 1 method syntax; it does however exist for the WebGL 2 method syntax.

What did you expect to see?

Only the parameters target, offset and srcData to be documented.

Do you have any supporting links, references, or citations?

The page's own WebGL specification citation: https://registry.khronos.org/webgl/specs/latest/1.0/#5.14.5

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsarea: WebGLhelp wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions