#include <RmEffect.h>
Inheritance diagram for RmEffect:

Public Member Functions | |
| RmEffect () | |
| Default Constructor. | |
| virtual | ~RmEffect () |
| Destructor. | |
| virtual bool | IsArtistEditable () |
| Artist editable flag. | |
| virtual bool | AddChild (RmNode *pChildNode, RmNode *pNextSibling=NULL) |
| Add child. | |
| virtual void | Update (RmNodeUpdateType nodeUpdateType, RmNode *pRmUpdateRootNode) |
| Update. | |
| virtual bool | LoadXMLData (int hDoc, const RM_TCHAR *strXPath, const RM_TCHAR *strRmXMLVersion) |
| Load node data from XML. | |
| virtual bool | SaveXMLData (int hDoc, const RM_TCHAR *strXPath) |
| Save node data to XML. | |
| virtual RmNode * | Clone (bool bIncludeLoadedData) |
| Clone this node. | |
| virtual const RM_TCHAR * | GetDescription () |
| bool | AddPass (RmPass *pPass) |
| Add Pass. | |
| void | Initialize () |
| Initialize. | |
| RmPass * | GetPass (const RM_TCHAR *strPassName) |
| Get pass. | |
| RmPass * | GetPass (RmNode *pNode) |
| Get pass. | |
| RmPass * | GetPass (int nPassIndex) |
| Get pass. | |
| int | GetNumPasses () |
| int | GetNumEnabledPasses () |
| RmCamera * | GetActiveCamera () |
| Get active camera. | |
| void | SetActiveCamera (RmCamera *pRmCamera) |
| Set active camera. | |
| void | ReOrderPassIndices () |
| Reoder passes. | |
| RmPassListIterator | BeginPasses () |
| Iterators for passes. | |
| RmPassListConstIterator | BeginPasses () const |
| RmPassListIterator | EndPasses () |
| RmPassListConstIterator | EndPasses () const |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
| virtual void | SetType (const RM_TCHAR *strNewType) |
| Set type. | |
| virtual RmNodeTypeChildRuleList * | GetNodeTypeChildRuleList () |
| Parent / Child rule list function. | |
| virtual void | SetNodeTypeChildRuleList (RmNodeTypeChildRuleList *pRmNodeChildRuleList) |
| Sets the node child rule list for the given node. | |
Protected Attributes | |
| RmPassList | m_passList |
| A list of all passes that belong to the given effect node. | |
| RmCamera * | m_pActiveCamera |
| Active Camera pointer. | |
| RmStringT | m_strActiveCamera |
| Active Camera Name. | |
RmEffect structure contains any number of RmPass structures
|
|
Default Constructor. Constructor |
|
|
Destructor. Destructor |
|
||||||||||||
|
Add child. Add a new child node
Reimplemented from RmNode. |
|
|
Add Pass. Adds a new pass to the effect node
|
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. Reimplemented in RmOpenGLEffect, and RmDirectXEffect. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmNode. |
|
|
Get active camera. Retrieve camera data from the pass.
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Return the number of enabled passes in this effect group
|
|
|
Return the number of passes in this effect group
|
|
|
Get pass. Retrieve a pass by its nIndex in this effect node
|
|
|
Get pass. Retrieves a pass that owns a given node
|
|
|
Get pass. Retrieves a pass by its name
|
|
|
Initialize. Initializes the effect node to have a single pass
|
|
|
Artist editable flag. Artist-editable property
Reimplemented from RmNode. |
|
||||||||||||||||
|
Load node data from XML. Loads versioned XML node data. Note that this method will only load the contents of each node, not the data for all of the children nodes. Each child will have its own XML loading function called by the API.
Reimplemented from RmNode. |
|
|
Reoder passes. Function to reorder the pass indices.
|
|
||||||||||||
|
Save node data to XML. Saves node's contents to XML. Note that this method will only save the contents of each node, not the data for all of the children nodes. Each child will have its own XML saving function called by the API.
Reimplemented from RmNode. |
|
|
Set active camera. Set active camera
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
|
Set type. Compose the type string chain
Reimplemented from RmNode. |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6