MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
mgx::GLSLValue Class Reference

Public Member Functions

 GLSLValue (const GLSLValue &copy)
 
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)
 
GLSLValueoperator= (const GLSLValue &copy)
 
void setUniform (GLint location) const
 
void setAttrib (GLuint location) const
 
std::istream & read (std::istream &s)
 
std::ostream & write (std::ostream &s) const
 
QTextStreamread (QTextStream &s)
 
QTextStreamwrite (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
 

The documentation for this class was generated from the following file: