LuaBox
Loading...
Searching...
No Matches
DisplayPixel.h File Reference
#include "lua_include.h"
#include "global.h"

Go to the source code of this file.

Functions

int DisplayPixel (lua_State *L_)
 Draw a single pixel on the sprite buffer.

Function Documentation

◆ DisplayPixel()

int DisplayPixel ( lua_State * L_)

Draw a single pixel on the sprite buffer.

Parameters
L_Lua state; expects arguments: 1: x (X coordinate), 2: y (Y coordinate), 3: color (16-bit RGB565).
Returns
int Pushes no values to Lua stack.
Note
The sprite uses 16-bit RGB565 color format.