#include <texture.h>
Inheritance diagram for CL_Texture:

Public Methods | |
| virtual | ~CL_Texture () |
| param: id - Resource ID of the surface resource.param: manager - Resource manager used to load the resource from. | |
| virtual void | bind (int texture_no=0)=0 |
| virtual CL_SurfaceProvider* | get_provider () const=0 |
| param: texture_no - Subframe in the provider to bind. | |
| virtual void | reload ()=0 |
| virtual int | get_width () const=0 |
| virtual int | get_height () const=0 |
| retval: Width of the texture. | |
| virtual int | get_num_frames () const=0 |
| retval: Height of the texture. | |
| virtual void | flush (CL_DisplayCard *card=NULL)=0 |
| retval: Number of subtextures in texture. | |
Static Public Methods | |
| CL_Texture* | create (CL_SurfaceProvider *provider, bool delete_provider=false) |
| CL_Texture* | load (const char *id, CL_ResourceManager *manager) |
| param: provider - Surface provider to use as image source.param: delete_provider - If true, surface provider will be deletedparam: when the texture is deleted. | |
|
|
param: id - Resource ID of the surface resource.param: manager - Resource manager used to load the resource from.
|
|
|
Reimplemented in CL_Texture_OpenGL. |
|
|
|
|
|
retval: Number of subtextures in texture.
Reimplemented in CL_Texture_OpenGL. |
|
|
retval: Width of the texture.
Reimplemented in CL_Texture_OpenGL. |
|
|
retval: Height of the texture.
Reimplemented in CL_Texture_OpenGL. |
|
|
param: texture_no - Subframe in the provider to bind.
Reimplemented in CL_Texture_OpenGL. |
|
|
Reimplemented in CL_Texture_OpenGL. |
|
|
param: provider - Surface provider to use as image source.param: delete_provider - If true, surface provider will be deletedparam: when the texture is deleted.
|
|
|
Reimplemented in CL_Texture_OpenGL. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001