TDME2 engine entity shader parameters.
More...
#include <tdme/engine/EntityShaderParameters.h>
TDME2 engine entity shader parameters.
- Author
- Andreas Drewke
- Version
- $Id$
Definition at line 20 of file EntityShaderParameters.h.
◆ EntityShaderParameters()
◆ ~EntityShaderParameters()
◆ computeHash()
Compute shader parameters hash.
◆ getShaderParameter()
const ShaderParameter getShaderParameter |
( |
const string & |
parameterName | ) |
const |
Returns shader parameter for given parameter name, if the value does not exist, the default will be returned.
- Parameters
-
shaderId | shader id |
parameterName | parameter name |
- Returns
- shader parameter
Definition at line 30 of file EntityShaderParameters.cpp.
◆ getShaderParametersHash()
const string & getShaderParametersHash |
( |
| ) |
const |
|
inline |
◆ setShader()
void setShader |
( |
const string & |
shaderId | ) |
|
|
inline |
◆ setShaderParameter() [1/2]
void setShaderParameter |
( |
const string & |
parameterName, |
|
|
const ShaderParameter & |
parameterValue |
|
) |
| |
Set shader parameter for given parameter name.
- Parameters
-
shaderId | shader id |
parameterName | parameter name |
paraemterValue | parameter value |
Definition at line 39 of file EntityShaderParameters.cpp.
◆ setShaderParameter() [2/2]
void setShaderParameter |
( |
const string & |
parameterName, |
|
|
const string & |
parameterValueString |
|
) |
| |
Set shader parameter for given parameter name.
- Parameters
-
shaderId | shader id |
parameterName | parameter name |
paraemterValue | parameter value |
Definition at line 52 of file EntityShaderParameters.cpp.
◆ changed
◆ hash
◆ parameters
◆ shaderId
The documentation for this class was generated from the following files: