# cGenericTexture Class Reference
[Graphics]

cGenericTexture implements a base class for handling OpenGL textures. More...

`#include <CGenericTexture.h>`

Inheritance diagram for cGenericTexture:

[legend]

List of all members.

## Public Member Functions
| cGenericTexture ()
| Constructor of cGenericTexture.
virtual | ~cGenericTexture ()
| Destructor of cGenericTexture.
virtual bool | loadFromFile (const char *a_fileName)
| Load an image file (CHAI currently supports 24-bit .bmp and 32-bit .tga files).
virtual void | render ()
| Enable texturing and set this texture as the current texture.
virtual void | markForUpdate ()
| Call this to force texture re-initialization.

## Detailed Description

cGenericTexture implements a base class for handling OpenGL textures.

The documentation for this class was generated from the following file:

- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/graphics/CGenericTexture.h

CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.