Enum wgpu_core::command::RenderPassErrorInner [−][src]
pub enum RenderPassErrorInner {
Show 26 variants
Encoder(CommandEncoderError),
InvalidAttachment(TextureViewId),
InvalidColorAttachmentFormat(TextureFormat),
InvalidDepthStencilAttachmentFormat(TextureFormat),
MissingAttachments,
AttachmentsDimensionMismatch {
previous: (&'static str, Extent3d),
mismatch: (&'static str, Extent3d),
},
InvalidSampleCount(u32),
InvalidResolveSourceSampleCount,
InvalidResolveTargetSampleCount,
OutOfMemory,
InvalidDepthOps,
InvalidStencilOps,
SampleCountMismatch {
actual: u32,
expected: u32,
},
InvalidValuesOffset,
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
IndirectBufferOverrun {
count: Option<NonZeroU32>,
offset: u64,
end_offset: u64,
buffer_size: u64,
},
IndirectCountBufferOverrun {
begin_count_offset: u64,
end_count_offset: u64,
count_buffer_size: u64,
},
InvalidPopDebugGroup,
ResourceUsageConflict(UsageConflict),
IncompatibleBundleTargets(RenderPassCompatibilityError),
IncompatibleBundleRods {
pass: bool,
bundle: bool,
},
RenderCommand(RenderCommandError),
Draw(DrawError),
Bind(BindError),
QueryUse(QueryUseError),
}
Expand description
Error encountered when performing a render pass.
Variants
Tuple Fields of Encoder
Tuple Fields of InvalidAttachment
Tuple Fields of InvalidColorAttachmentFormat
Tuple Fields of InvalidDepthStencilAttachmentFormat
Fields of AttachmentsDimensionMismatch
Tuple Fields of InvalidSampleCount
0: u32
Tuple Fields of MissingFeatures
Tuple Fields of MissingDownlevelFlags
Fields of IndirectBufferOverrun
Fields of IndirectCountBufferOverrun
Tuple Fields of IncompatibleBundleTargets
Tuple Fields of RenderCommand
Tuple Fields of Draw
0: DrawError
Tuple Fields of Bind
0: BindError
Tuple Fields of QueryUse
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RenderPassErrorInner
impl Send for RenderPassErrorInner
impl Sync for RenderPassErrorInner
impl Unpin for RenderPassErrorInner
impl !UnwindSafe for RenderPassErrorInner
Blanket Implementations
Mutably borrows from an owned value. Read more