|
OpenSceneGraph
3.0.1
|

Public Member Functions | |
| ShaderComponent () | |
| ShaderComponent (const ShaderComponent &sc, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| osg::Shader * | getShader (unsigned int i) |
| const osg::Shader * | getShader (unsigned int i) const |
| unsigned int | getNumShaders () const |
| virtual void | compileGLObjects (State &state) const |
| virtual void | resizeGLObjectBuffers (unsigned int maxSize) |
| Resize any per context GLObject buffers to specified size. | |
| virtual void | releaseGLObjects (State *state=0) const |
| If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. | |
Protected Types | |
| typedef std::vector < osg::ref_ptr< osg::Shader > > | Shaders |
Protected Attributes | |
| Shaders | _shaders |
typedef std::vector< osg::ref_ptr<osg::Shader> > osg::ShaderComponent::Shaders [protected] |
| osg::ShaderComponent::ShaderComponent | ( | const ShaderComponent & | sc, |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
| ) |
| virtual void osg::ShaderComponent::compileGLObjects | ( | State & | state | ) | const [virtual] |
| unsigned int osg::ShaderComponent::getNumShaders | ( | ) | const [inline] |
| osg::Shader* osg::ShaderComponent::getShader | ( | unsigned int | i | ) | [inline] |
| const osg::Shader* osg::ShaderComponent::getShader | ( | unsigned int | i | ) | const [inline] |
| virtual void osg::ShaderComponent::releaseGLObjects | ( | State * | = 0 | ) | const [virtual] |
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context.
Otherwise, releases OpenGL objects for all graphics contexts.
Reimplemented from osg::Object.
| virtual void osg::ShaderComponent::resizeGLObjectBuffers | ( | unsigned int | ) | [virtual] |
Resize any per context GLObject buffers to specified size.
Reimplemented from osg::Object.
Shaders osg::ShaderComponent::_shaders [protected] |
| Generated at Thu Sep 27 2012 17:03:00 for the OpenSceneGraph by doxygen 1.7.6.1. |