summaryrefslogtreecommitdiff
path: root/include/lua_core.h
diff options
context:
space:
mode:
authorjussi2023-10-30 00:04:11 +0200
committerjussi2023-10-30 00:04:11 +0200
commitd287078c658d26d41a28f92b62b023048c5503ce (patch)
treefb045110fde9329782d21324cc7a9092128a1126 /include/lua_core.h
parent992310fb90832ddf493ec33f1099dbbf3e0987f3 (diff)
downloadreilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.tar.gz
reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.tar.bz2
reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.zip
Userdata objects can be referenced with lightuserdata.
Diffstat (limited to 'include/lua_core.h')
-rw-r--r--include/lua_core.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/lua_core.h b/include/lua_core.h
index 861b235..f8c94ac 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -57,6 +57,21 @@ Ray uluaGetRay( lua_State *L );
Ray uluaGetRayIndex( lua_State *L, int index );
NPatchInfo uluaGetNPatchInfo( lua_State *L );
NPatchInfo uluaGetNPatchInfoIndex( lua_State *L, int index );
+Image* uluaGetImage( lua_State *L, int index );
+Texture* uluaGetTexture( lua_State *L, int index );
+RenderTexture* uluaGetRenderTexture( lua_State *L, int index );
+Shader* uluaGetShader( lua_State *L, int index );
+Mesh* uluaGetMesh( lua_State *L, int index );
+Camera2D* uluaGetCamera2D( lua_State *L, int index );
+Camera3D* uluaGetCamera3D( lua_State *L, int index );
+Font* uluaGetFont( lua_State *L, int index );
+Wave* uluaGetWave( lua_State *L, int index );
+Sound* uluaGetSound( lua_State *L, int index );
+Music* uluaGetMusic( lua_State *L, int index );
+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 );
/* Push types. */
void uluaPushColor( lua_State *L, Color color );
void uluaPushVector2( lua_State *L, Vector2 vector );