#include <GLTexture.h>
Public Member Functions | |
GLTexture () | |
~GLTexture () | |
GLuint | getTexture () |
void | setTypes (GLuint textureColorType, GLuint filterType) |
void | create (GLuint width, GLuint height) |
void | free () |
Private Attributes | |
GLuint | texture |
GLuint | textureColorType |
GLuint | filterType |
Definition at line 6 of file GLTexture.h.
GLTexture::GLTexture | ( | ) |
GLTexture::~GLTexture | ( | ) |
void GLTexture::create | ( | GLuint | width, | |
GLuint | height | |||
) |
Definition at line 26 of file GLTexture.cpp.
References filterType, free(), texture, and textureColorType.
void GLTexture::free | ( | ) |
Definition at line 68 of file GLTexture.cpp.
References texture.
Referenced by create(), and ~GLTexture().
GLuint GLTexture::getTexture | ( | ) |
Definition at line 15 of file GLTexture.cpp.
References texture.
Referenced by GL3DView::drawVolume(), and GL3DView::paintGL().
void GLTexture::setTypes | ( | GLuint | textureColorType, | |
GLuint | filterType | |||
) |
GLuint GLTexture::filterType [private] |
GLuint GLTexture::texture [private] |
Definition at line 17 of file GLTexture.h.
Referenced by create(), free(), getTexture(), and GLTexture().
GLuint GLTexture::textureColorType [private] |