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

Public Member Functions | |
| RmTextureReference () | |
| Default Constructor. | |
| RmTextureReference (const RM_TCHAR *strTextureName) | |
| Constructor. | |
| virtual | ~RmTextureReference () |
| 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 () |
| virtual bool | IsNodeValid () |
| Is node valid. | |
| RmNode * | GetReference () |
| Get reference. | |
| void | SetReference (RmNode *pTextureVariable) |
| Set reference. | |
| int | GetHandle () |
| Get handle. | |
| void | SetHandle (int nHandle) |
| Set handle. | |
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 | |
| RmNode * | m_pTextureNode |
| The texture variable that this texture references to. | |
| int | m_nHandle |
| The handle for viewer-managed texture resource associated with texture reference. | |
RmTexture structure specifies the name and compression of a texture it also contains any number of texture stage states
|
|
Default Constructor. Default constructor |
|
|
Constructor. Creates texture reference with a given name that points to the texture variable name this node references
|
|
|
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 handle. Retrieve resource handle for this texture reference return Handle to texture |
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Get reference. Retrieve the node this texture reference refers to
|
|
|
Is node valid. Node valid 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 handle. Store texture handle for the reference
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
|
Set reference. Set texture reference node for this object
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6