From 3cc1af265f982d869d095267f837f60733c89778 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 7 Apr 2023 15:09:27 +0300 Subject: GenImagePerlinNoise and GenImageText. Get indexed functions for types. --- ReiLua_API.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 97edbde..0063eba 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2127,6 +2127,15 @@ function RL.GenImageChecked( size, checks, col1, col2 ) end ---@return any image function RL.GenImageWhiteNoise( size, factor ) end +---Generate image: perlin noise +---- Failure return -1 +---- Success return int +---@param size table +---@param offset table +---@param factor number +---@return any image +function RL.GenImagePerlinNoise( size, offset, factor ) end + ---Generate image: cellular algorithm. Bigger tileSize means bigger cells ---- Failure return -1 ---- Success return int @@ -2135,6 +2144,14 @@ function RL.GenImageWhiteNoise( size, factor ) end ---@return any image function RL.GenImageCellular( size, tileSize ) end +---Generate image: grayscale image from text data +---- Failure return -1 +---- Success return int +---@param size table +---@param text string +---@return any image +function RL.GenImageText( size, text ) end + -- Textures - Image Manipulation Functions ---Create an image duplicate ( useful for transformations ) -- cgit v1.2.3