pub struct RenderBundle {
pub(crate) inner: DispatchRenderBundle,
}
Expand description
Pre-prepared reusable bundle of GPU operations.
It only supports a handful of render commands, but it makes them reusable. Executing a
RenderBundle
is often more efficient than issuing the underlying commands manually.
It can be created by use of a RenderBundleEncoder
, and executed onto a CommandEncoder
using RenderPass::execute_bundles
.
Corresponds to WebGPU GPURenderBundle
.
Fields§
§inner: DispatchRenderBundle
Trait Implementations§
source§impl Clone for RenderBundle
impl Clone for RenderBundle
source§fn clone(&self) -> RenderBundle
fn clone(&self) -> RenderBundle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderBundle
impl Debug for RenderBundle
source§impl Hash for RenderBundle
impl Hash for RenderBundle
source§impl Ord for RenderBundle
impl Ord for RenderBundle
source§impl PartialEq for RenderBundle
impl PartialEq for RenderBundle
source§impl PartialOrd for RenderBundle
impl PartialOrd for RenderBundle
impl Eq for RenderBundle
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.