mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Lots changed: ImageData can now encode itself to any format you like as long as it's tga, love.filesystem can now write data to files, added EncodedImageData class.
This commit is contained in:
@@ -76,6 +76,10 @@ namespace image
|
||||
* @return The new ImageData.
|
||||
**/
|
||||
virtual ImageData * newImageData(int width, int height, void *data) = 0;
|
||||
|
||||
enum ImageFormat {
|
||||
FORMAT_TGA
|
||||
};
|
||||
|
||||
}; // Image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user