mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user