pub(crate) struct BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> {Show 14 fields
pub(crate) device: &'cmd_enc Arc<Device>,
pub(crate) raw_encoder: &'raw_encoder mut dyn DynCommandEncoder,
pub(crate) tracker: &'cmd_enc mut Tracker,
pub(crate) buffer_memory_init_actions: &'cmd_enc mut Vec<BufferInitTrackerAction>,
pub(crate) texture_memory_actions: &'cmd_enc mut CommandBufferTextureMemoryActions,
pub(crate) as_actions: &'cmd_enc mut Vec<AsAction>,
pub(crate) pending_discard_init_fixups: Vec<TextureSurfaceDiscard>,
pub(crate) scope: UsageScope<'scope>,
pub(crate) binder: Binder,
pub(crate) temp_offsets: Vec<u32>,
pub(crate) dynamic_offset_count: usize,
pub(crate) snatch_guard: &'snatch_guard SnatchGuard<'snatch_guard>,
pub(crate) debug_scope_depth: u32,
pub(crate) string_offset: usize,
}
Fields§
§device: &'cmd_enc Arc<Device>
§raw_encoder: &'raw_encoder mut dyn DynCommandEncoder
§tracker: &'cmd_enc mut Tracker
§buffer_memory_init_actions: &'cmd_enc mut Vec<BufferInitTrackerAction>
§texture_memory_actions: &'cmd_enc mut CommandBufferTextureMemoryActions
§as_actions: &'cmd_enc mut Vec<AsAction>
§pending_discard_init_fixups: Vec<TextureSurfaceDiscard>
Immediate texture inits required because of prior discards. Need to be inserted before texture reads.
scope: UsageScope<'scope>
§binder: Binder
§temp_offsets: Vec<u32>
§dynamic_offset_count: usize
§snatch_guard: &'snatch_guard SnatchGuard<'snatch_guard>
§debug_scope_depth: u32
§string_offset: usize
Auto Trait Implementations§
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Freeze for BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> !RefUnwindSafe for BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Send for BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Sync for BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Unpin for BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> !UnwindSafe for BaseState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
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