Logo Search packages:      
Sourcecode: val-and-rick version File versions  Download package

abagames::util::sdl::texture::Texture Class Reference

List of all members.

Detailed Description

Manage OpenGL textures.

Definition at line 17 of file texture.d.

Public Member Functions

void bind (int idx=0)
void bindMask (int idx=0)
void close ()
 this (char[] name, int sx, int sy, int xn, int yn, int panelWidth, int panelHeight, Uint32 maskColor=0xffffffffu)
 this (char[] name)

Static Public Member Functions

static SDL_Surface * loadBmp (char[] name)

Static Public Attributes

static char[] imagesDir = "images/"
static SDL_Surface * surface

Private Attributes

GLuint maskNum
Uint32[128 *128] maskPixels
int maskTextureNum
GLuint num
Uint32[128 *128] pixels
int textureNum

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index