class osgGL2::ProgramObject::PerContextProgObj

PCPO is an OSG-internal encapsulation of glProgramObjects per-GL context.

Inheritance:


Public Methods

[more] PerContextProgObj(const ProgramObject* progObj, unsigned int contextID)
[more] PerContextProgObj(const PerContextProgObj& rhs)
[more]GLhandleARB& getHandle()
[more]bool isDirty() const
[more]void markAsDirty()
[more]void build()
[more]void use() const
[more]void updateUniforms( const UniformValueList& univalList )
Add a list of UniformValues to our per-context queue
[more]void applyUniformValues()
Apply our queue of pending UniformValue updates to the glProgramObjects

Protected Fields

[more]const ProgramObject* _progObj
Pointer to our parent ProgramObject
[more]osg::ref_ptr<Extensions> _extensions
Pointer to this context's extension functions
[more]GLhandleARB _glProgObjHandle
Handle to the actual glProgramObject
[more]bool _dirty
Do we need to be linked?
[more]UniformValueList _univalList
Queue of UniformValues awaiting assignment
[more]const unsigned int _contextID

Protected Methods

[more] PerContextProgObj()
[more] ~PerContextProgObj()


Documentation

PCPO is an OSG-internal encapsulation of glProgramObjects per-GL context.
o PerContextProgObj(const ProgramObject* progObj, unsigned int contextID)

o PerContextProgObj(const PerContextProgObj& rhs)

oGLhandleARB& getHandle()

obool isDirty() const

ovoid markAsDirty()

ovoid build()

ovoid use() const

ovoid updateUniforms( const UniformValueList& univalList )
Add a list of UniformValues to our per-context queue

ovoid applyUniformValues()
Apply our queue of pending UniformValue updates to the glProgramObjects

o PerContextProgObj()

o ~PerContextProgObj()

oconst ProgramObject* _progObj
Pointer to our parent ProgramObject

oosg::ref_ptr<Extensions> _extensions
Pointer to this context's extension functions

oGLhandleARB _glProgObjHandle
Handle to the actual glProgramObject

obool _dirty
Do we need to be linked?

oUniformValueList _univalList
Queue of UniformValues awaiting assignment

oconst unsigned int _contextID


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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