pub(crate) struct BakedCommands {
pub(crate) encoder: CommandEncoder,
pub(crate) trackers: Tracker,
pub(crate) temp_resources: Vec<TempResource>,
pub(crate) indirect_draw_validation_resources: DrawResources,
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§temp_resources: Vec<TempResource>§indirect_draw_validation_resources: DrawResources§buffer_memory_init_actions: Vec<BufferInitTrackerAction>§texture_memory_actions: CommandBufferTextureMemoryActionsImplementations§
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 UnsafeUnpin 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