Struct wgpu_core::command::BakedCommands
source · pub struct BakedCommands<A: HalApi> {
pub(crate) encoder: A::CommandEncoder,
pub(crate) list: Vec<A::CommandBuffer>,
pub(crate) trackers: Tracker<A>,
buffer_memory_init_actions: Vec<BufferInitTrackerAction>,
texture_memory_actions: CommandBufferTextureMemoryActions,
}
Fields§
§encoder: A::CommandEncoder
§list: Vec<A::CommandBuffer>
§trackers: Tracker<A>
§buffer_memory_init_actions: Vec<BufferInitTrackerAction>
§texture_memory_actions: CommandBufferTextureMemoryActions
Implementations§
source§impl<A: HalApi> BakedCommands<A>
impl<A: HalApi> BakedCommands<A>
pub(crate) fn initialize_buffer_memory( &mut self, device_tracker: &mut Tracker<A>, buffer_guard: &mut Storage<Buffer<A>, BufferId> ) -> Result<(), DestroyedBufferError>
pub(crate) fn initialize_texture_memory( &mut self, device_tracker: &mut Tracker<A>, texture_guard: &mut Storage<Texture<A>, TextureId>, device: &Device<A> ) -> Result<(), DestroyedTextureError>
Auto Trait Implementations§
impl<A> !RefUnwindSafe for BakedCommands<A>
impl<A> Send for BakedCommands<A>where A: Send,
impl<A> Sync for BakedCommands<A>where A: Sync,
impl<A> Unpin for BakedCommands<A>where A: Unpin, <A as Api>::BindGroup: Unpin, <A as Api>::CommandBuffer: Unpin, <A as Api>::CommandEncoder: Unpin, <A as Api>::ComputePipeline: Unpin, <A as Api>::QuerySet: Unpin, <A as Api>::RenderPipeline: Unpin, <A as Api>::Sampler: Unpin, <A as Api>::TextureView: Unpin,
impl<A> !UnwindSafe for BakedCommands<A>
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