GetFontTexture.

This commit is contained in:
jussi
2023-08-24 20:19:13 +03:00
parent 3fc07a02d5
commit 6e17282197
9 changed files with 72 additions and 14 deletions

17
API.md
View File

@@ -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
---