unsigned char * getPixels() const
method to access the pixel data pointer
GLuint getWidth() const noexcept
Get the width of the texture.
Image m_image
the actual image data loaded packed in r,g,b,a format in contiguous memory stored in a smart_pointer ...
const Image & getImage() const
simple texture object using QImage to load and convert to OpenGL texturing, needs loads of work for m...
GLuint getHeight() const noexcept
Get the height of the texture.
GLuint getFormat() const noexcept
Get the pixel format.