summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.json
diff options
context:
space:
mode:
authorBLUELOVETH <[email protected]>2023-10-08 03:10:27 +0800
committerGitHub <[email protected]>2023-10-07 21:10:27 +0200
commit97c2744a16ad7e6cf6b546a7a6416ec6b21e3a6c (patch)
tree6da24197a72cfb04292cefd2ef0b7f417407fb96 /parser/output/raylib_api.json
parent52ba44c47407fe14ba57c312045b6200099b9117 (diff)
downloadraylib-97c2744a16ad7e6cf6b546a7a6416ec6b21e3a6c.tar.gz
raylib-97c2744a16ad7e6cf6b546a7a6416ec6b21e3a6c.zip
Update `raylib_api.*` (#3379)
Diffstat (limited to 'parser/output/raylib_api.json')
-rw-r--r--parser/output/raylib_api.json259
1 files changed, 216 insertions, 43 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json
index b42f03a8..ef94c3d8 100644
--- a/parser/output/raylib_api.json
+++ b/parser/output/raylib_api.json
@@ -1429,6 +1429,11 @@
"description": "Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED"
},
{
+ "name": "FLAG_BORDERLESS_WINDOWED_MODE",
+ "value": 32768,
+ "description": "Set to run program in borderless windowed mode"
+ },
+ {
"name": "FLAG_MSAA_4X_HINT",
"value": 32,
"description": "Set to try enabling MSAA 4X"
@@ -2605,58 +2610,73 @@
"description": "32*4 bpp (4 channels - float)"
},
{
- "name": "PIXELFORMAT_COMPRESSED_DXT1_RGB",
+ "name": "PIXELFORMAT_UNCOMPRESSED_R16",
"value": 11,
+ "description": "16 bpp (1 channel - half float)"
+ },
+ {
+ "name": "PIXELFORMAT_UNCOMPRESSED_R16G16B16",
+ "value": 12,
+ "description": "16*3 bpp (3 channels - half float)"
+ },
+ {
+ "name": "PIXELFORMAT_UNCOMPRESSED_R16G16B16A16",
+ "value": 13,
+ "description": "16*4 bpp (4 channels - half float)"
+ },
+ {
+ "name": "PIXELFORMAT_COMPRESSED_DXT1_RGB",
+ "value": 14,
"description": "4 bpp (no alpha)"
},
{
"name": "PIXELFORMAT_COMPRESSED_DXT1_RGBA",
- "value": 12,
+ "value": 15,
"description": "4 bpp (1 bit alpha)"
},
{
"name": "PIXELFORMAT_COMPRESSED_DXT3_RGBA",
- "value": 13,
+ "value": 16,
"description": "8 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_DXT5_RGBA",
- "value": 14,
+ "value": 17,
"description": "8 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_ETC1_RGB",
- "value": 15,
+ "value": 18,
"description": "4 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_ETC2_RGB",
- "value": 16,
+ "value": 19,
"description": "4 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA",
- "value": 17,
+ "value": 20,
"description": "8 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_PVRT_RGB",
- "value": 18,
+ "value": 21,
"description": "4 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_PVRT_RGBA",
- "value": 19,
+ "value": 22,
"description": "4 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA",
- "value": 20,
+ "value": 23,
"description": "8 bpp"
},
{
"name": "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA",
- "value": 21,
+ "value": 24,
"description": "2 bpp"
}
]
@@ -2986,8 +3006,8 @@
"name": "fileName"
},
{
- "type": "unsigned int *",
- "name": "bytesRead"
+ "type": "int *",
+ "name": "dataSize"
}
]
},
@@ -3005,8 +3025,8 @@
"name": "data"
},
{
- "type": "unsigned int",
- "name": "bytesToWrite"
+ "type": "int",
+ "name": "dataSize"
}
]
},
@@ -3156,6 +3176,11 @@
"returnType": "void"
},
{
+ "name": "ToggleBorderlessWindowed",
+ "description": "Toggle window state: borderless windowed (only PLATFORM_DESKTOP)",
+ "returnType": "void"
+ },
+ {
"name": "MaximizeWindow",
"description": "Set window state: maximized, if resizable (only PLATFORM_DESKTOP)",
"returnType": "void"
@@ -3198,7 +3223,7 @@
},
{
"name": "SetWindowTitle",
- "description": "Set title for window (only PLATFORM_DESKTOP)",
+ "description": "Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)",
"returnType": "void",
"params": [
{
@@ -3224,7 +3249,7 @@
},
{
"name": "SetWindowMonitor",
- "description": "Set monitor for the current window (fullscreen mode)",
+ "description": "Set monitor for the current window",
"returnType": "void",
"params": [
{
@@ -3249,6 +3274,21 @@
]
},
{
+ "name": "SetWindowMaxSize",
+ "description": "Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
+ },
+ {
"name": "SetWindowSize",
"description": "Set window dimensions",
"returnType": "void",
@@ -3275,6 +3315,11 @@
]
},
{
+ "name": "SetWindowFocused",
+ "description": "Set window focused (only PLATFORM_DESKTOP)",
+ "returnType": "void"
+ },
+ {
"name": "GetWindowHandle",
"description": "Get native window handle",
"returnType": "void *"
@@ -3387,7 +3432,7 @@
},
{
"name": "GetMonitorName",
- "description": "Get the human-readable, UTF-8 encoded name of the primary monitor",
+ "description": "Get the human-readable, UTF-8 encoded name of the specified monitor",
"returnType": "const char *",
"params": [
{
@@ -4132,8 +4177,8 @@
"name": "fileName"
},
{
- "type": "unsigned int *",
- "name": "bytesRead"
+ "type": "int *",
+ "name": "dataSize"
}
]
},
@@ -4162,8 +4207,8 @@
"name": "data"
},
{
- "type": "unsigned int",
- "name": "bytesToWrite"
+ "type": "int",
+ "name": "dataSize"
}
]
},
@@ -4177,8 +4222,8 @@
"name": "data"
},
{
- "type": "unsigned int",
- "name": "size"
+ "type": "int",
+ "name": "dataSize"
},
{
"type": "const char *",
@@ -4333,7 +4378,7 @@
},
{
"name": "GetApplicationDirectory",
- "description": "Get the directory if the running application (uses static string)",
+ "description": "Get the directory of the running application (uses static string)",
"returnType": "const char *"
},
{
@@ -4515,6 +4560,17 @@
]
},
{
+ "name": "IsKeyPressedRepeat",
+ "description": "Check if a key has been pressed again (Only PLATFORM_DESKTOP)",
+ "returnType": "bool",
+ "params": [
+ {
+ "type": "int",
+ "name": "key"
+ }
+ ]
+ },
+ {
"name": "IsKeyDown",
"description": "Check if a key is being pressed",
"returnType": "bool",
@@ -4876,7 +4932,7 @@
"returnType": "bool",
"params": [
{
- "type": "int",
+ "type": "unsigned int",
"name": "gesture"
}
]
@@ -5149,6 +5205,52 @@
]
},
{
+ "name": "DrawLineBSpline",
+ "description": "Draw a B-Spline line, minimum 4 points",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "float",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
+ },
+ {
+ "name": "DrawLineCatmullRom",
+ "description": "Draw a Catmull Rom spline line, minimum 4 points",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "float",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
+ },
+ {
"name": "DrawLineStrip",
"description": "Draw lines sequence",
"returnType": "void",
@@ -6120,6 +6222,25 @@
]
},
{
+ "name": "LoadImageSvg",
+ "description": "Load image from SVG file data or string with specified size",
+ "returnType": "Image",
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileNameOrString"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
+ },
+ {
"name": "LoadImageAnim",
"description": "Load image sequence from file (frames appended to image.data)",
"returnType": "Image",
@@ -6207,6 +6328,25 @@
]
},
{
+ "name": "ExportImageToMemory",
+ "description": "Export image to memory buffer",
+ "returnType": "unsigned char *",
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "const char *",
+ "name": "fileType"
+ },
+ {
+ "type": "int *",
+ "name": "fileSize"
+ }
+ ]
+ },
+ {
"name": "ExportImageAsCode",
"description": "Export image as code file defining an array of bytes, returns true on success",
"returnType": "bool",
@@ -6759,7 +6899,7 @@
},
{
"name": "ImageRotate",
- "description": "Rotate image by input angle in degrees (-359 to 359) ",
+ "description": "Rotate image by input angle in degrees (-359 to 359)",
"returnType": "void",
"params": [
{
@@ -7930,7 +8070,7 @@
},
{
"name": "LoadFontEx",
- "description": "Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set",
+ "description": "Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont",
"returnType": "Font",
"params": [
{
@@ -7943,11 +8083,11 @@
},
{
"type": "int *",
- "name": "fontChars"
+ "name": "codepoints"
},
{
"type": "int",
- "name": "glyphCount"
+ "name": "codepointCount"
}
]
},
@@ -7993,11 +8133,11 @@
},
{
"type": "int *",
- "name": "fontChars"
+ "name": "codepoints"
},
{
"type": "int",
- "name": "glyphCount"
+ "name": "codepointCount"
}
]
},
@@ -8031,11 +8171,11 @@
},
{
"type": "int *",
- "name": "fontChars"
+ "name": "codepoints"
},
{
"type": "int",
- "name": "glyphCount"
+ "name": "codepointCount"
},
{
"type": "int",
@@ -8050,11 +8190,11 @@
"params": [
{
"type": "const GlyphInfo *",
- "name": "chars"
+ "name": "glyphs"
},
{
"type": "Rectangle **",
- "name": "recs"
+ "name": "glyphRecs"
},
{
"type": "int",
@@ -8081,7 +8221,7 @@
"params": [
{
"type": "GlyphInfo *",
- "name": "chars"
+ "name": "glyphs"
},
{
"type": "int",
@@ -8269,7 +8409,7 @@
},
{
"type": "int",
- "name": "count"
+ "name": "codepointCount"
},
{
"type": "Vector2",
@@ -8290,6 +8430,17 @@
]
},
{
+ "name": "SetTextLineSpacing",
+ "description": "Set vertical line spacing when drawing with line-breaks",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "int",
+ "name": "spacing"
+ }
+ ]
+ },
+ {
"name": "MeasureText",
"description": "Measure string width for default font",
"returnType": "int",
@@ -9937,7 +10088,7 @@
"name": "fileName"
},
{
- "type": "unsigned int *",
+ "type": "int *",
"name": "animCount"
}
]
@@ -9982,8 +10133,8 @@
"name": "animations"
},
{
- "type": "unsigned int",
- "name": "count"
+ "type": "int",
+ "name": "animCount"
}
]
},
@@ -10252,6 +10403,17 @@
]
},
{
+ "name": "LoadSoundAlias",
+ "description": "Create a new sound that shares the same sample data as the source sound, does not own the sound data",
+ "returnType": "Sound",
+ "params": [
+ {
+ "type": "Sound",
+ "name": "source"
+ }
+ ]
+ },
+ {
"name": "IsSoundReady",
"description": "Checks if a sound is ready",
"returnType": "bool",
@@ -10304,6 +10466,17 @@
]
},
{
+ "name": "UnloadSoundAlias",
+ "description": "Unload a sound alias (does not deallocate sample data)",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "Sound",
+ "name": "alias"
+ }
+ ]
+ },
+ {
"name": "ExportWave",
"description": "Export wave data to file, returns true on success",
"returnType": "bool",
@@ -10907,7 +11080,7 @@
},
{
"name": "AttachAudioStreamProcessor",
- "description": "Attach audio stream processor to stream",
+ "description": "Attach audio stream processor to stream, receives the samples as <float>s",
"returnType": "void",
"params": [
{
@@ -10937,7 +11110,7 @@
},
{
"name": "AttachAudioMixedProcessor",
- "description": "Attach audio stream processor to the entire audio pipeline",
+ "description": "Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s",
"returnType": "void",
"params": [
{