|
MorphoGraphX
2.0-1-227
|
#include <Shader.hpp>
Public Member Functions | |
| GLSLValue () | |
| GLSLValue (const GLSLValue ©) | |
| template<typename T > | |
| GLSLValue (const T &val) | |
| template<typename T > | |
| GLSLValue (const std::vector< T > &val) | |
| template<typename T > | |
| GLSLValue (const T *val, int count) | |
| ~GLSLValue () | |
| GLSLValue & | operator= (const GLSLValue ©) |
| void | setUniform (GLint location) const |
| void | setAttrib (GLuint location) const |
| std::istream & | read (std::istream &s) |
| std::ostream & | write (std::ostream &s) const |
| QTextStream & | read (QTextStream &s) |
| QTextStream & | write (QTextStream &s) const |
| void | setValue (const GLint *value, int count) |
| void | setValue (const ivec1 *value, int count) |
| void | setValue (const ivec2 *value, int count) |
| void | setValue (const ivec3 *value, int count) |
| void | setValue (const ivec4 *value, int count) |
| void | setValue (const GLfloat *value, int count) |
| void | setValue (const vec1 *value, int count) |
| void | setValue (const vec2 *value, int count) |
| void | setValue (const vec3 *value, int count) |
| void | setValue (const vec4 *value, int count) |
| void | setValue (const mat2 *value, int count) |
| void | setValue (const mat3 *value, int count) |
| void | setValue (const mat4 *value, int count) |
| void | setValue (const GLint &value) |
| void | setValue (const ivec1 &value) |
| void | setValue (const ivec2 &value) |
| void | setValue (const ivec3 &value) |
| void | setValue (const ivec4 &value) |
| void | setValue (const GLfloat &value) |
| void | setValue (const vec1 &value) |
| void | setValue (const vec2 &value) |
| void | setValue (const vec3 &value) |
| void | setValue (const vec4 &value) |
| void | setValue (const mat2 &value) |
| void | setValue (const mat3 &value) |
| void | setValue (const mat4 &value) |
| bool | valid () const |
Definition at line 58 of file Shader.hpp.
|
inline |
Definition at line 141 of file Shader.hpp.
|
inline |
Definition at line 147 of file Shader.hpp.
|
inlineexplicit |
Definition at line 156 of file Shader.hpp.
|
inlineexplicit |
Definition at line 163 of file Shader.hpp.
|
inlineexplicit |
Definition at line 170 of file Shader.hpp.
|
inline |
Definition at line 176 of file Shader.hpp.
Definition at line 179 of file Shader.hpp.
| QTextStream& mgx::GLSLValue::read | ( | QTextStream & | s | ) |
| std::istream& mgx::GLSLValue::read | ( | std::istream & | s | ) |
|
inline |
Definition at line 191 of file Shader.hpp.
|
inline |
Definition at line 188 of file Shader.hpp.
|
inline |
Definition at line 228 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const GLfloat * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 213 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const GLint * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 216 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const ivec1 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 219 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const ivec2 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 222 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const ivec3 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 225 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const ivec4 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 243 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const mat2 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 246 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const mat3 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 249 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const mat4 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 231 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const vec1 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 234 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const vec2 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 237 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const vec3 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 240 of file Shader.hpp.
| void mgx::GLSLValue::setValue | ( | const vec4 * | value, |
| int | count | ||
| ) |
|
inline |
Definition at line 253 of file Shader.hpp.
| QTextStream& mgx::GLSLValue::write | ( | QTextStream & | s | ) | const |
| std::ostream& mgx::GLSLValue::write | ( | std::ostream & | s | ) | const |
1.8.17