lua/wrappers/gfx/lua_texture.cpp
/**
	 * Returns the pixel height of the texture. Returns 0 if the texture isn't loaded.
	 *
	 * @returns integer The height of the texture.
	 */
Returns the pixel height of the texture. Returns 0 if the texture isn't loaded.
@returns integer The height of the texture.
Returns the pixel height of the texture . Returns 0 if the texture isn ' t loaded . @returns integer The height of the texture .
int Texture_height(lua_State *lua)
	{
		Texture *texture = castUData<Texture>(lua, 1);
		if (texture)
		{
			lua_pushinteger(lua, texture->getHeight());
			return 1;
		}
		return LuaState::expectedContext(lua, "height", "am.texture");
	}
int Texture_height ( lua_State * lua ) { Texture * texture = castUData < Texture > ( lua , 1 ) ; if ( texture ) { lua_pushinteger ( lua , texture -> getHeight ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns the pixel height of the texture.
Returns the pixel height of the texture .