Shader parameter model class.
More...
#include <tdme/engine/ShaderParameter.h>
|
const string | toString (float value) const |
|
Shader parameter model class.
Definition at line 23 of file ShaderParameter.h.
◆ Type
Enumerator |
---|
TYPE_NONE | |
TYPE_BOOLEAN | |
TYPE_INTEGER | |
TYPE_FLOAT | |
TYPE_VECTOR2 | |
TYPE_VECTOR3 | |
TYPE_VECTOR4 | |
Definition at line 25 of file ShaderParameter.h.
◆ ShaderParameter() [1/7]
◆ ShaderParameter() [2/7]
Public constructor for boolean value.
- Parameters
-
booleanValue | boolean value |
Definition at line 51 of file ShaderParameter.h.
◆ ShaderParameter() [3/7]
◆ ShaderParameter() [4/7]
Public constructor for float value.
- Parameters
-
Definition at line 65 of file ShaderParameter.h.
◆ ShaderParameter() [5/7]
Public constructor for Vector2 value.
- Parameters
-
vector2Value | Vector2 value |
Definition at line 72 of file ShaderParameter.h.
◆ ShaderParameter() [6/7]
Public constructor for Vector3 value.
- Parameters
-
vector3Value | Vector3 value |
Definition at line 79 of file ShaderParameter.h.
◆ ShaderParameter() [7/7]
Public constructor for Vector4 value.
- Parameters
-
vector4Value | Vector4 value |
Definition at line 86 of file ShaderParameter.h.
◆ getBooleanValue()
bool getBooleanValue |
( |
| ) |
const |
|
inline |
◆ getFloatValue()
float getFloatValue |
( |
| ) |
const |
|
inline |
◆ getIntegerValue()
float getIntegerValue |
( |
| ) |
const |
|
inline |
◆ getType()
◆ getVector2Value()
const Vector2 getVector2Value |
( |
| ) |
const |
|
inline |
◆ getVector3Value()
const Vector3 getVector3Value |
( |
| ) |
const |
|
inline |
◆ getVector4Value()
const Vector4 getVector4Value |
( |
| ) |
const |
|
inline |
◆ toString() [1/2]
const string toString |
( |
| ) |
const |
|
inline |
◆ toString() [2/2]
const string toString |
( |
float |
value | ) |
const |
|
inlineprivate |
◆ floatValues
array<float, 4> floatValues { 0.0f, 0.0f, 0.0f, 0.0f } |
|
private |
◆ integerValue
◆ type
The documentation for this class was generated from the following file: