struct State<'scope, 'snatch_guard, 'cmd_enc> {
pipeline: Option<Arc<ComputePipeline>>,
pass: PassState<'scope, 'snatch_guard, 'cmd_enc>,
active_query: Option<(Arc<QuerySet>, u32)>,
push_constants: Vec<u32>,
intermediate_trackers: Tracker,
}
Fields§
§pipeline: Option<Arc<ComputePipeline>>
§pass: PassState<'scope, 'snatch_guard, 'cmd_enc>
§active_query: Option<(Arc<QuerySet>, u32)>
§push_constants: Vec<u32>
§intermediate_trackers: Tracker
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) -> Result<(), DispatchError>
fn flush_states( &mut self, indirect_buffer: Option<TrackerIndex>, ) -> Result<(), ResourceUsageCompatibilityError>
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