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

Public Member Functions | |
| RmHLSLShader () | |
| Default Constructor. | |
| RmHLSLShader (const RM_TCHAR *strName, bool bPixelShader) | |
| Constructor. | |
| virtual | ~RmHLSLShader () |
| 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 void | AddParameterDeclaration (RmNode *pParameterNode, int nRegisterIndex) |
| Add parameter declaration. | |
| RmStringT & | GetDisassemblyCode () |
| Get disassembler code. | |
| void | SetDisassemblyCode (RmStringT rstrDisassembly) |
| Set diassembler code. | |
| void | SetDisassemblyCode (const RM_TCHAR *strDisassembly) |
| Set diassembler code. | |
| void | SetTarget (const RM_TCHAR *strTarget) |
| Set Target. | |
| const RmStringT & | GetTarget () |
| Get Target. | |
| void | SetEntryPoint (const RM_TCHAR *strEntryPt) |
| Set entry point. | |
| const RmStringT & | GetEntryPoint () |
| Get entry point. | |
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. | |
RmHLSLShader is the class for representing DirectX high level shader nodes in the database.
|
|
Default Constructor. Default constructor |
|
||||||||||||
|
Constructor. Creates a new HLSL shader with the specified name and flag whether it's a pixel or a vertex shader
|
|
|
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 from RmHLShader. |
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmHLShader. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmHLShader. |
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmHLShader. |
|
|
Get disassembler code. Retrieve disassembly code string
|
|
|
Get entry point. Retrieve shader entry point
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmHLShader. |
|
|
Get Target. Retrieve target value for given shader
|
|
||||||||||||||||
|
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 RmHLShader. |
|
||||||||||||
|
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 RmHLShader. |
|
|
Set diassembler code. Store new value as disassembed code string
|
|
|
Set diassembler code. Store new value as disassembed code string
|
|
|
Set entry point. Set shader entry point
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmHLShader. |
|
|
Set Target. Set new target for given shader
|
|
|
Set type. Compose the type string chain
Reimplemented from RmHLShader. |
|
||||||||||||
|
Update. Updates the internal values of the node
Reimplemented from RmHLShader. |
1.3.6