From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders.
This commit is contained in:
@@ -17,10 +17,7 @@
|
||||
#include <osg/Object>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <osg/Uniform>
|
||||
#include <osg/Program>
|
||||
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user