Reorganize ImageData:set/mapPixel code so less of it is in the Lua wrapper and more of it is in the ImageData class itself.

This commit is contained in:
Alex Szpakowski
2019-09-21 21:48:03 -03:00
parent c4fac73dc4
commit e11d43507e
5 changed files with 461 additions and 373 deletions
+5
View File
@@ -135,4 +135,9 @@ bool isPixelFormatStencil(PixelFormat format);
**/
size_t getPixelFormatSize(PixelFormat format);
/**
* Gets the number of color components in the given pixel format.
**/
int getPixelFormatColorComponents(PixelFormat format);
} // love