Преглед на файлове

Update raylib_api.* by CI

github-actions[bot] преди 1 година
родител
ревизия
a805f46f55
променени са 4 файла, в които са добавени 177 реда и са изтрити 143 реда
  1. 15 0
      parser/output/raylib_api.json
  2. 9 0
      parser/output/raylib_api.lua
  3. 148 142
      parser/output/raylib_api.txt
  4. 5 1
      parser/output/raylib_api.xml

+ 15 - 0
parser/output/raylib_api.json

@@ -7229,6 +7229,21 @@
         }
       ]
     },
+    {
+      "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 - 0
parser/output/raylib_api.lua

@@ -5543,6 +5543,15 @@ 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",

Файловите разлики са ограничени, защото са твърде много
+ 148 - 142
parser/output/raylib_api.txt


+ 5 - 1
parser/output/raylib_api.xml

@@ -670,7 +670,7 @@
             <Param type="unsigned int" name="frames" desc="" />
         </Callback>
     </Callbacks>
-    <Functions count="572">
+    <Functions count="573">
         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
             <Param type="int" name="width" desc="" />
             <Param type="int" name="height" desc="" />
@@ -1810,6 +1810,10 @@
             <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="" />

Някои файлове не бяха показани, защото твърде много файлове са промени