Public Member Functions | |
int | read (FILE *fp) |
void | write (FILE *fp=stdout) |
void | setUpOpenGL (void) |
Public Attributes | |
int | index |
char | filename [STRING_BUFFER_SIZE] |
Image32 * | img |
GLuint | openGLHandle |
|
This method reads in the texture file name from the .ray file and reads the texture from the specified file. |
|
This method sets up the OpenGL texture |
|
This method writes out the texture file name to a .ray file. If no file is specified, the file name is written out to stdout. |
|
The name of the texture file |
|
The image used as a texture |
|
The index of the texture within the scene |
|
The texture handle for OpenGL rendering |