HGE::Texture_GetWidth
Returns a texture width in pixels.
int Texture_GetWidth(
HTEXTURE texture,
bool bOriginal = false
);
Parameters
- texture
- Handle of the texture which width will be returned.
- bOriginal
- If false or omitted, the texture width in video memory is returned.
If true original image file width is returned.
Return value
Returns the texture width in pixels.
Requirements
Header: hge.h
Import library: hge.lib
See also
Texture_GetHeight
|