blob: d11d68b1283a64c2fbe187dadf14d18821249744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
class BufferedImage;
class MemTextureProcessor;
using namespace std;
class MemTexture {
public:
BufferedImage *loadedImage;
int count;
int id;
bool isLoaded;
int ticksSinceLastUse;
static const int UNUSED_TICKS_TO_FREE = 20;
MemTexture(const wstring& _name, PBYTE pbData, DWORD dwBytes, MemTextureProcessor *processor);
~MemTexture();
};
|