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

The IGenericParameter graph node interface.

A generic parameter represents a specialized constant buffer parameter, and can be used to manually define a single shader parameter without any connection to a specific shader.

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

SetType(type)

Set the actual uniform variable data type. Once initialized, the variable name cannot be changed.

Boolean SetType(Murl.IEnums.UniformType type)

Parameters
typeThe uniform data type.
Returns
Boolean true if successful.