Inheritance diagram for osg::Shader::PerContextShader:
Public Member Functions | |
PerContextShader (const Shader *shader, unsigned int contextID) | |
GLuint | getHandle () const |
void | requestCompile () |
void | compileShader () |
bool | needsCompile () const |
bool | isCompiled () const |
bool | getInfoLog (std::string &infoLog) const |
void | attachShader (GLuint program) const |
void | detachShader (GLuint program) const |
Protected Member Functions | |
~PerContextShader () | |
Protected Attributes | |
const Shader * | _shader |
osg::ref_ptr< osg::GL2Extensions > | _extensions |
GLuint | _glShaderHandle |
bool | _needsCompile |
bool | _isCompiled |
const unsigned int | _contextID |
|
|
|
|
|
Attach our glShader to a glProgram |
|
|
|
Detach our glShader from a glProgram |
|
|
|
|
|
|
|
|
|
|
|
|
|
Pointer to this context's extension functions. |
|
Handle to the actual glShader. |
|
Is our glShader successfully compiled? |
|
Does our glShader need to be recompiled? |
|
Pointer to our parent osg::Shader |