FileReader::ReadImageSource

FileReader::ReadImageSource
virtual ImageSource* ReadImageSource(File* file, const ImageCreateArgs& args = ImageCreateArgs()) const;
Description

ReadImageSource reads DDS image file and creates an ImageSource object from which the DDS data can be decoded.

Parameters
Parameters 
Description 
File* file 
Pointer to the file stream from which the DDS image is read. 
const ImageCreateArgs& args = ImageCreateArgs() 
The image arguments, see ImageCreateArgs
Return Value

An ImageSource pointer to the created image. Null if the image data could not be loaded.