Struct wgpu_core::command::BakedCommands
source · pub(crate) struct BakedCommands {
pub(crate) encoder: Box<dyn DynCommandEncoder>,
pub(crate) list: Vec<Box<dyn DynCommandBuffer>>,
pub(crate) trackers: Tracker,
buffer_memory_init_actions: Vec<BufferInitTrackerAction>,
texture_memory_actions: CommandBufferTextureMemoryActions,
}
Fields§
§encoder: Box<dyn DynCommandEncoder>
§list: Vec<Box<dyn DynCommandBuffer>>
§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