Main Page   Class Hierarchy   Compound List   File List   Compound Members  

textureManagerInterface Class Reference

#include <textureManagerInterface.h>

Inheritance diagram for textureManagerInterface:

D3DTextureManager OGLTextureManager List of all members.

Public Member Functions

 textureManagerInterface ()
virtual ~textureManagerInterface ()
virtual HRESULT addTexture (std::string strFilename, const int value)=0
virtual void setTexture (const int value)=0

Detailed Description

This object is used to manage and store our Textures for our small DLL rendering system. For now it doesn't really do much besides load and create texture objects, but the flexibility is there to add more features if needed


Constructor & Destructor Documentation

textureManagerInterface::textureManagerInterface  )  [inline]
 

Constructor

virtual textureManagerInterface::~textureManagerInterface  )  [inline, virtual]
 

Destructor


Member Function Documentation

virtual HRESULT textureManagerInterface::addTexture std::string  strFilename,
const int  value
[pure virtual]
 

version 1.3 This method is responsible for adding a new texture to our rendering engine. We won't do anything that fancy but store it in a std::map object

Parameters:
std::string - our texture filename
const int - the texture identifier
Returns:
HRESULT - SUCCEEDED if we created it ok, FAILED otherwise

Implemented in D3DTextureManager, and OGLTextureManager.

virtual void textureManagerInterface::setTexture const int  value  )  [pure virtual]
 

version 1.3 This method is responsible for letting the renderer engine know which texture we want to use

Parameters:
const int - the texture identifier
Returns:
void

Implemented in D3DTextureManager, and OGLTextureManager.


The documentation for this class was generated from the following file:
Generated on Thu Jul 3 07:23:28 2003 for GameFramework by doxygen 1.3.1