unsigned char *data() const;
GLfloat width() const;
GLfloat height() const;
- GLuint format() const;
+ GLenum format() const;
+ GLint internalFormat() const;
+ GLenum type() const;
private:
#ifdef __APPLE__
CFDataRef dataRef;
CGImageAlphaInfo alphaInfo;
CGColorSpaceRef colorSpace;
GLfloat _width, _height;
+ size_t bitsPerComponent;
#endif
};