|
| Image () |
|
virtual | ~Image () |
|
| Image (const Image &rhs) |
|
Image & | operator= (const Image &rhs) |
|
unsigned | getWidth (unsigned mipmap=0) const |
|
unsigned | getHeight (unsigned mipmap=0) const |
|
unsigned | getDepth (unsigned mipmap=0) const |
|
unsigned | getBytesPerPixel () const |
|
unsigned | getBytesPerBlock () const |
|
unsigned | getBytesPerChannel () const |
|
unsigned | getChannelCount () const |
|
unsigned | getMipmapCount () const |
|
unsigned | getPixelCount () const |
|
unsigned | getLineSize (unsigned mipmap=0) const |
|
unsigned | getMipmapSize (unsigned mipmap) const |
|
unsigned | getMipmapRangeSize (unsigned firstMipmap, unsigned mipmaps) const |
|
unsigned | getImageSize () const |
|
DataType | getDataType () const |
|
ChannelFormat | getChannelFormat () const |
|
TextureType | getTextureType () const |
|
unsigned char * | getPixels () |
|
unsigned char * | getMipmapPixels (unsigned mipmap) |
|
unsigned char * | getCubeMipmapPixels (unsigned cubeside, unsigned mipmap) |
|
unsigned char * | get3DSliceMipmapPixels (unsigned slice, unsigned mipmap) |
|
void | clear () |
|
void | init (unsigned width, unsigned height, unsigned depth, unsigned mipmaps, DataType dataType, ChannelFormat channelFormat) |
|
void | init (unsigned width, unsigned height, unsigned bpp) |
|
bool | isLoaded () const |
|
virtual bool | load (std::string filename) |
|
virtual bool | save (std::string filename, int compression_level=-1) |
|