Expand description
Hand-rolled bitflag mirrors for wgpu’s flag-style types — small enough
(at most a couple dozen bits) that pulling in the bitflags crate isn’t
worth it. Each mirrors its wgpu counterpart’s bit layout exactly, so
converting into wgpu is just from_bits_truncate.
Structs§
- Buffer
Usages - Allowed usages of a buffer — mirrors
wgpu::BufferUsagesbit-for-bit. - Color
Writes - Which color channels a render pipeline writes — mirrors
wgpu::ColorWritesbit-for-bit. - Shader
Stages - Which shader stage(s) a binding is visible from — mirrors
wgpu::ShaderStagesbit-for-bit. - Texture
Usages - Allowed usages of a texture — mirrors
wgpu::TextureUsagesbit-for-bit.