Module wgpu.enums
Enums
Name | Description |
---|---|
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 or Buffer .
|
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
Name | Type | Description |
---|---|---|
BufferUsageFlags
|
std
|
|
ColorWriteMaskFlags
|
std
|
|
ShaderStageFlags
|
std
|
|
TextureUsageFlags
|
std
|