Enums

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

wgpu.enums.AddressMode = 'clamp-to-edge', 'mirror-repeat', 'repeat'
wgpu.enums.BindingType = 'comparison-sampler', 'readonly-storage-buffer', 'readonly-storage-texture', 'sampled-texture', 'sampler', 'storage-buffer', 'uniform-buffer', 'writeonly-storage-texture'
wgpu.enums.BlendFactor = 'blend-color', 'dst-alpha', 'dst-color', 'one', 'one-minus-blend-color', 'one-minus-dst-alpha', 'one-minus-dst-color', 'one-minus-src-alpha', 'one-minus-src-color', 'src-alpha', 'src-alpha-saturated', 'src-color', 'zero'
wgpu.enums.BlendOperation = 'add', 'max', 'min', 'reverse-subtract', 'subtract'
wgpu.enums.CompareFunction = 'always', 'equal', 'greater', 'greater-equal', 'less', 'less-equal', 'never', 'not-equal'
wgpu.enums.CullMode = 'back', 'front', 'none'
class wgpu.enums.Enum(name, **kwargs)
wgpu.enums.ErrorFilter = 'none', 'out-of-memory', 'validation'
wgpu.enums.ExtensionName = 'texture-compression-bc'
wgpu.enums.FilterMode = 'linear', 'nearest'
wgpu.enums.FrontFace = 'ccw', 'cw'
wgpu.enums.IndexFormat = 'uint16', 'uint32'
wgpu.enums.InputStepMode = 'instance', 'vertex'
wgpu.enums.LoadOp = 'load'
wgpu.enums.PowerPreference = 'high-performance', 'low-power'
wgpu.enums.PrimitiveTopology = 'line-list', 'line-strip', 'point-list', 'triangle-list', 'triangle-strip'
wgpu.enums.QueryType = 'occlusion'
wgpu.enums.StencilOperation = 'decrement-clamp', 'decrement-wrap', 'increment-clamp', 'increment-wrap', 'invert', 'keep', 'replace', 'zero'
wgpu.enums.StoreOp = 'clear', 'store'
wgpu.enums.TextureAspect = 'all', 'depth-only', 'stencil-only'
wgpu.enums.TextureComponentType = 'float', 'sint', 'uint'
wgpu.enums.TextureDimension = '1d', '2d', '3d'
wgpu.enums.TextureFormat = 'bgra8unorm', 'bgra8unorm-srgb', 'depth24plus', 'depth24plus-stencil8', 'depth32float', 'r16float', 'r16sint', 'r16uint', 'r32float', 'r32sint', 'r32uint', 'r8sint', 'r8snorm', 'r8uint', 'r8unorm', 'rg11b10float', 'rg16float', 'rg16sint', 'rg16uint', 'rg32float', 'rg32sint', 'rg32uint', 'rg8sint', 'rg8snorm', 'rg8uint', 'rg8unorm', 'rgb10a2unorm', 'rgba16float', 'rgba16sint', 'rgba16uint', 'rgba32float', 'rgba32sint', 'rgba32uint', 'rgba8sint', 'rgba8snorm', 'rgba8uint', 'rgba8unorm', 'rgba8unorm-srgb'
wgpu.enums.TextureViewDimension = 'cube', 'cube-array', '1d', '2d', '2d-array', '3d'
wgpu.enums.VertexFormat = 'char2', 'char2norm', 'char4', 'char4norm', 'float', 'float2', 'float3', 'float4', 'half2', 'half4', 'int', 'int2', 'int3', 'int4', 'short2', 'short2norm', 'short4', 'short4norm', 'uchar2', 'uchar2norm', 'uchar4', 'uchar4norm', 'uint', 'uint2', 'uint3', 'uint4', 'ushort2', 'ushort2norm', 'ushort4', 'ushort4norm'