lua/wrappers/gfx/lua_texture.cpp
/**
	 * Releases the reference counter on the texture.
	 */
Releases the reference counter on the texture.
Releases the reference counter on the texture .
int Texture_dtor(lua_State *lua)
	{
		Texture *asset = castUData<Texture>(lua, 1);
		if (asset)
		{
			asset->release();
		}
		return 0;
	}
int Texture_dtor ( lua_State * lua ) { Texture * asset = castUData < Texture > ( lua , 1 ) ; if ( asset ) { asset -> release ( ) ; } return 0 ; }
Releases the reference counter on the texture.
Releases the reference counter on the texture .