MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ cosmetic_swallow

bool MayaFlux::Nodes::Network::SpatialFieldConfig::cosmetic_swallow { true }

Whether ClaimSwallowProcessor's cosmetic pass (position snap onto root, size/colour from this cycle's swallow_count) is added to the chain.

Default true: existing absorb_radius behaviour is unchanged.

Set false when a caller wants claim resolution purely for its CPU side effect, PhysicsOperator::sync_bonds_from_claims (bond force and the persistent accreted-mass tally it maintains), without the GPU cosmetic pass fighting it: swallow_count resets every cycle (see ClaimInitProcessor), so it can only ever represent this instant's local cluster size, never true accumulation over time. A caller after real, permanent growth reads PhysicsOperator's accreted mass instead and drives size/colour from that on the CPU side, and doesn't want ClaimSwallowProcessor overwriting the same vertices with its own, necessarily transient, numbers. ClaimInit/Claim/Flatten/Accumulate still run regardless: they are what ClaimAccumulateProcessor's readback needs to populate PhysicsOperator's bonds at all. Structural: fixed at construction.

Definition at line 110 of file GpuFieldOperator.hpp.

110{ true };