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

◆ invalidate()

void MayaFlux::Nodes::Network::GpuFieldOperator::invalidate ( )
protected

Clear the cached spec and bump revision().

Used by this class's own SpatialFieldConfig setters. Protected rather than private so a subclass with additional config surface can signal a change through the same revision a consumer already checks, rather than needing a second, parallel change-notification mechanism.

Definition at line 425 of file GpuFieldOperator.cpp.

426{
427 m_spec_cache.reset();
428 ++m_revision;
429}
std::optional< Portal::Graphics::ShaderSpec > m_spec_cache

References m_revision, and m_spec_cache.

Referenced by set_capture_growth(), set_cross_cluster(), set_density_saturation_count(), set_spawn_density_threshold(), set_swallow_base_size(), set_swallow_dim_factor(), set_swallow_growth_rate(), set_swallow_max_size(), set_vertex_binding(), set_workgroup_size(), store(), and unbind().

+ Here is the caller graph for this function: