Inheritance diagram for osgGL2::ShaderObject::PerContextShaderObj:
Public Member Functions | |
PerContextShaderObj (const ShaderObject *shadObj, unsigned int contextID) | |
PerContextShaderObj (const PerContextShaderObj &rhs) | |
GLhandleARB & | getHandle () |
bool | isDirty () const |
void | markAsDirty () |
void | build () |
void | attach (GLhandleARB progObj) const |
Protected Member Functions | |
PerContextShaderObj () | |
~PerContextShaderObj () | |
Protected Attributes | |
const ShaderObject * | _shadObj |
osg::ref_ptr< Extensions > | _extensions |
GLhandleARB | _glShaderObjHandle |
bool | _dirty |
const unsigned int | _contextID |
|
|
|
|
|
|
|
|
|
Attach our glShaderObject to a glProgramObject |
|
|
|
|
|
|
|
|
|
|
|
Do we need to be recompiled? |
|
Pointer to this context's extension functions. |
|
Handle to the actual glShaderObject. |
|
Pointer to our parent ShaderObject |