Enum wgpu_core::command::DrawError [−][src]
pub enum DrawError {
MissingBlendConstant,
MissingPipeline,
MissingVertexBuffer {
index: u32,
},
MissingIndexBuffer,
IncompatibleBindGroup {
index: u32,
},
VertexBeyondLimit {
last_vertex: u32,
vertex_limit: u32,
slot: u32,
},
InstanceBeyondLimit {
last_instance: u32,
instance_limit: u32,
slot: u32,
},
IndexBeyondLimit {
last_index: u32,
index_limit: u32,
},
UnmatchedIndexFormats {
pipeline: IndexFormat,
buffer: IndexFormat,
},
BindingSizeTooSmall(LateMinBufferBindingSizeMismatch),
}
Expand description
Error validating a draw call.
Variants
MissingBlendConstant
MissingPipeline
MissingVertexBuffer
Fields
index: u32
MissingIndexBuffer
IncompatibleBindGroup
Fields
index: u32
VertexBeyondLimit
InstanceBeyondLimit
IndexBeyondLimit
UnmatchedIndexFormats
BindingSizeTooSmall(LateMinBufferBindingSizeMismatch)
Tuple Fields
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DrawError
impl UnwindSafe for DrawError
Blanket Implementations
Mutably borrows from an owned value. Read more