Enum wgpu_core::command::RenderCommandError [−][src]
pub enum RenderCommandError {
Show 17 variants
InvalidBindGroup(BindGroupId),
InvalidRenderBundle(RenderBundleId),
BindGroupIndexOutOfRange {
index: u8,
max: u32,
},
UnalignedBufferOffset(u64),
InvalidDynamicOffsetCount {
actual: usize,
expected: usize,
},
InvalidPipeline(RenderPipelineId),
InvalidQuerySet(QuerySetId),
IncompatiblePipelineTargets(RenderPassCompatibilityError),
IncompatiblePipelineRods,
Buffer(BufferId, BufferError),
DestroyedBuffer(BufferId),
MissingBufferUsage(MissingBufferUsageError),
MissingTextureUsage(MissingTextureUsageError),
PushConstants(PushConstantUploadError),
InvalidViewport,
InvalidScissorRect,
Unimplemented(&'static str),
}Expand description
Error encountered when encoding a render command. This is the shared error set between render bundles and passes.
Variants
Tuple Fields of InvalidBindGroup
0: BindGroupIdTuple Fields of InvalidRenderBundle
Tuple Fields of UnalignedBufferOffset
0: u64Tuple Fields of InvalidPipeline
Tuple Fields of InvalidQuerySet
0: QuerySetIdTuple Fields of IncompatiblePipelineTargets
Tuple Fields of Buffer
0: BufferId1: BufferErrorTuple Fields of DestroyedBuffer
0: BufferIdTuple Fields of PushConstants
Tuple Fields of Unimplemented
0: &'static strTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RenderCommandError
impl Send for RenderCommandError
impl Sync for RenderCommandError
impl Unpin for RenderCommandError
impl !UnwindSafe for RenderCommandError
Blanket Implementations
Mutably borrows from an owned value. Read more