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

◆ update_context()

virtual void MayaFlux::Nodes::Node::update_context ( double  value)
pure virtual

Updates the context object with the current node state.

Parameters
valueThe current sample value

This method is responsible for updating the NodeContext object with the latest state information from the node. It is called internally whenever a new output value is produced, ensuring that the context reflects the current state of the node for use in callbacks.

Implemented in MayaFlux::Nodes::Filters::Filter, MayaFlux::Nodes::Generator::Generator, MayaFlux::Nodes::Generator::Logic, MayaFlux::Nodes::Generator::Polynomial, MayaFlux::Nodes::Generator::Stochastics::Random, MayaFlux::Nodes::GpuSync::ComputeOutNode, MayaFlux::Nodes::GpuSync::GeometryWriterNode, MayaFlux::Nodes::GpuSync::TextureNode, MayaFlux::Nodes::BinaryOpNode, and MayaFlux::Nodes::ChainNode.