Formatted EVERYTHING
This commit is contained in:
@@ -2,12 +2,10 @@
|
||||
#include "Asset.h"
|
||||
|
||||
struct ktxTexture2;
|
||||
namespace Seele
|
||||
{
|
||||
namespace Seele {
|
||||
DECLARE_NAME_REF(Gfx, Texture)
|
||||
class TextureAsset : public Asset
|
||||
{
|
||||
public:
|
||||
class TextureAsset : public Asset {
|
||||
public:
|
||||
static constexpr uint64 IDENTIFIER = 0x1;
|
||||
TextureAsset();
|
||||
TextureAsset(std::string_view folderPath, std::string_view name);
|
||||
@@ -15,13 +13,11 @@ public:
|
||||
virtual void save(ArchiveBuffer& buffer) const override;
|
||||
virtual void load(ArchiveBuffer& buffer) override;
|
||||
void setTexture(Gfx::OTexture _texture);
|
||||
Gfx::PTexture getTexture()
|
||||
{
|
||||
return texture;
|
||||
}
|
||||
Gfx::PTexture getTexture() { return texture; }
|
||||
uint32 getWidth();
|
||||
uint32 getHeight();
|
||||
private:
|
||||
|
||||
private:
|
||||
Gfx::OTexture texture;
|
||||
bool normalMap;
|
||||
friend class TextureLoader;
|
||||
|
||||
Reference in New Issue
Block a user