Skip to main content

gather_voxel_first_xyz_and_multi_gpu

Function gather_voxel_first_xyz_and_multi_gpu 

Source
pub fn gather_voxel_first_xyz_and_multi_gpu(
    runtime: &WgpuRuntime,
    x: &Buffer,
    y: &Buffer,
    z: &Buffer,
    attribute_channels: &[&[f32]],
    u8_attribute_channels: &[&[u8]],
    segments: &GpuVoxelSegments,
) -> SpatialResult<(Vec<f32>, Vec<f32>, Vec<f32>, Vec<Vec<f32>>, Vec<Vec<u8>>)>
Expand description

Gathers xyz and multiple f32/u8 attribute channels with one GPU submit/readback.