diff options
| author | jussi | 2023-12-15 12:52:28 +0200 |
|---|---|---|
| committer | jussi | 2023-12-15 12:52:28 +0200 |
| commit | 917ce853fcfb212e2343b6b2dac816b14ee50e46 (patch) | |
| tree | f1793b99632d5c12ac7e6a06ae7fc2ead25c5650 /include | |
| parent | ba4595305fe426f81233ebbb20fc94cd86d07af9 (diff) | |
| download | reilua-enhanced-917ce853fcfb212e2343b6b2dac816b14ee50e46.tar.gz reilua-enhanced-917ce853fcfb212e2343b6b2dac816b14ee50e46.tar.bz2 reilua-enhanced-917ce853fcfb212e2343b6b2dac816b14ee50e46.zip | |
Rest of rlRenderBatch functions.
Diffstat (limited to 'include')
| -rw-r--r-- | include/lrlgl.h | 4 | ||||
| -rw-r--r-- | include/lua_core.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/lrlgl.h b/include/lrlgl.h index 57e7060..71d9641 100644 --- a/include/lrlgl.h +++ b/include/lrlgl.h @@ -84,6 +84,10 @@ int lrlglGetTextureIdDefault( lua_State *L ); int lrlglGetShaderIdDefault( lua_State *L ); int lrlglGetShaderLocsDefault( lua_State *L ); /* Render batch management */ +int lrlglLoadRenderBatch( lua_State *L ); +int lrlglUnloadRenderBatch( lua_State *L ); +int lrlglDrawRenderBatch( lua_State *L ); +int lrlglSetRenderBatchActive( lua_State *L ); int lrlglDrawRenderBatchActive( lua_State *L ); int lrlglCheckRenderBatchLimit( lua_State *L ); int lrlglSetTexture( lua_State *L ); diff --git a/include/lua_core.h b/include/lua_core.h index df3f1d6..ba56f27 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -64,6 +64,7 @@ Light* uluaGetLight( lua_State *L, int index ); Material* uluaGetMaterial( lua_State *L, int index ); Model* uluaGetModel( lua_State *L, int index ); ModelAnimation* uluaGetModelAnimation( lua_State *L, int index ); +rlRenderBatch* uluaGetRLRenderBatch( lua_State *L, int index ); /* Lua push types. */ void uluaPushColor( lua_State *L, Color color ); void uluaPushVector2( lua_State *L, Vector2 vector ); @@ -94,5 +95,6 @@ void uluaPushMaterial( lua_State *L, Material material ); void uluaPushMesh( lua_State *L, Mesh mesh ); void uluaPushModel( lua_State *L, Model model ); void uluaPushModelAnimation( lua_State *L, ModelAnimation modelAnimation ); +void uluaPushRLRenderBatch( lua_State *L, rlRenderBatch renderBatch ); /* Utils. */ int uluaGetTableLen( lua_State *L, int index ); |
