Inheritance diagram for osg::Program::PerContextProgram:
Public Member Functions | |
PerContextProgram (const Program *program, unsigned int contextID) | |
GLuint | getHandle () const |
void | requestLink () |
void | linkProgram () |
bool | validateProgram () |
bool | needsLink () const |
bool | isLinked () const |
bool | getInfoLog (std::string &infoLog) const |
void | useProgram () const |
void | resetAppliedUniforms () const |
void | apply (const Uniform &uniform) const |
const ActiveVarInfoMap & | getActiveUniforms () const |
const ActiveVarInfoMap & | getActiveAttribs () const |
GLint | getUniformLocation (const std::string &name) const |
GLint | getAttribLocation (const std::string &name) const |
Protected Types | |
typedef std::pair< const osg::Uniform *, unsigned int > | UniformModifiedCountPair |
typedef std::vector< UniformModifiedCountPair > | LastAppliedUniformList |
Protected Member Functions | |
~PerContextProgram () | |
Protected Attributes | |
const Program * | _program |
osg::ref_ptr< GL2Extensions > | _extensions |
GLuint | _glProgramHandle |
bool | _needsLink |
bool | _isLinked |
const unsigned int | _contextID |
ActiveVarInfoMap | _uniformInfoMap |
ActiveVarInfoMap | _attribInfoMap |
LastAppliedUniformList | _lastAppliedUniformList |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pointer to this context's extension functions |
|
Handle to the actual OpenGL glProgram |
|
Is our glProgram successfully linked? |
|
|
|
Does our glProgram need to be linked? |
|
Pointer to our parent Program |
|
|