summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.lua
diff options
context:
space:
mode:
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",