![]() |
Murl Engine API
Version 2018.3
|
The IParameters graph node interface. More...
#include <murl_graph_i_parameters.h>
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.
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... | |
![]() | |
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... | |
|
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.
|
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.
|
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.
|
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.
|
pure virtual |
Get the parameters' number of detail levels.
Get the parameters' number of stages for a given detail level.
detailLevel | The detail level to query. |
|
pure virtual |
Get the parameters' internal video renderer object for a given pass.
detailLevel | The detail level to query. |
stage | The stage to query. |