Umasoft
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
TerrainSDK
vtlib
core
TextureUnitManager.h
1
//
2
// TextureUnitManager.h
3
//
4
// Originally written by RJ.
5
//
6
// Copyright (c) 2006 Virtual Terrain Project
7
// Free for all uses, see license.txt for details.
8
//
9
10
#ifndef TEXTUREUNITMANAGERH
11
#define TEXTUREUNITMANAGERH
12
13
class
vtTextureUnitManager
14
{
15
public
:
16
vtTextureUnitManager
(
void
);
17
~
vtTextureUnitManager
(
void
);
18
int
ReserveTextureUnit(
bool
bHighest =
false
);
19
void
FreeTextureUnit(
int
iUnit);
20
21
private
:
22
void
Initialise();
23
int
m_iNumTextureUnits;
24
bool
m_bInitialised;
25
bool
*m_pAllocationArray;
26
};
27
28
#endif // TEXTUREUNITMANAGERH
29
Generated on Fri Jun 7 2013 16:07:53 for Umasoft by
1.8.4