#include <TextureManager.h>
Public Attributes | |
| string | filename |
| Texture filename. | |
| GLuint | glId |
| OpenGL id of the texture. | |
| Uint32 | count |
| Number of objects using this texture. | |
| GLint | channels |
| Number of channels (more exactly: bytes per pixel). | |
| GLint | width |
| Width in pixels. | |
| GLint | height |
| Height in pixels. | |
| GLint | format |
| pixel format | |
| bool | repeat |
| tiling flag | |
Provides image loading and texture registration for all objects.
The actual texture data
| string textureEntry::filename |
Texture filename.
| GLuint textureEntry::glId |
OpenGL id of the texture.
| Uint32 textureEntry::count |
Number of objects using this texture.
| GLint textureEntry::channels |
Number of channels (more exactly: bytes per pixel).
| GLint textureEntry::width |
Width in pixels.
| GLint textureEntry::height |
Height in pixels.
| GLint textureEntry::format |
pixel format
| bool textureEntry::repeat |
tiling flag
1.5.6