In file include/csengine/texture.h:

## class csTextureList

> This class maintains all named textures and their corresponding handles

### Public Methods

void AddTexture(csTextureHandle* tm)
  Add a texture
void Clear()
csTextureList()
int GetNumTextures()
  Return number of textures
csTextureHandle* GetTextureMM(int idx)
  Return texture by index
csTextureHandle* GetTextureMM(const char* name)
  Find a texture given a name.
csTextureHandle* NewTexture(ImageFile* image)
  Create a new texture.
virtual ~csTextureList()

### Private Fields

int max_textures
int num_textures
csTextureHandle** textures
  List of textures.

### Private Methods

int GetTextureIdx(const char* name)

## Documentation

> This class maintains all named textures and their corresponding handles

`csTextureHandle** textures`
  List of textures.

`int num_textures`

`int max_textures`

`int GetTextureIdx(const char* name)`

`void AddTexture(csTextureHandle* tm)`
  Add a texture

`csTextureList()`

`virtual ~csTextureList()`

`void Clear()`

`csTextureHandle* NewTexture(ImageFile* image)`
  Create a new texture.

`int GetNumTextures()`
  Return number of textures

`csTextureHandle* GetTextureMM(int idx)`
  Return texture by index

`csTextureHandle* GetTextureMM(const char* name)`
  Find a texture given a name.

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de