35 inline const string toString(
float value)
const {
36 string floatString = to_string(value);
37 return floatString.substr(0, floatString.length() - 3);
154 for (
auto i = 0; i < 2; i++) {
155 if (i != 0) result+=
",";
163 for (
auto i = 0; i < 3; i++) {
164 if (i != 0) result+=
",";
172 for (
auto i = 0; i < 4; i++) {
173 if (i != 0) result+=
",";
Shader parameter model class.
ShaderParameter(const Vector2 &vector2Value)
Public constructor for Vector2 value.
ShaderParameter(float floatValue)
Public constructor for float value.
ShaderParameter()
Public default constructor.
const Vector3 getVector3Value() const
const Vector4 getVector4Value() const
ShaderParameter(bool booleanValue)
Public constructor for boolean value.
ShaderParameter(int integerValue)
Public constructor for int value.
bool getBooleanValue() const
float getFloatValue() const
const string toString(float value) const
ShaderParameter(const Vector3 &vector3Value)
Public constructor for Vector3 value.
const string toString() const
array< float, 4 > floatValues
float getIntegerValue() const
ShaderParameter(const Vector4 &vector4Value)
Public constructor for Vector4 value.
const Vector2 getVector2Value() const