VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtExampleEffectTextureController.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
11 
12 #include <vrvCore/DtDe.h>
13 
16 
17 #include <osg/StateSet>
18 #include <osg/Texture>
19 
20 using namespace makArchives;
21 
22 namespace makVrv
23 {
25  {
26  public:
28 
30 
31  virtual bool generateShaders(int baseUnit, int effectUnit, osg::Texture* tex, osg::StateSet* stateSet, const std::string& baseTextureName);
32 
33  virtual std::string getEffectTypeCode() const;
34 
35  static void toggleEffectEnabled();
36 
37  private:
38  static osg::ref_ptr< osg::Uniform > effectEnabledUniform;
39 
40  };
41 
43  {
44  public:
45  virtual DtOsgEffectTextureController* create(const DtOsgFileCache& fileCache);
46  };
47 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)