From aa03fffcb32e4a04589d74273c81316b39afacd9 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 30 Nov 2023 02:50:00 +0200 Subject: Raygui textures with SetShapesTexture. --- ReiLua_API.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ReiLua_API.lua') 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 -- cgit v1.2.3