Enum wgpu_core::command::RenderPassErrorInner [−][src]
pub enum RenderPassErrorInner {
Show variants
Encoder(CommandEncoderError),
InvalidAttachment(TextureViewId),
InvalidColorAttachmentFormat(TextureFormat),
InvalidDepthStencilAttachmentFormat(TextureFormat),
MissingAttachments,
AttachmentsDimensionMismatch {
previous: (&'static str, Extent3d),
mismatch: (&'static str, Extent3d),
},
InvalidSampleCount(u8),
InvalidResolveSourceSampleCount,
InvalidResolveTargetSampleCount,
OutOfMemory,
SwapChainImageAsDepthStencil,
InvalidDepthOps,
InvalidStencilOps,
SampleCountMismatch {
actual: u8,
expected: u8,
},
InvalidValuesOffset,
MissingDeviceFeatures(Features),
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),
IncompatibleRenderBundle(RenderPassCompatibilityError),
RenderCommand(RenderCommandError),
Draw(DrawError),
Bind(BindError),
QueryUse(QueryUseError),
}Expand description
Error encountered when performing a render pass.
Variants
Encoder(CommandEncoderError)InvalidAttachment(TextureViewId)InvalidColorAttachmentFormat(TextureFormat)InvalidDepthStencilAttachmentFormat(TextureFormat)Show fields
InvalidSampleCount(u8)MissingDeviceFeatures(Features)Show fields
Fields of IndirectBufferOverrun
Show fields
IncompatibleRenderBundle(RenderPassCompatibilityError)RenderCommand(RenderCommandError)Draw(DrawError)Bind(BindError)QueryUse(QueryUseError)Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RenderPassErrorInnerimpl Send for RenderPassErrorInnerimpl Sync for RenderPassErrorInnerimpl Unpin for RenderPassErrorInnerimpl !UnwindSafe for RenderPassErrorInnerBlanket Implementations
Mutably borrows from an owned value. Read more