Robert Osfield
4a1f033dbe
Added non const releaseGLObjects(osg::State* state) for backwards compatibility
2016-04-27 08:40:35 +01:00
Robert Osfield
653af27d02
Fixed ShaderComposer::releaseGLObjects(State*) const method as it's const was missing.
...
Rewrote the ShaderComposer::releaseGLObjects() const method to pass on the releaseGLObjects() calls to any associated Program or Shader objects.
2016-04-18 20:49:02 +01:00
Robert Osfield
4493d11ca3
Added State::releaseGLObjects() and ShaderComposer::releaseGLObjects() to avoid problems with cleanup of graphics context
2013-10-21 16:35:12 +00:00
Robert Osfield
751b0498fe
Added basic code injection fields to osg::Shader,
...
creation of main shader to ShaderComposer and
collection of ShaderComponent to osg::State.
Also added very basic shader set up in osgshadecomposition example.
2010-07-05 16:32:58 +00:00
Robert Osfield
9f8670f50d
Implement basic cache in ShadeComposer
2010-07-02 14:18:59 +00:00
Robert Osfield
a55c4b7d70
Added basic ShaderComponent class and beginnings osgshadercomposition example
2010-07-02 12:04:20 +00:00
Robert Osfield
5cac233764
Added beginnings of shader composition with the shells of the ShaderComposer and ShaderAttribute classes. This aren't
...
functional yet, but a useful placeholders for future fucntionality.
2010-06-24 17:15:27 +00:00