Sitelet https://github.com/gpuweb/gpuweb/issues/131
Skip to content

Define WebGPURenderingContext contextType DomString #131

Description

@beaufortfrancois

It is not clear to me what is the DOMString value for WebGPU contextType. As we've renamed namespace webgpu to gpu in the IDL file, I was wondering if we could simply have gpu as well for contextType:

const gpuContext = canvas.getContext('gpu');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions