Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
iTextureFactory Struct Reference
[3D]
Interface to a texture factory.
More...
#include <itexture/itexfact.h>
Inheritance diagram for iTextureFactory:

Public Member Functions | |
virtual csPtr< iTextureWrapper > | Generate ()=0 |
Generate a new texture with the selected parameters. | |
virtual void | SetSize (int w, int h)=0 |
Set the size of the texture to be created. | |
virtual void | GetSize (int &w, int &h)=0 |
Get the size of the texture to be created. | |
virtual iTextureType * | GetTextureType () const =0 |
Get the TextureType for this texture factory. |
Detailed Description
Interface to a texture factory.Textures need to know their size at creation time; this information can be taken from an image or explicitly specified.
Definition at line 43 of file itexfact.h.
Member Function Documentation
|
Generate a new texture with the selected parameters.
|
|
Get the size of the texture to be created.
Implemented in csBaseTextureFactory. |
|
Get the TextureType for this texture factory.
Implemented in csBaseTextureFactory. |
|
Set the size of the texture to be created.
Implemented in csBaseTextureFactory. |
The documentation for this struct was generated from the following file:
- itexture/itexfact.h
Generated for Crystal Space by doxygen 1.3.9.1