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

Public Member Functions | |
| RmState () | |
| Default Constructor. | |
| RmState (unsigned long ulStateType, unsigned long ulStateValue, RM_TCHAR *pStrUsage) | |
| virtual | ~RmState () |
| Destructor. | |
| 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 () |
| unsigned long | GetStateType () |
| Get state type. | |
| void | SetStateType (unsigned long ulType) |
| Set type. | |
| unsigned long | GetValue () |
| Get value. | |
| void | SetValue (unsigned long nValue) |
| Set value. | |
| const RmStringT & | GetUsage () |
| Get usage string. | |
| void | SetUsage (const RM_TCHAR *pStrUsage) |
| Set usage string. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
Protected Attributes | |
| unsigned long | m_ulState |
| State identifier token, example: token equivalent to D3DRS_ALPHABLENDENABLE. | |
| unsigned long | m_ulValue |
| State value. Example: for the state id above, value = TRUE. | |
| RmStringT | m_strUsage |
| Used to specify whether this instance is a render state or a texture stage state. | |
RmState: a class for defining individual states - either render state, texture stage state or sampler state. This type of node is always hidden, and thus doesn't need a valid icon
|
|
Default Constructor. Default constructor |
|
||||||||||||||||
|
Constructor Create a new state with given state type ID and state value
|
|
|
Destructor. Destructor |
|
|
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. |
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Get state type. Retrieve state type token
|
|
|
Get usage string. Retrieve this state's value
|
|
|
Get value. Retrieve this state's value
|
|
||||||||||||||||
|
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 type. Set this state's type token
|
|
|
Set usage string. Set new value for this state
|
|
|
Set value. Set new value for this state
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6