Struct wgpu_core::command::BakedCommands
source · pub(crate) struct BakedCommands {
pub(crate) encoder: CommandEncoder,
pub(crate) trackers: Tracker,
buffer_memory_init_actions: Vec<BufferInitTrackerAction>,
texture_memory_actions: CommandBufferTextureMemoryActions,
}
Expand description
Look at the documentation for CommandBufferMutable
for an explanation of
the fields in this struct. This is the “built” counterpart to that type.
Fields§
§encoder: CommandEncoder
§trackers: Tracker
§buffer_memory_init_actions: Vec<BufferInitTrackerAction>
§texture_memory_actions: CommandBufferTextureMemoryActions
Implementations§
source§impl BakedCommands
impl BakedCommands
pub(crate) fn initialize_buffer_memory( &mut self, device_tracker: &mut DeviceTracker, snatch_guard: &SnatchGuard<'_>, ) -> Result<(), DestroyedResourceError>
pub(crate) fn initialize_texture_memory( &mut self, device_tracker: &mut DeviceTracker, device: &Device, snatch_guard: &SnatchGuard<'_>, ) -> Result<(), DestroyedResourceError>
Auto Trait Implementations§
impl Freeze for BakedCommands
impl !RefUnwindSafe for BakedCommands
impl Send for BakedCommands
impl Sync for BakedCommands
impl Unpin for BakedCommands
impl !UnwindSafe for BakedCommands
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