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
Encoder(CommandEncoderError)
Tuple Fields of Encoder
InvalidAttachment(TextureViewId)
Tuple Fields of InvalidAttachment
InvalidColorAttachmentFormat(TextureFormat)
Tuple Fields of InvalidColorAttachmentFormat
InvalidDepthStencilAttachmentFormat(TextureFormat)
Tuple Fields of InvalidDepthStencilAttachmentFormat
Fields of AttachmentsDimensionMismatch
InvalidSampleCount(u32)
Tuple Fields of InvalidSampleCount
0: u32
MissingFeatures(MissingFeatures)
Tuple Fields of MissingFeatures
MissingDownlevelFlags(MissingDownlevelFlags)
Tuple Fields of MissingDownlevelFlags
Fields of IndirectBufferOverrun
Fields of IndirectCountBufferOverrun
IncompatibleBundleTargets(RenderPassCompatibilityError)
Tuple Fields of IncompatibleBundleTargets
RenderCommand(RenderCommandError)
Tuple Fields of RenderCommand
Draw(DrawError)
Tuple Fields of Draw
0: DrawError
Bind(BindError)
Tuple Fields of Bind
0: BindError
QueryUse(QueryUseError)
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