diff options
| author | jussi | 2023-08-24 20:19:13 +0300 |
|---|---|---|
| committer | jussi | 2023-08-24 20:19:13 +0300 |
| commit | 6e17282197320bfc3af6a225fb3d9e13194022fa (patch) | |
| tree | e0be6b9033481c99dd76f3791927a5e9080989b2 /ReiLua_API.lua | |
| parent | 3fc07a02d5213a88ebb555d3133af2746600cf61 (diff) | |
| download | reilua-enhanced-6e17282197320bfc3af6a225fb3d9e13194022fa.tar.gz reilua-enhanced-6e17282197320bfc3af6a225fb3d9e13194022fa.tar.bz2 reilua-enhanced-6e17282197320bfc3af6a225fb3d9e13194022fa.zip | |
GetFontTexture.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index f5505ea..7a19f28 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2975,7 +2975,7 @@ function RL.GetTextureSize( texture ) end ---@return any mipmaps function RL.GetTextureMipmaps( texture ) end ----Get texture mipmaps. Mipmap levels, 1 by default +---Get texture data format ( PixelFormat type ) ---- Failure return false ---- Success return int ---@param texture any @@ -3174,27 +3174,34 @@ function RL.DrawTextPro( font, text, position, origin, rotation, fontSize, spaci ---@return any size function RL.MeasureText( font, text, fontSize, spacing ) end ----Get font baseSize +---Get font base size ( default chars height ) ---- Failure return false ---- Success return int ---@param font any ---@return any baseSize function RL.GetFontBaseSize( font ) end ----Get font glyphCount +---Get font number of glyph characters ---- Failure return false ---- Success return int ---@param font any ---@return any glyphCount function RL.GetFontGlyphCount( font ) end ----Get font glyphPadding +---Get font padding around the glyph characters ---- Failure return false ---- Success return int ---@param font any ---@return any glyphPadding function RL.GetFontGlyphPadding( font ) end +---Get font texture atlas containing the glyphs. NOTE! Texture in table form. +---- Failure return false +---- Success return table +---@param font any +---@return any textureTable +function RL.GetFontTexture( font ) end + -- Models - Basic ---Draw a line in 3D world space |
