Enum wgpu_core::command::PassErrorScope
source · pub enum PassErrorScope {
Show 18 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,
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
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()