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

The IShaderParameters graph node interface.

A shader parameters node represent a specialized constant buffer parameters node, and can be used to define a set of parameter groups and parameters that are sourced from a given shader node or resource. All group and 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::IConstantBufferParameters 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

GetParametersInterface()

Get the constant Graph::IParameters interface. This method returns a constant pointer to the node's Graph::IParameters interface, to be able to query common parameter properties.

Murl.Graph.IParameters GetParametersInterface()

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

GetConstantBufferParametersInterface()

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

Murl.Graph.IConstantBufferParameters GetConstantBufferParametersInterface()

Returns
Murl.Graph.IConstantBufferParameters The constant Graph::IConstantBufferParameters 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.