Skip to main content

compute_voxel_keys_gpu_buffers

Function compute_voxel_keys_gpu_buffers 

Source
pub fn compute_voxel_keys_gpu_buffers(
    runtime: &WgpuRuntime,
    x: &[f32],
    y: &[f32],
    z: &[f32],
    origin: [f32; 3],
    inv_leaf: f32,
) -> SpatialResult<GpuVoxelKeyBuffers>
Expand description

Uploads positions and computes per-point voxel keys, keeping data on the GPU.