Enum wgpu::core::command::PassErrorScope
pub enum PassErrorScope {
Show 20 variants
Bundle,
Pass(Id<CommandEncoder>),
SetBindGroup(Id<BindGroup>),
SetPipelineRender(Id<RenderPipeline>),
SetPipelineCompute(Id<ComputePipeline>),
SetPushConstant,
SetVertexBuffer(Id<Buffer>),
SetIndexBuffer(Id<Buffer>),
SetViewport,
SetScissorRect,
Draw {
indexed: bool,
indirect: bool,
pipeline: Option<Id<RenderPipeline>>,
},
QueryReset,
WriteTimestamp,
BeginOcclusionQuery,
EndOcclusionQuery,
BeginPipelineStatisticsQuery,
EndPipelineStatisticsQuery,
ExecuteBundle,
Dispatch {
indirect: bool,
pipeline: Option<Id<ComputePipeline>>,
},
PopDebugGroup,
}
Available on
wgpu_core
only.Variants§
Bundle
Pass(Id<CommandEncoder>)
SetBindGroup(Id<BindGroup>)
SetPipelineRender(Id<RenderPipeline>)
SetPipelineCompute(Id<ComputePipeline>)
SetPushConstant
SetVertexBuffer(Id<Buffer>)
SetIndexBuffer(Id<Buffer>)
SetViewport
SetScissorRect
Draw
QueryReset
WriteTimestamp
BeginOcclusionQuery
EndOcclusionQuery
BeginPipelineStatisticsQuery
EndPipelineStatisticsQuery
ExecuteBundle
Dispatch
PopDebugGroup
Trait Implementations§
§impl Clone for PassErrorScope
impl Clone for PassErrorScope
§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 more§impl Debug for PassErrorScope
impl Debug for PassErrorScope
§impl Display for PassErrorScope
impl Display for PassErrorScope
§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()
§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