#include <VTexture.h>
Public Member Functions | |
VTexture (string) | |
void | bind () |
~VTexture (void) | |
Private Attributes | |
GLuint | tex |
string | filename |
GLbyte * | pixels |
int | width |
int | height |
Definition at line 11 of file VTexture.h.
VTexture::VTexture | ( | string | ) |
VTexture::~VTexture | ( | void | ) |
void VTexture::bind | ( | ) |
Wendet die Textur an
Definition at line 34 of file VTexture.cpp.
Referenced by VSliceElement::draw(), VRenderMode::draw(), VColorChooser::draw(), and V2Ddraw::drawTexBox().
GLuint VTexture::tex [private] |
Textur id
Definition at line 14 of file VTexture.h.
string VTexture::filename [private] |
GLbyte* VTexture::pixels [private] |
ausgelesene pixel
Definition at line 18 of file VTexture.h.
Referenced by VTexture(), and ~VTexture().
int VTexture::width [private] |
int VTexture::height [private] |