
typedef std::pair<const osg::Uniform*, unsigned int> osg::Program::PerContextProgram::UniformModifiedCountPair [protected] |
typedef std::vector<UniformModifiedCountPair> osg::Program::PerContextProgram::LastAppliedUniformList [protected] |
typedef std::vector< ref_ptr<Shader> > osg::Program::PerContextProgram::ShaderList [protected] |
| osg::Program::PerContextProgram::PerContextProgram | ( | const Program * | program, | |
| unsigned int | contextID | |||
| ) |
| osg::Program::PerContextProgram::~PerContextProgram | ( | ) | [protected] |
| GLuint osg::Program::PerContextProgram::getHandle | ( | ) | const [inline] |
| void osg::Program::PerContextProgram::requestLink | ( | ) |
| void osg::Program::PerContextProgram::linkProgram | ( | ) |
| bool osg::Program::PerContextProgram::validateProgram | ( | ) |
| bool osg::Program::PerContextProgram::needsLink | ( | ) | const [inline] |
| bool osg::Program::PerContextProgram::isLinked | ( | ) | const [inline] |
| bool osg::Program::PerContextProgram::getInfoLog | ( | std::string & | infoLog | ) | const |
| void osg::Program::PerContextProgram::useProgram | ( | ) | const |
| void osg::Program::PerContextProgram::resetAppliedUniforms | ( | ) | const [inline] |
| void osg::Program::PerContextProgram::apply | ( | const Uniform & | uniform | ) | const [inline] |
References osg::Uniform::apply(), osg::Uniform::getModifiedCount(), and osg::Object::getName().
Referenced by osg::State::applyUniformList(), and osg::State::applyUniformMap().
| const ActiveVarInfoMap& osg::Program::PerContextProgram::getActiveUniforms | ( | ) | const [inline] |
| const ActiveVarInfoMap& osg::Program::PerContextProgram::getActiveAttribs | ( | ) | const [inline] |
| GLint osg::Program::PerContextProgram::getUniformLocation | ( | const std::string & | name | ) | const [inline] |
Referenced by osg::State::getUniformLocation().
| GLint osg::Program::PerContextProgram::getAttribLocation | ( | const std::string & | name | ) | const [inline] |
| void osg::Program::PerContextProgram::addShaderToAttach | ( | Shader * | shader | ) | [inline] |
| void osg::Program::PerContextProgram::addShaderToDetach | ( | Shader * | shader | ) | [inline] |
const Program* osg::Program::PerContextProgram::_program [protected] |
Pointer to our parent Program
Pointer to this context's extension functions
GLuint osg::Program::PerContextProgram::_glProgramHandle [protected] |
Handle to the actual OpenGL glProgram
bool osg::Program::PerContextProgram::_needsLink [protected] |
Does our glProgram need to be linked?
bool osg::Program::PerContextProgram::_isLinked [protected] |
Is our glProgram successfully linked?
const unsigned int osg::Program::PerContextProgram::_contextID [protected] |
LastAppliedUniformList osg::Program::PerContextProgram::_lastAppliedUniformList [mutable, protected] |
1.5.6