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

Public Member Functions | |
| RmTextureObject () | |
| Default Constructor. | |
| RmTextureObject (bool bVertexTexture, int nStageIndex, const RM_TCHAR *pStrAPI) | |
| Constructor. | |
| virtual | ~RmTextureObject () |
| Destructor. | |
| void | Initialize () |
| Initialize. | |
| 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. | |
| bool | AddTextureReference (RmTextureReference *pTextureRef) |
| Add texture reference. | |
| void | DeleteTextureReference () |
| Delete Texture reference. | |
| RmTextureReference * | GetTextureReference () |
| Get texture reference. | |
| RmState * | FindTextureStageState (unsigned long ulType) |
| Find texture stage state. | |
| bool | AddTextureStageState (RmState *pTextureState) |
| Add texture stage state. | |
| void | DeleteTextureStageState (unsigned long ulType) |
| Delete texture stage stage. | |
| RmState * | FindSamplerState (unsigned long ulType) |
| Find sample state. | |
| bool | AddSamplerState (RmState *pSamplerState) |
| Add sampler state. | |
| void | DeleteSamplerState (unsigned long ulType) |
| Delete sampler state. | |
| int | GetStageIndex () |
| Get stage index. | |
| void | SetStageIndex (int nIndex) |
| Set stage index. | |
| RmStateListIterator | BeginTextureStageStates () |
| Begin iterator for Texture stage. | |
| RmStateListConstIterator | BeginTextureStageStates () const |
| Begin iterator for Texture stage. | |
| RmStateListIterator | EndTextureStageStates () |
| End iterator for Texture stage. | |
| RmStateListConstIterator | EndTextureStageStates () const |
| End iterator for Texture stage. | |
| RmStateListIterator | BeginSamplerStates () |
| Begin iterator for Sampler stage. | |
| RmStateListConstIterator | BeginSamplerStates () const |
| Begin iterator for Sampler stage. | |
| RmStateListIterator | EndSamplerStates () |
| End iterator for Sampler stage. | |
| RmStateListConstIterator | EndSamplerStates () const |
| End iterator for Sampler stage. | |
| bool | IsVertexTexture () |
| Returns the vertex texture flag. | |
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_nStageIndex |
| Texture stage nIndex for this texture object. | |
| RmStateList | m_textureStageStates |
| The list of all associated texture stage states. | |
| RmStateList | m_samplerStates |
| The list of all associated sampler states. | |
| RmTextureReference * | m_pTextureRef |
| Texture reference attached to this texture object. | |
| bool | m_bVertexTexture |
| Texture is flagged for use within a vertex shader. | |
RmTextureObject contains any number of RmTextureStageState structures as well as a RmTextureRef structure
|
|
Default Constructor. Default constructor |
|
||||||||||||||||
|
Constructor. Create new texture object for given texture stage nIndex
|
|
|
Destructor. Destructor |
|
|
Add sampler state. Add new sampler state. Note that if the texture object already contains a sampler state with the same type, it will be replaced with new values
|
|
|
Add texture reference. Adds a texture reference node to this texture object. Texture reference actually links this texture object to a specific texture variable.
|
|
|
Add texture stage state. Add new texture state to this texture object. Note that if the texture object already contains a texture stage state with the same type, it will be replaced with new values.
|
|
|
Begin iterator for Sampler stage. Begin iterator for Sampler stage
|
|
|
Begin iterator for Sampler stage. Begin iterator for Sampler stage
|
|
|
Begin iterator for Texture stage. Begin iterator for Texture stage
|
|
|
Begin iterator for Texture stage. Begin iterator for Texture stage
|
|
|
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 sampler state. Delete sampler state based on its type
|
|
|
Delete Texture reference. Deletes current texture reference from this texture object. Note that this call will actually delete the reference node itself.
|
|
|
Delete texture stage stage. Delete texture stage state based on its type
|
|
|
End iterator for Sampler stage. End iterator for Sampler stage
|
|
|
End iterator for Sampler stage. End iterator for Sampler stage
|
|
|
End iterator for Texture stage. End iterator for Texture stage
|
|
|
End iterator for Texture stage. End iterator for Texture stage
|
|
|
Find sample state. Find sampler state object given its type
|
|
|
Find texture stage state. Find specific texture stage state given its type
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmNode. |
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmNode. |
|
|
Get stage index. Retrieve texture stage nIndex for this texture object
|
|
|
Get texture reference. Retrieve texture reference node from this texture object
|
|
|
Initialize. Initializes texture object
|
|
|
Is node valid. Node valid property
Reimplemented from RmNode. |
|
|
Returns the vertex texture flag. Returns the vertex texture flag
|
|
||||||||||||||||
|
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. |
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
|
Set stage index. Set texture stage nIndex for this texture object
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6