diff options
| author | jussi | 2023-11-30 02:50:00 +0200 |
|---|---|---|
| committer | jussi | 2023-11-30 02:50:00 +0200 |
| commit | aa03fffcb32e4a04589d74273c81316b39afacd9 (patch) | |
| tree | 862f1ebed684982a68221aae94e5384ff4473480 /ReiLua_API.lua | |
| parent | 8882d2ff2c4c77c08a5c5b0931a70ff906ecbdb5 (diff) | |
| download | reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.tar.gz reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.tar.bz2 reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.zip | |
Raygui textures with SetShapesTexture.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index b1b6500..baccf5e 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -3314,6 +3314,11 @@ function RL.ImageDrawTextEx( dst, font, text, position, fontSize, spacing, tint -- Textures - Texture loading functions +---Get default texture. Return as lightuserdata +---- Success return Texture +---@return any texture +function RL.GetTextureDefault() end + ---Load texture from file into GPU memory ( VRAM ) ---- Failure return nil ---- Success return Texture @@ -3590,8 +3595,9 @@ function RL.GetPixelDataSize( width, height, format ) end -- Text - Font loading/unloading functions ---Get the default Font. Return as lightuserdata ----@return any RL.GetFontDefault -function RL.GetFontDefault() end +---- Success return Font +---@return any font +function RL.GetFontDefault() end ---Load font from file into GPU memory (VRAM) ---- Failure return nil |
