Initial environment loading (not working)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include "Asset.h"
|
||||
#include "Graphics/Texture.h"
|
||||
|
||||
namespace Seele {
|
||||
class EnvironmentMapAsset : public Asset {
|
||||
public:
|
||||
static constexpr uint64 IDENTIFIER = 0x80;
|
||||
EnvironmentMapAsset();
|
||||
EnvironmentMapAsset(std::string_view folderPath, std::string_view name);
|
||||
virtual ~EnvironmentMapAsset();
|
||||
virtual void save(ArchiveBuffer& buffer) const override;
|
||||
virtual void load(ArchiveBuffer& buffer) override;
|
||||
private:
|
||||
Gfx::OTextureCube diffuseMap;
|
||||
Gfx::OTextureCube specularMap;
|
||||
friend class EnvironmentLoader;
|
||||
};
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user