Documentation, heightmap example and custom begin and end draw.

This commit is contained in:
jussi
2022-02-22 19:09:57 +02:00
parent a7f58b3261
commit 30ae308c9b
11 changed files with 167 additions and 6 deletions

View File

@@ -494,6 +494,28 @@ int lcoreClearBackground( lua_State *L ) {
return 1;
}
/*
> RL_BeginDrawing()
Setup canvas ( framebuffer ) to start drawing
*/
int lcoreBeginDrawing( lua_State *L ) {
BeginDrawing();
return 1;
}
/*
> RL_EndDrawing()
End canvas drawing and swap buffers ( double buffering )
*/
int lcoreEndDrawing( lua_State *L ) {
EndDrawing();
return 1;
}
/*
> success = RL_BeginBlendMode( int mode )