List of all members.
Detailed Description
PerContextProgram (PCP) is an OSG-internal encapsulation of glPrograms per-GL context.
Member Typedef Documentation
Constructor & Destructor Documentation
osg::Program::PerContextProgram::PerContextProgram |
( |
const Program * |
program, |
|
|
unsigned int |
contextID | |
|
) |
| | |
osg::Program::PerContextProgram::~PerContextProgram |
( |
|
) |
[protected] |
Member Function Documentation
void osg::Program::PerContextProgram::addShaderToAttach |
( |
Shader * |
shader |
) |
[inline] |
void osg::Program::PerContextProgram::addShaderToDetach |
( |
Shader * |
shader |
) |
[inline] |
void osg::Program::PerContextProgram::apply |
( |
const Uniform & |
uniform |
) |
const [inline] |
const ActiveVarInfoMap& osg::Program::PerContextProgram::getActiveAttribs |
( |
|
) |
const [inline] |
const ActiveVarInfoMap& osg::Program::PerContextProgram::getActiveUniforms |
( |
|
) |
const [inline] |
GLint osg::Program::PerContextProgram::getAttribLocation |
( |
const std::string & |
name |
) |
const [inline] |
GLuint osg::Program::PerContextProgram::getHandle |
( |
|
) |
const [inline] |
bool osg::Program::PerContextProgram::getInfoLog |
( |
std::string & |
infoLog |
) |
const |
GLint osg::Program::PerContextProgram::getUniformLocation |
( |
const std::string & |
name |
) |
const [inline] |
bool osg::Program::PerContextProgram::isLinked |
( |
|
) |
const [inline] |
void osg::Program::PerContextProgram::linkProgram |
( |
|
) |
|
bool osg::Program::PerContextProgram::needsLink |
( |
|
) |
const [inline] |
void osg::Program::PerContextProgram::requestLink |
( |
|
) |
|
void osg::Program::PerContextProgram::resetAppliedUniforms |
( |
|
) |
const [inline] |
void osg::Program::PerContextProgram::useProgram |
( |
|
) |
const |
bool osg::Program::PerContextProgram::validateProgram |
( |
|
) |
|
Member Data Documentation
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?
The documentation for this class was generated from the following file: