diff options
author | graham linden <graham@lindenlab.com> | 2013-03-05 13:42:57 -0800 |
---|---|---|
committer | graham linden <graham@lindenlab.com> | 2013-03-05 13:42:57 -0800 |
commit | 046014aa10e535bfa18e3d7b4c2da70284a615ae (patch) | |
tree | a2ddc78c2da49f22ae6c11195b0fbc5c27e32e5b /indra/newview/llviewershadermgr.h | |
parent | b19eeabd54afcfb56e864899c166b64db1ac6790 (diff) | |
parent | a65c275865f1cc9bf53237e4b8c99a7bee3731ee (diff) |
Merged lindenlab/viewer-cat into default
Diffstat (limited to 'indra/newview/llviewershadermgr.h')
-rw-r--r-- | indra/newview/llviewershadermgr.h | 70 |
1 files changed, 1 insertions, 69 deletions
diff --git a/indra/newview/llviewershadermgr.h b/indra/newview/llviewershadermgr.h index 999baa0ad0..6cd52dc736 100644 --- a/indra/newview/llviewershadermgr.h +++ b/indra/newview/llviewershadermgr.h @@ -74,56 +74,7 @@ public: SHADER_COUNT }; - typedef enum - { - SHINY_ORIGIN = END_RESERVED_UNIFORMS - } eShinyUniforms; - - typedef enum - { - WATER_SCREENTEX = END_RESERVED_UNIFORMS, - WATER_SCREENDEPTH, - WATER_REFTEX, - WATER_EYEVEC, - WATER_TIME, - WATER_WAVE_DIR1, - WATER_WAVE_DIR2, - WATER_LIGHT_DIR, - WATER_SPECULAR, - WATER_SPECULAR_EXP, - WATER_FOGCOLOR, - WATER_FOGDENSITY, - WATER_REFSCALE, - WATER_WATERHEIGHT, - } eWaterUniforms; - - typedef enum - { - WL_CAMPOSLOCAL = END_RESERVED_UNIFORMS, - WL_WATERHEIGHT - } eWLUniforms; - - typedef enum - { - TERRAIN_DETAIL0 = END_RESERVED_UNIFORMS, - TERRAIN_DETAIL1, - TERRAIN_DETAIL2, - TERRAIN_DETAIL3, - TERRAIN_ALPHARAMP - } eTerrainUniforms; - - typedef enum - { - GLOW_DELTA = END_RESERVED_UNIFORMS - } eGlowUniforms; - - typedef enum - { - AVATAR_MATRIX = END_RESERVED_UNIFORMS, - AVATAR_WIND, - AVATAR_SINWAVE, - AVATAR_GRAVITY, - } eAvatarUniforms; + // simple model of forward iterator // http://www.sgi.com/tech/stl/ForwardIterator.html @@ -176,25 +127,6 @@ public: /* virtual */ void updateShaderUniforms(LLGLSLShader * shader); private: - - typedef std::vector< LLStaticHashedString > UniformVec; - - UniformVec mShinyUniforms; - - //water parameters - UniformVec mWaterUniforms; - - UniformVec mWLUniforms; - - //terrain parameters - UniformVec mTerrainUniforms; - - //glow parameters - UniformVec mGlowUniforms; - - UniformVec mGlowExtractUniforms; - - UniformVec mAvatarUniforms; // the list of shaders we need to propagate parameters to. std::vector<LLGLSLShader *> mShaderList; |