VisPro
1.0
Project of Visualisierung 2
Main Page
Classes
Files
File List
File Members
AnimatedTextureShader.h
1
#pragma once
2
#include "TextureShader.h"
3
#include <math.h>
4
class
AnimatedTextureShader
:
public
TextureShader
{
5
public
:
6
AnimatedTextureShader
(
const
std::string& path, glm::vec3 amb_col, glm::vec3 spec_col,
float
shin,
float
framerate);
7
~
AnimatedTextureShader
();
8
void
bindTexture
(
int
unit);
9
private
:
10
float
length;
//length of the clip
11
float
framerate;
//fps
12
int
frames;
//amount of frames
13
float
startTimeVid;
14
15
std::vector<Texture*> framesOfVid;
16
};
AnimatedTextureShader::bindTexture
void bindTexture(int unit)
Definition:
AnimatedTextureShader.cpp:52
TextureShader
Definition:
TextureShader.h:9
AnimatedTextureShader
Definition:
AnimatedTextureShader.h:4
Shader
AnimatedTextureShader.h
Generated by
1.8.11