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

The IShaderParameterGroup graph node interface.

A shader parameter group represents a specialized constant buffer parameter group, and can be used to define a single parameter group with individual parameters that are sourced from a given shader node or resource. All parameter names are taken from the given shader and pre-initialized with any default values present, in the correct order for the shader to work correctly.

See the Graph::IConstantBufferParameterGroup base interface for additional information.


Table members

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

GetConstantBufferParameterGroupInterface()

Get the constant Graph::IConstantBufferParameterGroup interface. This method returns a constant pointer to the node's Graph::IConstantBufferParameterGroup interface.

Murl.Graph.IConstantBufferParameterGroup GetConstantBufferParameterGroupInterface()

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

GetMaterialNodeTarget()

Get the constant Graph::IMaterial container storing the material to source parameters from. This method returns a constant pointer to the node's Graph::IMaterial container that can be used to query the material node to source parameters from.

Murl.Graph.IGenericNodeTarget.GraphIMaterial GetMaterialNodeTarget()

Returns
Murl.Graph.IGenericNodeTarget.GraphIMaterial The constant Graph::IMaterial container, or null if not available.

GetProgramNodeTarget()

Get the constant Graph::IProgram container storing the shader program to source parameters from. This method returns a constant pointer to the node's Graph::IProgram container that can be used to query the shader program node to source parameters from.

Murl.Graph.IGenericNodeTarget.GraphIProgram GetProgramNodeTarget()

Returns
Murl.Graph.IGenericNodeTarget.GraphIProgram The constant Graph::IProgram container, or null if not available.

GetShaderNodeTarget()

Get the constant Graph::IShader container storing the shader to source parameters from. This method returns a constant pointer to the node's Graph::IShader container that can be used to query the shader node to source parameters from.

Murl.Graph.IGenericNodeTarget.GraphIShader GetShaderNodeTarget()

Returns
Murl.Graph.IGenericNodeTarget.GraphIShader The constant Graph::IShader container, or null if not available.

GetShaderResourceTarget()

Get the constant Resource::IShader container storing the shader to source parameters from. This method returns a constant pointer to the node's Resource::IShader container that can be used to query the shader node to source parameters from.

Murl.Graph.IGenericResourceTarget.ResourceIShader GetShaderResourceTarget()

Returns
Murl.Graph.IGenericResourceTarget.ResourceIShader The constant Resource::IShader container, or null if not available.