pub struct VoxelCentroidGpuResult {
pub out_x: Vec<f32>,
pub out_y: Vec<f32>,
pub out_z: Vec<f32>,
pub segments: GpuVoxelSegments,
pub positions: GpuVoxelKeyBuffers,
}Expand description
GPU-resident centroid downsample result.
Fields§
§out_x: Vec<f32>Averaged x coordinates per voxel cell.
out_y: Vec<f32>Averaged y coordinates per voxel cell.
out_z: Vec<f32>Averaged z coordinates per voxel cell.
segments: GpuVoxelSegmentsSegment metadata kept on the GPU for follow-up reductions.
positions: GpuVoxelKeyBuffersSource position buffers kept on the GPU.
Auto Trait Implementations§
impl Freeze for VoxelCentroidGpuResult
impl !RefUnwindSafe for VoxelCentroidGpuResult
impl Send for VoxelCentroidGpuResult
impl Sync for VoxelCentroidGpuResult
impl Unpin for VoxelCentroidGpuResult
impl UnsafeUnpin for VoxelCentroidGpuResult
impl !UnwindSafe for VoxelCentroidGpuResult
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