Userdata objects can be referenced with lightuserdata.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user