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
InvalidBindGroup(BindGroupId)
Tuple Fields of InvalidBindGroup
0: BindGroupId
InvalidRenderBundle(RenderBundleId)
Tuple Fields of InvalidRenderBundle
UnalignedBufferOffset(u64)
Tuple Fields of UnalignedBufferOffset
0: u64
InvalidPipeline(RenderPipelineId)
Tuple Fields of InvalidPipeline
InvalidQuerySet(QuerySetId)
Tuple Fields of InvalidQuerySet
0: QuerySetId
IncompatiblePipelineTargets(RenderPassCompatibilityError)
Tuple Fields of IncompatiblePipelineTargets
Buffer(BufferId, BufferError)
Tuple Fields of Buffer
0: BufferId
1: BufferError
DestroyedBuffer(BufferId)
Tuple Fields of DestroyedBuffer
0: BufferId
PushConstants(PushConstantUploadError)
Tuple Fields of PushConstants
Unimplemented(&'static str)
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