Parammanagers are really not done well. Added manager-specific shader lists instead of just having them dig down the global list every update.

This commit is contained in:
Shyotl
2011-08-09 04:30:35 -05:00
parent 04ea6a967e
commit bff63ac682
5 changed files with 63 additions and 30 deletions

View File

@@ -129,6 +129,8 @@ public:
LLWLParamManager();
~LLWLParamManager();
void updateShaderLinks();
/// load a preset file
void loadPresets(const std::string & fileName);
@@ -254,6 +256,7 @@ public:
private:
std::vector<LLGLSLShader *> mShaderList;
// our parameter manager singleton instance
static LLWLParamManager * sInstance;