The IParameters graph node interface. More...
#include "murl_graph_i_parameters.h"
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual IParametersNodeTarget * | GetSubParametersNodeTarget ()=0 |
Get the mutable container holding the optional child parameters. More... | |
virtual const IParametersNodeTarget * | GetSubParametersNodeTarget () const =0 |
Get the constant container holding the optional child parameters. More... | |
virtual UInt32 | GetNumberOfDetailLevels () const =0 |
Get the parameters' number of detail levels. More... | |
virtual UInt32 | GetNumberOfStages (UInt32 detailLevel) const =0 |
Get the parameters' number of stages for a given detail level. More... | |
virtual Video::IConstants * | GetVideoConstantsObject (UInt32 detailLevel, UInt32 stage) const =0 |
Get the parameters' internal video renderer object for a given pass. More... | |
Public Member Functions inherited from Murl::Graph::IStateSlot | |
virtual Bool | SetSlot (SInt32 slot)=0 |
Set the slot index to use. More... | |
virtual SInt32 | GetSlot () const =0 |
Get the slot index to use. More... | |
Detailed Description
The IParameters graph node interface.
Parameters nodes hold different individual parameters that may be used by a Graph::IProgram to parameterize its output. There exist a number of predefined values for e.g. lighting component color values (see Graph::IFixedParameters); in addition, custom parameters can be added to control the behavior of user-defined GPU shader programs (see Graph::IGenericParameters).
Use the Graph::IStateSlot base interface to set or get the parameters slot index these parameters are temporarily attached to if any children are present.
See Output-States, Slots und Units for an overview of state handling during scene graph traversal.
See Graph::IParametersState for activating parameters for rendering. See Graph::IProgram for defining GPU programs that act on these parameters.
Member Function Documentation
◆ GetNodeInterface() [1/2]
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
- Returns
- The mutable Graph::INode interface, or null if not available
◆ GetNodeInterface() [2/2]
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
- Returns
- The constant Graph::INode interface, or null if not available
◆ GetSubParametersNodeTarget() [1/2]
|
pure virtual |
Get the mutable container holding the optional child parameters.
This method returns a mutable pointer to the node's Graph::IParametersNodeTarget sub container, which is used to store multiple sub-parameters.
- Returns
- The mutable Graph::IParametersNodeTarget container, or null if not available.
◆ GetSubParametersNodeTarget() [2/2]
|
pure virtual |
Get the constant container holding the optional child parameters.
This method returns a constant pointer to the node's Graph::IParametersNodeTarget sub container, which is used to store multiple sub-parameters.
- Returns
- The constant Graph::IParametersNodeTarget container, or null if not available.
◆ GetNumberOfDetailLevels()
|
pure virtual |
Get the parameters' number of detail levels.
- Returns
- The number of detail levels.
◆ GetNumberOfStages()
Get the parameters' number of stages for a given detail level.
- Parameters
-
detailLevel The detail level to query.
- Returns
- The number of stages.
◆ GetVideoConstantsObject()
|
pure virtual |
Get the parameters' internal video renderer object for a given pass.
- Parameters
-
detailLevel The detail level to query. stage The stage to query.
- Returns
- A pointer to the mutable video renderer object.
The documentation for this interface was generated from the following file:
- murl_graph_i_parameters.h