ImageData::Initialize

ImageData::Initialize
bool Initialize(ImageFormat format, unsigned mipLevels, bool separateMipmaps = false);
Description

Initialize initializes the ImageData object to accommodate the specified image format and number of mipmaps. If separateMipmaps is specified, stores all mipmaps in a single raw data plane.

Parameters
Parameters 
Description 
ImageFormat format 
The format of the image. See ImageFormat
unsigned mipLevels 
The number of mipmap levels in the image. 
bool separateMipmaps = false 
A Boolean flag to indicate whether to store all mipmaps in a single raw data plane or not. 
Return Value