- Track textures (not sure if this is done tbh) - Add lithium formatters and move TextureID, TextureFormat and TextureFilter to lithium - Only include gl-helper if any glDriver is included - Add Li::Rect for UV stuff - Add Li::Texture as Info holder (still thinking of making them to ptrs - Add Check if textures are still loaded on exit
25 lines
347 B
C++
25 lines
347 B
C++
#pragma once
|
|
|
|
#include <pd/core/core.hpp>
|
|
#include <pd/lithium/texture.hpp>
|
|
|
|
namespace PD {
|
|
namespace Li {
|
|
enum class AtlasState {
|
|
Invalid,
|
|
ReqCreate,
|
|
ReqUpdate,
|
|
ReqDestroy,
|
|
};
|
|
|
|
class Atlas {
|
|
public:
|
|
Atlas() {}
|
|
~Atlas() {}
|
|
|
|
private:
|
|
AtlasState pState = AtlasState::Invalid;
|
|
TextureID pID;
|
|
};
|
|
} // namespace Li
|
|
} // namespace PD
|