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

Public Member Functions | |
| RmRenderableTexture () | |
| Default Constructor. | |
| RmRenderableTexture (const RM_TCHAR *strName, int nWidth, int nHeight, unsigned int unFormat, bool bUseViewportDims, bool bGenerateMipMaps) | |
| Constructor. | |
| virtual | ~RmRenderableTexture () |
| 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. | |
| virtual bool | LoadTexture () |
| Load texture. | |
| int | GetWidth () |
| Get width. | |
| void | SetWidth (int nWidth) |
| Set width. | |
| int | GetHeight () |
| void | SetHeight (int nHeight) |
| Set height. | |
| float | GetWidthRatio () |
| Get width. | |
| void | SetWidthRatio (float fWidthRatio) |
| Set Width ratio. | |
| float | GetHeightRatio () |
| void | SetHeightRatio (float fHeightRatio) |
| Set height ratio. | |
| unsigned int | GetFormat () |
| Format. | |
| void | SetFormat (unsigned int unFormat) |
| Set format. | |
| bool | UseViewportDimensions () |
| Use viewport dimensions. | |
| void | SetUseViewportDimensions (bool bUse) |
| Set use viewport dimensions. | |
| bool | GenerateMipMaps () |
| Generate mipmaps. | |
| void | SetGenerateMipMaps (bool bValue) |
| Set generate mipmaps. | |
| 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 | |
| int | m_nWidth |
| Width of the texture. | |
| int | m_nHeight |
| Height of the texture. | |
| unsigned int | m_unFormat |
| Texture format. | |
| bool | m_bUseViewportDims |
| Will this renderable texture use viewport dimensions for sizing. | |
| float | m_fWidthRatio |
| Width ratio of the texture when using viewport dimensions. | |
| float | m_fHeightRatio |
| Height ratio of the texture when using viewport dimensions. | |
| bool | m_bGenerateMipMaps |
| Will this renderable texture have automatically generated mip maps. | |
| int | m_nHandle |
| The handle to the run-time renderable surface. | |
RmRenderableTexture structure defines parameters for a renderable texture
|
|
Default Constructor. Default constructor |
|
||||||||||||||||||||||||||||
|
Constructor. Create a new renderable texture with a given name and width/height parameters as well as a specified format and whether its size should be tied in to viewport dimensions.
|
|
|
Destructor. Destructor |
|
|
Clone this node. Creates a clone of this node
Reimplemented from Rm2DTextureVariable. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmTextureVariable. |
|
|
Generate mipmaps. Does this renderable texture have automatically generated mip maps?
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from Rm2DTextureVariable. |
|
|
Format. Retrieve format of this renderable texture
|
|
|
Get handle. Retrieve the handle for the run-time renderable surface used by the viewer
|
|
|
Get height Retrieve height of this renderable texture
|
|
|
Get height Retrieve height of this renderable texture
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmTextureVariable. |
|
|
Get width. Retrieve width of this renderable texture
|
|
|
Get width. Retrieve width of this renderable texture
|
|
|
Is node valid. Node valid property
Reimplemented from Rm2DTextureVariable. |
|
|
Load texture. LoadTexture
Reimplemented from Rm2DTextureVariable. |
|
||||||||||||||||
|
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 RmTextureVariable. |
|
||||||||||||
|
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 RmTextureVariable. |
|
|
Set format. Set format of this renderable texture
|
|
|
Set generate mipmaps. Set whether the renderable texture should automatically generate mip maps
|
|
|
Set handle. Set the handle to the run-time renderable surface
|
|
|
Set height. Set height of this renderable texture
|
|
|
Set height ratio. Set height ratio of this renderable texture
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmTextureVariable. |
|
|
Set use viewport dimensions. Set whether this renderable texture uses viewport dimensions at run-time
|
|
|
Set width. Set the width of this renderable texture
|
|
|
Set Width ratio. Set Width ratio of this renderable texture
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmTextureVariable. |
|
|
Use viewport dimensions. Does this renderable texture use viewport for its dimensions at run-time?
|
1.3.6