Enum wgpu_core::command::PassErrorScope
source · pub enum PassErrorScope {
Show 20 variants
Bundle,
Pass(CommandEncoderId),
SetBindGroup(BindGroupId),
SetPipelineRender(RenderPipelineId),
SetPipelineCompute(ComputePipelineId),
SetPushConstant,
SetVertexBuffer(BufferId),
SetIndexBuffer(BufferId),
SetViewport,
SetScissorRect,
Draw {
indexed: bool,
indirect: bool,
pipeline: Option<RenderPipelineId>,
},
QueryReset,
WriteTimestamp,
BeginOcclusionQuery,
EndOcclusionQuery,
BeginPipelineStatisticsQuery,
EndPipelineStatisticsQuery,
ExecuteBundle,
Dispatch {
indirect: bool,
pipeline: Option<ComputePipelineId>,
},
PopDebugGroup,
}
Variants§
Bundle
Pass(CommandEncoderId)
SetBindGroup(BindGroupId)
SetPipelineRender(RenderPipelineId)
SetPipelineCompute(ComputePipelineId)
SetPushConstant
SetVertexBuffer(BufferId)
SetIndexBuffer(BufferId)
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 Freeze for PassErrorScope
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)