laTexture Class Reference

2D Texture More...

#include <laTexture.h>

Public Member Functions

void set (M_TEXTURE id, unsigned nw, unsigned nh)
void load (std::string strFile, laTextureParams params)
void load (std::string strFile)
void discard (laTexture *ptex)
void use ()
void loadForce ()

Static Public Member Functions

static void toggleLazyLoad (M_BOOL bOn)
static void loadForceAll ()

Public Attributes

unsigned w
unsigned h

Detailed Description

2D Texture

This class stores internally the texture ID and other associated parameters, such as size.

Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 45 of file laTexture.h.

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