VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOverlayResourceProvider.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <map>
14 
15 namespace makVrv
16 {
17  class DtFontManager;
18  class DtEffectManager;
19 
24  {
25  public:
26 
29 
31  virtual ~DtOverlayResourceProvider();
32 
33  typedef void* NativeResourceHandle;
34 
36  inline DtFontManager& fontManager() { return myFontManager; }
37 
39  inline DtEffectManager& effectManager() { return myEffectManager; }
40 
42  virtual unsigned int texture1DId(NativeResourceHandle handle) = 0;
43  virtual unsigned int texture2DId(NativeResourceHandle handle) = 0;
44 
46  void addGroupRef(unsigned int group);
47 
49  void removeGroupRef(unsigned int group);
50 
52  unsigned int groupCount();
53 
54  protected:
57 
58  typedef std::map<unsigned int, unsigned int> GroupReferenceMap;
60  };
61 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)