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 |
Attach our glShader to a glProgram. | |
void | detachShader (GLuint program) const |
Detach our glShader from a glProgram. | |
Protected Member Functions | |
~PerContextShader () | |
Protected Attributes | |
const Shader * | _shader |
Pointer to our parent osg::Shader. | |
osg::ref_ptr< osg::GL2Extensions > | _extensions |
Pointer to this context's extension functions. | |
GLuint | _glShaderHandle |
Handle to the actual glShader. | |
bool | _needsCompile |
Does our glShader need to be recompiled? | |
bool | _isCompiled |
Is our glShader successfully compiled? | |
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.
|