这是indexloc提供的服务,不要输入任何密码
Skip to content

Define WebGPURenderingContext contextType DomString #131

@beaufortfrancois

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');

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