class osgGL2::UniformValue

osgGL2::UniformValue is for internal use by osgGL2::ProgramObject.

Inheritance:


Public Methods

[more]virtual void apply( Extensions* ext, const GLhandleARB progObj ) const
[more]virtual int compare(const UniformValue& uv) const

Protected Fields

[more]std::string _name

Protected Methods

[more] UniformValue( const char* uniformName )
[more]virtual ~UniformValue()
[more] UniformValue()
[more] UniformValue(const UniformValue&)
[more]UniformValue& operator=(const UniformValue&)
[more]int getLocation( Extensions* ext, const GLhandleARB progObj ) const


Documentation

osgGL2::UniformValue is for internal use by osgGL2::ProgramObject. 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().
ovirtual void apply( Extensions* ext, const GLhandleARB progObj ) const

ovirtual int compare(const UniformValue& uv) const

o UniformValue( const char* uniformName )

ovirtual ~UniformValue()

o UniformValue()

o UniformValue(const UniformValue&)

oUniformValue& operator=(const UniformValue&)

oint getLocation( Extensions* ext, const GLhandleARB progObj ) const

ostd::string _name


Direct child classes:
UniformValueTemplate

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.