A namespace that provides functions for creating OpenGL textures.
GLCore
GLTextures.h
A namespace that provides functions for creating OpenGL textures. | |
Creates an OpenGL texture from a wxImage object. | |
Reads a set of images from a file and uses them to create OpenGL textures. |
|
Creates an OpenGL texture from a wxImage object.
| image | A wxImage to convert to an OpenGL texture. |
| mipmap | Whether the OpenGL texture should be created as a set of mipmaps. |
A GLuint that is the OpenGL texture ID of the created texture.
|
Reads a set of images from a file and uses them to create OpenGL textures. Calls BuildTexture for each image read from the file.
| size | The number of images to be read from the file. |
| pList | The array of GLuint texture values where the newly created OpenGL texture ids will be stored. |
| filename | The path to the file used to load images. |
| mipmap | Whether the OpenGL textures should be created as sets of mipmaps. |
|
|