summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--parser/output/raylib_api.json30
-rw-r--r--parser/output/raylib_api.lua18
-rw-r--r--parser/output/raylib_api.txt16
-rw-r--r--parser/output/raylib_api.xml8
4 files changed, 36 insertions, 36 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json
index 5e3fc2c4..a556c84b 100644
--- a/parser/output/raylib_api.json
+++ b/parser/output/raylib_api.json
@@ -7184,6 +7184,21 @@
]
},
{
+ "name": "ImageFromChannel",
+ "description": "Create an image from a selected channel of another image (GRAYSCALE/R16/R32)",
+ "returnType": "Image",
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "selectedChannel"
+ }
+ ]
+ },
+ {
"name": "ImageText",
"description": "Create an image from text (default font)",
"returnType": "Image",
@@ -7230,21 +7245,6 @@
]
},
{
- "name": "ImageFromChannel",
- "description": "Create an image from a selected channel of another image",
- "returnType": "Image",
- "params": [
- {
- "type": "Image",
- "name": "image"
- },
- {
- "type": "int",
- "name": "selectedChannel"
- }
- ]
- },
- {
"name": "ImageFormat",
"description": "Convert image data to desired format",
"returnType": "void",
diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua
index 37ec004b..cefb37e1 100644
--- a/parser/output/raylib_api.lua
+++ b/parser/output/raylib_api.lua
@@ -5522,6 +5522,15 @@ return {
}
},
{
+ name = "ImageFromChannel",
+ description = "Create an image from a selected channel of another image (GRAYSCALE/R16/R32)",
+ returnType = "Image",
+ params = {
+ {type = "Image", name = "image"},
+ {type = "int", name = "selectedChannel"}
+ }
+ },
+ {
name = "ImageText",
description = "Create an image from text (default font)",
returnType = "Image",
@@ -5544,15 +5553,6 @@ return {
}
},
{
- name = "ImageFromChannel",
- description = "Create an image from a selected channel of another image",
- returnType = "Image",
- params = {
- {type = "Image", name = "image"},
- {type = "int", name = "selectedChannel"}
- }
- },
- {
name = "ImageFormat",
description = "Convert image data to desired format",
returnType = "void",
diff --git a/parser/output/raylib_api.txt b/parser/output/raylib_api.txt
index 5f62c2e1..59f418d6 100644
--- a/parser/output/raylib_api.txt
+++ b/parser/output/raylib_api.txt
@@ -2773,14 +2773,20 @@ Function 293: ImageFromImage() (2 input parameters)
Description: Create an image from another image piece
Param[1]: image (type: Image)
Param[2]: rec (type: Rectangle)
-Function 294: ImageText() (3 input parameters)
+Function 294: ImageFromChannel() (2 input parameters)
+ Name: ImageFromChannel
+ Return type: Image
+ Description: Create an image from a selected channel of another image (GRAYSCALE/R16/R32)
+ Param[1]: image (type: Image)
+ Param[2]: selectedChannel (type: int)
+Function 295: ImageText() (3 input parameters)
Name: ImageText
Return type: Image
Description: Create an image from text (default font)
Param[1]: text (type: const char *)
Param[2]: fontSize (type: int)
Param[3]: color (type: Color)
-Function 295: ImageTextEx() (5 input parameters)
+Function 296: ImageTextEx() (5 input parameters)
Name: ImageTextEx
Return type: Image
Description: Create an image from text (custom sprite font)
@@ -2789,12 +2795,6 @@ Function 295: ImageTextEx() (5 input parameters)
Param[3]: fontSize (type: float)
Param[4]: spacing (type: float)
Param[5]: tint (type: Color)
-Function 296: ImageFromChannel() (2 input parameters)
- Name: ImageFromChannel
- Return type: Image
- Description: Create an image from a selected channel of another image
- Param[1]: image (type: Image)
- Param[2]: selectedChannel (type: int)
Function 297: ImageFormat() (2 input parameters)
Name: ImageFormat
Return type: void
diff --git a/parser/output/raylib_api.xml b/parser/output/raylib_api.xml
index bafb8a65..27499123 100644
--- a/parser/output/raylib_api.xml
+++ b/parser/output/raylib_api.xml
@@ -1798,6 +1798,10 @@
<Param type="Image" name="image" desc="" />
<Param type="Rectangle" name="rec" desc="" />
</Function>
+ <Function name="ImageFromChannel" retType="Image" paramCount="2" desc="Create an image from a selected channel of another image (GRAYSCALE/R16/R32)">
+ <Param type="Image" name="image" desc="" />
+ <Param type="int" name="selectedChannel" desc="" />
+ </Function>
<Function name="ImageText" retType="Image" paramCount="3" desc="Create an image from text (default font)">
<Param type="const char *" name="text" desc="" />
<Param type="int" name="fontSize" desc="" />
@@ -1810,10 +1814,6 @@
<Param type="float" name="spacing" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
- <Function name="ImageFromChannel" retType="Image" paramCount="2" desc="Create an image from a selected channel of another image">
- <Param type="Image" name="image" desc="" />
- <Param type="int" name="selectedChannel" desc="" />
- </Function>
<Function name="ImageFormat" retType="void" paramCount="2" desc="Convert image data to desired format">
<Param type="Image *" name="image" desc="" />
<Param type="int" name="newFormat" desc="" />