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

Public Member Functions | |
| RmStream () | |
| Default Constructor. | |
| RmStream (const RM_TCHAR *strStreamName, bool bInitialize=true) | |
| Constructor. | |
| virtual | ~RmStream () |
| 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 () |
| RmStreamChannelListIterator | BeginChannels () |
| Begin iterator. | |
| RmStreamChannelListConstIterator | BeginChannels () const |
| Begin iterator. | |
| RmStreamChannelListIterator | EndChannels () |
| End iterator. | |
| RmStreamChannelListConstIterator | EndChannels () const |
| End iterator. | |
| int | GetNumChannels () |
| Get num channels. | |
| bool | AddChannel (RmStreamChannel *pChannel) |
| Add channel. | |
| void | DeleteChannel (RmStreamChannel *pChannel) |
| Delete channel. | |
| void | DeleteAllChannels () |
| Delete all channels. | |
| void | DeleteChannel (unsigned long ulUsage, unsigned long ulUsageIndex, unsigned long ulDataType) |
| Delete Channel. | |
| RmStreamChannel * | GetChannel (unsigned long ulUsage, unsigned long ulUsageIndex, unsigned long ulDataType) |
| Get channel. | |
| RmStreamChannel * | GetChannel (const RM_TCHAR *strChannelName) |
| Get channel. | |
| RmStreamChannel * | GetChannel (int nIndex) |
| Get channel. | |
| int | GetStride () |
| Get stride. | |
| RmStreamMap * | GetParentStreamMap () |
| Parent stream map. | |
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 | |
| RmStreamChannelList | m_channelList |
| List of channels that belong to this stream. | |
| int | m_nStride |
| Stream stride value. | |
RmStream: a collection of individual stream channels
|
|
Default Constructor. Default constructor |
|
||||||||||||
|
Constructor. Creates a new stream with no channels but specified name. If bInitialize is true, the stream is initialized with a single channel for positions usage and float3 data type.
|
|
|
Destructor. Destructor |
|
|
Add channel. Add new stream channel to the stream. Note that if there is already a channel in the stream with the same usage, the usage nIndex of the specified channel will be incremented.
|
|
|
Begin iterator. Begin Iterator
|
|
|
Begin iterator. Begin Iterator
|
|
|
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 all channels. Delete all channels
|
|
||||||||||||||||
|
Delete Channel. Delete a stream channel given its usage, usage nIndex and data type
|
|
|
Delete channel. Delete specified stream channel from the stream
|
|
|
End iterator. End Iterator
|
|
|
End iterator. End Iterator
|
|
|
Get channel. Retrieve a stream channel by nIndex
|
|
|
Get channel. Retrieve a stream channel given its name
|
|
||||||||||||||||
|
Get channel. Retrieve a stream channel given its usage, usage nIndex, and 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 num channels. Retrieve the number of channels in this stream
|
|
|
Parent stream map. Retrieves the stream map that owns this stream
|
|
|
Get stride. Retrieve stream stride value Vertex stride size |
|
||||||||||||||||
|
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. |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmNode. |
1.3.6