VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvGraphics
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
12
#include <
vrvGraphics/vrvGraphics.h
>
13
#include <map>
14
15
namespace
makVrv
16
{
17
class
DtFontManager;
18
class
DtEffectManager;
19
23
class
DT_DLL_VRVGRAPHICS
DtOverlayResourceProvider
24
{
25
public
:
26
28
DtOverlayResourceProvider
(
DtFontManager
& fontMan,
DtEffectManager
& effectMan);
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
:
55
DtFontManager
&
myFontManager
;
56
DtEffectManager
&
myEffectManager
;
57
58
typedef
std::map<unsigned int, unsigned int>
GroupReferenceMap
;
59
GroupReferenceMap
myGroups
;
60
};
61
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)