struct State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> {Show 18 fields
binder: Binder,
pipeline: Option<Arc<ComputePipeline>>,
scope: UsageScope<'scope>,
debug_scope_depth: u32,
snatch_guard: SnatchGuard<'snatch_guard>,
device: &'cmd_buf Arc<Device>,
raw_encoder: &'raw_encoder mut dyn DynCommandEncoder,
tracker: &'cmd_buf mut Tracker,
buffer_memory_init_actions: &'cmd_buf mut Vec<BufferInitTrackerAction>,
texture_memory_actions: &'cmd_buf mut CommandBufferTextureMemoryActions,
tlas_actions: &'cmd_buf mut Vec<TlasAction>,
temp_offsets: Vec<u32>,
dynamic_offset_count: usize,
string_offset: usize,
active_query: Option<(Arc<QuerySet>, u32)>,
push_constants: Vec<u32>,
intermediate_trackers: Tracker,
pending_discard_init_fixups: Vec<TextureSurfaceDiscard>,
}
Fields§
§binder: Binder
§pipeline: Option<Arc<ComputePipeline>>
§scope: UsageScope<'scope>
§debug_scope_depth: u32
§snatch_guard: SnatchGuard<'snatch_guard>
§device: &'cmd_buf Arc<Device>
§raw_encoder: &'raw_encoder mut dyn DynCommandEncoder
§tracker: &'cmd_buf mut Tracker
§buffer_memory_init_actions: &'cmd_buf mut Vec<BufferInitTrackerAction>
§texture_memory_actions: &'cmd_buf mut CommandBufferTextureMemoryActions
§tlas_actions: &'cmd_buf mut Vec<TlasAction>
§temp_offsets: Vec<u32>
§dynamic_offset_count: usize
§string_offset: usize
§active_query: Option<(Arc<QuerySet>, u32)>
§push_constants: Vec<u32>
§intermediate_trackers: Tracker
§pending_discard_init_fixups: Vec<TextureSurfaceDiscard>
Immediate texture inits required because of prior discards. Need to be inserted before texture reads.
Implementations§
source§impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
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_buf, 'raw_encoder> Freeze for State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> !RefUnwindSafe for State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> !Send for State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> Sync for State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> Unpin for State<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_buf, 'raw_encoder> !UnwindSafe for State<'scope, 'snatch_guard, 'cmd_buf, '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