RawImage

RawImage
Declaration
class RawImage : public Image;
Description

RawImage actually allocates image content in system memory, allowing it to be accessed directly through GetImageData.

Methods
Method 
Description 
Creates a new raw image of specified size, format and capabilities and is allocated in the specified memory heap. 
Decodes image into the destination ImageData, potentially converting data a scanline at a time. 
 
Returns the current object as a Render::Image pointer. 
Returns the format (ImageFormat) of this image. 
Fills in the ImageData data structure, that can be used to access image bits. 
Returns the image type (ImageType) for this image. 
Obtains the number of mipmaps of the texture in the raw image. 
Obtains the logical dimensions of the images. 
Obtains the texture pointer from the data, intended for use with a given renderer. 
Returns the use flag set for the image. 
 
Map 
Maps texture contents to user memory and causes the specified mipmap level of the texture to be accessible in system memory. 
Sets the ImageData data structure, used to access image bits. 
Ends access to texture memory (from Map). 
File

Render_Image.h