PCPO is an OSG-internal encapsulation of glProgramObjects per-GL context.
Inheritance:
Public Methods
-
PerContextProgObj(const ProgramObject* progObj, unsigned int contextID)
-
PerContextProgObj(const PerContextProgObj& rhs)
-
GLhandleARB& getHandle()
-
bool isDirty() const
-
void markAsDirty()
-
void build()
-
void use() const
-
void updateUniforms( const UniformValueList& univalList )
- Add a list of UniformValues to our per-context queue
-
void applyUniformValues()
- Apply our queue of pending UniformValue updates to the glProgramObjects
Protected Fields
-
const ProgramObject* _progObj
- Pointer to our parent ProgramObject
-
osg::ref_ptr<Extensions> _extensions
- Pointer to this context's extension functions
-
GLhandleARB _glProgObjHandle
- Handle to the actual glProgramObject
-
bool _dirty
- Do we need to be linked?
-
UniformValueList _univalList
- Queue of UniformValues awaiting assignment
-
const unsigned int _contextID
Protected Methods
-
PerContextProgObj()
-
~PerContextProgObj()
Documentation
PCPO is an OSG-internal encapsulation of glProgramObjects per-GL context.
- PerContextProgObj(const ProgramObject* progObj, unsigned int contextID)
- PerContextProgObj(const PerContextProgObj& rhs)
- GLhandleARB& getHandle()
- bool isDirty() const
- void markAsDirty()
- void build()
- void use() const
- void updateUniforms( const UniformValueList& univalList )
- Add a list of UniformValues to our per-context queue
- void applyUniformValues()
- Apply our queue of pending UniformValue updates to the glProgramObjects
- PerContextProgObj()
- ~PerContextProgObj()
- const ProgramObject* _progObj
- Pointer to our parent ProgramObject
- osg::ref_ptr<Extensions> _extensions
- Pointer to this context's extension functions
- GLhandleARB _glProgObjHandle
- Handle to the actual glProgramObject
- bool _dirty
- Do we need to be linked?
- UniformValueList _univalList
- Queue of UniformValues awaiting assignment
- const 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++.