Skip to main content

compute_ontogenetic_morph_weights_zero_heap

Function compute_ontogenetic_morph_weights_zero_heap 

pub fn compute_ontogenetic_morph_weights_zero_heap(
    explicit_weights: &[f32],
    target_count: u32,
    vertex_stride: u32,
    stage: u8,
    damage_permill: u16,
    hydration_permill: u16,
) -> GpuInstanceMorphWeights
Expand description

Computes GpuInstanceMorphWeights with zero heap allocations (HotZeroHeap), combining explicit pose/facial blend-shape weights with ontogenetic/metabolic state (damage_permill, hydration_permill, and stage ontogenetic factor).