VisPro  1.0
Project of Visualisierung 2
TextureShader.h
1 #pragma once
2 #include "Shader.h"
3 #include "../VisPro/Texture.h"
4 #include "PointLight.h"
5 #include <vector>
6 #include <memory>
7 #include "../VisPro/UserInput.h"
8 
9 class TextureShader : public Shader {
10 public:
11  TextureShader(const std::string& path, glm::vec3 amb_col, glm::vec3 spec_col, float shin);
12  ~TextureShader();
13  virtual void bindTexture(int unit);
14  virtual void setLighting(std::vector<std::shared_ptr<PointLight>> *allLights, int sm_light_id);
15 protected:
16  Texture* texture;
17 };
virtual void bindTexture(int unit)
Definition: TextureShader.cpp:28
Shader base class file.
Definition: Texture.h:10
Definition: TextureShader.h:9
Definition: Shader.h:18