How do I request a GPU device?
You can request a GPU device by first checking if WebGPU is supported with navigator.gpu, then requesting an adapter using navigator.gpu.requestAdapter(), and finally requesting a device from that adapter using adapter.requestDevice(). This process is shown in the examples…





评论
00 条评论分享你使用这个 Ree 的体验,或给创作者提个建议。
登录后发表评论
评论会公开显示你的昵称。
还没有评论
来分享第一条使用体验吧。