2025-01-29 10:55:49 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <Kore/Graphics1/Image.h>
|
|
|
|
|
|
|
|
|
|
namespace Kore {
|
|
|
|
|
namespace Graphics3 {
|
|
|
|
|
class Texture;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class TextureUnitImpl {
|
|
|
|
|
public:
|
|
|
|
|
int unit;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class TextureImpl {
|
|
|
|
|
protected:
|
|
|
|
|
// static TreeMap<Image, Texture*> images;
|
|
|
|
|
public:
|
|
|
|
|
unsigned int texture;
|
2026-06-09 12:45:01 -07:00
|
|
|
#ifdef KINC_ANDROID
|
2025-01-29 10:55:49 +01:00
|
|
|
bool external_oes;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
u8 pixfmt;
|
|
|
|
|
|
|
|
|
|
~TextureImpl();
|
|
|
|
|
};
|
|
|
|
|
}
|