GenImagePerlinNoise and GenImageText. Get indexed functions for types.

This commit is contained in:
jussi
2023-04-07 15:09:27 +03:00
parent 9e7f538a38
commit 3cc1af265f
8 changed files with 224 additions and 97 deletions

View File

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