summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua15
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