pub(crate) struct PassState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> {
pub(crate) base: EncodingState<'snatch_guard, 'cmd_enc, 'raw_encoder>,
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) string_offset: usize,
}
Fields§
§base: EncodingState<'snatch_guard, 'cmd_enc, 'raw_encoder>
§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
§string_offset: usize
Auto Trait Implementations§
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Freeze for PassState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> !RefUnwindSafe for PassState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Send for PassState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Sync for PassState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> Unpin for PassState<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder>
impl<'scope, 'snatch_guard, 'cmd_enc, 'raw_encoder> !UnwindSafe for PassState<'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