CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csBaseTextureFactory Class Reference

Base class for texture factories, with support for common parameters. More...

#include <basetexfact.h>

Inheritance diagram for csBaseTextureFactory:

iTextureFactory iBase List of all members.

Public Methods

virtual void SetSize (int w, int h)
 Set the size of the texture to be created. More...

virtual void GetSize (int &w, int &h)
 Get the size of the texture to be created. More...


Protected Attributes

csRef< iObjectRegistryobject_reg
 object registry. More...

int width
 Width parameter. More...

int height
 Height parameter. More...


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 36 of file basetexfact.h.


Member Function Documentation

virtual void csBaseTextureFactory::GetSize int &    w,
int &    h
[virtual]
 

Get the size of the texture to be created.

Implements iTextureFactory.

virtual void csBaseTextureFactory::SetSize int    w,
int    h
[virtual]
 

Set the size of the texture to be created.

Implements iTextureFactory.


Member Data Documentation

int csBaseTextureFactory::height [protected]
 

Height parameter.

Definition at line 44 of file basetexfact.h.

csRef<iObjectRegistry> csBaseTextureFactory::object_reg [protected]
 

object registry.

Definition at line 40 of file basetexfact.h.

int csBaseTextureFactory::width [protected]
 

Width parameter.

Definition at line 42 of file basetexfact.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14