|
LuaBox
|
#include "lua_include.h"#include "global.h"Go to the source code of this file.
Functions | |
| int | DisplayGetPixel (lua_State *L_) |
| Get the color of a pixel from the sprite buffer. | |
| int DisplayGetPixel | ( | lua_State * | L_ | ) |
Get the color of a pixel from the sprite buffer.
This function reads the color of a specific pixel from the sprite buffer. The color is returned as a 16-bit RGB565 value.
| L_ | Lua state; expects arguments in order: 1: x (X coordinate of the pixel) 2: y (Y coordinate of the pixel) |