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

Public Member Functions | |
| RmHLShader () | |
| Default Constructor. | |
| virtual | ~RmHLShader () |
| 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 const RM_TCHAR * | GetDescription () |
| virtual RmNode * | Clone (bool bIncludeLoadedData) |
| Clone this node. | |
| virtual bool | IsHighLevel () |
| Is high level. | |
| virtual RmSampler * | GetSampler (const RM_TCHAR *strSamplerName) |
| Get sampler. | |
| virtual void | DeleteSampler (const RM_TCHAR *strSamplerName) |
| Delete sampler. | |
| virtual bool | AddSampler (RmSampler *pSampler) |
| Add sampler. | |
| virtual void | DeleteAllSamplers () |
| Delete all samplers. | |
| virtual int | GetNumSamplers () const |
| Get number of samplers. | |
| virtual RmSamplerListIterator | BeginSamplers () |
| Begin iterator. | |
| virtual RmSamplerListConstIterator | BeginSamplers () const |
| Begin iterator. | |
| virtual RmSamplerListIterator | EndSamplers () |
| End iterator. | |
| virtual RmSamplerListConstIterator | EndSamplers () const |
| End iterator. | |
| virtual void | AddParameterDeclaration (RmNode *pParameterNode, int nRegisterIndex) |
| Add parameter declaration. | |
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. | |
| virtual void | SetType (const RM_TCHAR *strNewType) |
| Set type. | |
Protected Attributes | |
| RmSamplerList | m_samplerList |
| List of samplers attached to the shader (HLSL only). | |
RmHLShader is the base class for representing high level shader nodes in the database. It derives functionality from RmShader, however it can't be instantiated as you should use an appropriate derived class specific for the shader API.
|
|
Default Constructor. Default constructor |
|
|
Destructor. Destructor |
|
||||||||||||
|
Add parameter declaration. Virtual method to add correct declaration for the specified parameter to the shader text The input parameter can be either a shader constant or a sampler node.
Reimplemented in RmHLSLShader, and RmGLShader. |
|
|
Add sampler. Add new sampler mapping. Note that if this shader already contains a sampler with the same name it, the old instance will be replaced with the new.
|
|
|
Begin iterator. Begin iterator
|
|
|
Begin iterator. Begin iterator
|
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
|
Delete all samplers. Delete all sampler mappings from this shader
|
|
|
Delete sampler. Delete sampler by its name
|
|
|
End iterator. End iterator
|
|
|
End iterator. End iterator
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
|
Get number of samplers. Returns number of samplers
|
|
|
Get sampler. Retrieve sampler given its name. Returns NULL if such sampler wasn't found.
|
|
|
Is high level. Returns whether this shader is an assembly shader or a high level language shader. True means it is a high level language shader and false means that it's an assembly shader
Reimplemented from RmShader. |
|
||||||||||||||||
|
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 RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
||||||||||||
|
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 RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
|
Set type. Compose the type string chain
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmShader. Reimplemented in RmHLSLShader, and RmGLShader. |
1.3.6