Main Page Namespace List Class Hierarchy Compound List Namespace Members Compound Members Related Pages
Image Class Reference
List of all members.
|
Public Methods |
bool | setURL (const char *url, const Doc2 *relative=0) |
bool | tryURLs (const MFString &urls, const Doc2 *relative=0) |
const char * | url () |
int | w () |
int | h () |
int | nc () |
int | nFrames () |
unsigned char * | pixels () |
unsigned char * | pixels (int frame) |
void | setSize (int w, int h) |
Private Attributes |
Doc * | d_url |
int | d_w |
int | d_h |
int | d_nc |
int | d_nFrames |
unsigned char * | d_pixels |
unsigned char ** | d_frame |
Detailed Description
The
Image class is a format-independent API for loading textures.