Access the render pass registry.
More...
#include <MRenderPassRegistry.h>
Access the render pass registry.
This class provides a means to register custom render pass definitions with Maya's internal render pass registry. It can also be used to query pass definitions.
Retrieve the definition of the specified render pass.
- Parameters
-
[in] | passID | The ID of the pass |
[out] | ReturnStatus | Status code |
- Returns
- The render pass definition if successful
- Status Codes:
- MS::kSuccess The pass definition was successfully retrieved
- MS::kFailure The internal registry could not be accessed
- MS::kNotFound The passID does not exist
Creates a new render pass definition and registers it with the internal render pass registry.
Returns the definition.
- Parameters
-
[in] | passID | The ID of the pass |
[in] | passName | The name of the new pass |
[in] | passGroup | The classification of the new pass |
[in] | description | A description of the new pass |
[in] | overload | If true, override any existing pass with the same passID with this pass definiton |
[out] | ReturnStatus | Status code |
- Returns
- The render pass definition if successful
- Status Codes:
- MS::kSuccess The pass was created and registered
- MS::kFailure An object error has occured
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:
- MRenderPassRegistry.h
- MRenderPassRegistry.cpp