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

◆ get_last_context()

NodeContext & MayaFlux::Nodes::BinaryOpNode::get_last_context ( )
overrideprotectedvirtual

Retrieves the last created context object.

Returns
Reference to the last BinaryOpContext object

This method provides access to the most recent BinaryOpContext object created by the binary operation node. This context contains information about both input values and the combined output value.

Implements MayaFlux::Nodes::Node.

Definition at line 344 of file NodeStructure.cpp.

345{
346 if (m_gpu_compatible) {
347 return m_context_gpu;
348 }
349 return m_context;
350}
bool m_gpu_compatible
Flag indicating if the node supports GPU processing This flag is set by derived classes to indicate w...
Definition Node.hpp:383

References m_context, m_context_gpu, and MayaFlux::Nodes::Node::m_gpu_compatible.

Referenced by notify_tick().

+ Here is the caller graph for this function: