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

Public Member Functions | |
| RmStreamChannel () | |
| Default Constructor. | |
| RmStreamChannel (DWORD dwUsage, DWORD dwUsageIndex, DWORD dwRegisterIndex, DWORD dwDataType) | |
| Constructor. | |
| virtual | ~RmStreamChannel () |
| 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 | GetRegister () |
| Get register. | |
| void | SetRegister (unsigned long ulRegister) |
| Set regsiter. | |
| unsigned long | GetDataType () |
| Get data type. | |
| void | SetDataType (unsigned long ulType) |
| Set data type. | |
| int | GetSize () |
| unsigned long | GetUsage () |
| Get usage. | |
| void | SetUsage (unsigned long ulUsage) |
| Set usage. | |
| unsigned long | GetUsageIndex () |
| Get usage index. | |
| void | SetUsageIndex (unsigned long ulUsageIndex) |
| Get usage index. | |
| const RM_TCHAR * | GetUsageString () |
| Get usage string. | |
| RmStream * | GetParentStream () |
| Get parent stream. | |
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 | |
| RmStringT | m_strUsage |
| String for usage. | |
| unsigned long | m_ulRegister |
| Register that this channel linked to (DX8 legacy). | |
| unsigned long | m_ulDataType |
| Channel type. | |
| unsigned long | m_ulUsage |
| Channel usage ( eg: POSITION, NORMAL, BINORMAL, etc). | |
| unsigned long | m_ulUsageIndex |
| Channel usage nIndex. | |
| int | m_nDataSize |
| Channel data size. | |
A class for individual stream channels declaration Example: position, normal, tangent, etc. Defines channel usage, channel usage nIndex, data type for data in the channel and register mapping.
|
|
Default Constructor. Default constructor: creates an unmapped stream mapping channel |
|
||||||||||||||||||||
|
Constructor. Creates a new stream channel with specified usage, usage nIndex, register nIndex, data type /// |
|
|
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. |
|
|
Get data type. Retrieve channel data 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 parent stream. Retrieves the stream that owns this stream channel
|
|
|
Get register. Retrieve the register that this channel is mapped to (DX8 legacy)
|
|
|
Retrieve channel size
|
|
|
Get usage. Retrieve channel usage
|
|
|
Get usage index. Retrieve usage nIndex
|
|
|
Get usage string. Utility function to return channel usage name (as a string) based on its usage and usage nIndex ///
|
|
||||||||||||||||
|
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 data type. Set data type for this channel
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmNode. |
|
|
Set regsiter. Set register that the channel should be mapped to
|
|
|
Set usage. Set usage type for this channel
|
|
|
Get usage index. Set usage nIndex for this channel
|
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6