pub struct AabbGeometry<'a, D: Device> {
pub size: &'a AabbGeometrySize,
pub buffer: &'a D::Buffer,
pub offset: u32,
pub stride: u64,
}Expand description
Procedural AABB geometry supplied to one BLAS build.
Fields§
§size: &'a AabbGeometrySizeSize descriptor used when the BLAS was allocated.
buffer: &'a D::BufferPacked min/max AABB storage.
offset: u32Byte offset to the first primitive.
stride: u64Byte stride between primitives; at least 24 and divisible by 8.
Trait Implementations§
impl<'a, D: Copy + Device> Copy for AabbGeometry<'a, D>
Auto Trait Implementations§
impl<'a, D> Freeze for AabbGeometry<'a, D>
impl<'a, D> RefUnwindSafe for AabbGeometry<'a, D>
impl<'a, D> Send for AabbGeometry<'a, D>
impl<'a, D> Sync for AabbGeometry<'a, D>
impl<'a, D> Unpin for AabbGeometry<'a, D>
impl<'a, D> UnsafeUnpin for AabbGeometry<'a, D>
impl<'a, D> UnwindSafe for AabbGeometry<'a, D>
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