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

◆ get_last_context()

NodeContext & MayaFlux::Nodes::Generator::Polynomial::get_last_context ( )
overridevirtual

Retrieves the last created context object.

Returns
Reference to the last PolynomialContext object

This method provides access to the most recent PolynomialContext object created by the polynomial generator. This context contains information about the generator's state at the time of the last output generation.

Reimplemented from MayaFlux::Nodes::Generator::Generator.

Definition at line 248 of file Polynomial.cpp.

249{
250 if (m_gpu_compatible) {
251 return m_context_gpu;
252 }
253 return m_context;
254}
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: