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

The IShaderParameter graph node interface.

A shader parameter represents a specialized constant buffer parameter, and can be used to define a single shader parameter from a given shader resource using its default value stored therein.

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

GetConstantBufferParameterInterface()

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

Murl.Graph.IConstantBufferParameter GetConstantBufferParameterInterface()

Returns
Murl.Graph.IConstantBufferParameter The constant Graph::IConstantBufferParameter 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 the parameter 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 the parameter 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 the parameter 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 the parameter from.

Murl.Graph.IGenericResourceTarget.ResourceIShader GetShaderResourceTarget()

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