natiny_texture_get_height

C
uint32_t natiny_texture_get_height(NatinyTexture texture);

Returns the texture height in pixels.

Parameters

Name Type Description
texture NatinyTexture Texture handle from natiny_texture_create

Returns

Type Description
uint32_t Height in pixels, or 0 for an invalid handle

Example

C
uint32_t h = natiny_texture_get_height(tex);