Skip to content

WebGLRenderingContext is missing sequence<T> variants #61

@Spongman

Description

@Spongman

the WebGL spec lists variants of the uniform*[if]v() methods that take sequence<GLfloat or long>, for example:

void uniform1fv(WebGLUniformLocation? location, sequence<GLfloat> v);

these variants are missing from lib.d.ts, causing correct code to fail with

Argument of type 'number[]' is not assignable to parameter of type 'Float32Array'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions