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

Can't use .set on generated bind groups with wgpu::RenderBundleEncoder #53

Open
tgecho opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@tgecho
Copy link

tgecho commented Jan 7, 2025

I'm using a wgpu::RenderBundleEncoder instead of wgpu::RenderPass, but the generated .set methods only take a wgpu::RenderPass. Both have equivalent .set_bind_group methods.

Since there's no way that I see to get at the inner wgpu::BindGroup, I also can't use .from_bindings.

There's a wgpu::util::RenderEncoder trait that covers both of these types, though it leaves out wgpu::ComputePass, which might be nice to also support?

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

1 participant