struct State<'scope, 'snatch_guard, 'cmd_enc> {
pipeline_flags: PipelineFlags,
blend_constant: OptionalState,
stencil_reference: u32,
pipeline: Option<Arc<RenderPipeline>>,
index: IndexState,
vertex: VertexState,
info: RenderPassInfo,
pass: PassState<'scope, 'snatch_guard, 'cmd_enc>,
active_occlusion_query: Option<(Arc<QuerySet>, u32)>,
active_pipeline_statistics_query: Option<(Arc<QuerySet>, u32)>,
}Fields§
§pipeline_flags: PipelineFlags§blend_constant: OptionalState§stencil_reference: u32§pipeline: Option<Arc<RenderPipeline>>§index: IndexState§vertex: VertexState§info: RenderPassInfo§pass: PassState<'scope, 'snatch_guard, 'cmd_enc>§active_occlusion_query: Option<(Arc<QuerySet>, u32)>§active_pipeline_statistics_query: Option<(Arc<QuerySet>, u32)>Implementations§
Source§impl<'scope, 'snatch_guard, 'cmd_enc> State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> State<'scope, 'snatch_guard, 'cmd_enc>
fn is_ready(&self, family: DrawCommandFamily) -> Result<(), DrawError>
Sourcefn flush_bindings(&mut self) -> Result<(), RenderPassErrorInner>
fn flush_bindings(&mut self) -> Result<(), RenderPassErrorInner>
Flush binding state in preparation for a draw call.
See the compute pass version for an explanation of some ways that
flush_bindings differs between the two types of passes.
Sourcefn reset_bundle(&mut self)
fn reset_bundle(&mut self)
Reset the RenderBundle-related states.
Auto Trait Implementations§
impl<'scope, 'snatch_guard, 'cmd_enc> Freeze for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> !RefUnwindSafe for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> Send for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> Sync for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> Unpin for State<'scope, 'snatch_guard, 'cmd_enc>
impl<'scope, 'snatch_guard, 'cmd_enc> !UnwindSafe for State<'scope, 'snatch_guard, 'cmd_enc>
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