VisPro
1.0
Project of Visualisierung 2
Main Page
Classes
Files
File List
File Members
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
};
TextureShader::bindTexture
virtual void bindTexture(int unit)
Definition:
TextureShader.cpp:28
Shader.h
Shader base class file.
Texture
Definition:
Texture.h:10
TextureShader
Definition:
TextureShader.h:9
Shader
Definition:
Shader.h:18
Shader
TextureShader.h
Generated by
1.8.11