MayaFlux 0.3.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 221 of file NodeCombine.cpp.

222{
223 if (m_gpu_compatible) {
224 return m_context_gpu;
225 }
226 return m_context;
227}
BinaryOpContextGpu m_context_gpu
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:386

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: