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

Public Member Functions | |
| RmGLPass () | |
| Default Constructor. | |
| RmGLPass (const RM_TCHAR *strPassName, const int nPassIndex) | |
| Default Constructor. | |
| virtual | ~RmGLPass () |
| Destructor. | |
| virtual bool | AddChild (RmNode *pChildNode, RmNode *pNextSibling=NULL) |
| AddChild. | |
| 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 RmSampler * | GetSampler (const RM_TCHAR *strSamplerName) |
| virtual void | DeleteSampler (const RM_TCHAR *strSamplerName) |
| virtual bool | AddSampler (RmSampler *pSampler) |
| virtual void | DeleteAllSamplers () |
| virtual int | GetNumSamplers () const |
| virtual RmSamplerListIterator | BeginSamplers () |
| virtual RmSamplerListConstIterator | BeginSamplers () const |
| virtual RmSamplerListIterator | EndSamplers () |
| virtual RmSamplerListConstIterator | EndSamplers () const |
| virtual void | DeleteConstant (int nRegister) |
| virtual void | DeleteConstant (const RM_TCHAR *strConstantName) |
| virtual void | DeleteAllConstants () |
| virtual bool | AddConstant (RmShaderConstant *pConstant) |
| virtual RmShaderConstant * | GetConstant (const RM_TCHAR *strConstantName) |
| virtual RmShaderConstant * | GetConstant (int nRegister) |
| virtual RmShaderConstant * | GetConstantByIndex (int nIndex) |
| virtual int | GetNumConstants () const |
| virtual RmShaderConstantListIterator | BeginConstants () |
| virtual RmShaderConstantListConstIterator | BeginConstants () const |
| virtual RmShaderConstantListIterator | EndConstants () |
| virtual RmShaderConstantListConstIterator | EndConstants () const |
| bool | UsesSoftwareRendering () |
| void | SetUsesSoftwareRendering (bool bUsesSoftware) |
| int | GetHandle () |
| Run-time program object handle. | |
| void | SetHandle (int nHandle) |
| Set the handle to the run-time program object resource. | |
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 | |
| RmSamplerList | m_samplerList |
| List of samplers. | |
| RmShaderConstantList | m_constantList |
| List of shader constants (variables). | |
RmGLPass is a node that contains data necessary to render a single pass for and OpenGL effect
|
|
Default Constructor. Constructor |
|
||||||||||||
|
Default Constructor. Creates a new pass node with the specified name. If bInitialize parameter is true, the pass is created with a pair of shaders (their type is according to the pass API determination), a stream mapping reference node and a model reference node. |
|
|
Destructor. Destructor |
|
||||||||||||
|
AddChild. Add a new child node. Also allows to specify a particular sibling for the new child node in the list of original node's children.
Reimplemented from RmPass. |
|
|
Add new constant to the pass's program object. Note that if the pass already has a program object constant with the same name, the old constant node will be deleted and replaced with the newly specified constant.
|
|
|
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.
|
|
|
Retrieve constant begin iterator for the pass's program object constants
|
|
|
Retrieve the begin iterator for the pass's program object constants
|
|
|
Returns begin iterator for the samplers in this pass
|
|
|
Returns begin iterator for the samplers in this pass
|
|
|
Clone this node. Creates a clone of this node
Reimplemented from RmPass. |
|
||||||||||||
|
Copy node data. Copies this node's contents (not including children) into the destination node. See RmNode::CopyNodeData for details
Reimplemented from RmPass. |
|
|
Delete all constants from this pass's program object
|
|
|
Delete all sampler mappings from this shader
|
|
|
Delete pass program object constant with a given name
|
|
|
Delete pass program object constant linked to a given register (by nIndex)
|
|
|
Delete sampler by its name
|
|
|
Retrieve constant end iterator for the pass's program object constants
|
|
|
Retrieve the end iterator for the pass's program object constants
|
|
|
Returns end iterator for the samplers in this pass
|
|
|
Returns end iterator for the samplers in this pass
|
|
|
Retrieve pass's program object constant given its register index. Note that although OpenGL GLSL does not specify register index to map constants to, this function in implemented in order to support full RmPass interface for constants in GL passes.
|
|
|
Retrieve pass's program object constant given its name.
|
|
|
Retrieve shader constant by index
|
|
|
Returns description of the node: used for displaying a tooltip in the workspace tree view for the given node.
Reimplemented from RmPass. |
|
|
Run-time program object handle. Retrieve the handle to the run-time program object resource. Do not outside of a renderer - not guaranteed to be valid.
|
|
|
Parent / Child rule list function. Retrieves the rule list for adding child nodes for a given node type
Reimplemented from RmPass. |
|
|
Retrieve number of constants in this pass's program object
|
|
|
Returns number of samplers
|
|
|
Retrieve sampler given its name.
|
|
||||||||||||||||
|
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 RmPass. |
|
||||||||||||
|
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 RmPass. |
|
|
Set the handle to the run-time program object resource. Set the handle to the run-time program object resource. Do not use outside of a renderer - not guaranteed to be valid.
|
|
|
Sets the node child rule list for the given node. Sets the child addition rule list for the given node.
Reimplemented from RmPass. |
|
|
Set whether this pass will use software rasterizer
|
|
||||||||||||
|
Update. Updates the internal values of the pass node
Reimplemented from RmPass. |
|
|
Returns true if this pass need to use software rasterizer to render and false if it can be rendered in hardware rasterizer
|
1.3.6