HGE::Texture_GetHeight

Returns a texture height in pixels.

int Texture_GetHeight(
  HTEXTURE texture,
  bool bOriginal = false
);

Parameters

texture
Handle of the texture which height will be returned.
bOriginal
If false or omitted, the texture height in video memory is returned.
If true original image file height is returned.

Return value

Returns the texture height in pixels.

Requirements

Header: hge.h
Import library: hge.lib

See also

Texture_GetWidth