Revision Release 2022.3683 Keywords iOS, Solar2D Native, C, CoronaGraphics.h, CoronaExternalGetUserData See also CoronaGraphics.h Corona C Functions
Returns the userData
that was assigned to a Lua TextureResourceExternal object which was created by a call to the CoronaExternalPushTexture() function. This function is useful when implementing the callback.onGetField()
callback.
Returns NULL
if the given stack index doesn't reference a texture object.
void* CoronaExternalGetUserData( lua_State *L, int index )
Pointer to the Lua state from which to access the Lua TextureResourceExternal object.