pub struct AoSoAVoxelCentroidResult {
pub out_x: Vec<f32>,
pub out_y: Vec<f32>,
pub out_z: Vec<f32>,
pub segments: GpuVoxelSegments,
pub positions: GpuAoSoXyzBuffer,
}Expand description
Centroid result from the GPU-resident AoSoA voxel pipeline.
Fields§
§out_x: Vec<f32>Averaged x coordinates per occupied voxel.
out_y: Vec<f32>Averaged y coordinates per occupied voxel.
out_z: Vec<f32>Averaged z coordinates per occupied voxel.
segments: GpuVoxelSegmentsGlobal segment metadata retained on the GPU.
positions: GpuAoSoXyzBufferCombined interleaved source positions retained for downstream kernels.
Implementations§
Auto Trait Implementations§
impl Freeze for AoSoAVoxelCentroidResult
impl !RefUnwindSafe for AoSoAVoxelCentroidResult
impl Send for AoSoAVoxelCentroidResult
impl Sync for AoSoAVoxelCentroidResult
impl Unpin for AoSoAVoxelCentroidResult
impl UnsafeUnpin for AoSoAVoxelCentroidResult
impl !UnwindSafe for AoSoAVoxelCentroidResult
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