From 6e17282197320bfc3af6a225fb3d9e13194022fa Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 24 Aug 2023 20:19:13 +0300 Subject: GetFontTexture. --- ReiLua_API.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'ReiLua_API.lua') 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 -- cgit v1.2.3