summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lrlgl.h4
-rw-r--r--include/lua_core.h2
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 );