Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iTextureList Struct Reference

This class represents a list of texture wrappers. More...

#include <texture.h>

Inheritance diagram for iTextureList:

iBase List of all members.

Public Methods

virtual iTextureWrapperNewTexture (iImage *image)=0
 Create a new texture.

virtual iTextureWrapperNewTexture (iTextureHandle *ith)=0
 Create a engine wrapper for a pre-prepared iTextureHandle The handle will be IncRefed.

virtual int GetCount () const=0
 Return the number of textures in this list.

virtual iTextureWrapperGet (int n) const=0
 Return a texture by index.

virtual int Add (iTextureWrapper *obj)=0
 Add a texture.

virtual bool Remove (iTextureWrapper *obj)=0
 Remove a texture.

virtual bool Remove (int n)=0
 Remove the nth texture.

virtual void RemoveAll ()=0
 Remove all textures.

virtual int Find (iTextureWrapper *obj) const=0
 Find a texture and return its index.

virtual iTextureWrapperFindByName (const char *Name) const=0
 Find a texture by name.

Detailed Description

This class represents a list of texture wrappers.

The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000