|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| float MayaFlux::Nodes::Network::SpatialFieldConfig::reserve_fraction { 0.0F } |
Fraction of extra reserve capacity the geometry buffer allocates beyond the live point count, for PopulationSpawnProcessor to claim: reserve_count = ceil(live_count * reserve_fraction), and the vertex buffer plus every hash/claim/mutation state field is sized to live_count + reserve_count from the moment this operator is wired, never resized again afterward.
0 (the default) allocates no reserve and wires none of PopulationInitProcessor/PopulationSpawnProcessor/the alive-gating on HashCountProcessor/HashScatterProcessor/ClaimProcessor/ ClaimAccumulateProcessor at all – population dynamics is entirely opt-in and costs nothing unset.
Requires absorb_radius to also be set: destruction is destroy-on- absorption, reusing mutation_claimed_by, so there is nothing for this to destroy without claims running. A nonzero reserve_fraction with no absorb_radius is treated as unset and logged.
What spawns and dies here is deliberately not reflected to PhysicsOperator: see PopulationConfig's own doc for the full reasoning. Structural: fixed at construction, like absorb_radius itself, since it changes which processors get built.
Definition at line 190 of file GpuFieldOperator.hpp.