VisPro
1.0
Project of Visualisierung 2
Main Page
Classes
Files
File List
File Members
Texture.h
Go to the documentation of this file.
1
#pragma once
2
7
#include "glew.h"
8
#include <string>
9
10
class
Texture
{
11
public
:
12
Texture
(
const
std::string& path);
13
~
Texture
();
14
17
void
bind
(
int
unit);
18
19
private
:
20
unsigned
char
* loadFile(
const
char
* path);
21
GLuint handle;
22
unsigned
char
* data;
23
int
width, height;
24
25
};
Texture
Definition:
Texture.h:10
Texture::bind
void bind(int unit)
Definition:
Texture.cpp:58
VisPro
Texture.h
Generated by
1.8.11