pub struct GpuGicpNormalEquations { /* private fields */ }Expand description
Owned resident fixed-size normal equations/status, independent of input/pools.
Implementations§
Source§impl GpuGicpNormalEquations
impl GpuGicpNormalEquations
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<GpuGicpEquations>
pub fn download(&self, runtime: &WgpuRuntime) -> SpatialResult<GpuGicpEquations>
Copies and waits for fixed-size equations/status, validates them before decoding hi/lo f32 sums in f64. No query/pair/neighbor readback occurs.