virtual ImageSource* ReadImageSource(File* file, const ImageCreateArgs& args = ImageCreateArgs()) const;
ReadImageSource reads DDS image file and creates an ImageSource object from which the DDS data can be decoded.
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. |
An ImageSource pointer to the created image. Null if the image data could not be loaded.