Flags

All wgpu flags. Also available in the root wgpu namespace.

wgpu.flags.BufferUsage = COPY_DST, COPY_SRC, INDEX, INDIRECT, MAP_READ, MAP_WRITE, QUERY_RESOLVE, STORAGE, UNIFORM, VERTEX
wgpu.flags.ColorWrite = ALL, ALPHA, BLUE, GREEN, RED
class wgpu.flags.Flags(name, **kwargs)
wgpu.flags.ShaderStage = COMPUTE, FRAGMENT, VERTEX
wgpu.flags.TextureUsage = COPY_DST, COPY_SRC, OUTPUT_ATTACHMENT, SAMPLED, STORAGE