Inheritance diagram for osgGL2::ProgramObject::PerContextProgObj:
Public Member Functions | |
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 Member Functions | |
PerContextProgObj () | |
~PerContextProgObj () | |
Protected Attributes | |
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 |
|
|
|
|
|
|
|
|
|
Apply our queue of pending UniformValue updates to the glProgramObjects.
|
|
|
|
|
|
|
|
|
|
Add a list of UniformValues to our per-context queue.
|
|
|
|
|
|
Do we need to be linked?
|
|
Pointer to this context's extension functions.
|
|
Handle to the actual glProgramObject.
|
|
Pointer to our parent ProgramObject.
|
|
Queue of UniformValues awaiting assignment.
|