Revision as of 01:58, 25 March 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2011.6<br/> '''<translate>Class</translate>:''' TextureBase<br/> === Descr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: TextureBase


Returns the size of a texel that is 1/(gpu texture width), 1/(gpu texture height).

(number), (number) = TextureBase:getTexelSize()

Return values

Returns (number) the width of the texel: 1/(gpu texture width)
Returns (number) the height of the texel: 1/(gpu texture height)