VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtEffectManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 #pragma once
13 
14 #include <vrvGraphics/DtEffect.h>
15 #include <boost/unordered_map.hpp>
16 
17 namespace makVrv
18 {
22  {
23  public:
24 
27 
29  ~DtEffectManager();
30 
32  void releaseResources();
33 
38  DtEffect* createEffect(const std::string& effectName,
39  DtEffectCreator::CreateParameters* params = 0) const;
40 
46  DtEffect* findSharedEffect(const std::string& effectName,
48 
51  void registerEffectCreator(const std::string& effectName, DtEffectCreator* creator);
52 
53  protected:
54  typedef boost::unordered_map<std::string,DtEffectCreator*> CreatorMap;
55  typedef boost::unordered_map<std::string,DtEffect*> EffectMap;
56 
59  };
60 }
61 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)