summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.json
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.json
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.json')
-rw-r--r--parser/output/raylib_api.json29
1 files changed, 28 insertions, 1 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json
index 5af2b9ae..4438ab0d 100644
--- a/parser/output/raylib_api.json
+++ b/parser/output/raylib_api.json
@@ -6242,7 +6242,7 @@
},
{
"name": "GenImageGradientLinear",
- "description": "Generate image: linear gradient",
+ "description": "Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient",
"returnType": "Image",
"params": [
{
@@ -6295,6 +6295,33 @@
]
},
{
+ "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",