Implementing ktx texture loading
This commit is contained in:
@@ -18,10 +18,9 @@ public:
|
||||
void importAsset(const std::filesystem::path& filePath);
|
||||
PTextureAsset getPlaceholderTexture();
|
||||
private:
|
||||
Gfx::PTexture2D import(const std::filesystem::path& path);
|
||||
void import(const std::filesystem::path& path, PTextureAsset asset);
|
||||
Gfx::PGraphics graphics;
|
||||
List<std::future<void>> futures;
|
||||
Gfx::PTexture2D placeholderTexture;
|
||||
PTextureAsset placeholderAsset;
|
||||
};
|
||||
DEFINE_REF(TextureLoader)
|
||||
|
||||
Reference in New Issue
Block a user