pub enum DrawError {
MissingBlendColor,
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,
},
}
Expand description
Error validating a draw call.
Variants§
MissingBlendColor
MissingPipeline
MissingVertexBuffer
MissingIndexBuffer
IncompatibleBindGroup
VertexBeyondLimit
InstanceBeyondLimit
IndexBeyondLimit
UnmatchedIndexFormats
Trait Implementations§
source§impl Error for DrawError
impl Error for DrawError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()