Skip to main content

run_aoso_voxel_normal_frame

Function run_aoso_voxel_normal_frame 

Source
pub fn run_aoso_voxel_normal_frame(
    runtime: &WgpuRuntime,
    tensor: &SpatialTensor<'_>,
    origin: [f32; 3],
    inv_leaf: f32,
    normal_radius: f32,
) -> SpatialResult<GpuSpatialFrame>
Expand description

Uploads a tensor and chains global voxel partitioning and radius normals.

Retains every source point, without computing or reading back voxel centroids. A nonempty frame synchronizes two four-byte cell counts during partition/grid construction; these metadata transfers are included in its receipt. Position and normal arrays remain on the device until explicitly read back.