![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IShaderProgram graph node interface.
An IShaderProgram node provides a means to link a pair of vertex and fragment or a compute shader's together, each of which must be defined via a Graph::IShader node.
See Graph::IMaterial for attaching a shader program to a given material. See Graph::IGenericParameters for defining actual user-defined program parameters.
Get the constant Graph::IShaderNodeTarget vertex shader container. This method returns a constant pointer to the node's Graph::IShaderNodeTarget container for the program's vertex shader, which allows to query the vertex shader this program refers to.
Murl.Graph.IGenericNodeTarget.GraphIShader GetVertexShaderNodeTarget()
Get the constant Graph::IShaderNodeTarget fragment shader container. This method returns a constant pointer to the node's Graph::IShaderNodeTarget container for the program's fragment shader, which allows to query the fragment shader this program refers to.
Murl.Graph.IGenericNodeTarget.GraphIShader GetFragmentShaderNodeTarget()
Get the constant Graph::IShaderNodeTarget compute shader container. This method returns a constant pointer to the node's Graph::IShaderNodeTarget container for the program's compute shader, which allows to query the compute shader this program refers to.
Murl.Graph.IGenericNodeTarget.GraphIShader GetComputeShaderNodeTarget()