#include <Texture.h>
Public Member Functions | |
| ImageHandle () | |
| ~ImageHandle () | |
| void | CopyData (char *dest) |
| Copies GetWidth()*GetHeight()*GetBlockSize() bytes of data from the image data to the memory pointed to by dest. | |
| short | GetWidth () |
| Get the width of the current image. | |
| short | GetHeight () |
| Get the height of the current image. | |
| short | GetBlockSize () |
| Get the block size of the current image. | |
Protected Attributes | |
| char * | data |
| short | width |
| short | height |
| size_t | blockSize |
Friends | |
| class | Texture |
| ImageHandle::ImageHandle | ( | ) | [inline] |
| ImageHandle::~ImageHandle | ( | ) | [inline] |
| void ImageHandle::CopyData | ( | char * | dest | ) |
Copies GetWidth()*GetHeight()*GetBlockSize() bytes of data from the image data to the memory pointed to by dest.
| dest | A pointer to previously allocated data of at least size GetWidth()*GetHeight()*GetBlockSize() to hold the image data. |
| short ImageHandle::GetBlockSize | ( | ) | [inline] |
Get the block size of the current image.
| short ImageHandle::GetHeight | ( | ) | [inline] |
Get the height of the current image.
| short ImageHandle::GetWidth | ( | ) | [inline] |
Get the width of the current image.
friend class Texture [friend] |
size_t ImageHandle::blockSize [protected] |
char* ImageHandle::data [protected] |
short ImageHandle::height [protected] |
short ImageHandle::width [protected] |
1.4.7