Work at 3ds support and backend upgrades
- 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
This commit is contained in:
25
include/pd/lithium/atlas.hpp
Normal file
25
include/pd/lithium/atlas.hpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user