summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.lua
diff options
context:
space:
mode:
authorDane Madsen <[email protected]>2023-05-22 23:20:28 +1000
committerGitHub <[email protected]>2023-05-22 15:20:28 +0200
commita4a6d4da8a26d131bc3f3e643f6fe51de281d15f (patch)
tree62aaabf5222f158dc1ac4e861e499611d0d1303a /parser/output/raylib_api.lua
parent84ae26cdc0ab22e7721552647cd6c30d8a478bae (diff)
downloadraylib-a4a6d4da8a26d131bc3f3e643f6fe51de281d15f.tar.gz
raylib-a4a6d4da8a26d131bc3f3e643f6fe51de281d15f.zip
Add GenImageGradientSquare (#3077)
* Add GenImageGradientSquare to allow square gradients * Fix GenImageGradientSquare and add to textures_image_generation example * Remove params from GenImageGradientSquare
Diffstat (limited to 'parser/output/raylib_api.lua')
-rw-r--r--parser/output/raylib_api.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua
index e7101f51..79b3a928 100644
--- a/parser/output/raylib_api.lua
+++ b/parser/output/raylib_api.lua
@@ -4997,7 +4997,7 @@ return {
},
{
name = "GenImageGradientLinear",
- description = "Generate image: linear gradient",
+ description = "Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient",
returnType = "Image",
params = {
{type = "int", name = "width"},
@@ -5020,6 +5020,18 @@ return {
}
},
{
+ name = "GenImageGradientSquare",
+ description = "Generate image: square gradient",
+ returnType = "Image",
+ params = {
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "float", name = "density"},
+ {type = "Color", name = "inner"},
+ {type = "Color", name = "outer"}
+ }
+ },
+ {
name = "GenImageChecked",
description = "Generate image: checked",
returnType = "Image",