lua/wrappers/gfx/lua_texture.cpp
/**
	 * Returns true when the texture has loaded successfully.
	 *
	 * @returns boolean True when the texture is loaded.
	 */
Returns true when the texture has loaded successfully.
@returns boolean True when the texture is loaded.
Returns true when the texture has loaded successfully . @returns boolean True when the texture is loaded .
int Texture_is_loaded(lua_State *lua)
	{
		Texture *texture = castUData<Texture>(lua, 1);
		if (texture)
		{
			lua_pushboolean(lua, texture->isLoaded());
			return 1;
		}
		return LuaState::expectedContext(lua, "is_loaded", "am.texture");
	}
int Texture_is_loaded ( lua_State * lua ) { Texture * texture = castUData < Texture > ( lua , 1 ) ; if ( texture ) { lua_pushboolean ( lua , texture -> isLoaded ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns true when the texture has loaded successfully.
Returns true when the texture has loaded successfully .