- //! Creates a software images from a file.\r
- /** No hardware texture will be created for those images. This\r
- method is useful for example if you want to read a heightmap\r
- for a terrain renderer.\r
- \param filename Name of the file from which the images are created.\r
- \param type Pointer to E_TEXTURE_TYPE where a recommended type of the texture will be stored.\r
- \return The array of created images.\r
- If you no longer need those images, you should call IImage::drop() on each of them.\r
- See IReferenceCounted::drop() for more information. */\r
- virtual core::array<IImage*> createImagesFromFile(const io::path& filename, E_TEXTURE_TYPE* type = 0) = 0;\r
-\r
- //! Creates a software images from a file.\r
- /** No hardware texture will be created for those images. This\r
- method is useful for example if you want to read a heightmap\r
- for a terrain renderer.\r
- \param file File from which the image is created.\r
- \param type Pointer to E_TEXTURE_TYPE where a recommended type of the texture will be stored.\r
- \return The array of created images.\r
- If you no longer need those images, you should call IImage::drop() on each of them.\r
- See IReferenceCounted::drop() for more information. */\r
- virtual core::array<IImage*> createImagesFromFile(io::IReadFile* file, E_TEXTURE_TYPE* type = 0) = 0;\r
-\r