Browse Source

Update raylib_api.* by CI

github-actions[bot] 1 year ago
parent
commit
d8214c916e

+ 15 - 15
parser/output/raylib_api.json

@@ -7183,6 +7183,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)",
@@ -7229,21 +7244,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",

+ 9 - 9
parser/output/raylib_api.lua

@@ -5521,6 +5521,15 @@ return {
         {type = "Rectangle", name = "rec"}
       }
     },
+    {
+      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)",
@@ -5543,15 +5552,6 @@ return {
         {type = "Color", name = "tint"}
       }
     },
-    {
-      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",

+ 8 - 8
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

+ 4 - 4
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="" />