Texture_get_texel_width - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Gets the width of the given texture in pixels, and returns the result.

Parameters

  • texid, index of the texture

Return Values

Returns the width of the texture in pixels.

Example Call

texpwidth = texture_get_pixwidth(tex);

Demonstrates getting the width of a texture in pixels. NOTOC