Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.IParametersState

The IParametersState graph node interface.

Parameter state nodes are used to activate and/or quickly switch between GPU program parameters during scene graph traversal. As soon as specific parameters are activated at a given slot via a parameter state node, they stay active during traversal until a different parameter state node using the same slot is encountered.

Use the base interface's IStateSlot::SetSlot() method to set the actual slot index the referenced parameters should be attached to.

See sceneGraphStatesSlotsUnits for an overview of state handling during scene graph traversal.
See Graph::IParameters for defining specific parameters for rendering.

Table members

Inherited


Murl.Graph.IStateSlot

Methods


GetNodeInterface()

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.

Murl.Graph.INode GetNodeInterface()

Returns
Murl.Graph.INode The constant Graph::INode interface, or null if not available

GetParametersNodeTarget()

Get the constant Graph::IParametersNodeTarget container. This method returns a constant pointer to the node's Graph::IParametersNodeTarget container, which allows to query the parameters this state node refers to.

Murl.Graph.IGenericNodeTarget.GraphIParameters GetParametersNodeTarget()

Returns
Murl.Graph.IGenericNodeTarget.GraphIParameters The mutable Graph::IParametersNodeTarget container, or null if not available.