#include <Texture.h>
Public Member Functions | |
| Texture () | |
| Texture (int _ind, const QImage &_img, bool _bound) | |
Public Attributes | |
| QImage | img |
| int | ind |
| index of for the textures table in the GLWidget where we should find the proper id. | |
| bool | bound |
| is this a real texture that is bound in the GL context or not? for instance, the big Little Genius texture is not bound to a GL context. | |
It holds the original QImage of the texture and its index in GLWidget tables.
| Texture::Texture | ( | ) | [inline] |
| Texture::Texture | ( | int | _ind, | |
| const QImage & | _img, | |||
| bool | _bound | |||
| ) | [inline] |
| QImage Texture::img |
| int Texture::ind |
index of for the textures table in the GLWidget where we should find the proper id.
| bool Texture::bound |
is this a real texture that is bound in the GL context or not? for instance, the big Little Genius texture is not bound to a GL context.
only small subsets of it are.