summaryrefslogtreecommitdiffstats
path: root/src/Shader.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-10-17 20:33:13 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commita6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47 (patch)
tree160309441fbe58921d9483e8d12e8d2e57955b97 /src/Shader.hpp
parent2017-10-15 (diff)
downloadAltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar
AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.gz
AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.bz2
AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.lz
AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.xz
AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.zst
AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.zip
Diffstat (limited to '')
-rw-r--r--src/Shader.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Shader.hpp b/src/Shader.hpp
index 17a434e..d6d59eb 100644
--- a/src/Shader.hpp
+++ b/src/Shader.hpp
@@ -1,10 +1,5 @@
#pragma once
-#include <string>
-#include <fstream>
-#include <sstream>
-
-#include <easylogging++.h>
#include <GL/glew.h>
class Shader
@@ -13,11 +8,8 @@ private:
const GLchar *vertex;
const GLchar *fragment;
public:
- // Идентификатор программы
GLuint Program;
- // Конструктор считывает и собирает шейдер
Shader(const GLchar* vertexPath, const GLchar* fragmentPath, const GLchar* geometryPath = nullptr);
- // Использование программы
void Use();
void Reload();