diff options
| author | jussi | 2023-04-07 15:09:27 +0300 |
|---|---|---|
| committer | jussi | 2023-04-07 15:09:27 +0300 |
| commit | 3cc1af265f982d869d095267f837f60733c89778 (patch) | |
| tree | 37a0da63f8f3d43bce7ec8c321e69d2f9d442c7f /ReiLua_API.lua | |
| parent | 9e7f538a38eb66430f919eec1d5cfa3a7a1efe8c (diff) | |
| download | reilua-enhanced-3cc1af265f982d869d095267f837f60733c89778.tar.gz reilua-enhanced-3cc1af265f982d869d095267f837f60733c89778.tar.bz2 reilua-enhanced-3cc1af265f982d869d095267f837f60733c89778.zip | |
GenImagePerlinNoise and GenImageText. Get indexed functions for types.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 17 |
1 files changed, 17 insertions, 0 deletions
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 ) |
