CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

iTextureList Struct Reference
[Textures & Materials]

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. More...

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

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

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

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

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

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

virtual void RemoveAll ()=0
 Remove all textures. More...

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

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


Detailed Description

This class represents a list of texture wrappers.

Definition at line 133 of file iengine/texture.h.


Member Function Documentation

virtual int iTextureList::Add iTextureWrapper   obj [pure virtual]
 

Add a texture.

virtual int iTextureList::Find iTextureWrapper   obj const [pure virtual]
 

Find a texture and return its index.

virtual iTextureWrapper* iTextureList::FindByName const char *    Name const [pure virtual]
 

Find a texture by name.

virtual iTextureWrapper* iTextureList::Get int    n const [pure virtual]
 

Return a texture by index.

virtual int iTextureList::GetCount   const [pure virtual]
 

Return the number of textures in this list.

virtual iTextureWrapper* iTextureList::NewTexture iTextureHandle   ith [pure virtual]
 

Create a engine wrapper for a pre-prepared iTextureHandle The handle will be IncRefed.

virtual iTextureWrapper* iTextureList::NewTexture iImage   image [pure virtual]
 

Create a new texture.

virtual bool iTextureList::Remove int    n [pure virtual]
 

Remove the nth texture.

virtual bool iTextureList::Remove iTextureWrapper   obj [pure virtual]
 

Remove a texture.

virtual void iTextureList::RemoveAll   [pure virtual]
 

Remove all textures.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14