mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 16:24:11 +00:00
17 lines
372 B
C++
17 lines
372 B
C++
#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();
|
|
}; |