pub struct RenderBundle { /* private fields */ }
Expand description
Pre-prepared reusable bundle of GPU operations.
It only supports a handful of render commands, but it makes them reusable. RenderBundle
s
can be executed onto a CommandEncoder
using RenderPass::execute_bundles
.
Executing a RenderBundle
is often more efficient then issuing the underlying commands manually.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderBundle
impl !RefUnwindSafe for RenderBundle
impl Send for RenderBundle
impl Sync for RenderBundle
impl Unpin for RenderBundle
impl !UnwindSafe for RenderBundle
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