csBaseTextureFactory Class Reference
Base class for texture factories, with support for common parameters. More...
#include <cstool/basetexfact.h>
Inheritance diagram for csBaseTextureFactory:
Public Member Functions | |
virtual void | GetSize (int &w, int &h) |
Get the size of the texture to be created. | |
virtual iTextureType * | GetTextureType () const |
Get the TextureType for this texture factory. | |
virtual void | SetSize (int w, int h) |
Set the size of the texture to be created. | |
Protected Attributes | |
int | height |
Height parameter. | |
iObjectRegistry * | object_reg |
object registry | |
iTextureType * | texture_type |
Texture Type. | |
int | width |
Width 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 39 of file basetexfact.h.
Member Function Documentation
virtual void csBaseTextureFactory::GetSize | ( | int & | w, | |
int & | h | |||
) | [virtual] |
virtual iTextureType* csBaseTextureFactory::GetTextureType | ( | ) | const [virtual] |
virtual void csBaseTextureFactory::SetSize | ( | int | w, | |
int | h | |||
) | [virtual] |
Member Data Documentation
int csBaseTextureFactory::height [protected] |
iObjectRegistry* csBaseTextureFactory::object_reg [protected] |
iTextureType* csBaseTextureFactory::texture_type [protected] |
int csBaseTextureFactory::width [protected] |
The documentation for this class was generated from the following file:
- cstool/basetexfact.h
Generated for Crystal Space by doxygen 1.4.7