MEvaluationManager Class Reference
#include <MEvaluationManager.h>
Class for working with Maya's Evaluation Manager.
The Evaluation Manager is used to evaluate the scene without dirty propagation. Its evaluation graph capabilities decouples the data model and evaluation.
The Evaluation Manager can execute graph evaluation in serial or parallel. Parallel execution uses a scheduling graph to provide parallelized computation of depend nodes.
Unless specified, the methods in this class are threadsafe and can be performed safely from worker threads.
bool graphConstructionActive |
( |
| ) |
|
|
static |
Determine if the evaluation graph is currently being constructed.
- Note
- This function doesn't take context as a parameter because dirty propagation happens only in normal context.
- Returns
- True if the evaluation graph is being constructed, otherwise false.
bool evaluationManagerActive |
( |
const MDGContext & |
context | ) |
|
|
static |
Determine if the evaluation manager is active on given context.
- Parameters
-
[in] | context | Evaluation context for status test. |
- Returns
- True if the evaluation manager is active on the given context, otherwise false.
bool evaluationInExecution |
( |
const MDGContext & |
context | ) |
|
|
static |
Determine if the evaluation manager is currently evaluating given context.
- Parameters
-
[in] | context | Evaluation context for status test. |
- Returns
- True if the evaluation manager is evaluating given context, otherwise false.
const char * className |
( |
| ) |
|
|
static |
Returns the name of this class.
- Returns
- The name of this class.
The documentation for this class was generated from the following files:
- MEvaluationManager.h
- MEvaluationManager.cpp