Enum wgpu::core::command::PassErrorScope
source · pub enum PassErrorScope {
Show 20 variants
Bundle,
Pass(Id<CommandBuffer<Api>>),
SetBindGroup(Id<BindGroup<Api>>),
SetPipelineRender(Id<RenderPipeline<Api>>),
SetPipelineCompute(Id<ComputePipeline<Api>>),
SetPushConstant,
SetVertexBuffer(Id<Buffer<Api>>),
SetIndexBuffer(Id<Buffer<Api>>),
SetViewport,
SetScissorRect,
Draw {
indexed: bool,
indirect: bool,
pipeline: Option<Id<RenderPipeline<Api>>>,
},
QueryReset,
WriteTimestamp,
BeginOcclusionQuery,
EndOcclusionQuery,
BeginPipelineStatisticsQuery,
EndPipelineStatisticsQuery,
ExecuteBundle,
Dispatch {
indirect: bool,
pipeline: Option<Id<ComputePipeline<Api>>>,
},
PopDebugGroup,
}
Variants§
Bundle
Pass(Id<CommandBuffer<Api>>)
SetBindGroup(Id<BindGroup<Api>>)
SetPipelineRender(Id<RenderPipeline<Api>>)
SetPipelineCompute(Id<ComputePipeline<Api>>)
SetPushConstant
SetVertexBuffer(Id<Buffer<Api>>)
SetIndexBuffer(Id<Buffer<Api>>)
SetViewport
SetScissorRect
Draw
QueryReset
WriteTimestamp
BeginOcclusionQuery
EndOcclusionQuery
BeginPipelineStatisticsQuery
EndPipelineStatisticsQuery
ExecuteBundle
Dispatch
PopDebugGroup
Trait Implementations§
source§impl Clone for PassErrorScope
impl Clone for PassErrorScope
source§fn clone(&self) -> PassErrorScope
fn clone(&self) -> PassErrorScope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PassErrorScope
impl Debug for PassErrorScope
source§impl Display for PassErrorScope
impl Display for PassErrorScope
source§impl Error for PassErrorScope
impl Error for PassErrorScope
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PrettyError for PassErrorScope
impl PrettyError for PassErrorScope
fn fmt_pretty(&self, fmt: &mut ErrorFormatter<'_>)
impl Copy for PassErrorScope
Auto Trait Implementations§
impl !RefUnwindSafe for PassErrorScope
impl Send for PassErrorScope
impl Sync for PassErrorScope
impl Unpin for PassErrorScope
impl !UnwindSafe for PassErrorScope
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more