The IShaderProgram graph node interface. More...
#include "murl_graph_i_shader_program.h"
Public Member Functions | |
virtual IShaderNodeTarget * | GetVertexShaderNodeTarget ()=0 |
Get the mutable Graph::IShaderNodeTarget vertex shader container. More... | |
virtual const IShaderNodeTarget * | GetVertexShaderNodeTarget () const =0 |
Get the constant Graph::IShaderNodeTarget vertex shader container. More... | |
virtual IShaderNodeTarget * | GetFragmentShaderNodeTarget ()=0 |
Get the mutable Graph::IShaderNodeTarget fragment shader container. More... | |
virtual const IShaderNodeTarget * | GetFragmentShaderNodeTarget () const =0 |
Get the constant Graph::IShaderNodeTarget fragment shader container. More... | |
virtual IShaderNodeTarget * | GetComputeShaderNodeTarget ()=0 |
Get the mutable Graph::IShaderNodeTarget compute shader container. More... | |
virtual const IShaderNodeTarget * | GetComputeShaderNodeTarget () const =0 |
Get the constant Graph::IShaderNodeTarget compute shader container. More... | |
Public Member Functions inherited from Murl::Graph::IProgram | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual IProgramNodeTarget * | GetFallbackProgramNodeTarget ()=0 |
Get the mutable Graph::IShaderProgram container storing an optional fallback program. More... | |
virtual const IProgramNodeTarget * | GetFallbackProgramNodeTarget () const =0 |
Get the constant Graph::IProgram container storing an optional fallback program. More... | |
virtual UInt32 | GetNumberOfStages () const =0 |
Get the program's number of stages. More... | |
virtual Video::IProgram * | GetVideoProgramObject (UInt32 stage) const =0 |
Get the program's internal video renderer object. More... | |
virtual Bool | IsValid (Bool checkFallback) const =0 |
Check if the program is valid. More... | |
virtual const String & | GetLinkerLog () const =0 |
Get the shader linker log. More... | |
Detailed Description
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.
Member Function Documentation
◆ GetVertexShaderNodeTarget() [1/2]
|
pure virtual |
Get the mutable Graph::IShaderNodeTarget vertex shader container.
This method returns a mutable pointer to the node's Graph::IShaderNodeTarget container for the program's vertex shader, which allows to set or query the vertex shader this program refers to.
- Returns
- The mutable Graph::IShaderNodeTarget vertex shader container.
◆ GetVertexShaderNodeTarget() [2/2]
|
pure virtual |
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.
- Returns
- The constant Graph::IShaderNodeTarget vertex shader container.
◆ GetFragmentShaderNodeTarget() [1/2]
|
pure virtual |
Get the mutable Graph::IShaderNodeTarget fragment shader container.
This method returns a mutable pointer to the node's Graph::IShaderNodeTarget container for the program's fragment shader, which allows to set or query the fragment shader this program refers to.
- Returns
- The mutable Graph::IShaderNodeTarget fragment shader container.
◆ GetFragmentShaderNodeTarget() [2/2]
|
pure virtual |
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.
- Returns
- The constant Graph::IShaderNodeTarget fragment shader container.
◆ GetComputeShaderNodeTarget() [1/2]
|
pure virtual |
Get the mutable Graph::IShaderNodeTarget compute shader container.
This method returns a mutable pointer to the node's Graph::IShaderNodeTarget container for the program's compute shader, which allows to set or query the compute shader this program refers to.
- Returns
- The mutable Graph::IShaderNodeTarget compute shader container.
◆ GetComputeShaderNodeTarget() [2/2]
|
pure virtual |
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.
- Returns
- The constant Graph::IShaderNodeTarget compute shader container.
The documentation for this interface was generated from the following file:
- murl_graph_i_shader_program.h