Enum wgpu_core::command::RenderCommandError [−][src]
pub enum RenderCommandError {
Show variants
InvalidBindGroup(BindGroupId),
InvalidRenderBundle(RenderBundleId),
BindGroupIndexOutOfRange {
index: u8,
max: u32,
},
UnalignedBufferOffset(u64),
InvalidDynamicOffsetCount {
actual: usize,
expected: usize,
},
InvalidPipeline(RenderPipelineId),
InvalidQuerySet(QuerySetId),
IncompatiblePipeline(RenderPassCompatibilityError),
IncompatibleReadOnlyDepthStencil,
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
InvalidBindGroup(BindGroupId)InvalidRenderBundle(RenderBundleId)UnalignedBufferOffset(u64)InvalidPipeline(RenderPipelineId)InvalidQuerySet(QuerySetId)IncompatiblePipeline(RenderPassCompatibilityError)Buffer(BufferId, BufferError)DestroyedBuffer(BufferId)PushConstants(PushConstantUploadError)Unimplemented(&'static str)Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RenderCommandErrorimpl Send for RenderCommandErrorimpl Sync for RenderCommandErrorimpl Unpin for RenderCommandErrorimpl !UnwindSafe for RenderCommandErrorBlanket Implementations
Mutably borrows from an owned value. Read more