The IShaderTechnique video object interface.
More...
#include <murl_video_i_shader_technique.h>
The IShaderTechnique video object interface.
This interface represents a generic GPU shader program.
Used internally by Graph::ShaderProgram.
Inherited by Murl::Video::Dx111::ShaderProgram, Murl::Video::Dx90::ShaderProgram, and Murl::Video::GlEs20::ShaderProgram.
◆ GetObjectInterface() [1/2]
virtual IObject* Murl::Video::IShaderTechnique::GetObjectInterface |
( |
| ) |
|
|
pure virtual |
◆ GetObjectInterface() [2/2]
virtual const IObject* Murl::Video::IShaderTechnique::GetObjectInterface |
( |
| ) |
const |
|
pure virtual |
◆ AddShader()
virtual Bool Murl::Video::IShaderTechnique::AddShader |
( |
IShader * |
shader | ) |
|
|
pure virtual |
Add a shader.
- Parameters
-
- Returns
- true if successful.
◆ GetNumberOfShaders()
virtual UInt32 Murl::Video::IShaderTechnique::GetNumberOfShaders |
( |
| ) |
const |
|
pure virtual |
Get the number of referenced shaders.
- Returns
- The number of shaders.
◆ GetShader()
virtual IShader* Murl::Video::IShaderTechnique::GetShader |
( |
UInt32 |
index | ) |
const |
|
pure virtual |
Get the shader at a given index.
- Parameters
-
- Returns
- The shader, or null if the index is out of range.
◆ AddUniformVariableDeclarations()
Add a set of predefined uniform variable declarations.
- Parameters
-
declarations | An array of declarations. |
numberOfDeclarations | The actual number of declarations to add. |
- Returns
- true if successful.
◆ AddAttributeVariableDeclarations()
Add a set of predefined attribute variable declarations.
- Parameters
-
declarations | An array of declarations. |
numberOfDeclarations | The actual number of declarations to add. |
- Returns
- true if successful.
◆ RemoveUniformVariableDeclarations()
Remove a set of previously added predefined uniform variable declarations.
- Parameters
-
declarations | An array of declarations. |
numberOfDeclarations | The actual number of declarations to add. |
- Returns
- true if successful.
◆ RemoveAttributeVariableDeclarations()
Remove a set of previously added predefined attribute variable declarations.
- Parameters
-
declarations | An array of declarations. |
numberOfDeclarations | The actual number of declarations to add. |
- Returns
- true if successful.
The documentation for this interface was generated from the following file:
- murl_video_i_shader_technique.h