Struct wgpu::hal::AccelerationStructureInstances
source · pub struct AccelerationStructureInstances<'a, A>where
A: Api,{
pub buffer: Option<&'a <A as Api>::Buffer>,
pub offset: u32,
pub count: u32,
}
Expand description
offset
- offset in bytes
Fields§
§buffer: Option<&'a <A as Api>::Buffer>
§offset: u32
§count: u32
Trait Implementations§
source§impl<'a, A> Clone for AccelerationStructureInstances<'a, A>
impl<'a, A> Clone for AccelerationStructureInstances<'a, A>
source§fn clone(&self) -> AccelerationStructureInstances<'a, A>
fn clone(&self) -> AccelerationStructureInstances<'a, A>
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 moreAuto Trait Implementations§
impl<'a, A> RefUnwindSafe for AccelerationStructureInstances<'a, A>
impl<'a, A> Send for AccelerationStructureInstances<'a, A>
impl<'a, A> Sync for AccelerationStructureInstances<'a, A>
impl<'a, A> Unpin for AccelerationStructureInstances<'a, A>
impl<'a, A> UnwindSafe for AccelerationStructureInstances<'a, 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