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

Public Member Functions | |
| RmTextureVariable () | |
| Default Constructor. | |
| virtual | ~RmTextureVariable () |
| 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. | |
| const RmStringT & | GetFileName () |
| Get filename. | |
| void | GetFullFileName (RM_TCHAR *strFullPath, int nSize) |
| Full filename. | |
| void | SetFileName (const RM_TCHAR *strFileName, bool bUpdateDatabase=true) |
| Set filename. | |
| virtual bool | LoadTexture () |
| LoadTexture. | |
| virtual RmTexture * | GetTexture () |
| Get texture. | |
| virtual const RmTexture * | GetTexture () const |
| Get texture. | |
| void | SetRequestedPixelFormat (RmPixelFormatType format) |
| Set requested pixelformat. | |
| RmPixelFormatType | GetRequestedPixelFormat () const |
| Get requested pixel format. | |
| void | SetOrigin (RmTextureOrigin textureOrigin) |
| Set Origin. | |
| RmTextureOrigin | GetOrigin () |
| Get Origin. | |
Protected Member Functions | |
| virtual void | CopyNodeData (RmNode *pDestinationNode, bool bIncludeLoadedData) |
| Copy node data. | |
| virtual void | SetType (const RM_TCHAR *strNewType) |
| SetType. | |
| 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 | |
| RmStringT | m_strFileName |
| The file name associated with this texture variable. | |
| RmPixelFormatType | m_requestedPixelFormat |
| RmTextureOrigin | m_textureOrigin |
| The texture orientation. | |
| bool | m_bTextureLoaded |
| Flag if texture is loaded. | |
RmTextureVariable is a node containing a generic TEXTURE variable
|
|
Default Constructor. Default constructor |
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmNode. Reimplemented in Rm2DTextureVariable, RmCubemapVariable, Rm3DTextureVariable, and RmRenderableTexture. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmVariable. Reimplemented in RmRenderableTexture. |
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. Reimplemented in Rm2DTextureVariable, RmCubemapVariable, Rm3DTextureVariable, and RmRenderableTexture. |
|
|
Get filename. Retrieve the file name stored in this texture variable
|
|
||||||||||||
|
Full filename. Retrieve full file name, corrected for RenderMonkey's relative paths, etc.
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmVariable. Reimplemented in RmRenderableTexture. |
|
|
Get Origin. Gets the origin of the texture
|
|
|
Get requested pixel format. Returns current requested pixel format
|
|
|
Get texture. Returns RenderMonkey Texture
Reimplemented in Rm2DTextureVariable, RmCubemapVariable, and Rm3DTextureVariable. |
|
|
Get texture. Returns RenderMonkey Texture
Reimplemented in Rm2DTextureVariable, RmCubemapVariable, and Rm3DTextureVariable. |
|
|
Is node valid. Node valid property
Reimplemented from RmNode. Reimplemented in Rm2DTextureVariable, RmCubemapVariable, Rm3DTextureVariable, and RmRenderableTexture. |
|
|
LoadTexture. LoadTexture ( should be overridden by derived class )
Reimplemented in Rm2DTextureVariable, RmCubemapVariable, Rm3DTextureVariable, and RmRenderableTexture. |
|
||||||||||||||||
|
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 RmVariable. Reimplemented in RmRenderableTexture. |
|
||||||||||||
|
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 RmVariable. Reimplemented in RmRenderableTexture. |
|
||||||||||||
|
Set filename. Set new file name associated with this texture variable
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmVariable. Reimplemented in RmRenderableTexture. |
|
|
Set Origin. Sets the origin of the texture
|
|
|
Set requested pixelformat. When texture is loaded from file, it will convert to requested texture format If requested texture format is unknown, then format from file is used.
|
|
|
SetType. Compose the type string chain
Reimplemented from RmVariable. Reimplemented in Rm2DTextureVariable. |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. Reimplemented in RmRenderableTexture. |
|
|
When file is loaded from file, texture will be converted to this format. |
1.3.6