Inheritance diagram for osgGL2::UniformValue:
Public Member Functions | |
virtual void | apply (Extensions *ext, const GLhandleARB progObj) const =0 |
virtual int | compare (const UniformValue &uv) const |
Protected Member Functions | |
UniformValue (const char *uniformName) | |
virtual | ~UniformValue () |
UniformValue () | |
UniformValue (const UniformValue &) | |
UniformValue & | operator= (const UniformValue &) |
int | getLocation (Extensions *ext, const GLhandleARB progObj) const |
Protected Attributes | |
std::string | _name |
UniformValue is an abstract class to encapsulate a new value for a glUniform. osgGL2::ProgramObject.setUniform() constructs and sends a UniformValue to all its PerContextProgramObjects (PCPOs) to set the value of a glUniform. The value contained in each UniformValue value is propagated to the glProgramObjects during the next osgGL2::ProgramObject.apply().
|
|
|
|
|
|
|
|
|
Implemented in osgGL2::UniformValueTemplate< T >. |
|
Reimplemented in osgGL2::UniformValueTemplate< T >. |
|
|
|
|
|
|