Main Page   Class Hierarchy   Compound List   File List   Compound Members  

OGLTextureManager Class Reference

#include <OGLTextureManager.h>

Inheritance diagram for OGLTextureManager:

textureManagerInterface List of all members.

Public Member Functions

 OGLTextureManager ()
 ~OGLTextureManager ()
HRESULT addTexture (std::string strFilename, const int value)
void setTexture (const int value)

Protected Attributes

std::map< int, GLuint > m_oTextures

Detailed Description

This object is used to manage and store our OpenGL Textures implementation 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

OGLTextureManager::OGLTextureManager  ) 
 

Constructor

OGLTextureManager::~OGLTextureManager  ) 
 

Destructor


Member Function Documentation

HRESULT OGLTextureManager::addTexture std::string  strFilename,
const int  value
[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

Implements textureManagerInterface.

void OGLTextureManager::setTexture const int  value  )  [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

Implements textureManagerInterface.


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