summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-08-24 20:19:13 +0300
committerjussi2023-08-24 20:19:13 +0300
commit6e17282197320bfc3af6a225fb3d9e13194022fa (patch)
treee0be6b9033481c99dd76f3791927a5e9080989b2 /API.md
parent3fc07a02d5213a88ebb555d3133af2746600cf61 (diff)
downloadreilua-enhanced-6e17282197320bfc3af6a225fb3d9e13194022fa.tar.gz
reilua-enhanced-6e17282197320bfc3af6a225fb3d9e13194022fa.tar.bz2
reilua-enhanced-6e17282197320bfc3af6a225fb3d9e13194022fa.zip
GetFontTexture.
Diffstat (limited to 'API.md')
-rw-r--r--API.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/API.md b/API.md
index 564daec..dcf5d62 100644
--- a/API.md
+++ b/API.md
@@ -3579,7 +3579,7 @@ Get texture mipmaps. Mipmap levels, 1 by default
> format = RL.GetTextureFormat( Texture2D texture )
-Get texture mipmaps. Mipmap levels, 1 by default
+Get texture data format ( PixelFormat type )
- Failure return false
- Success return int
@@ -3802,7 +3802,7 @@ Measure string size for Font
> baseSize = RL.GetFontBaseSize( Font font )
-Get font baseSize
+Get font base size ( default chars height )
- Failure return false
- Success return int
@@ -3811,7 +3811,7 @@ Get font baseSize
> glyphCount = RL.GetFontGlyphCount( Font font )
-Get font glyphCount
+Get font number of glyph characters
- Failure return false
- Success return int
@@ -3820,13 +3820,22 @@ Get font glyphCount
> glyphPadding = RL.GetFontGlyphPadding( Font font )
-Get font glyphPadding
+Get font padding around the glyph characters
- Failure return false
- Success return int
---
+> textureTable = RL.GetFontTexture( Font font )
+
+Get font texture atlas containing the glyphs. NOTE! Texture in table form.
+
+- Failure return false
+- Success return table
+
+---
+
## Models - Basic
---