![]() |
Public API Reference |
![]() |
Program parameter, either a SV reference or a const value. More...
#include <csplugincommon/shader/shaderprogram.h>
Public Member Functions | |
bool | IsConstant () const |
Returns whether this parameter. | |
void | SetValue (float val) |
Set to a constant value. | |
void | SetValue (const csVector4 &val) |
Set to a constant value. |
Program parameter, either a SV reference or a const value.
Definition at line 103 of file shaderprogram.h.
bool csShaderProgram::ProgramParam::IsConstant | ( | ) | const [inline] |
Returns whether this parameter.
Definition at line 117 of file shaderprogram.h.
void csShaderProgram::ProgramParam::SetValue | ( | float | val | ) |
Set to a constant value.
void csShaderProgram::ProgramParam::SetValue | ( | const csVector4 & | val | ) |
Set to a constant value.