pygfx icon indicating copy to clipboard operation
pygfx copied to clipboard

API for specifying buffer and texture wgpu usage

Open almarklein opened this issue 2 years ago • 0 comments

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

almarklein avatar Jul 19 '23 20:07 almarklein