VR-Vantage API Documentation
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 
15 #include <vrvGraphics/DtEffect.h>
16 #include <boost/unordered_map.hpp>
17 
18 namespace makVrv
19 {
23  {
24  public:
25 
28 
30  ~DtEffectManager();
31 
33  void releaseResources();
34 
39  DtEffect* createEffect(const std::string& effectName,
40  DtEffectCreator::CreateParameters* params = 0) const;
41 
47  DtEffect* findSharedEffect(const std::string& effectName,
49 
52  void registerEffectCreator(const std::string& effectName, DtEffectCreator* creator);
53 
54  protected:
55  typedef boost::unordered_map<std::string,DtEffectCreator*> CreatorMap;
56  typedef boost::unordered_map<std::string,DtEffect*> EffectMap;
57 
60  };
61 }
62 


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)