Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed SurfaceDescriptorFromCanvasHTMLSelector #17

Open
lukaschod opened this issue Feb 11, 2025 · 1 comment
Open

Changed SurfaceDescriptorFromCanvasHTMLSelector #17

lukaschod opened this issue Feb 11, 2025 · 1 comment

Comments

@lukaschod
Copy link

As seems like in latest webgpu.h there is no longer function SurfaceDescriptorFromCanvasHTMLSelector. Do you know how to do it in latest version?

@beaufortfrancois
Copy link
Owner

With emdawnwebgpu, you have to use wgpu::EmscriptenSurfaceSourceCanvasHTMLSelector instead. Note that I'll update the app and documentation when Emscripten will be updated.

For info, I'm hosting my WIP changes in the emdawnwebgpu branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants