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

API for specifying buffer and texture wgpu usage #574

Closed
almarklein opened this issue Jul 19, 2023 · 0 comments · Fixed by #762
Closed

API for specifying buffer and texture wgpu usage #574

almarklein opened this issue Jul 19, 2023 · 0 comments · Fixed by #762

Comments

@almarklein
Copy link
Member

almarklein commented Jul 19, 2023

Specific use-cases, perhaps using custom shaders, may require buffers or textures to have additional usage flags, see e.g. #567. There is resource._wgpu_usage, which is a private flag intended for internal usage. We could expose it, but that would add wgpu- stuff into our main API, which we're trying to avoid ... 🤔 (there's a few more places where this happens)

xref #272

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

Successfully merging a pull request may close this issue.

1 participant