Inheritance diagram for osg::Program::PerContextProgram:
Public Member Functions | |
PerContextProgram (const Program *program, unsigned int contextID) | |
GLuint | getHandle () const |
void | requestLink () |
void | linkProgram () |
void | 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 NameInfoMap & | getActiveUniforms () const |
const NameInfoMap & | 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 |
Pointer to our parent Program. | |
osg::ref_ptr< GL2Extensions > | _extensions |
Pointer to this context's extension functions. | |
GLuint | _glProgramHandle |
Handle to the actual OpenGL glProgram. | |
bool | _needsLink |
Does our glProgram need to be linked? | |
bool | _isLinked |
Is our glProgram successfully linked? | |
const unsigned int | _contextID |
NameInfoMap | _uniformInfoMap |
NameInfoMap | _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.
|
|
|