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