csBaseTextureFactory Class Reference
Base class for texture factories, with support for common parameters. More...
#include <basetexfact.h>
Inheritance diagram for csBaseTextureFactory:

Public Methods | |
| virtual void | SetSize (int w, int h) |
| Set the size of the texture to be created. | |
| virtual void | GetSize (int &w, int &h) |
| Get the size of the texture to be created. | |
Protected Attributes | |
| csRef< iObjectRegistry > | object_reg |
| object registry | |
| int | width |
| Width parameter. | |
| int | height |
| Height parameter. | |
Detailed Description
Base class for texture factories, with support for common parameters.
- Remarks:
- Descendants must at least implement Generate(). Adding more parameters should be done via additional interfaces.
Definition at line 38 of file basetexfact.h.
Member Function Documentation
|
||||||||||||
|
Get the size of the texture to be created.
Implements iTextureFactory. |
|
||||||||||||
|
Set the size of the texture to be created.
Implements iTextureFactory. |
Member Data Documentation
|
|
Height parameter.
Definition at line 46 of file basetexfact.h. |
|
|
object registry
Definition at line 42 of file basetexfact.h. |
|
|
Width parameter.
Definition at line 44 of file basetexfact.h. |
The documentation for this class was generated from the following file:
- cstool/basetexfact.h
Generated for Crystal Space by doxygen 1.2.18
