|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
virtual |
Allows RootNode to process the Generator without using the processed sample.
| bMock_process | True to mock process, false to process normally |
NOTE: This has no effect on the behaviour of process_sample (or process_batch). This is ONLY used by the RootNode when processing the node graph. If the output of the Generator needs to be ignored elsewhere, simply discard the return value.
Calling process manually can be cumbersome. Using a coroutine just to call process is overkill. This method allows the RootNode to process the Generator without using the processed sample, which is useful for mocking processing.
Definition at line 5 of file Generator.cpp.
References MayaFlux::Nodes::atomic_add_flag(), MayaFlux::Nodes::atomic_remove_flag(), MayaFlux::Nodes::Node::m_state, and MayaFlux::Utils::MOCK_PROCESS.
Here is the call graph for this function: