Module wgpu.enums

Enums

NameDescription
AdapterType
AddressMode
BackendType Represents the graphics backends that wgpu can use.
BlendFactor
BlendMode Constant blending modes usable when constructing a ColorTargetState's BlendState.
BlendOperation
BufferBindingType
BufferMapAsyncStatus Result of a call to Buffer.mapReadAsync or Buffer.mapWriteAsync.
BufferUsage Different ways that you can use a buffer.
ColorWriteMask Mask which enables/disables writes to different color/alpha channel. Disabled color channels will not be written to.
CompareFunction
CompilationMessageType
CreatePipelineAsyncStatus
CullMode Type of face culling to use during graphic pipeline rasterization.
DeviceLostReason
ErrorFilter
ErrorType
FeatureName Features that are not guaranteed to be supported.
FilterMode
FrontFace Specifies the vertex order for faces to be considered front-facing.
IndexFormat When drawing strip topologies with indices, this is the required format for the index buffer. This has no effect on non-indexed or non-strip draws.
InstanceBackend
LoadOp
MapMode
MipmapFilterMode
PipelineStatisticName
PowerPreference
PresentMode
PrimitiveTopology The primitive topology used to interpret vertices.
QueryType
QueueWorkDoneStatus
RequestAdapterStatus
RequestDeviceStatus
SamplerBindingType
ShaderStage Describes the shader stages that a binding will be visible from.
StencilOperation
StorageTextureAccess
StoreOp
SType
TextureAspect
TextureDimension
TextureFormat
TextureSampleType Specific type of a sample in a texture binding.
TextureUsage Different ways that you can use a texture.
TextureViewDimension
VertexFormat
VertexStepMode

Aliases

NameTypeDescription
BufferUsageFlags std.typecons.BitFlags!(wgpu.enums.BufferUsage,1)
ColorWriteMaskFlags std.typecons.BitFlags!(wgpu.enums.ColorWriteMask,1)
ShaderStageFlags std.typecons.BitFlags!(wgpu.enums.ShaderStage,1)
TextureUsageFlags std.typecons.BitFlags!(wgpu.enums.TextureUsage,1)