![]() |
Public API Reference |
#include <texture.h>
Inheritance diagram for iTextureList:
Public Methods | |
virtual iTextureWrapper * | NewTexture (iImage *image)=0 |
Create a new texture. More... | |
virtual iTextureWrapper * | NewTexture (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 iTextureWrapper * | Get (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 iTextureWrapper * | FindByName (const char *Name) const=0 |
Find a texture by name. More... |
Definition at line 133 of file iengine/texture.h.
|
Add a texture.
|
|
Find a texture and return its index.
|
|
Find a texture by name.
|
|
Return a texture by index.
|
|
Return the number of textures in this list.
|
|
Create a engine wrapper for a pre-prepared iTextureHandle The handle will be IncRefed.
|
|
Create a new texture.
|
|
Remove the nth texture.
|
|
Remove a texture.
|
|
Remove all textures.
|