GenImagePerlinNoise and GenImageText. Get indexed functions for types.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user