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

Public Member Functions | |
| RmEffectWorkspace () | |
| Default Constructor. | |
| RmEffectWorkspace (const RM_TCHAR *strWorkspaceName) | |
| Constructor. | |
| virtual | ~RmEffectWorkspace () |
| Destructor. | |
| virtual bool | IsArtistEditable () |
| Artist editable flag. | |
| 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 () |
| void | SetValidationString (const RM_TCHAR *strValidation) |
| Set validation string to the specified string. | |
| RmEffect * | GetActiveEffect () |
| Get active effect. | |
| void | SetActiveEffect (RmEffect *pEffect) |
| Set active effect. | |
| void | DeleteActiveEffectAndUpdate (RmNode *pRmNode) |
| Delete active effect. | |
| bool | AddDefaultEffect (RmEffect *pDefaultEffect) |
| Add default effect. | |
| RmEffect * | GetDefaultEffect (const RM_TCHAR *pStrAPI) |
| Get default effect. | |
| RmEffect * | GetDefaultEffectNamed (const RM_TCHAR *pStrName) |
| Get default effect by name. | |
| RmEffectGroup * | AddEffectGroup (const RM_TCHAR *strName) |
| Add effect group. | |
| int | GetNumEffectGroups () |
| Get number of effect group. | |
| RmEffectGroup * | GetEffectGroup (const RM_TCHAR *strGroupName) |
| Get effect group. | |
| RmEffectGroup * | GetEffectGroup (int nEffectGroupIndex) |
| Get effect group. | |
| int | GetEffectGroupIndex (RmEffectGroup *pEffectGroup) |
| Get effect group index. | |
| RmEffectGroup * | GetEffectGroup (RmNode *pNode) |
| Get effect group. | |
| RmEffectGroupListIterator | BeginEffectGroups () |
| Iterators. | |
| RmEffectGroupListConstIterator | BeginEffectGroups () const |
| RmEffectGroupListIterator | EndEffectGroups () |
| RmEffectGroupListConstIterator | EndEffectGroups () const |
| const RM_TCHAR * | GetPath () |
| Get path. | |
| void | SetPath (const RM_TCHAR *strPath) |
| Set path. | |
| const RM_TCHAR * | GetFile () |
| Get File. | |
| void | SetFile (const RM_TCHAR *strFile) |
| Set file. | |
| RmEffect * | GetEffect (RmNode *pNode) |
| Get effect. | |
| RmPass * | GetPass (RmNode *pNode) |
| Get Pass. | |
| RmShader * | GetShader (const RM_TCHAR *strAPI, const RM_TCHAR *strEffectGroupName, const RM_TCHAR *strEffectName, const RM_TCHAR *strEffectPassName, const RM_TCHAR *strShaderName) |
| GetShader. | |
| RmStringT & | ActiveEffectName () |
| Active effect name. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
| 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 | |
| RmEffect * | m_pActiveEffect |
| Currently active effect. | |
| RmStringT | m_strActiveEffect |
| Active Effect node name. | |
| RmEffectGroupList | m_effectGroupList |
| All effect groups that this workspace holds. | |
| RmStringToPtrMap | m_defaultEffectMap |
| Default effect map. | |
| RM_TCHAR | m_path [RM_PATH_SIZE] |
| Workspace path. | |
| RM_TCHAR | m_file [RM_PATH_SIZE] |
| RmStringT | m_strValidation |
| Workspace validation string. | |
RmEffectWorkspace structure contains any number of RmEffectGroup structures as well as a default effect that is used as a basis for all other effects in the workspace
|
|
Default Constructor. Constructor |
|
|
Constructor. Creates a new workspace with a given name
|
|
|
Destructor. Destructor |
|
|
Active effect name. Retrieve the name of the active effect
|
|
|
Add default effect. Adds default effect to the workspace node DefaultEffect Effect to add as default
|
|
|
Add effect group. Add new effect group node to the workspace with the specified name
|
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmNode. |
|
|
Delete active effect. This method reacts to deletion of currently active effect. It figures out the next effect that needs to be active and sets it if possible.
|
|
|
Get active effect. Retrieve active effect in the workspace
|
|
|
Get default effect. Retrieve default effect from the workspace
|
|
|
Get default effect by name. Retrieve default effect from the workspace
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Get effect. Retrieve effect node that the specified node belongs to
|
|
|
Get effect group. Retrieve effect group which owns this particular node
|
|
|
Get effect group. Retrieves effect group for a given nIndex
|
|
|
Get effect group. Retrieve effect group by its name
|
|
|
Get effect group index. Retrieve the nIndex of the given effect group. Effect group nIndex in the workspace group list or -1 if failed to find the specified group in the workspace.
|
|
|
Get File. Retrieve workspace file name
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Get number of effect group. Retrieve number of effect groups in the workspace
|
|
|
Get Pass. Retrieve effect pass node that the specified node belongs to
|
|
|
Get path. Retrieve workspace path
|
|
||||||||||||||||||||||||
|
GetShader. Retrieve shader given the name of the effect group that it belongs to, effect node, effect pass and the name of the actual shader.
|
|
|
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. |
|
||||||||||||
|
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 effect. Set specified effect as active effect in the workspace. Note: input effect = NULL means that this workspace does not have an active effect
|
|
|
Set file. Set workspace file to the specified value
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
|
Set path. Set workspace path to the specified value strPath Path string to set return None |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6