|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
protectedpure virtual |
Creates an appropriate context object for this node type.
| value | The current sample value |
This method is responsible for creating a NodeContext object (or a derived class) that contains information about the node's current state. The context object is passed to callbacks and conditions to provide them with the information they need to execute properly.
Node implementations should override this method to create a context object that includes all relevant node-specific information.
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::BinaryOpNode, MayaFlux::Nodes::GpuSync::GpuSync, and MayaFlux::Nodes::ChainNode.