diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-01-26 08:58:51 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-01-26 08:58:51 +0100 |
commit | 9c575f056ef47ef7e8da581164041985749c1676 (patch) | |
tree | 6bfec2ad24801c59f516dde644d4afeacf1503d4 /src/AssetManager.hpp | |
parent | Added Framebuffer class (diff) | |
download | AltCraft-9c575f056ef47ef7e8da581164041985749c1676.tar AltCraft-9c575f056ef47ef7e8da581164041985749c1676.tar.gz AltCraft-9c575f056ef47ef7e8da581164041985749c1676.tar.bz2 AltCraft-9c575f056ef47ef7e8da581164041985749c1676.tar.lz AltCraft-9c575f056ef47ef7e8da581164041985749c1676.tar.xz AltCraft-9c575f056ef47ef7e8da581164041985749c1676.tar.zst AltCraft-9c575f056ef47ef7e8da581164041985749c1676.zip |
Diffstat (limited to '')
-rw-r--r-- | src/AssetManager.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/AssetManager.hpp b/src/AssetManager.hpp index 3ecff25..3b4ad2f 100644 --- a/src/AssetManager.hpp +++ b/src/AssetManager.hpp @@ -14,6 +14,7 @@ #include "Vector.hpp" #include "Block.hpp" #include "TextureAtlas.hpp" +#include "Shader.hpp" enum FaceDirection { down, @@ -160,6 +161,10 @@ struct AssetTexture : Asset { size_t id; }; +struct AssetShader : Asset { + std::unique_ptr<NewShader> shader; +}; + namespace AssetManager { void InitAssetManager(); |