pub struct GpuAoSoRadiusGrid { /* private fields */ }Expand description
Sparse GPU-resident uniform grid built directly from AoSoA positions.
Implementations§
Source§impl GpuAoSoRadiusGrid
impl GpuAoSoRadiusGrid
Sourcepub const fn segments(&self) -> &GpuVoxelSegments
pub const fn segments(&self) -> &GpuVoxelSegments
Returns sorted sparse cell keys, starts, and point indices on the GPU.
Sourcepub fn into_segments(self) -> GpuVoxelSegments
pub fn into_segments(self) -> GpuVoxelSegments
Consumes the grid and returns its GPU segment buffers.
Auto Trait Implementations§
impl Freeze for GpuAoSoRadiusGrid
impl !RefUnwindSafe for GpuAoSoRadiusGrid
impl Send for GpuAoSoRadiusGrid
impl Sync for GpuAoSoRadiusGrid
impl Unpin for GpuAoSoRadiusGrid
impl UnsafeUnpin for GpuAoSoRadiusGrid
impl !UnwindSafe for GpuAoSoRadiusGrid
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