From 23a37b2cdd8ffde8bb85a4159888bf3a7ec35966 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 4 Nov 2019 00:50:45 +0100 Subject: Use external shaders instead of generating shader code from c++ code... --- include/RenderBackend/OpenGL/CompiledShader.hpp | 37 ------------------------- 1 file changed, 37 deletions(-) delete mode 100644 include/RenderBackend/OpenGL/CompiledShader.hpp (limited to 'include/RenderBackend/OpenGL/CompiledShader.hpp') diff --git a/include/RenderBackend/OpenGL/CompiledShader.hpp b/include/RenderBackend/OpenGL/CompiledShader.hpp deleted file mode 100644 index 8d2ee84..0000000 --- a/include/RenderBackend/OpenGL/CompiledShader.hpp +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -#include "../../types.hpp" -#include -#include - -namespace amalgine -{ - class CompiledVertexShader - { - friend class VertexShader; - public: - ~CompiledVertexShader(); - u32 getShaderId() const; - private: - CompiledVertexShader(u32 _shaderId); - private: - u32 shaderId; - }; - - class CompiledPixelShader - { - friend class PixelShader; - public: - ~CompiledPixelShader(); - u32 getShaderId() const; - const auto& getPixelAttributes() const - { - return pixelAttributes; - } - private: - CompiledPixelShader(u32 _shaderId, std::unordered_map &&_pixelAttributes); - private: - u32 shaderId; - std::unordered_map pixelAttributes; - }; -} -- cgit v1.2.3