KrisLibrary
1.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GLdraw
GLTexture2D.h
1
#ifndef GL_TEXTURE_2D_H
2
#define GL_TEXTURE_2D_H
3
4
#include "GLTextureObject.h"
5
6
namespace
GLDraw
{
7
11
class
GLTexture2D
12
{
13
public
:
14
GLTexture2D
();
15
void
setLuminance(
const
unsigned
char
* data,
int
m,
int
n);
16
void
setRGB(
const
unsigned
char
* data,
int
m,
int
n);
17
void
setRGBA(
const
unsigned
char
* data,
int
m,
int
n);
18
void
setAlpha(
const
unsigned
char
* data,
int
m,
int
n);
19
void
setFilterLinear();
20
void
setFilterNearest();
21
void
setWrapClamp();
22
void
setWrapRepeat();
23
void
setCurrentGL();
24
25
GLTextureObject
texObj;
26
};
27
28
}
//namespace GLDraw
29
30
#endif
31
GLDraw
Contains all definitions in the GLDraw package.
Definition:
AnyGeometry.h:13
GLDraw::GLTextureObject
A GL texture object class. Simplifies allocating and cleaning up texture objects. Usually you only ne...
Definition:
GLTextureObject.h:13
GLDraw::GLTexture2D
2D texture data for use in OpenGL.
Definition:
GLTexture2D.h:11
Generated by
1.8.11