This reference page is linked to from the following overview topics: Textures.
#include <image.h>
Public Member Functions |
|
virtual bool | Load (const QString &sFileName) |
Load an environment map from the given file.
|
|
virtual unsigned int | ConvertToOpenGLTexture (void) |
Convert the loaded environment map into an
opengl texture. |
|
Protected Member Functions |
|
EnvironmentMap (void) |
EnvironmentMap | ( | void | ) | [protected] |
virtual bool Load | ( | const QString & | sFileName | ) | [virtual] |
Load an environment map from the given file.
The format of the map must be determined from the file name, or the file content itself. Should return true when the loading was successfull.
virtual unsigned int ConvertToOpenGLTexture | ( | void | ) | [virtual] |
Convert the loaded environment map into an opengl texture.
This texture must remain valid after the environment map object is deleted.