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: BindGroupId
Tuple Fields of InvalidRenderBundle
Tuple Fields of UnalignedBufferOffset
0: u64
Tuple Fields of InvalidPipeline
Tuple Fields of InvalidQuerySet
0: QuerySetId
Tuple Fields of IncompatiblePipelineTargets
Tuple Fields of Buffer
0: BufferId
1: BufferError
Tuple Fields of DestroyedBuffer
0: BufferId
Tuple Fields of PushConstants
Tuple Fields of Unimplemented
0: &'static str
Trait 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