pub struct GpuPointToPlaneNormalEquations { /* private fields */ }Expand description
Owned resident fixed-size normal equations/status, independent of input/pools.
Implementations§
Source§impl GpuPointToPlaneNormalEquations
impl GpuPointToPlaneNormalEquations
Sourcepub fn buffer(&self) -> &Buffer
pub fn buffer(&self) -> &Buffer
256-byte storage: u32 status/H-count/fitness-count/reserved-zero, one
vec4
Sourcepub fn parameter_scales(&self) -> (f64, f64, f64)
pub fn parameter_scales(&self) -> (f64, f64, f64)
Metadata required to decode the resident normalized parameter basis.
Sourcepub const fn readback_bytes(&self) -> u64
pub const fn readback_bytes(&self) -> u64
Explicit readback size, zero for empty source and otherwise 256 bytes.
Sourcepub fn download(
&self,
runtime: &WgpuRuntime,
) -> SpatialResult<GpuPointToPlaneEquations>
pub fn download( &self, runtime: &WgpuRuntime, ) -> SpatialResult<GpuPointToPlaneEquations>
Copies and waits for fixed-size equations/status, validates them before decoding hi/lo f32 sums in f64. No query/pair/neighbor readback occurs.