From 15fffa12a672d97e1427a96abd6d26913d51dd79 Mon Sep 17 00:00:00 2001
From: Laurentino Luna <81370009+catmanl@users.noreply.github.com>
Date: Tue, 9 Nov 2021 20:30:21 -0300
Subject: [PATCH] Update parser files (#2125)
---
parser/raylib_api.json | 792 +++++++++++++---------
parser/raylib_api.txt | 1438 +++++++++++++++++++++-------------------
parser/raylib_api.xml | 451 +++++++------
3 files changed, 1502 insertions(+), 1179 deletions(-)
diff --git a/parser/raylib_api.json b/parser/raylib_api.json
index 68c0a486..0d2fb2e7 100644
--- a/parser/raylib_api.json
+++ b/parser/raylib_api.json
@@ -122,7 +122,7 @@
{
"name": "x",
"type": "float",
- "description": "Rectangle top-left corner position x "
+ "description": "Rectangle top-left corner position x"
},
{
"name": "y",
@@ -261,7 +261,7 @@
]
},
{
- "name": "CharInfo",
+ "name": "GlyphInfo",
"description": "",
"fields": [
{
@@ -301,29 +301,29 @@
"description": "Base size (default chars height)"
},
{
- "name": "charsCount",
+ "name": "glyphCount",
"type": "int",
- "description": "Number of characters"
+ "description": "Number of glyph characters"
},
{
- "name": "charsPadding",
+ "name": "glyphPadding",
"type": "int",
- "description": "Padding around the chars"
+ "description": "Padding around the glyph characters"
},
{
"name": "texture",
"type": "Texture2D",
- "description": "Characters texture atlas"
+ "description": "Texture atlas containing the glyphs"
},
{
"name": "recs",
"type": "Rectangle *",
- "description": "Characters rectangles in texture"
+ "description": "Rectangles in texture for the glyphs"
},
{
- "name": "chars",
- "type": "CharInfo *",
- "description": "Characters info data"
+ "name": "glyphs",
+ "type": "GlyphInfo *",
+ "description": "Glyphs info data"
}
]
},
@@ -445,8 +445,8 @@
},
{
"name": "boneIds",
- "type": "int *",
- "description": "Vertex bone ids, up to 4 bones influence by vertex (skinning)"
+ "type": "unsigned char *",
+ "description": "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)"
},
{
"name": "boneWeights",
@@ -477,7 +477,7 @@
{
"name": "locs",
"type": "int *",
- "description": "Shader locations array (MAX_SHADER_LOCATIONS)"
+ "description": "Shader locations array (RL_MAX_SHADER_LOCATIONS)"
}
]
},
@@ -700,9 +700,9 @@
"description": "",
"fields": [
{
- "name": "sampleCount",
+ "name": "frameCount",
"type": "unsigned int",
- "description": "Total number of samples (considering channels!)"
+ "description": "Total number of frames (considering channels)"
},
{
"name": "sampleRate",
@@ -717,7 +717,7 @@
{
"name": "channels",
"type": "unsigned int",
- "description": "Number of channels (1-mono, 2-stereo)"
+ "description": "Number of channels (1-mono, 2-stereo, ...)"
},
{
"name": "data",
@@ -748,7 +748,7 @@
{
"name": "channels",
"type": "unsigned int",
- "description": "Number of channels (1-mono, 2-stereo)"
+ "description": "Number of channels (1-mono, 2-stereo, ...)"
}
]
},
@@ -762,9 +762,9 @@
"description": "Audio stream"
},
{
- "name": "sampleCount",
+ "name": "frameCount",
"type": "unsigned int",
- "description": "Total number of samples"
+ "description": "Total number of frames (considering channels)"
}
]
},
@@ -778,9 +778,9 @@
"description": "Audio stream"
},
{
- "name": "sampleCount",
+ "name": "frameCount",
"type": "unsigned int",
- "description": "Total number of samples"
+ "description": "Total number of frames (considering channels)"
},
{
"name": "looping",
@@ -1249,6 +1249,26 @@
"value": 90,
"description": ""
},
+ {
+ "name": "KEY_LEFT_BRACKET",
+ "value": 91,
+ "description": ""
+ },
+ {
+ "name": "KEY_BACKSLASH",
+ "value": 92,
+ "description": ""
+ },
+ {
+ "name": "KEY_RIGHT_BRACKET",
+ "value": 93,
+ "description": ""
+ },
+ {
+ "name": "KEY_GRAVE",
+ "value": 96,
+ "description": ""
+ },
{
"name": "KEY_SPACE",
"value": 32,
@@ -1454,26 +1474,6 @@
"value": 348,
"description": ""
},
- {
- "name": "KEY_LEFT_BRACKET",
- "value": 91,
- "description": ""
- },
- {
- "name": "KEY_BACKSLASH",
- "value": 92,
- "description": ""
- },
- {
- "name": "KEY_RIGHT_BRACKET",
- "value": 93,
- "description": ""
- },
- {
- "name": "KEY_GRAVE",
- "value": 96,
- "description": ""
- },
{
"name": "KEY_KP_0",
"value": 320,
@@ -2740,6 +2740,24 @@
"description": "Get clipboard text content",
"returnType": "const char *"
},
+ {
+ "name": "SwapScreenBuffer",
+ "description": "Swap back buffer with front buffer (screen drawing)",
+ "returnType": "void"
+ },
+ {
+ "name": "PollInputEvents",
+ "description": "Register all input events",
+ "returnType": "void"
+ },
+ {
+ "name": "WaitTime",
+ "description": "Wait for some milliseconds (halt program execution)",
+ "returnType": "void",
+ "params": {
+ "ms": "float"
+ }
+ },
{
"name": "ShowCursor",
"description": "Shows cursor",
@@ -3080,6 +3098,14 @@
"max": "int"
}
},
+ {
+ "name": "SetRandomSeed",
+ "description": "Set the seed for the random number generator",
+ "returnType": "void",
+ "params": {
+ "seed": "unsigned int"
+ }
+ },
{
"name": "TakeScreenshot",
"description": "Takes a screenshot of current screen (filename extension defines format)",
@@ -3369,6 +3395,25 @@
"dataLength": "int *"
}
},
+ {
+ "name": "EncodeDataBase64",
+ "description": "Encode data to Base64 string",
+ "returnType": "char *",
+ "params": {
+ "data": "const unsigned char *",
+ "dataLength": "int",
+ "outputLength": "int *"
+ }
+ },
+ {
+ "name": "DecodeDataBase64",
+ "description": "Decode Base64 string data",
+ "returnType": "unsigned char *",
+ "params": {
+ "data": "unsigned char *",
+ "outputLength": "int *"
+ }
+ },
{
"name": "SaveStorageValue",
"description": "Save integer value to storage file (to defined position), returns true on success",
@@ -3436,12 +3481,12 @@
},
{
"name": "GetKeyPressed",
- "description": "Get key pressed (keycode), call it multiple times for keys queued",
+ "description": "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty",
"returnType": "int"
},
{
"name": "GetCharPressed",
- "description": "Get char pressed (unicode), call it multiple times for chars queued",
+ "description": "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty",
"returnType": "int"
},
{
@@ -3452,15 +3497,6 @@
"gamepad": "int"
}
},
- {
- "name": "IsGamepadName",
- "description": "Check gamepad name (if available)",
- "returnType": "bool",
- "params": {
- "gamepad": "int",
- "name": "const char *"
- }
- },
{
"name": "GetGamepadName",
"description": "Get gamepad internal name id",
@@ -3582,6 +3618,11 @@
"description": "Get mouse position XY",
"returnType": "Vector2"
},
+ {
+ "name": "GetMouseDelta",
+ "description": "Get mouse delta between frames",
+ "returnType": "Vector2"
+ },
{
"name": "SetMousePosition",
"description": "Set mouse position XY",
@@ -3640,6 +3681,19 @@
"index": "int"
}
},
+ {
+ "name": "GetTouchPointId",
+ "description": "Get touch point identifier for given index",
+ "returnType": "int",
+ "params": {
+ "index": "int"
+ }
+ },
+ {
+ "name": "GetTouchPointCount",
+ "description": "Get number of touch points",
+ "returnType": "int"
+ },
{
"name": "SetGesturesEnabled",
"description": "Enable a set of gestures using flags",
@@ -3661,11 +3715,6 @@
"description": "Get latest detected gesture",
"returnType": "int"
},
- {
- "name": "GetTouchPointsCount",
- "description": "Get touch points count",
- "returnType": "int"
- },
{
"name": "GetGestureHoldDuration",
"description": "Get gesture hold time in milliseconds",
@@ -3819,7 +3868,7 @@
},
{
"name": "DrawLineBezierQuad",
- "description": "raw line using quadratic bezier curves with a control point",
+ "description": "Draw line using quadratic bezier curves with a control point",
"returnType": "void",
"params": {
"startPos": "Vector2",
@@ -3829,13 +3878,26 @@
"color": "Color"
}
},
+ {
+ "name": "DrawLineBezierCubic",
+ "description": "Draw line using cubic bezier curves with 2 control points",
+ "returnType": "void",
+ "params": {
+ "startPos": "Vector2",
+ "endPos": "Vector2",
+ "startControlPos": "Vector2",
+ "endControlPos": "Vector2",
+ "thick": "float",
+ "color": "Color"
+ }
+ },
{
"name": "DrawLineStrip",
"description": "Draw lines sequence",
"returnType": "void",
"params": {
"points": "Vector2 *",
- "pointsCount": "int",
+ "pointCount": "int",
"color": "Color"
}
},
@@ -4114,7 +4176,7 @@
"returnType": "void",
"params": {
"points": "Vector2 *",
- "pointsCount": "int",
+ "pointCount": "int",
"color": "Color"
}
},
@@ -4124,7 +4186,7 @@
"returnType": "void",
"params": {
"points": "Vector2 *",
- "pointsCount": "int",
+ "pointCount": "int",
"color": "Color"
}
},
@@ -4237,6 +4299,17 @@
"collisionPoint": "Vector2 *"
}
},
+ {
+ "name": "CheckCollisionPointLine",
+ "description": "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]",
+ "returnType": "bool",
+ "params": {
+ "point": "Vector2",
+ "p1": "Vector2",
+ "p2": "Vector2",
+ "threshold": "int"
+ }
+ },
{
"name": "GetCollisionRec",
"description": "Get collision rectangle for two rectangles collision",
@@ -4285,6 +4358,19 @@
"dataSize": "int"
}
},
+ {
+ "name": "LoadImageFromTexture",
+ "description": "Load image from GPU texture data",
+ "returnType": "Image",
+ "params": {
+ "texture": "Texture2D"
+ }
+ },
+ {
+ "name": "LoadImageFromScreen",
+ "description": "Load image from screen buffer and (screenshot)",
+ "returnType": "Image"
+ },
{
"name": "UnloadImage",
"description": "Unload image from CPU memory (RAM)",
@@ -4378,21 +4464,9 @@
"factor": "float"
}
},
- {
- "name": "GenImagePerlinNoise",
- "description": "Generate image: perlin noise",
- "returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "offsetX": "int",
- "offsetY": "int",
- "scale": "float"
- }
- },
{
"name": "GenImageCellular",
- "description": "Generate image: cellular algorithm. Bigger tileSize means bigger cells",
+ "description": "Generate image: cellular algorithm, bigger tileSize means bigger cells",
"returnType": "Image",
"params": {
"width": "int",
@@ -4655,7 +4729,7 @@
"params": {
"image": "Image",
"maxPaletteSize": "int",
- "colorsCount": "int *"
+ "colorCount": "int *"
}
},
{
@@ -4683,6 +4757,16 @@
"threshold": "float"
}
},
+ {
+ "name": "GetImageColor",
+ "description": "Get image pixel color at (x, y) position",
+ "returnType": "Color",
+ "params": {
+ "image": "Image",
+ "x": "int",
+ "y": "int"
+ }
+ },
{
"name": "ImageClearBackground",
"description": "Clear image background with given color",
@@ -4913,19 +4997,6 @@
"pixels": "const void *"
}
},
- {
- "name": "GetTextureData",
- "description": "Get pixel data from GPU texture and return an Image",
- "returnType": "Image",
- "params": {
- "texture": "Texture2D"
- }
- },
- {
- "name": "GetScreenData",
- "description": "Get pixel data from screen buffer and return an Image (screenshot)",
- "returnType": "Image"
- },
{
"name": "GenTextureMipmaps",
"description": "Generate GPU mipmaps for a texture",
@@ -5057,7 +5128,7 @@
"center": "Vector2",
"points": "Vector2 *",
"texcoords": "Vector2 *",
- "pointsCount": "int",
+ "pointCount": "int",
"tint": "Color"
}
},
@@ -5136,7 +5207,7 @@
"description": "Get Color structure from hexadecimal value",
"returnType": "Color",
"params": {
- "hexValue": "int"
+ "hexValue": "unsigned int"
}
},
{
@@ -5189,7 +5260,7 @@
"fileName": "const char *",
"fontSize": "int",
"fontChars": "int *",
- "charsCount": "int"
+ "glyphCount": "int"
}
},
{
@@ -5212,19 +5283,19 @@
"dataSize": "int",
"fontSize": "int",
"fontChars": "int *",
- "charsCount": "int"
+ "glyphCount": "int"
}
},
{
"name": "LoadFontData",
"description": "Load font data for further use",
- "returnType": "CharInfo *",
+ "returnType": "GlyphInfo *",
"params": {
"fileData": "const unsigned char *",
"dataSize": "int",
"fontSize": "int",
"fontChars": "int *",
- "charsCount": "int",
+ "glyphCount": "int",
"type": "int"
}
},
@@ -5233,9 +5304,9 @@
"description": "Generate image font atlas using chars info",
"returnType": "Image",
"params": {
- "chars": "const CharInfo *",
+ "chars": "const GlyphInfo *",
"recs": "Rectangle **",
- "charsCount": "int",
+ "glyphCount": "int",
"fontSize": "int",
"padding": "int",
"packMethod": "int"
@@ -5246,8 +5317,8 @@
"description": "Unload font chars info data (RAM)",
"returnType": "void",
"params": {
- "chars": "CharInfo *",
- "charsCount": "int"
+ "chars": "GlyphInfo *",
+ "glyphCount": "int"
}
},
{
@@ -5293,37 +5364,20 @@
}
},
{
- "name": "DrawTextRec",
- "description": "Draw text using font inside rectangle limits",
+ "name": "DrawTextPro",
+ "description": "Draw text using Font and pro parameters (rotation)",
"returnType": "void",
"params": {
"font": "Font",
"text": "const char *",
- "rec": "Rectangle",
+ "position": "Vector2",
+ "origin": "Vector2",
+ "rotation": "float",
"fontSize": "float",
"spacing": "float",
- "wordWrap": "bool",
"tint": "Color"
}
},
- {
- "name": "DrawTextRecEx",
- "description": "Draw text using font inside rectangle limits with support for text selection",
- "returnType": "void",
- "params": {
- "font": "Font",
- "text": "const char *",
- "rec": "Rectangle",
- "fontSize": "float",
- "spacing": "float",
- "wordWrap": "bool",
- "tint": "Color",
- "selectStart": "int",
- "selectLength": "int",
- "selectTint": "Color",
- "selectBackTint": "Color"
- }
- },
{
"name": "DrawTextCodepoint",
"description": "Draw one character (codepoint)",
@@ -5358,13 +5412,83 @@
},
{
"name": "GetGlyphIndex",
- "description": "Get index position for a unicode character on font",
+ "description": "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
"returnType": "int",
"params": {
"font": "Font",
"codepoint": "int"
}
},
+ {
+ "name": "GetGlyphInfo",
+ "description": "Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found",
+ "returnType": "GlyphInfo",
+ "params": {
+ "font": "Font",
+ "codepoint": "int"
+ }
+ },
+ {
+ "name": "GetGlyphAtlasRec",
+ "description": "Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found",
+ "returnType": "Rectangle",
+ "params": {
+ "font": "Font",
+ "codepoint": "int"
+ }
+ },
+ {
+ "name": "LoadCodepoints",
+ "description": "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter",
+ "returnType": "int *",
+ "params": {
+ "text": "const char *",
+ "count": "int *"
+ }
+ },
+ {
+ "name": "UnloadCodepoints",
+ "description": "Unload codepoints data from memory",
+ "returnType": "void",
+ "params": {
+ "codepoints": "int *"
+ }
+ },
+ {
+ "name": "GetCodepointCount",
+ "description": "Get total number of codepoints in a UTF-8 encoded string",
+ "returnType": "int",
+ "params": {
+ "text": "const char *"
+ }
+ },
+ {
+ "name": "GetCodepoint",
+ "description": "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
+ "returnType": "int",
+ "params": {
+ "text": "const char *",
+ "bytesProcessed": "int *"
+ }
+ },
+ {
+ "name": "CodepointToUTF8",
+ "description": "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
+ "returnType": "const char *",
+ "params": {
+ "codepoint": "int",
+ "byteSize": "int *"
+ }
+ },
+ {
+ "name": "TextCodepointsToUTF8",
+ "description": "Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)",
+ "returnType": "char *",
+ "params": {
+ "codepoints": "int *",
+ "length": "int"
+ }
+ },
{
"name": "TextCopy",
"description": "Copy one string to another, returns bytes copied",
@@ -5393,7 +5517,7 @@
},
{
"name": "TextFormat",
- "description": "Text formatting with variables (sprintf style)",
+ "description": "Text formatting with variables (sprintf() style)",
"returnType": "const char *",
"params": {
"text": "const char *",
@@ -5412,7 +5536,7 @@
},
{
"name": "TextReplace",
- "description": "Replace text string (memory must be freed!)",
+ "description": "Replace text string (WARNING: memory must be freed!)",
"returnType": "char *",
"params": {
"text": "char *",
@@ -5422,7 +5546,7 @@
},
{
"name": "TextInsert",
- "description": "Insert text in a position (memory must be freed!)",
+ "description": "Insert text in a position (WARNING: memory must be freed!)",
"returnType": "char *",
"params": {
"text": "const char *",
@@ -5501,50 +5625,6 @@
"text": "const char *"
}
},
- {
- "name": "TextToUtf8",
- "description": "Encode text codepoint into utf8 text (memory must be freed!)",
- "returnType": "char *",
- "params": {
- "codepoints": "int *",
- "length": "int"
- }
- },
- {
- "name": "GetCodepoints",
- "description": "Get all codepoints in a string, codepoints count returned by parameters",
- "returnType": "int *",
- "params": {
- "text": "const char *",
- "count": "int *"
- }
- },
- {
- "name": "GetCodepointsCount",
- "description": "Get total number of characters (codepoints) in a UTF8 encoded string",
- "returnType": "int",
- "params": {
- "text": "const char *"
- }
- },
- {
- "name": "GetNextCodepoint",
- "description": "Get next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure",
- "returnType": "int",
- "params": {
- "text": "const char *",
- "bytesProcessed": "int *"
- }
- },
- {
- "name": "CodepointToUtf8",
- "description": "Encode codepoint into utf8 text (char array length returned as parameter)",
- "returnType": "const char *",
- "params": {
- "codepoint": "int",
- "byteLength": "int *"
- }
- },
{
"name": "DrawLine3D",
"description": "Draw a line in 3D world space",
@@ -5593,7 +5673,7 @@
"returnType": "void",
"params": {
"points": "Vector3 *",
- "pointsCount": "int",
+ "pointCount": "int",
"color": "Color"
}
},
@@ -5654,6 +5734,20 @@
"color": "Color"
}
},
+ {
+ "name": "DrawCubeTextureRec",
+ "description": "Draw cube with a region of a texture",
+ "returnType": "void",
+ "params": {
+ "texture": "Texture2D",
+ "source": "Rectangle",
+ "position": "Vector3",
+ "width": "float",
+ "height": "float",
+ "length": "float",
+ "color": "Color"
+ }
+ },
{
"name": "DrawSphere",
"description": "Draw sphere",
@@ -5701,6 +5795,19 @@
"color": "Color"
}
},
+ {
+ "name": "DrawCylinderEx",
+ "description": "Draw a cylinder with base at startPos and top at endPos",
+ "returnType": "void",
+ "params": {
+ "startPos": "Vector3",
+ "endPos": "Vector3",
+ "startRadius": "float",
+ "endRadius": "float",
+ "sides": "int",
+ "color": "Color"
+ }
+ },
{
"name": "DrawCylinderWires",
"description": "Draw a cylinder/cone wires",
@@ -5714,6 +5821,19 @@
"color": "Color"
}
},
+ {
+ "name": "DrawCylinderWiresEx",
+ "description": "Draw a cylinder wires with base at startPos and top at endPos",
+ "returnType": "void",
+ "params": {
+ "startPos": "Vector3",
+ "endPos": "Vector3",
+ "startRadius": "float",
+ "endRadius": "float",
+ "sides": "int",
+ "color": "Color"
+ }
+ },
{
"name": "DrawPlane",
"description": "Draw a plane XZ",
@@ -5775,149 +5895,192 @@
}
},
{
- "name": "UploadMesh",
- "description": "Upload mesh vertex data in GPU and provide VAO/VBO ids",
- "returnType": "void",
+ "name": "GetModelBoundingBox",
+ "description": "Compute model bounding box limits (considers all meshes)",
+ "returnType": "BoundingBox",
"params": {
- "mesh": "Mesh *",
- "dynamic": "bool"
+ "model": "Model"
}
},
{
- "name": "UpdateMeshBuffer",
- "description": "Update mesh vertex data in GPU for a specific buffer index",
+ "name": "DrawModel",
+ "description": "Draw a model (with texture if set)",
"returnType": "void",
"params": {
- "mesh": "Mesh",
- "index": "int",
- "data": "void *",
- "dataSize": "int",
- "offset": "int"
+ "model": "Model",
+ "position": "Vector3",
+ "scale": "float",
+ "tint": "Color"
}
},
{
- "name": "DrawMesh",
- "description": "Draw a 3d mesh with material and transform",
+ "name": "DrawModelEx",
+ "description": "Draw a model with extended parameters",
"returnType": "void",
"params": {
- "mesh": "Mesh",
- "material": "Material",
- "transform": "Matrix"
+ "model": "Model",
+ "position": "Vector3",
+ "rotationAxis": "Vector3",
+ "rotationAngle": "float",
+ "scale": "Vector3",
+ "tint": "Color"
}
},
{
- "name": "DrawMeshInstanced",
- "description": "Draw multiple mesh instances with material and different transforms",
+ "name": "DrawModelWires",
+ "description": "Draw a model wires (with texture if set)",
"returnType": "void",
"params": {
- "mesh": "Mesh",
- "material": "Material",
- "transforms": "Matrix *",
- "instances": "int"
+ "model": "Model",
+ "position": "Vector3",
+ "scale": "float",
+ "tint": "Color"
}
},
{
- "name": "UnloadMesh",
- "description": "Unload mesh data from CPU and GPU",
+ "name": "DrawModelWiresEx",
+ "description": "Draw a model wires (with texture if set) with extended parameters",
"returnType": "void",
"params": {
- "mesh": "Mesh"
+ "model": "Model",
+ "position": "Vector3",
+ "rotationAxis": "Vector3",
+ "rotationAngle": "float",
+ "scale": "Vector3",
+ "tint": "Color"
}
},
{
- "name": "ExportMesh",
- "description": "Export mesh data to file, returns true on success",
- "returnType": "bool",
+ "name": "DrawBoundingBox",
+ "description": "Draw bounding box (wires)",
+ "returnType": "void",
"params": {
- "mesh": "Mesh",
- "fileName": "const char *"
+ "box": "BoundingBox",
+ "color": "Color"
}
},
{
- "name": "LoadMaterials",
- "description": "Load materials from model file",
- "returnType": "Material *",
+ "name": "DrawBillboard",
+ "description": "Draw a billboard texture",
+ "returnType": "void",
"params": {
- "fileName": "const char *",
- "materialCount": "int *"
+ "camera": "Camera",
+ "texture": "Texture2D",
+ "position": "Vector3",
+ "size": "float",
+ "tint": "Color"
}
},
{
- "name": "LoadMaterialDefault",
- "description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
- "returnType": "Material"
+ "name": "DrawBillboardRec",
+ "description": "Draw a billboard texture defined by source",
+ "returnType": "void",
+ "params": {
+ "camera": "Camera",
+ "texture": "Texture2D",
+ "source": "Rectangle",
+ "position": "Vector3",
+ "size": "Vector2",
+ "tint": "Color"
+ }
},
{
- "name": "UnloadMaterial",
- "description": "Unload material from GPU memory (VRAM)",
+ "name": "DrawBillboardPro",
+ "description": "Draw a billboard texture defined by source and rotation",
"returnType": "void",
"params": {
- "material": "Material"
+ "camera": "Camera",
+ "texture": "Texture2D",
+ "source": "Rectangle",
+ "position": "Vector3",
+ "up": "Vector3",
+ "size": "Vector2",
+ "origin": "Vector2",
+ "rotation": "float",
+ "tint": "Color"
}
},
{
- "name": "SetMaterialTexture",
- "description": "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)",
+ "name": "UploadMesh",
+ "description": "Upload mesh vertex data in GPU and provide VAO/VBO ids",
"returnType": "void",
"params": {
- "material": "Material *",
- "mapType": "int",
- "texture": "Texture2D"
+ "mesh": "Mesh *",
+ "dynamic": "bool"
}
},
{
- "name": "SetModelMeshMaterial",
- "description": "Set material for a mesh",
+ "name": "UpdateMeshBuffer",
+ "description": "Update mesh vertex data in GPU for a specific buffer index",
"returnType": "void",
"params": {
- "model": "Model *",
- "meshId": "int",
- "materialId": "int"
+ "mesh": "Mesh",
+ "index": "int",
+ "data": "void *",
+ "dataSize": "int",
+ "offset": "int"
}
},
{
- "name": "LoadModelAnimations",
- "description": "Load model animations from file",
- "returnType": "ModelAnimation *",
+ "name": "UnloadMesh",
+ "description": "Unload mesh data from CPU and GPU",
+ "returnType": "void",
"params": {
- "fileName": "const char *",
- "animsCount": "int *"
+ "mesh": "Mesh"
}
},
{
- "name": "UpdateModelAnimation",
- "description": "Update model animation pose",
+ "name": "DrawMesh",
+ "description": "Draw a 3d mesh with material and transform",
"returnType": "void",
"params": {
- "model": "Model",
- "anim": "ModelAnimation",
- "frame": "int"
+ "mesh": "Mesh",
+ "material": "Material",
+ "transform": "Matrix"
}
},
{
- "name": "UnloadModelAnimation",
- "description": "Unload animation data",
+ "name": "DrawMeshInstanced",
+ "description": "Draw multiple mesh instances with material and different transforms",
"returnType": "void",
"params": {
- "anim": "ModelAnimation"
+ "mesh": "Mesh",
+ "material": "Material",
+ "transforms": "Matrix *",
+ "instances": "int"
}
},
{
- "name": "UnloadModelAnimations",
- "description": "Unload animation array data",
+ "name": "ExportMesh",
+ "description": "Export mesh data to file, returns true on success",
+ "returnType": "bool",
+ "params": {
+ "mesh": "Mesh",
+ "fileName": "const char *"
+ }
+ },
+ {
+ "name": "GetMeshBoundingBox",
+ "description": "Compute mesh bounding box limits",
+ "returnType": "BoundingBox",
+ "params": {
+ "mesh": "Mesh"
+ }
+ },
+ {
+ "name": "GenMeshTangents",
+ "description": "Compute mesh tangents",
"returnType": "void",
"params": {
- "animations": "ModelAnimation*",
- "count": "unsigned int"
+ "mesh": "Mesh *"
}
},
{
- "name": "IsModelAnimationValid",
- "description": "Check model animation skeleton match",
- "returnType": "bool",
+ "name": "GenMeshBinormals",
+ "description": "Compute mesh binormals",
+ "returnType": "void",
"params": {
- "model": "Model",
- "anim": "ModelAnimation"
+ "mesh": "Mesh *"
}
},
{
@@ -5980,6 +6143,16 @@
"slices": "int"
}
},
+ {
+ "name": "GenMeshCone",
+ "description": "Generate cone/pyramid mesh",
+ "returnType": "Mesh",
+ "params": {
+ "radius": "float",
+ "height": "float",
+ "slices": "int"
+ }
+ },
{
"name": "GenMeshTorus",
"description": "Generate torus mesh",
@@ -6021,124 +6194,90 @@
}
},
{
- "name": "GetMeshBoundingBox",
- "description": "Compute mesh bounding box limits",
- "returnType": "BoundingBox",
+ "name": "LoadMaterials",
+ "description": "Load materials from model file",
+ "returnType": "Material *",
"params": {
- "mesh": "Mesh"
+ "fileName": "const char *",
+ "materialCount": "int *"
}
},
{
- "name": "MeshTangents",
- "description": "Compute mesh tangents",
- "returnType": "void",
- "params": {
- "mesh": "Mesh *"
- }
+ "name": "LoadMaterialDefault",
+ "description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
+ "returnType": "Material"
},
{
- "name": "MeshBinormals",
- "description": "Compute mesh binormals",
+ "name": "UnloadMaterial",
+ "description": "Unload material from GPU memory (VRAM)",
"returnType": "void",
"params": {
- "mesh": "Mesh *"
+ "material": "Material"
}
},
{
- "name": "DrawModel",
- "description": "Draw a model (with texture if set)",
+ "name": "SetMaterialTexture",
+ "description": "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)",
"returnType": "void",
"params": {
- "model": "Model",
- "position": "Vector3",
- "scale": "float",
- "tint": "Color"
+ "material": "Material *",
+ "mapType": "int",
+ "texture": "Texture2D"
}
},
{
- "name": "DrawModelEx",
- "description": "Draw a model with extended parameters",
+ "name": "SetModelMeshMaterial",
+ "description": "Set material for a mesh",
"returnType": "void",
"params": {
- "model": "Model",
- "position": "Vector3",
- "rotationAxis": "Vector3",
- "rotationAngle": "float",
- "scale": "Vector3",
- "tint": "Color"
+ "model": "Model *",
+ "meshId": "int",
+ "materialId": "int"
}
},
{
- "name": "DrawModelWires",
- "description": "Draw a model wires (with texture if set)",
- "returnType": "void",
+ "name": "LoadModelAnimations",
+ "description": "Load model animations from file",
+ "returnType": "ModelAnimation *",
"params": {
- "model": "Model",
- "position": "Vector3",
- "scale": "float",
- "tint": "Color"
+ "fileName": "const char *",
+ "animCount": "unsigned int *"
}
},
{
- "name": "DrawModelWiresEx",
- "description": "Draw a model wires (with texture if set) with extended parameters",
+ "name": "UpdateModelAnimation",
+ "description": "Update model animation pose",
"returnType": "void",
"params": {
"model": "Model",
- "position": "Vector3",
- "rotationAxis": "Vector3",
- "rotationAngle": "float",
- "scale": "Vector3",
- "tint": "Color"
- }
- },
- {
- "name": "DrawBoundingBox",
- "description": "Draw bounding box (wires)",
- "returnType": "void",
- "params": {
- "box": "BoundingBox",
- "color": "Color"
+ "anim": "ModelAnimation",
+ "frame": "int"
}
},
{
- "name": "DrawBillboard",
- "description": "Draw a billboard texture",
+ "name": "UnloadModelAnimation",
+ "description": "Unload animation data",
"returnType": "void",
"params": {
- "camera": "Camera",
- "texture": "Texture2D",
- "position": "Vector3",
- "size": "float",
- "tint": "Color"
+ "anim": "ModelAnimation"
}
},
{
- "name": "DrawBillboardRec",
- "description": "Draw a billboard texture defined by source",
+ "name": "UnloadModelAnimations",
+ "description": "Unload animation array data",
"returnType": "void",
"params": {
- "camera": "Camera",
- "texture": "Texture2D",
- "source": "Rectangle",
- "position": "Vector3",
- "size": "Vector2",
- "tint": "Color"
+ "animations": "ModelAnimation*",
+ "count": "unsigned int"
}
},
{
- "name": "DrawBillboardPro",
- "description": "Draw a billboard texture defined by source and rotation",
- "returnType": "void",
+ "name": "IsModelAnimationValid",
+ "description": "Check model animation skeleton match",
+ "returnType": "bool",
"params": {
- "camera": "Camera",
- "texture": "Texture2D",
- "source": "Rectangle",
- "position": "Vector3",
- "size": "Vector2",
- "origin": "Vector2",
- "rotation": "float",
- "tint": "Color"
+ "model": "Model",
+ "anim": "ModelAnimation"
}
},
{
@@ -6296,7 +6435,7 @@
"params": {
"sound": "Sound",
"data": "const void *",
- "samplesCount": "int"
+ "sampleCount": "int"
}
},
{
@@ -6528,6 +6667,15 @@
"music": "Music"
}
},
+ {
+ "name": "SeekMusicStream",
+ "description": "Seek music to a position (in seconds)",
+ "returnType": "void",
+ "params": {
+ "music": "Music",
+ "position": "float"
+ }
+ },
{
"name": "SetMusicVolume",
"description": "Set volume for music (1.0 is max level)",
@@ -6587,7 +6735,7 @@
"params": {
"stream": "AudioStream",
"data": "const void *",
- "samplesCount": "int"
+ "frameCount": "int"
}
},
{
diff --git a/parser/raylib_api.txt b/parser/raylib_api.txt
index f8500ec0..c5fe4514 100644
--- a/parser/raylib_api.txt
+++ b/parser/raylib_api.txt
@@ -36,7 +36,7 @@ Struct 05: Color (4 fields)
Struct 06: Rectangle (4 fields)
Name: Rectangle
Description:
- Field[1]: float x // Rectangle top-left corner position x
+ Field[1]: float x // Rectangle top-left corner position x
Field[2]: float y // Rectangle top-left corner position y
Field[3]: float width // Rectangle width
Field[4]: float height // Rectangle height
@@ -71,8 +71,8 @@ Struct 10: NPatchInfo (6 fields)
Field[4]: int right // Right border offset
Field[5]: int bottom // Bottom border offset
Field[6]: int layout // Layout of the n-patch: 3x3, 1x3 or 3x1
-Struct 11: CharInfo (5 fields)
- Name: CharInfo
+Struct 11: GlyphInfo (5 fields)
+ Name: GlyphInfo
Description:
Field[1]: int value // Character value (Unicode)
Field[2]: int offsetX // Character offset X when drawing
@@ -83,11 +83,11 @@ Struct 12: Font (6 fields)
Name: Font
Description:
Field[1]: int baseSize // Base size (default chars height)
- Field[2]: int charsCount // Number of characters
- Field[3]: int charsPadding // Padding around the chars
- Field[4]: Texture2D texture // Characters texture atlas
- Field[5]: Rectangle * recs // Characters rectangles in texture
- Field[6]: CharInfo * chars // Characters info data
+ Field[2]: int glyphCount // Number of glyph characters
+ Field[3]: int glyphPadding // Padding around the glyph characters
+ Field[4]: Texture2D texture // Texture atlas containing the glyphs
+ Field[5]: Rectangle * recs // Rectangles in texture for the glyphs
+ Field[6]: GlyphInfo * glyphs // Glyphs info data
Struct 13: Camera3D (5 fields)
Name: Camera3D
Description:
@@ -117,7 +117,7 @@ Struct 15: Mesh (15 fields)
Field[9]: unsigned short * indices // Vertex indices (in case vertex data comes indexed)
Field[10]: float * animVertices // Animated vertex positions (after bones transformations)
Field[11]: float * animNormals // Animated normals (after bones transformations)
- Field[12]: int * boneIds // Vertex bone ids, up to 4 bones influence by vertex (skinning)
+ Field[12]: unsigned char * boneIds // Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)
Field[13]: float * boneWeights // Vertex bone weight, up to 4 bones influence by vertex (skinning)
Field[14]: unsigned int vaoId // OpenGL Vertex Array Object id
Field[15]: unsigned int * vboId // OpenGL Vertex Buffer Objects id (default vertex data)
@@ -125,7 +125,7 @@ Struct 16: Shader (2 fields)
Name: Shader
Description:
Field[1]: unsigned int id // Shader program id
- Field[2]: int * locs // Shader locations array (MAX_SHADER_LOCATIONS)
+ Field[2]: int * locs // Shader locations array (RL_MAX_SHADER_LOCATIONS)
Struct 17: MaterialMap (3 fields)
Name: MaterialMap
Description:
@@ -188,10 +188,10 @@ Struct 25: BoundingBox (2 fields)
Struct 26: Wave (5 fields)
Name: Wave
Description:
- Field[1]: unsigned int sampleCount // Total number of samples (considering channels!)
+ Field[1]: unsigned int frameCount // Total number of frames (considering channels)
Field[2]: unsigned int sampleRate // Frequency (samples per second)
Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
- Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo)
+ Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...)
Field[5]: void * data // Buffer data pointer
Struct 27: AudioStream (4 fields)
Name: AudioStream
@@ -199,17 +199,17 @@ Struct 27: AudioStream (4 fields)
Field[1]: rAudioBuffer * buffer // Pointer to internal data used by the audio system
Field[2]: unsigned int sampleRate // Frequency (samples per second)
Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
- Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo)
+ Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...)
Struct 28: Sound (2 fields)
Name: Sound
Description:
Field[1]: AudioStream stream // Audio stream
- Field[2]: unsigned int sampleCount // Total number of samples
+ Field[2]: unsigned int frameCount // Total number of frames (considering channels)
Struct 29: Music (5 fields)
Name: Music
Description:
Field[1]: AudioStream stream // Audio stream
- Field[2]: unsigned int sampleCount // Total number of samples
+ Field[2]: unsigned int frameCount // Total number of frames (considering channels)
Field[3]: bool looping // Music looping enable
Field[4]: int ctxType // Type of music context (audio filetype)
Field[5]: void * ctxData // Audio context data, depends on type
@@ -315,6 +315,10 @@ Enum 03: KeyboardKey (110 values)
Value[KEY_X]: 88
Value[KEY_Y]: 89
Value[KEY_Z]: 90
+ Value[KEY_LEFT_BRACKET]: 91
+ Value[KEY_BACKSLASH]: 92
+ Value[KEY_RIGHT_BRACKET]: 93
+ Value[KEY_GRAVE]: 96
Value[KEY_SPACE]: 32
Value[KEY_ESCAPE]: 256
Value[KEY_ENTER]: 257
@@ -356,10 +360,6 @@ Enum 03: KeyboardKey (110 values)
Value[KEY_RIGHT_ALT]: 346
Value[KEY_RIGHT_SUPER]: 347
Value[KEY_KB_MENU]: 348
- Value[KEY_LEFT_BRACKET]: 91
- Value[KEY_BACKSLASH]: 92
- Value[KEY_RIGHT_BRACKET]: 93
- Value[KEY_GRAVE]: 96
Value[KEY_KP_0]: 320
Value[KEY_KP_1]: 321
Value[KEY_KP_2]: 322
@@ -595,7 +595,7 @@ Enum 21: NPatchLayout (3 values)
Value[NPATCH_THREE_PATCH_VERTICAL]: 1
Value[NPATCH_THREE_PATCH_HORIZONTAL]: 2
-Functions found: 470
+Functions found: 487
Function 001: InitWindow() (3 input parameters)
Name: InitWindow
@@ -797,102 +797,117 @@ Function 039: GetClipboardText() (0 input parameters)
Return type: const char *
Description: Get clipboard text content
No input parameters
-Function 040: ShowCursor() (0 input parameters)
+Function 040: SwapScreenBuffer() (0 input parameters)
+ Name: SwapScreenBuffer
+ Return type: void
+ Description: Swap back buffer with front buffer (screen drawing)
+ No input parameters
+Function 041: PollInputEvents() (0 input parameters)
+ Name: PollInputEvents
+ Return type: void
+ Description: Register all input events
+ No input parameters
+Function 042: WaitTime() (1 input parameters)
+ Name: WaitTime
+ Return type: void
+ Description: Wait for some milliseconds (halt program execution)
+ Param[1]: ms (type: float)
+Function 043: ShowCursor() (0 input parameters)
Name: ShowCursor
Return type: void
Description: Shows cursor
No input parameters
-Function 041: HideCursor() (0 input parameters)
+Function 044: HideCursor() (0 input parameters)
Name: HideCursor
Return type: void
Description: Hides cursor
No input parameters
-Function 042: IsCursorHidden() (0 input parameters)
+Function 045: IsCursorHidden() (0 input parameters)
Name: IsCursorHidden
Return type: bool
Description: Check if cursor is not visible
No input parameters
-Function 043: EnableCursor() (0 input parameters)
+Function 046: EnableCursor() (0 input parameters)
Name: EnableCursor
Return type: void
Description: Enables cursor (unlock cursor)
No input parameters
-Function 044: DisableCursor() (0 input parameters)
+Function 047: DisableCursor() (0 input parameters)
Name: DisableCursor
Return type: void
Description: Disables cursor (lock cursor)
No input parameters
-Function 045: IsCursorOnScreen() (0 input parameters)
+Function 048: IsCursorOnScreen() (0 input parameters)
Name: IsCursorOnScreen
Return type: bool
Description: Check if cursor is on the screen
No input parameters
-Function 046: ClearBackground() (1 input parameters)
+Function 049: ClearBackground() (1 input parameters)
Name: ClearBackground
Return type: void
Description: Set background color (framebuffer clear color)
Param[1]: color (type: Color)
-Function 047: BeginDrawing() (0 input parameters)
+Function 050: BeginDrawing() (0 input parameters)
Name: BeginDrawing
Return type: void
Description: Setup canvas (framebuffer) to start drawing
No input parameters
-Function 048: EndDrawing() (0 input parameters)
+Function 051: EndDrawing() (0 input parameters)
Name: EndDrawing
Return type: void
Description: End canvas drawing and swap buffers (double buffering)
No input parameters
-Function 049: BeginMode2D() (1 input parameters)
+Function 052: BeginMode2D() (1 input parameters)
Name: BeginMode2D
Return type: void
Description: Begin 2D mode with custom camera (2D)
Param[1]: camera (type: Camera2D)
-Function 050: EndMode2D() (0 input parameters)
+Function 053: EndMode2D() (0 input parameters)
Name: EndMode2D
Return type: void
Description: Ends 2D mode with custom camera
No input parameters
-Function 051: BeginMode3D() (1 input parameters)
+Function 054: BeginMode3D() (1 input parameters)
Name: BeginMode3D
Return type: void
Description: Begin 3D mode with custom camera (3D)
Param[1]: camera (type: Camera3D)
-Function 052: EndMode3D() (0 input parameters)
+Function 055: EndMode3D() (0 input parameters)
Name: EndMode3D
Return type: void
Description: Ends 3D mode and returns to default 2D orthographic mode
No input parameters
-Function 053: BeginTextureMode() (1 input parameters)
+Function 056: BeginTextureMode() (1 input parameters)
Name: BeginTextureMode
Return type: void
Description: Begin drawing to render texture
Param[1]: target (type: RenderTexture2D)
-Function 054: EndTextureMode() (0 input parameters)
+Function 057: EndTextureMode() (0 input parameters)
Name: EndTextureMode
Return type: void
Description: Ends drawing to render texture
No input parameters
-Function 055: BeginShaderMode() (1 input parameters)
+Function 058: BeginShaderMode() (1 input parameters)
Name: BeginShaderMode
Return type: void
Description: Begin custom shader drawing
Param[1]: shader (type: Shader)
-Function 056: EndShaderMode() (0 input parameters)
+Function 059: EndShaderMode() (0 input parameters)
Name: EndShaderMode
Return type: void
Description: End custom shader drawing (use default shader)
No input parameters
-Function 057: BeginBlendMode() (1 input parameters)
+Function 060: BeginBlendMode() (1 input parameters)
Name: BeginBlendMode
Return type: void
Description: Begin blending mode (alpha, additive, multiplied, subtract, custom)
Param[1]: mode (type: int)
-Function 058: EndBlendMode() (0 input parameters)
+Function 061: EndBlendMode() (0 input parameters)
Name: EndBlendMode
Return type: void
Description: End blending mode (reset to default: alpha blending)
No input parameters
-Function 059: BeginScissorMode() (4 input parameters)
+Function 062: BeginScissorMode() (4 input parameters)
Name: BeginScissorMode
Return type: void
Description: Begin scissor mode (define screen area for following drawing)
@@ -900,56 +915,56 @@ Function 059: BeginScissorMode() (4 input parameters)
Param[2]: y (type: int)
Param[3]: width (type: int)
Param[4]: height (type: int)
-Function 060: EndScissorMode() (0 input parameters)
+Function 063: EndScissorMode() (0 input parameters)
Name: EndScissorMode
Return type: void
Description: End scissor mode
No input parameters
-Function 061: BeginVrStereoMode() (1 input parameters)
+Function 064: BeginVrStereoMode() (1 input parameters)
Name: BeginVrStereoMode
Return type: void
Description: Begin stereo rendering (requires VR simulator)
Param[1]: config (type: VrStereoConfig)
-Function 062: EndVrStereoMode() (0 input parameters)
+Function 065: EndVrStereoMode() (0 input parameters)
Name: EndVrStereoMode
Return type: void
Description: End stereo rendering (requires VR simulator)
No input parameters
-Function 063: LoadVrStereoConfig() (1 input parameters)
+Function 066: LoadVrStereoConfig() (1 input parameters)
Name: LoadVrStereoConfig
Return type: VrStereoConfig
Description: Load VR stereo config for VR simulator device parameters
Param[1]: device (type: VrDeviceInfo)
-Function 064: UnloadVrStereoConfig() (1 input parameters)
+Function 067: UnloadVrStereoConfig() (1 input parameters)
Name: UnloadVrStereoConfig
Return type: void
Description: Unload VR stereo config
Param[1]: config (type: VrStereoConfig)
-Function 065: LoadShader() (2 input parameters)
+Function 068: LoadShader() (2 input parameters)
Name: LoadShader
Return type: Shader
Description: Load shader from files and bind default locations
Param[1]: vsFileName (type: const char *)
Param[2]: fsFileName (type: const char *)
-Function 066: LoadShaderFromMemory() (2 input parameters)
+Function 069: LoadShaderFromMemory() (2 input parameters)
Name: LoadShaderFromMemory
Return type: Shader
Description: Load shader from code strings and bind default locations
Param[1]: vsCode (type: const char *)
Param[2]: fsCode (type: const char *)
-Function 067: GetShaderLocation() (2 input parameters)
+Function 070: GetShaderLocation() (2 input parameters)
Name: GetShaderLocation
Return type: int
Description: Get shader uniform location
Param[1]: shader (type: Shader)
Param[2]: uniformName (type: const char *)
-Function 068: GetShaderLocationAttrib() (2 input parameters)
+Function 071: GetShaderLocationAttrib() (2 input parameters)
Name: GetShaderLocationAttrib
Return type: int
Description: Get shader attribute location
Param[1]: shader (type: Shader)
Param[2]: attribName (type: const char *)
-Function 069: SetShaderValue() (4 input parameters)
+Function 072: SetShaderValue() (4 input parameters)
Name: SetShaderValue
Return type: void
Description: Set shader uniform value
@@ -957,7 +972,7 @@ Function 069: SetShaderValue() (4 input parameters)
Param[2]: locIndex (type: int)
Param[3]: value (type: const void *)
Param[4]: uniformType (type: int)
-Function 070: SetShaderValueV() (5 input parameters)
+Function 073: SetShaderValueV() (5 input parameters)
Name: SetShaderValueV
Return type: void
Description: Set shader uniform value vector
@@ -966,48 +981,48 @@ Function 070: SetShaderValueV() (5 input parameters)
Param[3]: value (type: const void *)
Param[4]: uniformType (type: int)
Param[5]: count (type: int)
-Function 071: SetShaderValueMatrix() (3 input parameters)
+Function 074: SetShaderValueMatrix() (3 input parameters)
Name: SetShaderValueMatrix
Return type: void
Description: Set shader uniform value (matrix 4x4)
Param[1]: shader (type: Shader)
Param[2]: locIndex (type: int)
Param[3]: mat (type: Matrix)
-Function 072: SetShaderValueTexture() (3 input parameters)
+Function 075: SetShaderValueTexture() (3 input parameters)
Name: SetShaderValueTexture
Return type: void
Description: Set shader uniform value for texture (sampler2d)
Param[1]: shader (type: Shader)
Param[2]: locIndex (type: int)
Param[3]: texture (type: Texture2D)
-Function 073: UnloadShader() (1 input parameters)
+Function 076: UnloadShader() (1 input parameters)
Name: UnloadShader
Return type: void
Description: Unload shader from GPU memory (VRAM)
Param[1]: shader (type: Shader)
-Function 074: GetMouseRay() (2 input parameters)
+Function 077: GetMouseRay() (2 input parameters)
Name: GetMouseRay
Return type: Ray
Description: Get a ray trace from mouse position
Param[1]: mousePosition (type: Vector2)
Param[2]: camera (type: Camera)
-Function 075: GetCameraMatrix() (1 input parameters)
+Function 078: GetCameraMatrix() (1 input parameters)
Name: GetCameraMatrix
Return type: Matrix
Description: Get camera transform matrix (view matrix)
Param[1]: camera (type: Camera)
-Function 076: GetCameraMatrix2D() (1 input parameters)
+Function 079: GetCameraMatrix2D() (1 input parameters)
Name: GetCameraMatrix2D
Return type: Matrix
Description: Get camera 2d transform matrix
Param[1]: camera (type: Camera2D)
-Function 077: GetWorldToScreen() (2 input parameters)
+Function 080: GetWorldToScreen() (2 input parameters)
Name: GetWorldToScreen
Return type: Vector2
Description: Get the screen space position for a 3d world space position
Param[1]: position (type: Vector3)
Param[2]: camera (type: Camera)
-Function 078: GetWorldToScreenEx() (4 input parameters)
+Function 081: GetWorldToScreenEx() (4 input parameters)
Name: GetWorldToScreenEx
Return type: Vector2
Description: Get size position for a 3d world space position
@@ -1015,499 +1030,521 @@ Function 078: GetWorldToScreenEx() (4 input parameters)
Param[2]: camera (type: Camera)
Param[3]: width (type: int)
Param[4]: height (type: int)
-Function 079: GetWorldToScreen2D() (2 input parameters)
+Function 082: GetWorldToScreen2D() (2 input parameters)
Name: GetWorldToScreen2D
Return type: Vector2
Description: Get the screen space position for a 2d camera world space position
Param[1]: position (type: Vector2)
Param[2]: camera (type: Camera2D)
-Function 080: GetScreenToWorld2D() (2 input parameters)
+Function 083: GetScreenToWorld2D() (2 input parameters)
Name: GetScreenToWorld2D
Return type: Vector2
Description: Get the world space position for a 2d camera screen space position
Param[1]: position (type: Vector2)
Param[2]: camera (type: Camera2D)
-Function 081: SetTargetFPS() (1 input parameters)
+Function 084: SetTargetFPS() (1 input parameters)
Name: SetTargetFPS
Return type: void
Description: Set target FPS (maximum)
Param[1]: fps (type: int)
-Function 082: GetFPS() (0 input parameters)
+Function 085: GetFPS() (0 input parameters)
Name: GetFPS
Return type: int
Description: Get current FPS
No input parameters
-Function 083: GetFrameTime() (0 input parameters)
+Function 086: GetFrameTime() (0 input parameters)
Name: GetFrameTime
Return type: float
Description: Get time in seconds for last frame drawn (delta time)
No input parameters
-Function 084: GetTime() (0 input parameters)
+Function 087: GetTime() (0 input parameters)
Name: GetTime
Return type: double
Description: Get elapsed time in seconds since InitWindow()
No input parameters
-Function 085: GetRandomValue() (2 input parameters)
+Function 088: GetRandomValue() (2 input parameters)
Name: GetRandomValue
Return type: int
Description: Get a random value between min and max (both included)
Param[1]: min (type: int)
Param[2]: max (type: int)
-Function 086: TakeScreenshot() (1 input parameters)
+Function 089: SetRandomSeed() (1 input parameters)
+ Name: SetRandomSeed
+ Return type: void
+ Description: Set the seed for the random number generator
+ Param[1]: seed (type: unsigned int)
+Function 090: TakeScreenshot() (1 input parameters)
Name: TakeScreenshot
Return type: void
Description: Takes a screenshot of current screen (filename extension defines format)
Param[1]: fileName (type: const char *)
-Function 087: SetConfigFlags() (1 input parameters)
+Function 091: SetConfigFlags() (1 input parameters)
Name: SetConfigFlags
Return type: void
Description: Setup init configuration flags (view FLAGS)
Param[1]: flags (type: unsigned int)
-Function 088: TraceLog() (3 input parameters)
+Function 092: TraceLog() (3 input parameters)
Name: TraceLog
Return type: void
Description: Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
Param[1]: logLevel (type: int)
Param[2]: text (type: const char *)
Param[3]: (type: )
-Function 089: SetTraceLogLevel() (1 input parameters)
+Function 093: SetTraceLogLevel() (1 input parameters)
Name: SetTraceLogLevel
Return type: void
Description: Set the current threshold (minimum) log level
Param[1]: logLevel (type: int)
-Function 090: MemAlloc() (1 input parameters)
+Function 094: MemAlloc() (1 input parameters)
Name: MemAlloc
Return type: void *
Description: Internal memory allocator
Param[1]: size (type: int)
-Function 091: MemRealloc() (2 input parameters)
+Function 095: MemRealloc() (2 input parameters)
Name: MemRealloc
Return type: void *
Description: Internal memory reallocator
Param[1]: ptr (type: void *)
Param[2]: size (type: int)
-Function 092: MemFree() (1 input parameters)
+Function 096: MemFree() (1 input parameters)
Name: MemFree
Return type: void
Description: Internal memory free
Param[1]: ptr (type: void *)
-Function 093: SetTraceLogCallback() (1 input parameters)
+Function 097: SetTraceLogCallback() (1 input parameters)
Name: SetTraceLogCallback
Return type: void
Description: Set custom trace log
Param[1]: callback (type: TraceLogCallback)
-Function 094: SetLoadFileDataCallback() (1 input parameters)
+Function 098: SetLoadFileDataCallback() (1 input parameters)
Name: SetLoadFileDataCallback
Return type: void
Description: Set custom file binary data loader
Param[1]: callback (type: LoadFileDataCallback)
-Function 095: SetSaveFileDataCallback() (1 input parameters)
+Function 099: SetSaveFileDataCallback() (1 input parameters)
Name: SetSaveFileDataCallback
Return type: void
Description: Set custom file binary data saver
Param[1]: callback (type: SaveFileDataCallback)
-Function 096: SetLoadFileTextCallback() (1 input parameters)
+Function 100: SetLoadFileTextCallback() (1 input parameters)
Name: SetLoadFileTextCallback
Return type: void
Description: Set custom file text data loader
Param[1]: callback (type: LoadFileTextCallback)
-Function 097: SetSaveFileTextCallback() (1 input parameters)
+Function 101: SetSaveFileTextCallback() (1 input parameters)
Name: SetSaveFileTextCallback
Return type: void
Description: Set custom file text data saver
Param[1]: callback (type: SaveFileTextCallback)
-Function 098: LoadFileData() (2 input parameters)
+Function 102: LoadFileData() (2 input parameters)
Name: LoadFileData
Return type: unsigned char *
Description: Load file data as byte array (read)
Param[1]: fileName (type: const char *)
Param[2]: bytesRead (type: unsigned int *)
-Function 099: UnloadFileData() (1 input parameters)
+Function 103: UnloadFileData() (1 input parameters)
Name: UnloadFileData
Return type: void
Description: Unload file data allocated by LoadFileData()
Param[1]: data (type: unsigned char *)
-Function 100: SaveFileData() (3 input parameters)
+Function 104: SaveFileData() (3 input parameters)
Name: SaveFileData
Return type: bool
Description: Save data to file from byte array (write), returns true on success
Param[1]: fileName (type: const char *)
Param[2]: data (type: void *)
Param[3]: bytesToWrite (type: unsigned int)
-Function 101: LoadFileText() (1 input parameters)
+Function 105: LoadFileText() (1 input parameters)
Name: LoadFileText
Return type: char *
Description: Load text data from file (read), returns a '\0' terminated string
Param[1]: fileName (type: const char *)
-Function 102: UnloadFileText() (1 input parameters)
+Function 106: UnloadFileText() (1 input parameters)
Name: UnloadFileText
Return type: void
Description: Unload file text data allocated by LoadFileText()
Param[1]: text (type: char *)
-Function 103: SaveFileText() (2 input parameters)
+Function 107: SaveFileText() (2 input parameters)
Name: SaveFileText
Return type: bool
Description: Save text data to file (write), string must be '\0' terminated, returns true on success
Param[1]: fileName (type: const char *)
Param[2]: text (type: char *)
-Function 104: FileExists() (1 input parameters)
+Function 108: FileExists() (1 input parameters)
Name: FileExists
Return type: bool
Description: Check if file exists
Param[1]: fileName (type: const char *)
-Function 105: DirectoryExists() (1 input parameters)
+Function 109: DirectoryExists() (1 input parameters)
Name: DirectoryExists
Return type: bool
Description: Check if a directory path exists
Param[1]: dirPath (type: const char *)
-Function 106: IsFileExtension() (2 input parameters)
+Function 110: IsFileExtension() (2 input parameters)
Name: IsFileExtension
Return type: bool
Description: Check file extension (including point: .png, .wav)
Param[1]: fileName (type: const char *)
Param[2]: ext (type: const char *)
-Function 107: GetFileExtension() (1 input parameters)
+Function 111: GetFileExtension() (1 input parameters)
Name: GetFileExtension
Return type: const char *
Description: Get pointer to extension for a filename string (includes dot: '.png')
Param[1]: fileName (type: const char *)
-Function 108: GetFileName() (1 input parameters)
+Function 112: GetFileName() (1 input parameters)
Name: GetFileName
Return type: const char *
Description: Get pointer to filename for a path string
Param[1]: filePath (type: const char *)
-Function 109: GetFileNameWithoutExt() (1 input parameters)
+Function 113: GetFileNameWithoutExt() (1 input parameters)
Name: GetFileNameWithoutExt
Return type: const char *
Description: Get filename string without extension (uses static string)
Param[1]: filePath (type: const char *)
-Function 110: GetDirectoryPath() (1 input parameters)
+Function 114: GetDirectoryPath() (1 input parameters)
Name: GetDirectoryPath
Return type: const char *
Description: Get full path for a given fileName with path (uses static string)
Param[1]: filePath (type: const char *)
-Function 111: GetPrevDirectoryPath() (1 input parameters)
+Function 115: GetPrevDirectoryPath() (1 input parameters)
Name: GetPrevDirectoryPath
Return type: const char *
Description: Get previous directory path for a given path (uses static string)
Param[1]: dirPath (type: const char *)
-Function 112: GetWorkingDirectory() (0 input parameters)
+Function 116: GetWorkingDirectory() (0 input parameters)
Name: GetWorkingDirectory
Return type: const char *
Description: Get current working directory (uses static string)
No input parameters
-Function 113: GetDirectoryFiles() (2 input parameters)
+Function 117: GetDirectoryFiles() (2 input parameters)
Name: GetDirectoryFiles
Return type: char **
Description: Get filenames in a directory path (memory should be freed)
Param[1]: dirPath (type: const char *)
Param[2]: count (type: int *)
-Function 114: ClearDirectoryFiles() (0 input parameters)
+Function 118: ClearDirectoryFiles() (0 input parameters)
Name: ClearDirectoryFiles
Return type: void
Description: Clear directory files paths buffers (free memory)
No input parameters
-Function 115: ChangeDirectory() (1 input parameters)
+Function 119: ChangeDirectory() (1 input parameters)
Name: ChangeDirectory
Return type: bool
Description: Change working directory, return true on success
Param[1]: dir (type: const char *)
-Function 116: IsFileDropped() (0 input parameters)
+Function 120: IsFileDropped() (0 input parameters)
Name: IsFileDropped
Return type: bool
Description: Check if a file has been dropped into window
No input parameters
-Function 117: GetDroppedFiles() (1 input parameters)
+Function 121: GetDroppedFiles() (1 input parameters)
Name: GetDroppedFiles
Return type: char **
Description: Get dropped files names (memory should be freed)
Param[1]: count (type: int *)
-Function 118: ClearDroppedFiles() (0 input parameters)
+Function 122: ClearDroppedFiles() (0 input parameters)
Name: ClearDroppedFiles
Return type: void
Description: Clear dropped files paths buffer (free memory)
No input parameters
-Function 119: GetFileModTime() (1 input parameters)
+Function 123: GetFileModTime() (1 input parameters)
Name: GetFileModTime
Return type: long
Description: Get file modification time (last write time)
Param[1]: fileName (type: const char *)
-Function 120: CompressData() (3 input parameters)
+Function 124: CompressData() (3 input parameters)
Name: CompressData
Return type: unsigned char *
Description: Compress data (DEFLATE algorithm)
Param[1]: data (type: unsigned char *)
Param[2]: dataLength (type: int)
Param[3]: compDataLength (type: int *)
-Function 121: DecompressData() (3 input parameters)
+Function 125: DecompressData() (3 input parameters)
Name: DecompressData
Return type: unsigned char *
Description: Decompress data (DEFLATE algorithm)
Param[1]: compData (type: unsigned char *)
Param[2]: compDataLength (type: int)
Param[3]: dataLength (type: int *)
-Function 122: SaveStorageValue() (2 input parameters)
+Function 126: EncodeDataBase64() (3 input parameters)
+ Name: EncodeDataBase64
+ Return type: char *
+ Description: Encode data to Base64 string
+ Param[1]: data (type: const unsigned char *)
+ Param[2]: dataLength (type: int)
+ Param[3]: outputLength (type: int *)
+Function 127: DecodeDataBase64() (2 input parameters)
+ Name: DecodeDataBase64
+ Return type: unsigned char *
+ Description: Decode Base64 string data
+ Param[1]: data (type: unsigned char *)
+ Param[2]: outputLength (type: int *)
+Function 128: SaveStorageValue() (2 input parameters)
Name: SaveStorageValue
Return type: bool
Description: Save integer value to storage file (to defined position), returns true on success
Param[1]: position (type: unsigned int)
Param[2]: value (type: int)
-Function 123: LoadStorageValue() (1 input parameters)
+Function 129: LoadStorageValue() (1 input parameters)
Name: LoadStorageValue
Return type: int
Description: Load integer value from storage file (from defined position)
Param[1]: position (type: unsigned int)
-Function 124: OpenURL() (1 input parameters)
+Function 130: OpenURL() (1 input parameters)
Name: OpenURL
Return type: void
Description: Open URL with default system browser (if available)
Param[1]: url (type: const char *)
-Function 125: IsKeyPressed() (1 input parameters)
+Function 131: IsKeyPressed() (1 input parameters)
Name: IsKeyPressed
Return type: bool
Description: Check if a key has been pressed once
Param[1]: key (type: int)
-Function 126: IsKeyDown() (1 input parameters)
+Function 132: IsKeyDown() (1 input parameters)
Name: IsKeyDown
Return type: bool
Description: Check if a key is being pressed
Param[1]: key (type: int)
-Function 127: IsKeyReleased() (1 input parameters)
+Function 133: IsKeyReleased() (1 input parameters)
Name: IsKeyReleased
Return type: bool
Description: Check if a key has been released once
Param[1]: key (type: int)
-Function 128: IsKeyUp() (1 input parameters)
+Function 134: IsKeyUp() (1 input parameters)
Name: IsKeyUp
Return type: bool
Description: Check if a key is NOT being pressed
Param[1]: key (type: int)
-Function 129: SetExitKey() (1 input parameters)
+Function 135: SetExitKey() (1 input parameters)
Name: SetExitKey
Return type: void
Description: Set a custom key to exit program (default is ESC)
Param[1]: key (type: int)
-Function 130: GetKeyPressed() (0 input parameters)
+Function 136: GetKeyPressed() (0 input parameters)
Name: GetKeyPressed
Return type: int
- Description: Get key pressed (keycode), call it multiple times for keys queued
+ Description: Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
No input parameters
-Function 131: GetCharPressed() (0 input parameters)
+Function 137: GetCharPressed() (0 input parameters)
Name: GetCharPressed
Return type: int
- Description: Get char pressed (unicode), call it multiple times for chars queued
+ Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
No input parameters
-Function 132: IsGamepadAvailable() (1 input parameters)
+Function 138: IsGamepadAvailable() (1 input parameters)
Name: IsGamepadAvailable
Return type: bool
Description: Check if a gamepad is available
Param[1]: gamepad (type: int)
-Function 133: IsGamepadName() (2 input parameters)
- Name: IsGamepadName
- Return type: bool
- Description: Check gamepad name (if available)
- Param[1]: gamepad (type: int)
- Param[2]: name (type: const char *)
-Function 134: GetGamepadName() (1 input parameters)
+Function 139: GetGamepadName() (1 input parameters)
Name: GetGamepadName
Return type: const char *
Description: Get gamepad internal name id
Param[1]: gamepad (type: int)
-Function 135: IsGamepadButtonPressed() (2 input parameters)
+Function 140: IsGamepadButtonPressed() (2 input parameters)
Name: IsGamepadButtonPressed
Return type: bool
Description: Check if a gamepad button has been pressed once
Param[1]: gamepad (type: int)
Param[2]: button (type: int)
-Function 136: IsGamepadButtonDown() (2 input parameters)
+Function 141: IsGamepadButtonDown() (2 input parameters)
Name: IsGamepadButtonDown
Return type: bool
Description: Check if a gamepad button is being pressed
Param[1]: gamepad (type: int)
Param[2]: button (type: int)
-Function 137: IsGamepadButtonReleased() (2 input parameters)
+Function 142: IsGamepadButtonReleased() (2 input parameters)
Name: IsGamepadButtonReleased
Return type: bool
Description: Check if a gamepad button has been released once
Param[1]: gamepad (type: int)
Param[2]: button (type: int)
-Function 138: IsGamepadButtonUp() (2 input parameters)
+Function 143: IsGamepadButtonUp() (2 input parameters)
Name: IsGamepadButtonUp
Return type: bool
Description: Check if a gamepad button is NOT being pressed
Param[1]: gamepad (type: int)
Param[2]: button (type: int)
-Function 139: GetGamepadButtonPressed() (0 input parameters)
+Function 144: GetGamepadButtonPressed() (0 input parameters)
Name: GetGamepadButtonPressed
Return type: int
Description: Get the last gamepad button pressed
No input parameters
-Function 140: GetGamepadAxisCount() (1 input parameters)
+Function 145: GetGamepadAxisCount() (1 input parameters)
Name: GetGamepadAxisCount
Return type: int
Description: Get gamepad axis count for a gamepad
Param[1]: gamepad (type: int)
-Function 141: GetGamepadAxisMovement() (2 input parameters)
+Function 146: GetGamepadAxisMovement() (2 input parameters)
Name: GetGamepadAxisMovement
Return type: float
Description: Get axis movement value for a gamepad axis
Param[1]: gamepad (type: int)
Param[2]: axis (type: int)
-Function 142: SetGamepadMappings() (1 input parameters)
+Function 147: SetGamepadMappings() (1 input parameters)
Name: SetGamepadMappings
Return type: int
Description: Set internal gamepad mappings (SDL_GameControllerDB)
Param[1]: mappings (type: const char *)
-Function 143: IsMouseButtonPressed() (1 input parameters)
+Function 148: IsMouseButtonPressed() (1 input parameters)
Name: IsMouseButtonPressed
Return type: bool
Description: Check if a mouse button has been pressed once
Param[1]: button (type: int)
-Function 144: IsMouseButtonDown() (1 input parameters)
+Function 149: IsMouseButtonDown() (1 input parameters)
Name: IsMouseButtonDown
Return type: bool
Description: Check if a mouse button is being pressed
Param[1]: button (type: int)
-Function 145: IsMouseButtonReleased() (1 input parameters)
+Function 150: IsMouseButtonReleased() (1 input parameters)
Name: IsMouseButtonReleased
Return type: bool
Description: Check if a mouse button has been released once
Param[1]: button (type: int)
-Function 146: IsMouseButtonUp() (1 input parameters)
+Function 151: IsMouseButtonUp() (1 input parameters)
Name: IsMouseButtonUp
Return type: bool
Description: Check if a mouse button is NOT being pressed
Param[1]: button (type: int)
-Function 147: GetMouseX() (0 input parameters)
+Function 152: GetMouseX() (0 input parameters)
Name: GetMouseX
Return type: int
Description: Get mouse position X
No input parameters
-Function 148: GetMouseY() (0 input parameters)
+Function 153: GetMouseY() (0 input parameters)
Name: GetMouseY
Return type: int
Description: Get mouse position Y
No input parameters
-Function 149: GetMousePosition() (0 input parameters)
+Function 154: GetMousePosition() (0 input parameters)
Name: GetMousePosition
Return type: Vector2
Description: Get mouse position XY
No input parameters
-Function 150: SetMousePosition() (2 input parameters)
+Function 155: GetMouseDelta() (0 input parameters)
+ Name: GetMouseDelta
+ Return type: Vector2
+ Description: Get mouse delta between frames
+ No input parameters
+Function 156: SetMousePosition() (2 input parameters)
Name: SetMousePosition
Return type: void
Description: Set mouse position XY
Param[1]: x (type: int)
Param[2]: y (type: int)
-Function 151: SetMouseOffset() (2 input parameters)
+Function 157: SetMouseOffset() (2 input parameters)
Name: SetMouseOffset
Return type: void
Description: Set mouse offset
Param[1]: offsetX (type: int)
Param[2]: offsetY (type: int)
-Function 152: SetMouseScale() (2 input parameters)
+Function 158: SetMouseScale() (2 input parameters)
Name: SetMouseScale
Return type: void
Description: Set mouse scaling
Param[1]: scaleX (type: float)
Param[2]: scaleY (type: float)
-Function 153: GetMouseWheelMove() (0 input parameters)
+Function 159: GetMouseWheelMove() (0 input parameters)
Name: GetMouseWheelMove
Return type: float
Description: Get mouse wheel movement Y
No input parameters
-Function 154: SetMouseCursor() (1 input parameters)
+Function 160: SetMouseCursor() (1 input parameters)
Name: SetMouseCursor
Return type: void
Description: Set mouse cursor
Param[1]: cursor (type: int)
-Function 155: GetTouchX() (0 input parameters)
+Function 161: GetTouchX() (0 input parameters)
Name: GetTouchX
Return type: int
Description: Get touch position X for touch point 0 (relative to screen size)
No input parameters
-Function 156: GetTouchY() (0 input parameters)
+Function 162: GetTouchY() (0 input parameters)
Name: GetTouchY
Return type: int
Description: Get touch position Y for touch point 0 (relative to screen size)
No input parameters
-Function 157: GetTouchPosition() (1 input parameters)
+Function 163: GetTouchPosition() (1 input parameters)
Name: GetTouchPosition
Return type: Vector2
Description: Get touch position XY for a touch point index (relative to screen size)
Param[1]: index (type: int)
-Function 158: SetGesturesEnabled() (1 input parameters)
+Function 164: GetTouchPointId() (1 input parameters)
+ Name: GetTouchPointId
+ Return type: int
+ Description: Get touch point identifier for given index
+ Param[1]: index (type: int)
+Function 165: GetTouchPointCount() (0 input parameters)
+ Name: GetTouchPointCount
+ Return type: int
+ Description: Get number of touch points
+ No input parameters
+Function 166: SetGesturesEnabled() (1 input parameters)
Name: SetGesturesEnabled
Return type: void
Description: Enable a set of gestures using flags
Param[1]: flags (type: unsigned int)
-Function 159: IsGestureDetected() (1 input parameters)
+Function 167: IsGestureDetected() (1 input parameters)
Name: IsGestureDetected
Return type: bool
Description: Check if a gesture have been detected
Param[1]: gesture (type: int)
-Function 160: GetGestureDetected() (0 input parameters)
+Function 168: GetGestureDetected() (0 input parameters)
Name: GetGestureDetected
Return type: int
Description: Get latest detected gesture
No input parameters
-Function 161: GetTouchPointsCount() (0 input parameters)
- Name: GetTouchPointsCount
- Return type: int
- Description: Get touch points count
- No input parameters
-Function 162: GetGestureHoldDuration() (0 input parameters)
+Function 169: GetGestureHoldDuration() (0 input parameters)
Name: GetGestureHoldDuration
Return type: float
Description: Get gesture hold time in milliseconds
No input parameters
-Function 163: GetGestureDragVector() (0 input parameters)
+Function 170: GetGestureDragVector() (0 input parameters)
Name: GetGestureDragVector
Return type: Vector2
Description: Get gesture drag vector
No input parameters
-Function 164: GetGestureDragAngle() (0 input parameters)
+Function 171: GetGestureDragAngle() (0 input parameters)
Name: GetGestureDragAngle
Return type: float
Description: Get gesture drag angle
No input parameters
-Function 165: GetGesturePinchVector() (0 input parameters)
+Function 172: GetGesturePinchVector() (0 input parameters)
Name: GetGesturePinchVector
Return type: Vector2
Description: Get gesture pinch delta
No input parameters
-Function 166: GetGesturePinchAngle() (0 input parameters)
+Function 173: GetGesturePinchAngle() (0 input parameters)
Name: GetGesturePinchAngle
Return type: float
Description: Get gesture pinch angle
No input parameters
-Function 167: SetCameraMode() (2 input parameters)
+Function 174: SetCameraMode() (2 input parameters)
Name: SetCameraMode
Return type: void
Description: Set camera mode (multiple camera modes available)
Param[1]: camera (type: Camera)
Param[2]: mode (type: int)
-Function 168: UpdateCamera() (1 input parameters)
+Function 175: UpdateCamera() (1 input parameters)
Name: UpdateCamera
Return type: void
Description: Update camera position for selected mode
Param[1]: camera (type: Camera *)
-Function 169: SetCameraPanControl() (1 input parameters)
+Function 176: SetCameraPanControl() (1 input parameters)
Name: SetCameraPanControl
Return type: void
Description: Set camera pan key to combine with mouse movement (free camera)
Param[1]: keyPan (type: int)
-Function 170: SetCameraAltControl() (1 input parameters)
+Function 177: SetCameraAltControl() (1 input parameters)
Name: SetCameraAltControl
Return type: void
Description: Set camera alt key to combine with mouse movement (free camera)
Param[1]: keyAlt (type: int)
-Function 171: SetCameraSmoothZoomControl() (1 input parameters)
+Function 178: SetCameraSmoothZoomControl() (1 input parameters)
Name: SetCameraSmoothZoomControl
Return type: void
Description: Set camera smooth zoom key to combine with mouse (free camera)
Param[1]: keySmoothZoom (type: int)
-Function 172: SetCameraMoveControls() (6 input parameters)
+Function 179: SetCameraMoveControls() (6 input parameters)
Name: SetCameraMoveControls
Return type: void
Description: Set camera move controls (1st person and 3rd person cameras)
@@ -1517,26 +1554,26 @@ Function 172: SetCameraMoveControls() (6 input parameters)
Param[4]: keyLeft (type: int)
Param[5]: keyUp (type: int)
Param[6]: keyDown (type: int)
-Function 173: SetShapesTexture() (2 input parameters)
+Function 180: SetShapesTexture() (2 input parameters)
Name: SetShapesTexture
Return type: void
Description: Set texture and rectangle to be used on shapes drawing
Param[1]: texture (type: Texture2D)
Param[2]: source (type: Rectangle)
-Function 174: DrawPixel() (3 input parameters)
+Function 181: DrawPixel() (3 input parameters)
Name: DrawPixel
Return type: void
Description: Draw a pixel
Param[1]: posX (type: int)
Param[2]: posY (type: int)
Param[3]: color (type: Color)
-Function 175: DrawPixelV() (2 input parameters)
+Function 182: DrawPixelV() (2 input parameters)
Name: DrawPixelV
Return type: void
Description: Draw a pixel (Vector version)
Param[1]: position (type: Vector2)
Param[2]: color (type: Color)
-Function 176: DrawLine() (5 input parameters)
+Function 183: DrawLine() (5 input parameters)
Name: DrawLine
Return type: void
Description: Draw a line
@@ -1545,14 +1582,14 @@ Function 176: DrawLine() (5 input parameters)
Param[3]: endPosX (type: int)
Param[4]: endPosY (type: int)
Param[5]: color (type: Color)
-Function 177: DrawLineV() (3 input parameters)
+Function 184: DrawLineV() (3 input parameters)
Name: DrawLineV
Return type: void
Description: Draw a line (Vector version)
Param[1]: startPos (type: Vector2)
Param[2]: endPos (type: Vector2)
Param[3]: color (type: Color)
-Function 178: DrawLineEx() (4 input parameters)
+Function 185: DrawLineEx() (4 input parameters)
Name: DrawLineEx
Return type: void
Description: Draw a line defining thickness
@@ -1560,7 +1597,7 @@ Function 178: DrawLineEx() (4 input parameters)
Param[2]: endPos (type: Vector2)
Param[3]: thick (type: float)
Param[4]: color (type: Color)
-Function 179: DrawLineBezier() (4 input parameters)
+Function 186: DrawLineBezier() (4 input parameters)
Name: DrawLineBezier
Return type: void
Description: Draw a line using cubic-bezier curves in-out
@@ -1568,23 +1605,33 @@ Function 179: DrawLineBezier() (4 input parameters)
Param[2]: endPos (type: Vector2)
Param[3]: thick (type: float)
Param[4]: color (type: Color)
-Function 180: DrawLineBezierQuad() (5 input parameters)
+Function 187: DrawLineBezierQuad() (5 input parameters)
Name: DrawLineBezierQuad
Return type: void
- Description: raw line using quadratic bezier curves with a control point
+ Description: Draw line using quadratic bezier curves with a control point
Param[1]: startPos (type: Vector2)
Param[2]: endPos (type: Vector2)
Param[3]: controlPos (type: Vector2)
Param[4]: thick (type: float)
Param[5]: color (type: Color)
-Function 181: DrawLineStrip() (3 input parameters)
+Function 188: DrawLineBezierCubic() (6 input parameters)
+ Name: DrawLineBezierCubic
+ Return type: void
+ Description: Draw line using cubic bezier curves with 2 control points
+ Param[1]: startPos (type: Vector2)
+ Param[2]: endPos (type: Vector2)
+ Param[3]: startControlPos (type: Vector2)
+ Param[4]: endControlPos (type: Vector2)
+ Param[5]: thick (type: float)
+ Param[6]: color (type: Color)
+Function 189: DrawLineStrip() (3 input parameters)
Name: DrawLineStrip
Return type: void
Description: Draw lines sequence
Param[1]: points (type: Vector2 *)
- Param[2]: pointsCount (type: int)
+ Param[2]: pointCount (type: int)
Param[3]: color (type: Color)
-Function 182: DrawCircle() (4 input parameters)
+Function 190: DrawCircle() (4 input parameters)
Name: DrawCircle
Return type: void
Description: Draw a color-filled circle
@@ -1592,7 +1639,7 @@ Function 182: DrawCircle() (4 input parameters)
Param[2]: centerY (type: int)
Param[3]: radius (type: float)
Param[4]: color (type: Color)
-Function 183: DrawCircleSector() (6 input parameters)
+Function 191: DrawCircleSector() (6 input parameters)
Name: DrawCircleSector
Return type: void
Description: Draw a piece of a circle
@@ -1602,7 +1649,7 @@ Function 183: DrawCircleSector() (6 input parameters)
Param[4]: endAngle (type: float)
Param[5]: segments (type: int)
Param[6]: color (type: Color)
-Function 184: DrawCircleSectorLines() (6 input parameters)
+Function 192: DrawCircleSectorLines() (6 input parameters)
Name: DrawCircleSectorLines
Return type: void
Description: Draw circle sector outline
@@ -1612,7 +1659,7 @@ Function 184: DrawCircleSectorLines() (6 input parameters)
Param[4]: endAngle (type: float)
Param[5]: segments (type: int)
Param[6]: color (type: Color)
-Function 185: DrawCircleGradient() (5 input parameters)
+Function 193: DrawCircleGradient() (5 input parameters)
Name: DrawCircleGradient
Return type: void
Description: Draw a gradient-filled circle
@@ -1621,14 +1668,14 @@ Function 185: DrawCircleGradient() (5 input parameters)
Param[3]: radius (type: float)
Param[4]: color1 (type: Color)
Param[5]: color2 (type: Color)
-Function 186: DrawCircleV() (3 input parameters)
+Function 194: DrawCircleV() (3 input parameters)
Name: DrawCircleV
Return type: void
Description: Draw a color-filled circle (Vector version)
Param[1]: center (type: Vector2)
Param[2]: radius (type: float)
Param[3]: color (type: Color)
-Function 187: DrawCircleLines() (4 input parameters)
+Function 195: DrawCircleLines() (4 input parameters)
Name: DrawCircleLines
Return type: void
Description: Draw circle outline
@@ -1636,7 +1683,7 @@ Function 187: DrawCircleLines() (4 input parameters)
Param[2]: centerY (type: int)
Param[3]: radius (type: float)
Param[4]: color (type: Color)
-Function 188: DrawEllipse() (5 input parameters)
+Function 196: DrawEllipse() (5 input parameters)
Name: DrawEllipse
Return type: void
Description: Draw ellipse
@@ -1645,7 +1692,7 @@ Function 188: DrawEllipse() (5 input parameters)
Param[3]: radiusH (type: float)
Param[4]: radiusV (type: float)
Param[5]: color (type: Color)
-Function 189: DrawEllipseLines() (5 input parameters)
+Function 197: DrawEllipseLines() (5 input parameters)
Name: DrawEllipseLines
Return type: void
Description: Draw ellipse outline
@@ -1654,7 +1701,7 @@ Function 189: DrawEllipseLines() (5 input parameters)
Param[3]: radiusH (type: float)
Param[4]: radiusV (type: float)
Param[5]: color (type: Color)
-Function 190: DrawRing() (7 input parameters)
+Function 198: DrawRing() (7 input parameters)
Name: DrawRing
Return type: void
Description: Draw ring
@@ -1665,7 +1712,7 @@ Function 190: DrawRing() (7 input parameters)
Param[5]: endAngle (type: float)
Param[6]: segments (type: int)
Param[7]: color (type: Color)
-Function 191: DrawRingLines() (7 input parameters)
+Function 199: DrawRingLines() (7 input parameters)
Name: DrawRingLines
Return type: void
Description: Draw ring outline
@@ -1676,7 +1723,7 @@ Function 191: DrawRingLines() (7 input parameters)
Param[5]: endAngle (type: float)
Param[6]: segments (type: int)
Param[7]: color (type: Color)
-Function 192: DrawRectangle() (5 input parameters)
+Function 200: DrawRectangle() (5 input parameters)
Name: DrawRectangle
Return type: void
Description: Draw a color-filled rectangle
@@ -1685,20 +1732,20 @@ Function 192: DrawRectangle() (5 input parameters)
Param[3]: width (type: int)
Param[4]: height (type: int)
Param[5]: color (type: Color)
-Function 193: DrawRectangleV() (3 input parameters)
+Function 201: DrawRectangleV() (3 input parameters)
Name: DrawRectangleV
Return type: void
Description: Draw a color-filled rectangle (Vector version)
Param[1]: position (type: Vector2)
Param[2]: size (type: Vector2)
Param[3]: color (type: Color)
-Function 194: DrawRectangleRec() (2 input parameters)
+Function 202: DrawRectangleRec() (2 input parameters)
Name: DrawRectangleRec
Return type: void
Description: Draw a color-filled rectangle
Param[1]: rec (type: Rectangle)
Param[2]: color (type: Color)
-Function 195: DrawRectanglePro() (4 input parameters)
+Function 203: DrawRectanglePro() (4 input parameters)
Name: DrawRectanglePro
Return type: void
Description: Draw a color-filled rectangle with pro parameters
@@ -1706,7 +1753,7 @@ Function 195: DrawRectanglePro() (4 input parameters)
Param[2]: origin (type: Vector2)
Param[3]: rotation (type: float)
Param[4]: color (type: Color)
-Function 196: DrawRectangleGradientV() (6 input parameters)
+Function 204: DrawRectangleGradientV() (6 input parameters)
Name: DrawRectangleGradientV
Return type: void
Description: Draw a vertical-gradient-filled rectangle
@@ -1716,7 +1763,7 @@ Function 196: DrawRectangleGradientV() (6 input parameters)
Param[4]: height (type: int)
Param[5]: color1 (type: Color)
Param[6]: color2 (type: Color)
-Function 197: DrawRectangleGradientH() (6 input parameters)
+Function 205: DrawRectangleGradientH() (6 input parameters)
Name: DrawRectangleGradientH
Return type: void
Description: Draw a horizontal-gradient-filled rectangle
@@ -1726,7 +1773,7 @@ Function 197: DrawRectangleGradientH() (6 input parameters)
Param[4]: height (type: int)
Param[5]: color1 (type: Color)
Param[6]: color2 (type: Color)
-Function 198: DrawRectangleGradientEx() (5 input parameters)
+Function 206: DrawRectangleGradientEx() (5 input parameters)
Name: DrawRectangleGradientEx
Return type: void
Description: Draw a gradient-filled rectangle with custom vertex colors
@@ -1735,7 +1782,7 @@ Function 198: DrawRectangleGradientEx() (5 input parameters)
Param[3]: col2 (type: Color)
Param[4]: col3 (type: Color)
Param[5]: col4 (type: Color)
-Function 199: DrawRectangleLines() (5 input parameters)
+Function 207: DrawRectangleLines() (5 input parameters)
Name: DrawRectangleLines
Return type: void
Description: Draw rectangle outline
@@ -1744,14 +1791,14 @@ Function 199: DrawRectangleLines() (5 input parameters)
Param[3]: width (type: int)
Param[4]: height (type: int)
Param[5]: color (type: Color)
-Function 200: DrawRectangleLinesEx() (3 input parameters)
+Function 208: DrawRectangleLinesEx() (3 input parameters)
Name: DrawRectangleLinesEx
Return type: void
Description: Draw rectangle outline with extended parameters
Param[1]: rec (type: Rectangle)
Param[2]: lineThick (type: float)
Param[3]: color (type: Color)
-Function 201: DrawRectangleRounded() (4 input parameters)
+Function 209: DrawRectangleRounded() (4 input parameters)
Name: DrawRectangleRounded
Return type: void
Description: Draw rectangle with rounded edges
@@ -1759,7 +1806,7 @@ Function 201: DrawRectangleRounded() (4 input parameters)
Param[2]: roundness (type: float)
Param[3]: segments (type: int)
Param[4]: color (type: Color)
-Function 202: DrawRectangleRoundedLines() (5 input parameters)
+Function 210: DrawRectangleRoundedLines() (5 input parameters)
Name: DrawRectangleRoundedLines
Return type: void
Description: Draw rectangle with rounded edges outline
@@ -1768,7 +1815,7 @@ Function 202: DrawRectangleRoundedLines() (5 input parameters)
Param[3]: segments (type: int)
Param[4]: lineThick (type: float)
Param[5]: color (type: Color)
-Function 203: DrawTriangle() (4 input parameters)
+Function 211: DrawTriangle() (4 input parameters)
Name: DrawTriangle
Return type: void
Description: Draw a color-filled triangle (vertex in counter-clockwise order!)
@@ -1776,7 +1823,7 @@ Function 203: DrawTriangle() (4 input parameters)
Param[2]: v2 (type: Vector2)
Param[3]: v3 (type: Vector2)
Param[4]: color (type: Color)
-Function 204: DrawTriangleLines() (4 input parameters)
+Function 212: DrawTriangleLines() (4 input parameters)
Name: DrawTriangleLines
Return type: void
Description: Draw triangle outline (vertex in counter-clockwise order!)
@@ -1784,21 +1831,21 @@ Function 204: DrawTriangleLines() (4 input parameters)
Param[2]: v2 (type: Vector2)
Param[3]: v3 (type: Vector2)
Param[4]: color (type: Color)
-Function 205: DrawTriangleFan() (3 input parameters)
+Function 213: DrawTriangleFan() (3 input parameters)
Name: DrawTriangleFan
Return type: void
Description: Draw a triangle fan defined by points (first vertex is the center)
Param[1]: points (type: Vector2 *)
- Param[2]: pointsCount (type: int)
+ Param[2]: pointCount (type: int)
Param[3]: color (type: Color)
-Function 206: DrawTriangleStrip() (3 input parameters)
+Function 214: DrawTriangleStrip() (3 input parameters)
Name: DrawTriangleStrip
Return type: void
Description: Draw a triangle strip defined by points
Param[1]: points (type: Vector2 *)
- Param[2]: pointsCount (type: int)
+ Param[2]: pointCount (type: int)
Param[3]: color (type: Color)
-Function 207: DrawPoly() (5 input parameters)
+Function 215: DrawPoly() (5 input parameters)
Name: DrawPoly
Return type: void
Description: Draw a regular polygon (Vector version)
@@ -1807,7 +1854,7 @@ Function 207: DrawPoly() (5 input parameters)
Param[3]: radius (type: float)
Param[4]: rotation (type: float)
Param[5]: color (type: Color)
-Function 208: DrawPolyLines() (5 input parameters)
+Function 216: DrawPolyLines() (5 input parameters)
Name: DrawPolyLines
Return type: void
Description: Draw a polygon outline of n sides
@@ -1816,7 +1863,7 @@ Function 208: DrawPolyLines() (5 input parameters)
Param[3]: radius (type: float)
Param[4]: rotation (type: float)
Param[5]: color (type: Color)
-Function 209: DrawPolyLinesEx() (6 input parameters)
+Function 217: DrawPolyLinesEx() (6 input parameters)
Name: DrawPolyLinesEx
Return type: void
Description: Draw a polygon outline of n sides with extended parameters
@@ -1826,13 +1873,13 @@ Function 209: DrawPolyLinesEx() (6 input parameters)
Param[4]: rotation (type: float)
Param[5]: lineThick (type: float)
Param[6]: color (type: Color)
-Function 210: CheckCollisionRecs() (2 input parameters)
+Function 218: CheckCollisionRecs() (2 input parameters)
Name: CheckCollisionRecs
Return type: bool
Description: Check collision between two rectangles
Param[1]: rec1 (type: Rectangle)
Param[2]: rec2 (type: Rectangle)
-Function 211: CheckCollisionCircles() (4 input parameters)
+Function 219: CheckCollisionCircles() (4 input parameters)
Name: CheckCollisionCircles
Return type: bool
Description: Check collision between two circles
@@ -1840,27 +1887,27 @@ Function 211: CheckCollisionCircles() (4 input parameters)
Param[2]: radius1 (type: float)
Param[3]: center2 (type: Vector2)
Param[4]: radius2 (type: float)
-Function 212: CheckCollisionCircleRec() (3 input parameters)
+Function 220: CheckCollisionCircleRec() (3 input parameters)
Name: CheckCollisionCircleRec
Return type: bool
Description: Check collision between circle and rectangle
Param[1]: center (type: Vector2)
Param[2]: radius (type: float)
Param[3]: rec (type: Rectangle)
-Function 213: CheckCollisionPointRec() (2 input parameters)
+Function 221: CheckCollisionPointRec() (2 input parameters)
Name: CheckCollisionPointRec
Return type: bool
Description: Check if point is inside rectangle
Param[1]: point (type: Vector2)
Param[2]: rec (type: Rectangle)
-Function 214: CheckCollisionPointCircle() (3 input parameters)
+Function 222: CheckCollisionPointCircle() (3 input parameters)
Name: CheckCollisionPointCircle
Return type: bool
Description: Check if point is inside circle
Param[1]: point (type: Vector2)
Param[2]: center (type: Vector2)
Param[3]: radius (type: float)
-Function 215: CheckCollisionPointTriangle() (4 input parameters)
+Function 223: CheckCollisionPointTriangle() (4 input parameters)
Name: CheckCollisionPointTriangle
Return type: bool
Description: Check if point is inside a triangle
@@ -1868,7 +1915,7 @@ Function 215: CheckCollisionPointTriangle() (4 input parameters)
Param[2]: p1 (type: Vector2)
Param[3]: p2 (type: Vector2)
Param[4]: p3 (type: Vector2)
-Function 216: CheckCollisionLines() (5 input parameters)
+Function 224: CheckCollisionLines() (5 input parameters)
Name: CheckCollisionLines
Return type: bool
Description: Check the collision between two lines defined by two points each, returns collision point by reference
@@ -1877,18 +1924,26 @@ Function 216: CheckCollisionLines() (5 input parameters)
Param[3]: startPos2 (type: Vector2)
Param[4]: endPos2 (type: Vector2)
Param[5]: collisionPoint (type: Vector2 *)
-Function 217: GetCollisionRec() (2 input parameters)
+Function 225: CheckCollisionPointLine() (4 input parameters)
+ Name: CheckCollisionPointLine
+ Return type: bool
+ Description: Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]
+ Param[1]: point (type: Vector2)
+ Param[2]: p1 (type: Vector2)
+ Param[3]: p2 (type: Vector2)
+ Param[4]: threshold (type: int)
+Function 226: GetCollisionRec() (2 input parameters)
Name: GetCollisionRec
Return type: Rectangle
Description: Get collision rectangle for two rectangles collision
Param[1]: rec1 (type: Rectangle)
Param[2]: rec2 (type: Rectangle)
-Function 218: LoadImage() (1 input parameters)
+Function 227: LoadImage() (1 input parameters)
Name: LoadImage
Return type: Image
Description: Load image from file into CPU memory (RAM)
Param[1]: fileName (type: const char *)
-Function 219: LoadImageRaw() (5 input parameters)
+Function 228: LoadImageRaw() (5 input parameters)
Name: LoadImageRaw
Return type: Image
Description: Load image from RAW file data
@@ -1897,44 +1952,54 @@ Function 219: LoadImageRaw() (5 input parameters)
Param[3]: height (type: int)
Param[4]: format (type: int)
Param[5]: headerSize (type: int)
-Function 220: LoadImageAnim() (2 input parameters)
+Function 229: LoadImageAnim() (2 input parameters)
Name: LoadImageAnim
Return type: Image
Description: Load image sequence from file (frames appended to image.data)
Param[1]: fileName (type: const char *)
Param[2]: frames (type: int *)
-Function 221: LoadImageFromMemory() (3 input parameters)
+Function 230: LoadImageFromMemory() (3 input parameters)
Name: LoadImageFromMemory
Return type: Image
Description: Load image from memory buffer, fileType refers to extension: i.e. '.png'
Param[1]: fileType (type: const char *)
Param[2]: fileData (type: const unsigned char *)
Param[3]: dataSize (type: int)
-Function 222: UnloadImage() (1 input parameters)
+Function 231: LoadImageFromTexture() (1 input parameters)
+ Name: LoadImageFromTexture
+ Return type: Image
+ Description: Load image from GPU texture data
+ Param[1]: texture (type: Texture2D)
+Function 232: LoadImageFromScreen() (0 input parameters)
+ Name: LoadImageFromScreen
+ Return type: Image
+ Description: Load image from screen buffer and (screenshot)
+ No input parameters
+Function 233: UnloadImage() (1 input parameters)
Name: UnloadImage
Return type: void
Description: Unload image from CPU memory (RAM)
Param[1]: image (type: Image)
-Function 223: ExportImage() (2 input parameters)
+Function 234: ExportImage() (2 input parameters)
Name: ExportImage
Return type: bool
Description: Export image data to file, returns true on success
Param[1]: image (type: Image)
Param[2]: fileName (type: const char *)
-Function 224: ExportImageAsCode() (2 input parameters)
+Function 235: ExportImageAsCode() (2 input parameters)
Name: ExportImageAsCode
Return type: bool
Description: Export image as code file defining an array of bytes, returns true on success
Param[1]: image (type: Image)
Param[2]: fileName (type: const char *)
-Function 225: GenImageColor() (3 input parameters)
+Function 236: GenImageColor() (3 input parameters)
Name: GenImageColor
Return type: Image
Description: Generate image: plain color
Param[1]: width (type: int)
Param[2]: height (type: int)
Param[3]: color (type: Color)
-Function 226: GenImageGradientV() (4 input parameters)
+Function 237: GenImageGradientV() (4 input parameters)
Name: GenImageGradientV
Return type: Image
Description: Generate image: vertical gradient
@@ -1942,7 +2007,7 @@ Function 226: GenImageGradientV() (4 input parameters)
Param[2]: height (type: int)
Param[3]: top (type: Color)
Param[4]: bottom (type: Color)
-Function 227: GenImageGradientH() (4 input parameters)
+Function 238: GenImageGradientH() (4 input parameters)
Name: GenImageGradientH
Return type: Image
Description: Generate image: horizontal gradient
@@ -1950,7 +2015,7 @@ Function 227: GenImageGradientH() (4 input parameters)
Param[2]: height (type: int)
Param[3]: left (type: Color)
Param[4]: right (type: Color)
-Function 228: GenImageGradientRadial() (5 input parameters)
+Function 239: GenImageGradientRadial() (5 input parameters)
Name: GenImageGradientRadial
Return type: Image
Description: Generate image: radial gradient
@@ -1959,7 +2024,7 @@ Function 228: GenImageGradientRadial() (5 input parameters)
Param[3]: density (type: float)
Param[4]: inner (type: Color)
Param[5]: outer (type: Color)
-Function 229: GenImageChecked() (6 input parameters)
+Function 240: GenImageChecked() (6 input parameters)
Name: GenImageChecked
Return type: Image
Description: Generate image: checked
@@ -1969,48 +2034,39 @@ Function 229: GenImageChecked() (6 input parameters)
Param[4]: checksY (type: int)
Param[5]: col1 (type: Color)
Param[6]: col2 (type: Color)
-Function 230: GenImageWhiteNoise() (3 input parameters)
+Function 241: GenImageWhiteNoise() (3 input parameters)
Name: GenImageWhiteNoise
Return type: Image
Description: Generate image: white noise
Param[1]: width (type: int)
Param[2]: height (type: int)
Param[3]: factor (type: float)
-Function 231: GenImagePerlinNoise() (5 input parameters)
- Name: GenImagePerlinNoise
- Return type: Image
- Description: Generate image: perlin noise
- Param[1]: width (type: int)
- Param[2]: height (type: int)
- Param[3]: offsetX (type: int)
- Param[4]: offsetY (type: int)
- Param[5]: scale (type: float)
-Function 232: GenImageCellular() (3 input parameters)
+Function 242: GenImageCellular() (3 input parameters)
Name: GenImageCellular
Return type: Image
- Description: Generate image: cellular algorithm. Bigger tileSize means bigger cells
+ Description: Generate image: cellular algorithm, bigger tileSize means bigger cells
Param[1]: width (type: int)
Param[2]: height (type: int)
Param[3]: tileSize (type: int)
-Function 233: ImageCopy() (1 input parameters)
+Function 243: ImageCopy() (1 input parameters)
Name: ImageCopy
Return type: Image
Description: Create an image duplicate (useful for transformations)
Param[1]: image (type: Image)
-Function 234: ImageFromImage() (2 input parameters)
+Function 244: ImageFromImage() (2 input parameters)
Name: ImageFromImage
Return type: Image
Description: Create an image from another image piece
Param[1]: image (type: Image)
Param[2]: rec (type: Rectangle)
-Function 235: ImageText() (3 input parameters)
+Function 245: 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 236: ImageTextEx() (5 input parameters)
+Function 246: ImageTextEx() (5 input parameters)
Name: ImageTextEx
Return type: Image
Description: Create an image from text (custom sprite font)
@@ -2019,63 +2075,63 @@ Function 236: ImageTextEx() (5 input parameters)
Param[3]: fontSize (type: float)
Param[4]: spacing (type: float)
Param[5]: tint (type: Color)
-Function 237: ImageFormat() (2 input parameters)
+Function 247: ImageFormat() (2 input parameters)
Name: ImageFormat
Return type: void
Description: Convert image data to desired format
Param[1]: image (type: Image *)
Param[2]: newFormat (type: int)
-Function 238: ImageToPOT() (2 input parameters)
+Function 248: ImageToPOT() (2 input parameters)
Name: ImageToPOT
Return type: void
Description: Convert image to POT (power-of-two)
Param[1]: image (type: Image *)
Param[2]: fill (type: Color)
-Function 239: ImageCrop() (2 input parameters)
+Function 249: ImageCrop() (2 input parameters)
Name: ImageCrop
Return type: void
Description: Crop an image to a defined rectangle
Param[1]: image (type: Image *)
Param[2]: crop (type: Rectangle)
-Function 240: ImageAlphaCrop() (2 input parameters)
+Function 250: ImageAlphaCrop() (2 input parameters)
Name: ImageAlphaCrop
Return type: void
Description: Crop image depending on alpha value
Param[1]: image (type: Image *)
Param[2]: threshold (type: float)
-Function 241: ImageAlphaClear() (3 input parameters)
+Function 251: ImageAlphaClear() (3 input parameters)
Name: ImageAlphaClear
Return type: void
Description: Clear alpha channel to desired color
Param[1]: image (type: Image *)
Param[2]: color (type: Color)
Param[3]: threshold (type: float)
-Function 242: ImageAlphaMask() (2 input parameters)
+Function 252: ImageAlphaMask() (2 input parameters)
Name: ImageAlphaMask
Return type: void
Description: Apply alpha mask to image
Param[1]: image (type: Image *)
Param[2]: alphaMask (type: Image)
-Function 243: ImageAlphaPremultiply() (1 input parameters)
+Function 253: ImageAlphaPremultiply() (1 input parameters)
Name: ImageAlphaPremultiply
Return type: void
Description: Premultiply alpha channel
Param[1]: image (type: Image *)
-Function 244: ImageResize() (3 input parameters)
+Function 254: ImageResize() (3 input parameters)
Name: ImageResize
Return type: void
Description: Resize image (Bicubic scaling algorithm)
Param[1]: image (type: Image *)
Param[2]: newWidth (type: int)
Param[3]: newHeight (type: int)
-Function 245: ImageResizeNN() (3 input parameters)
+Function 255: ImageResizeNN() (3 input parameters)
Name: ImageResizeNN
Return type: void
Description: Resize image (Nearest-Neighbor scaling algorithm)
Param[1]: image (type: Image *)
Param[2]: newWidth (type: int)
Param[3]: newHeight (type: int)
-Function 246: ImageResizeCanvas() (6 input parameters)
+Function 256: ImageResizeCanvas() (6 input parameters)
Name: ImageResizeCanvas
Return type: void
Description: Resize canvas and fill with color
@@ -2085,12 +2141,12 @@ Function 246: ImageResizeCanvas() (6 input parameters)
Param[4]: offsetX (type: int)
Param[5]: offsetY (type: int)
Param[6]: fill (type: Color)
-Function 247: ImageMipmaps() (1 input parameters)
+Function 257: ImageMipmaps() (1 input parameters)
Name: ImageMipmaps
Return type: void
Description: Compute all mipmap levels for a provided image
Param[1]: image (type: Image *)
-Function 248: ImageDither() (5 input parameters)
+Function 258: ImageDither() (5 input parameters)
Name: ImageDither
Return type: void
Description: Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
@@ -2099,96 +2155,103 @@ Function 248: ImageDither() (5 input parameters)
Param[3]: gBpp (type: int)
Param[4]: bBpp (type: int)
Param[5]: aBpp (type: int)
-Function 249: ImageFlipVertical() (1 input parameters)
+Function 259: ImageFlipVertical() (1 input parameters)
Name: ImageFlipVertical
Return type: void
Description: Flip image vertically
Param[1]: image (type: Image *)
-Function 250: ImageFlipHorizontal() (1 input parameters)
+Function 260: ImageFlipHorizontal() (1 input parameters)
Name: ImageFlipHorizontal
Return type: void
Description: Flip image horizontally
Param[1]: image (type: Image *)
-Function 251: ImageRotateCW() (1 input parameters)
+Function 261: ImageRotateCW() (1 input parameters)
Name: ImageRotateCW
Return type: void
Description: Rotate image clockwise 90deg
Param[1]: image (type: Image *)
-Function 252: ImageRotateCCW() (1 input parameters)
+Function 262: ImageRotateCCW() (1 input parameters)
Name: ImageRotateCCW
Return type: void
Description: Rotate image counter-clockwise 90deg
Param[1]: image (type: Image *)
-Function 253: ImageColorTint() (2 input parameters)
+Function 263: ImageColorTint() (2 input parameters)
Name: ImageColorTint
Return type: void
Description: Modify image color: tint
Param[1]: image (type: Image *)
Param[2]: color (type: Color)
-Function 254: ImageColorInvert() (1 input parameters)
+Function 264: ImageColorInvert() (1 input parameters)
Name: ImageColorInvert
Return type: void
Description: Modify image color: invert
Param[1]: image (type: Image *)
-Function 255: ImageColorGrayscale() (1 input parameters)
+Function 265: ImageColorGrayscale() (1 input parameters)
Name: ImageColorGrayscale
Return type: void
Description: Modify image color: grayscale
Param[1]: image (type: Image *)
-Function 256: ImageColorContrast() (2 input parameters)
+Function 266: ImageColorContrast() (2 input parameters)
Name: ImageColorContrast
Return type: void
Description: Modify image color: contrast (-100 to 100)
Param[1]: image (type: Image *)
Param[2]: contrast (type: float)
-Function 257: ImageColorBrightness() (2 input parameters)
+Function 267: ImageColorBrightness() (2 input parameters)
Name: ImageColorBrightness
Return type: void
Description: Modify image color: brightness (-255 to 255)
Param[1]: image (type: Image *)
Param[2]: brightness (type: int)
-Function 258: ImageColorReplace() (3 input parameters)
+Function 268: ImageColorReplace() (3 input parameters)
Name: ImageColorReplace
Return type: void
Description: Modify image color: replace color
Param[1]: image (type: Image *)
Param[2]: color (type: Color)
Param[3]: replace (type: Color)
-Function 259: LoadImageColors() (1 input parameters)
+Function 269: LoadImageColors() (1 input parameters)
Name: LoadImageColors
Return type: Color *
Description: Load color data from image as a Color array (RGBA - 32bit)
Param[1]: image (type: Image)
-Function 260: LoadImagePalette() (3 input parameters)
+Function 270: LoadImagePalette() (3 input parameters)
Name: LoadImagePalette
Return type: Color *
Description: Load colors palette from image as a Color array (RGBA - 32bit)
Param[1]: image (type: Image)
Param[2]: maxPaletteSize (type: int)
- Param[3]: colorsCount (type: int *)
-Function 261: UnloadImageColors() (1 input parameters)
+ Param[3]: colorCount (type: int *)
+Function 271: UnloadImageColors() (1 input parameters)
Name: UnloadImageColors
Return type: void
Description: Unload color data loaded with LoadImageColors()
Param[1]: colors (type: Color *)
-Function 262: UnloadImagePalette() (1 input parameters)
+Function 272: UnloadImagePalette() (1 input parameters)
Name: UnloadImagePalette
Return type: void
Description: Unload colors palette loaded with LoadImagePalette()
Param[1]: colors (type: Color *)
-Function 263: GetImageAlphaBorder() (2 input parameters)
+Function 273: GetImageAlphaBorder() (2 input parameters)
Name: GetImageAlphaBorder
Return type: Rectangle
Description: Get image alpha border rectangle
Param[1]: image (type: Image)
Param[2]: threshold (type: float)
-Function 264: ImageClearBackground() (2 input parameters)
+Function 274: GetImageColor() (3 input parameters)
+ Name: GetImageColor
+ Return type: Color
+ Description: Get image pixel color at (x, y) position
+ Param[1]: image (type: Image)
+ Param[2]: x (type: int)
+ Param[3]: y (type: int)
+Function 275: ImageClearBackground() (2 input parameters)
Name: ImageClearBackground
Return type: void
Description: Clear image background with given color
Param[1]: dst (type: Image *)
Param[2]: color (type: Color)
-Function 265: ImageDrawPixel() (4 input parameters)
+Function 276: ImageDrawPixel() (4 input parameters)
Name: ImageDrawPixel
Return type: void
Description: Draw pixel within an image
@@ -2196,14 +2259,14 @@ Function 265: ImageDrawPixel() (4 input parameters)
Param[2]: posX (type: int)
Param[3]: posY (type: int)
Param[4]: color (type: Color)
-Function 266: ImageDrawPixelV() (3 input parameters)
+Function 277: ImageDrawPixelV() (3 input parameters)
Name: ImageDrawPixelV
Return type: void
Description: Draw pixel within an image (Vector version)
Param[1]: dst (type: Image *)
Param[2]: position (type: Vector2)
Param[3]: color (type: Color)
-Function 267: ImageDrawLine() (6 input parameters)
+Function 278: ImageDrawLine() (6 input parameters)
Name: ImageDrawLine
Return type: void
Description: Draw line within an image
@@ -2213,7 +2276,7 @@ Function 267: ImageDrawLine() (6 input parameters)
Param[4]: endPosX (type: int)
Param[5]: endPosY (type: int)
Param[6]: color (type: Color)
-Function 268: ImageDrawLineV() (4 input parameters)
+Function 279: ImageDrawLineV() (4 input parameters)
Name: ImageDrawLineV
Return type: void
Description: Draw line within an image (Vector version)
@@ -2221,7 +2284,7 @@ Function 268: ImageDrawLineV() (4 input parameters)
Param[2]: start (type: Vector2)
Param[3]: end (type: Vector2)
Param[4]: color (type: Color)
-Function 269: ImageDrawCircle() (5 input parameters)
+Function 280: ImageDrawCircle() (5 input parameters)
Name: ImageDrawCircle
Return type: void
Description: Draw circle within an image
@@ -2230,7 +2293,7 @@ Function 269: ImageDrawCircle() (5 input parameters)
Param[3]: centerY (type: int)
Param[4]: radius (type: int)
Param[5]: color (type: Color)
-Function 270: ImageDrawCircleV() (4 input parameters)
+Function 281: ImageDrawCircleV() (4 input parameters)
Name: ImageDrawCircleV
Return type: void
Description: Draw circle within an image (Vector version)
@@ -2238,7 +2301,7 @@ Function 270: ImageDrawCircleV() (4 input parameters)
Param[2]: center (type: Vector2)
Param[3]: radius (type: int)
Param[4]: color (type: Color)
-Function 271: ImageDrawRectangle() (6 input parameters)
+Function 282: ImageDrawRectangle() (6 input parameters)
Name: ImageDrawRectangle
Return type: void
Description: Draw rectangle within an image
@@ -2248,7 +2311,7 @@ Function 271: ImageDrawRectangle() (6 input parameters)
Param[4]: width (type: int)
Param[5]: height (type: int)
Param[6]: color (type: Color)
-Function 272: ImageDrawRectangleV() (4 input parameters)
+Function 283: ImageDrawRectangleV() (4 input parameters)
Name: ImageDrawRectangleV
Return type: void
Description: Draw rectangle within an image (Vector version)
@@ -2256,14 +2319,14 @@ Function 272: ImageDrawRectangleV() (4 input parameters)
Param[2]: position (type: Vector2)
Param[3]: size (type: Vector2)
Param[4]: color (type: Color)
-Function 273: ImageDrawRectangleRec() (3 input parameters)
+Function 284: ImageDrawRectangleRec() (3 input parameters)
Name: ImageDrawRectangleRec
Return type: void
Description: Draw rectangle within an image
Param[1]: dst (type: Image *)
Param[2]: rec (type: Rectangle)
Param[3]: color (type: Color)
-Function 274: ImageDrawRectangleLines() (4 input parameters)
+Function 285: ImageDrawRectangleLines() (4 input parameters)
Name: ImageDrawRectangleLines
Return type: void
Description: Draw rectangle lines within an image
@@ -2271,7 +2334,7 @@ Function 274: ImageDrawRectangleLines() (4 input parameters)
Param[2]: rec (type: Rectangle)
Param[3]: thick (type: int)
Param[4]: color (type: Color)
-Function 275: ImageDraw() (5 input parameters)
+Function 286: ImageDraw() (5 input parameters)
Name: ImageDraw
Return type: void
Description: Draw a source image within a destination image (tint applied to source)
@@ -2280,7 +2343,7 @@ Function 275: ImageDraw() (5 input parameters)
Param[3]: srcRec (type: Rectangle)
Param[4]: dstRec (type: Rectangle)
Param[5]: tint (type: Color)
-Function 276: ImageDrawText() (6 input parameters)
+Function 287: ImageDrawText() (6 input parameters)
Name: ImageDrawText
Return type: void
Description: Draw text (using default font) within an image (destination)
@@ -2290,7 +2353,7 @@ Function 276: ImageDrawText() (6 input parameters)
Param[4]: posY (type: int)
Param[5]: fontSize (type: int)
Param[6]: color (type: Color)
-Function 277: ImageDrawTextEx() (7 input parameters)
+Function 288: ImageDrawTextEx() (7 input parameters)
Name: ImageDrawTextEx
Return type: void
Description: Draw text (custom sprite font) within an image (destination)
@@ -2301,79 +2364,69 @@ Function 277: ImageDrawTextEx() (7 input parameters)
Param[5]: fontSize (type: float)
Param[6]: spacing (type: float)
Param[7]: tint (type: Color)
-Function 278: LoadTexture() (1 input parameters)
+Function 289: LoadTexture() (1 input parameters)
Name: LoadTexture
Return type: Texture2D
Description: Load texture from file into GPU memory (VRAM)
Param[1]: fileName (type: const char *)
-Function 279: LoadTextureFromImage() (1 input parameters)
+Function 290: LoadTextureFromImage() (1 input parameters)
Name: LoadTextureFromImage
Return type: Texture2D
Description: Load texture from image data
Param[1]: image (type: Image)
-Function 280: LoadTextureCubemap() (2 input parameters)
+Function 291: LoadTextureCubemap() (2 input parameters)
Name: LoadTextureCubemap
Return type: TextureCubemap
Description: Load cubemap from image, multiple image cubemap layouts supported
Param[1]: image (type: Image)
Param[2]: layout (type: int)
-Function 281: LoadRenderTexture() (2 input parameters)
+Function 292: LoadRenderTexture() (2 input parameters)
Name: LoadRenderTexture
Return type: RenderTexture2D
Description: Load texture for rendering (framebuffer)
Param[1]: width (type: int)
Param[2]: height (type: int)
-Function 282: UnloadTexture() (1 input parameters)
+Function 293: UnloadTexture() (1 input parameters)
Name: UnloadTexture
Return type: void
Description: Unload texture from GPU memory (VRAM)
Param[1]: texture (type: Texture2D)
-Function 283: UnloadRenderTexture() (1 input parameters)
+Function 294: UnloadRenderTexture() (1 input parameters)
Name: UnloadRenderTexture
Return type: void
Description: Unload render texture from GPU memory (VRAM)
Param[1]: target (type: RenderTexture2D)
-Function 284: UpdateTexture() (2 input parameters)
+Function 295: UpdateTexture() (2 input parameters)
Name: UpdateTexture
Return type: void
Description: Update GPU texture with new data
Param[1]: texture (type: Texture2D)
Param[2]: pixels (type: const void *)
-Function 285: UpdateTextureRec() (3 input parameters)
+Function 296: UpdateTextureRec() (3 input parameters)
Name: UpdateTextureRec
Return type: void
Description: Update GPU texture rectangle with new data
Param[1]: texture (type: Texture2D)
Param[2]: rec (type: Rectangle)
Param[3]: pixels (type: const void *)
-Function 286: GetTextureData() (1 input parameters)
- Name: GetTextureData
- Return type: Image
- Description: Get pixel data from GPU texture and return an Image
- Param[1]: texture (type: Texture2D)
-Function 287: GetScreenData() (0 input parameters)
- Name: GetScreenData
- Return type: Image
- Description: Get pixel data from screen buffer and return an Image (screenshot)
- No input parameters
-Function 288: GenTextureMipmaps() (1 input parameters)
+Function 297: GenTextureMipmaps() (1 input parameters)
Name: GenTextureMipmaps
Return type: void
Description: Generate GPU mipmaps for a texture
Param[1]: texture (type: Texture2D *)
-Function 289: SetTextureFilter() (2 input parameters)
+Function 298: SetTextureFilter() (2 input parameters)
Name: SetTextureFilter
Return type: void
Description: Set texture scaling filter mode
Param[1]: texture (type: Texture2D)
Param[2]: filter (type: int)
-Function 290: SetTextureWrap() (2 input parameters)
+Function 299: SetTextureWrap() (2 input parameters)
Name: SetTextureWrap
Return type: void
Description: Set texture wrapping mode
Param[1]: texture (type: Texture2D)
Param[2]: wrap (type: int)
-Function 291: DrawTexture() (4 input parameters)
+Function 300: DrawTexture() (4 input parameters)
Name: DrawTexture
Return type: void
Description: Draw a Texture2D
@@ -2381,14 +2434,14 @@ Function 291: DrawTexture() (4 input parameters)
Param[2]: posX (type: int)
Param[3]: posY (type: int)
Param[4]: tint (type: Color)
-Function 292: DrawTextureV() (3 input parameters)
+Function 301: DrawTextureV() (3 input parameters)
Name: DrawTextureV
Return type: void
Description: Draw a Texture2D with position defined as Vector2
Param[1]: texture (type: Texture2D)
Param[2]: position (type: Vector2)
Param[3]: tint (type: Color)
-Function 293: DrawTextureEx() (5 input parameters)
+Function 302: DrawTextureEx() (5 input parameters)
Name: DrawTextureEx
Return type: void
Description: Draw a Texture2D with extended parameters
@@ -2397,7 +2450,7 @@ Function 293: DrawTextureEx() (5 input parameters)
Param[3]: rotation (type: float)
Param[4]: scale (type: float)
Param[5]: tint (type: Color)
-Function 294: DrawTextureRec() (4 input parameters)
+Function 303: DrawTextureRec() (4 input parameters)
Name: DrawTextureRec
Return type: void
Description: Draw a part of a texture defined by a rectangle
@@ -2405,7 +2458,7 @@ Function 294: DrawTextureRec() (4 input parameters)
Param[2]: source (type: Rectangle)
Param[3]: position (type: Vector2)
Param[4]: tint (type: Color)
-Function 295: DrawTextureQuad() (5 input parameters)
+Function 304: DrawTextureQuad() (5 input parameters)
Name: DrawTextureQuad
Return type: void
Description: Draw texture quad with tiling and offset parameters
@@ -2414,7 +2467,7 @@ Function 295: DrawTextureQuad() (5 input parameters)
Param[3]: offset (type: Vector2)
Param[4]: quad (type: Rectangle)
Param[5]: tint (type: Color)
-Function 296: DrawTextureTiled() (7 input parameters)
+Function 305: DrawTextureTiled() (7 input parameters)
Name: DrawTextureTiled
Return type: void
Description: Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
@@ -2425,7 +2478,7 @@ Function 296: DrawTextureTiled() (7 input parameters)
Param[5]: rotation (type: float)
Param[6]: scale (type: float)
Param[7]: tint (type: Color)
-Function 297: DrawTexturePro() (6 input parameters)
+Function 306: DrawTexturePro() (6 input parameters)
Name: DrawTexturePro
Return type: void
Description: Draw a part of a texture defined by a rectangle with 'pro' parameters
@@ -2435,7 +2488,7 @@ Function 297: DrawTexturePro() (6 input parameters)
Param[4]: origin (type: Vector2)
Param[5]: rotation (type: float)
Param[6]: tint (type: Color)
-Function 298: DrawTextureNPatch() (6 input parameters)
+Function 307: DrawTextureNPatch() (6 input parameters)
Name: DrawTextureNPatch
Return type: void
Description: Draws a texture (or part of it) that stretches or shrinks nicely
@@ -2445,7 +2498,7 @@ Function 298: DrawTextureNPatch() (6 input parameters)
Param[4]: origin (type: Vector2)
Param[5]: rotation (type: float)
Param[6]: tint (type: Color)
-Function 299: DrawTexturePoly() (6 input parameters)
+Function 308: DrawTexturePoly() (6 input parameters)
Name: DrawTexturePoly
Return type: void
Description: Draw a textured polygon
@@ -2453,105 +2506,105 @@ Function 299: DrawTexturePoly() (6 input parameters)
Param[2]: center (type: Vector2)
Param[3]: points (type: Vector2 *)
Param[4]: texcoords (type: Vector2 *)
- Param[5]: pointsCount (type: int)
+ Param[5]: pointCount (type: int)
Param[6]: tint (type: Color)
-Function 300: Fade() (2 input parameters)
+Function 309: Fade() (2 input parameters)
Name: Fade
Return type: Color
Description: Get color with alpha applied, alpha goes from 0.0f to 1.0f
Param[1]: color (type: Color)
Param[2]: alpha (type: float)
-Function 301: ColorToInt() (1 input parameters)
+Function 310: ColorToInt() (1 input parameters)
Name: ColorToInt
Return type: int
Description: Get hexadecimal value for a Color
Param[1]: color (type: Color)
-Function 302: ColorNormalize() (1 input parameters)
+Function 311: ColorNormalize() (1 input parameters)
Name: ColorNormalize
Return type: Vector4
Description: Get Color normalized as float [0..1]
Param[1]: color (type: Color)
-Function 303: ColorFromNormalized() (1 input parameters)
+Function 312: ColorFromNormalized() (1 input parameters)
Name: ColorFromNormalized
Return type: Color
Description: Get Color from normalized values [0..1]
Param[1]: normalized (type: Vector4)
-Function 304: ColorToHSV() (1 input parameters)
+Function 313: ColorToHSV() (1 input parameters)
Name: ColorToHSV
Return type: Vector3
Description: Get HSV values for a Color, hue [0..360], saturation/value [0..1]
Param[1]: color (type: Color)
-Function 305: ColorFromHSV() (3 input parameters)
+Function 314: ColorFromHSV() (3 input parameters)
Name: ColorFromHSV
Return type: Color
Description: Get a Color from HSV values, hue [0..360], saturation/value [0..1]
Param[1]: hue (type: float)
Param[2]: saturation (type: float)
Param[3]: value (type: float)
-Function 306: ColorAlpha() (2 input parameters)
+Function 315: ColorAlpha() (2 input parameters)
Name: ColorAlpha
Return type: Color
Description: Get color with alpha applied, alpha goes from 0.0f to 1.0f
Param[1]: color (type: Color)
Param[2]: alpha (type: float)
-Function 307: ColorAlphaBlend() (3 input parameters)
+Function 316: ColorAlphaBlend() (3 input parameters)
Name: ColorAlphaBlend
Return type: Color
Description: Get src alpha-blended into dst color with tint
Param[1]: dst (type: Color)
Param[2]: src (type: Color)
Param[3]: tint (type: Color)
-Function 308: GetColor() (1 input parameters)
+Function 317: GetColor() (1 input parameters)
Name: GetColor
Return type: Color
Description: Get Color structure from hexadecimal value
Param[1]: hexValue (type: unsigned int)
-Function 309: GetPixelColor() (2 input parameters)
+Function 318: GetPixelColor() (2 input parameters)
Name: GetPixelColor
Return type: Color
Description: Get Color from a source pixel pointer of certain format
Param[1]: srcPtr (type: void *)
Param[2]: format (type: int)
-Function 310: SetPixelColor() (3 input parameters)
+Function 319: SetPixelColor() (3 input parameters)
Name: SetPixelColor
Return type: void
Description: Set color formatted into destination pixel pointer
Param[1]: dstPtr (type: void *)
Param[2]: color (type: Color)
Param[3]: format (type: int)
-Function 311: GetPixelDataSize() (3 input parameters)
+Function 320: GetPixelDataSize() (3 input parameters)
Name: GetPixelDataSize
Return type: int
Description: Get pixel data size in bytes for certain format
Param[1]: width (type: int)
Param[2]: height (type: int)
Param[3]: format (type: int)
-Function 312: GetFontDefault() (0 input parameters)
+Function 321: GetFontDefault() (0 input parameters)
Name: GetFontDefault
Return type: Font
Description: Get the default Font
No input parameters
-Function 313: LoadFont() (1 input parameters)
+Function 322: LoadFont() (1 input parameters)
Name: LoadFont
Return type: Font
Description: Load font from file into GPU memory (VRAM)
Param[1]: fileName (type: const char *)
-Function 314: LoadFontEx() (4 input parameters)
+Function 323: LoadFontEx() (4 input parameters)
Name: LoadFontEx
Return type: Font
Description: Load font from file with extended parameters
Param[1]: fileName (type: const char *)
Param[2]: fontSize (type: int)
Param[3]: fontChars (type: int *)
- Param[4]: charsCount (type: int)
-Function 315: LoadFontFromImage() (3 input parameters)
+ Param[4]: glyphCount (type: int)
+Function 324: LoadFontFromImage() (3 input parameters)
Name: LoadFontFromImage
Return type: Font
Description: Load font from Image (XNA style)
Param[1]: image (type: Image)
Param[2]: key (type: Color)
Param[3]: firstChar (type: int)
-Function 316: LoadFontFromMemory() (6 input parameters)
+Function 325: LoadFontFromMemory() (6 input parameters)
Name: LoadFontFromMemory
Return type: Font
Description: Load font from memory buffer, fileType refers to extension: i.e. '.ttf'
@@ -2560,45 +2613,45 @@ Function 316: LoadFontFromMemory() (6 input parameters)
Param[3]: dataSize (type: int)
Param[4]: fontSize (type: int)
Param[5]: fontChars (type: int *)
- Param[6]: charsCount (type: int)
-Function 317: LoadFontData() (6 input parameters)
+ Param[6]: glyphCount (type: int)
+Function 326: LoadFontData() (6 input parameters)
Name: LoadFontData
- Return type: CharInfo *
+ Return type: GlyphInfo *
Description: Load font data for further use
Param[1]: fileData (type: const unsigned char *)
Param[2]: dataSize (type: int)
Param[3]: fontSize (type: int)
Param[4]: fontChars (type: int *)
- Param[5]: charsCount (type: int)
+ Param[5]: glyphCount (type: int)
Param[6]: type (type: int)
-Function 318: GenImageFontAtlas() (6 input parameters)
+Function 327: GenImageFontAtlas() (6 input parameters)
Name: GenImageFontAtlas
Return type: Image
Description: Generate image font atlas using chars info
- Param[1]: chars (type: const CharInfo *)
+ Param[1]: chars (type: const GlyphInfo *)
Param[2]: recs (type: Rectangle **)
- Param[3]: charsCount (type: int)
+ Param[3]: glyphCount (type: int)
Param[4]: fontSize (type: int)
Param[5]: padding (type: int)
Param[6]: packMethod (type: int)
-Function 319: UnloadFontData() (2 input parameters)
+Function 328: UnloadFontData() (2 input parameters)
Name: UnloadFontData
Return type: void
Description: Unload font chars info data (RAM)
- Param[1]: chars (type: CharInfo *)
- Param[2]: charsCount (type: int)
-Function 320: UnloadFont() (1 input parameters)
+ Param[1]: chars (type: GlyphInfo *)
+ Param[2]: glyphCount (type: int)
+Function 329: UnloadFont() (1 input parameters)
Name: UnloadFont
Return type: void
Description: Unload Font from GPU memory (VRAM)
Param[1]: font (type: Font)
-Function 321: DrawFPS() (2 input parameters)
+Function 330: DrawFPS() (2 input parameters)
Name: DrawFPS
Return type: void
Description: Draw current FPS
Param[1]: posX (type: int)
Param[2]: posY (type: int)
-Function 322: DrawText() (5 input parameters)
+Function 331: DrawText() (5 input parameters)
Name: DrawText
Return type: void
Description: Draw text (using default font)
@@ -2607,7 +2660,7 @@ Function 322: DrawText() (5 input parameters)
Param[3]: posY (type: int)
Param[4]: fontSize (type: int)
Param[5]: color (type: Color)
-Function 323: DrawTextEx() (6 input parameters)
+Function 332: DrawTextEx() (6 input parameters)
Name: DrawTextEx
Return type: void
Description: Draw text using font and additional parameters
@@ -2617,33 +2670,19 @@ Function 323: DrawTextEx() (6 input parameters)
Param[4]: fontSize (type: float)
Param[5]: spacing (type: float)
Param[6]: tint (type: Color)
-Function 324: DrawTextRec() (7 input parameters)
- Name: DrawTextRec
- Return type: void
- Description: Draw text using font inside rectangle limits
- Param[1]: font (type: Font)
- Param[2]: text (type: const char *)
- Param[3]: rec (type: Rectangle)
- Param[4]: fontSize (type: float)
- Param[5]: spacing (type: float)
- Param[6]: wordWrap (type: bool)
- Param[7]: tint (type: Color)
-Function 325: DrawTextRecEx() (11 input parameters)
- Name: DrawTextRecEx
+Function 333: DrawTextPro() (8 input parameters)
+ Name: DrawTextPro
Return type: void
- Description: Draw text using font inside rectangle limits with support for text selection
+ Description: Draw text using Font and pro parameters (rotation)
Param[1]: font (type: Font)
Param[2]: text (type: const char *)
- Param[3]: rec (type: Rectangle)
- Param[4]: fontSize (type: float)
- Param[5]: spacing (type: float)
- Param[6]: wordWrap (type: bool)
- Param[7]: tint (type: Color)
- Param[8]: selectStart (type: int)
- Param[9]: selectLength (type: int)
- Param[10]: selectTint (type: Color)
- Param[11]: selectBackTint (type: Color)
-Function 326: DrawTextCodepoint() (5 input parameters)
+ Param[3]: position (type: Vector2)
+ Param[4]: origin (type: Vector2)
+ Param[5]: rotation (type: float)
+ Param[6]: fontSize (type: float)
+ Param[7]: spacing (type: float)
+ Param[8]: tint (type: Color)
+Function 334: DrawTextCodepoint() (5 input parameters)
Name: DrawTextCodepoint
Return type: void
Description: Draw one character (codepoint)
@@ -2652,13 +2691,13 @@ Function 326: DrawTextCodepoint() (5 input parameters)
Param[3]: position (type: Vector2)
Param[4]: fontSize (type: float)
Param[5]: tint (type: Color)
-Function 327: MeasureText() (2 input parameters)
+Function 335: MeasureText() (2 input parameters)
Name: MeasureText
Return type: int
Description: Measure string width for default font
Param[1]: text (type: const char *)
Param[2]: fontSize (type: int)
-Function 328: MeasureTextEx() (4 input parameters)
+Function 336: MeasureTextEx() (4 input parameters)
Name: MeasureTextEx
Return type: Vector2
Description: Measure string size for Font
@@ -2666,146 +2705,163 @@ Function 328: MeasureTextEx() (4 input parameters)
Param[2]: text (type: const char *)
Param[3]: fontSize (type: float)
Param[4]: spacing (type: float)
-Function 329: GetGlyphIndex() (2 input parameters)
+Function 337: GetGlyphIndex() (2 input parameters)
Name: GetGlyphIndex
Return type: int
- Description: Get index position for a unicode character on font
+ Description: Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found
+ Param[1]: font (type: Font)
+ Param[2]: codepoint (type: int)
+Function 338: GetGlyphInfo() (2 input parameters)
+ Name: GetGlyphInfo
+ Return type: GlyphInfo
+ Description: Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found
Param[1]: font (type: Font)
Param[2]: codepoint (type: int)
-Function 330: TextCopy() (2 input parameters)
+Function 339: GetGlyphAtlasRec() (2 input parameters)
+ Name: GetGlyphAtlasRec
+ Return type: Rectangle
+ Description: Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found
+ Param[1]: font (type: Font)
+ Param[2]: codepoint (type: int)
+Function 340: LoadCodepoints() (2 input parameters)
+ Name: LoadCodepoints
+ Return type: int *
+ Description: Load all codepoints from a UTF-8 text string, codepoints count returned by parameter
+ Param[1]: text (type: const char *)
+ Param[2]: count (type: int *)
+Function 341: UnloadCodepoints() (1 input parameters)
+ Name: UnloadCodepoints
+ Return type: void
+ Description: Unload codepoints data from memory
+ Param[1]: codepoints (type: int *)
+Function 342: GetCodepointCount() (1 input parameters)
+ Name: GetCodepointCount
+ Return type: int
+ Description: Get total number of codepoints in a UTF-8 encoded string
+ Param[1]: text (type: const char *)
+Function 343: GetCodepoint() (2 input parameters)
+ Name: GetCodepoint
+ Return type: int
+ Description: Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
+ Param[1]: text (type: const char *)
+ Param[2]: bytesProcessed (type: int *)
+Function 344: CodepointToUTF8() (2 input parameters)
+ Name: CodepointToUTF8
+ Return type: const char *
+ Description: Encode one codepoint into UTF-8 byte array (array length returned as parameter)
+ Param[1]: codepoint (type: int)
+ Param[2]: byteSize (type: int *)
+Function 345: TextCodepointsToUTF8() (2 input parameters)
+ Name: TextCodepointsToUTF8
+ Return type: char *
+ Description: Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)
+ Param[1]: codepoints (type: int *)
+ Param[2]: length (type: int)
+Function 346: TextCopy() (2 input parameters)
Name: TextCopy
Return type: int
Description: Copy one string to another, returns bytes copied
Param[1]: dst (type: char *)
Param[2]: src (type: const char *)
-Function 331: TextIsEqual() (2 input parameters)
+Function 347: TextIsEqual() (2 input parameters)
Name: TextIsEqual
Return type: bool
Description: Check if two text string are equal
Param[1]: text1 (type: const char *)
Param[2]: text2 (type: const char *)
-Function 332: TextLength() (1 input parameters)
+Function 348: TextLength() (1 input parameters)
Name: TextLength
Return type: unsigned int
Description: Get text length, checks for '\0' ending
Param[1]: text (type: const char *)
-Function 333: TextFormat() (2 input parameters)
+Function 349: TextFormat() (2 input parameters)
Name: TextFormat
Return type: const char *
- Description: Text formatting with variables (sprintf style)
+ Description: Text formatting with variables (sprintf() style)
Param[1]: text (type: const char *)
Param[2]: (type: )
-Function 334: TextSubtext() (3 input parameters)
+Function 350: TextSubtext() (3 input parameters)
Name: TextSubtext
Return type: const char *
Description: Get a piece of a text string
Param[1]: text (type: const char *)
Param[2]: position (type: int)
Param[3]: length (type: int)
-Function 335: TextReplace() (3 input parameters)
+Function 351: TextReplace() (3 input parameters)
Name: TextReplace
Return type: char *
- Description: Replace text string (memory must be freed!)
+ Description: Replace text string (WARNING: memory must be freed!)
Param[1]: text (type: char *)
Param[2]: replace (type: const char *)
Param[3]: by (type: const char *)
-Function 336: TextInsert() (3 input parameters)
+Function 352: TextInsert() (3 input parameters)
Name: TextInsert
Return type: char *
- Description: Insert text in a position (memory must be freed!)
+ Description: Insert text in a position (WARNING: memory must be freed!)
Param[1]: text (type: const char *)
Param[2]: insert (type: const char *)
Param[3]: position (type: int)
-Function 337: TextJoin() (3 input parameters)
+Function 353: TextJoin() (3 input parameters)
Name: TextJoin
Return type: const char *
Description: Join text strings with delimiter
Param[1]: textList (type: const char **)
Param[2]: count (type: int)
Param[3]: delimiter (type: const char *)
-Function 338: TextSplit() (3 input parameters)
+Function 354: TextSplit() (3 input parameters)
Name: TextSplit
Return type: const char **
Description: Split text into multiple strings
Param[1]: text (type: const char *)
Param[2]: delimiter (type: char)
Param[3]: count (type: int *)
-Function 339: TextAppend() (3 input parameters)
+Function 355: TextAppend() (3 input parameters)
Name: TextAppend
Return type: void
Description: Append text at specific position and move cursor!
Param[1]: text (type: char *)
Param[2]: append (type: const char *)
Param[3]: position (type: int *)
-Function 340: TextFindIndex() (2 input parameters)
+Function 356: TextFindIndex() (2 input parameters)
Name: TextFindIndex
Return type: int
Description: Find first text occurrence within a string
Param[1]: text (type: const char *)
Param[2]: find (type: const char *)
-Function 341: TextToUpper() (1 input parameters)
+Function 357: TextToUpper() (1 input parameters)
Name: TextToUpper
Return type: const char *
Description: Get upper case version of provided string
Param[1]: text (type: const char *)
-Function 342: TextToLower() (1 input parameters)
+Function 358: TextToLower() (1 input parameters)
Name: TextToLower
Return type: const char *
Description: Get lower case version of provided string
Param[1]: text (type: const char *)
-Function 343: TextToPascal() (1 input parameters)
+Function 359: TextToPascal() (1 input parameters)
Name: TextToPascal
Return type: const char *
Description: Get Pascal case notation version of provided string
Param[1]: text (type: const char *)
-Function 344: TextToInteger() (1 input parameters)
+Function 360: TextToInteger() (1 input parameters)
Name: TextToInteger
Return type: int
Description: Get integer value from text (negative values not supported)
Param[1]: text (type: const char *)
-Function 345: TextToUtf8() (2 input parameters)
- Name: TextToUtf8
- Return type: char *
- Description: Encode text codepoint into utf8 text (memory must be freed!)
- Param[1]: codepoints (type: int *)
- Param[2]: length (type: int)
-Function 346: GetCodepoints() (2 input parameters)
- Name: GetCodepoints
- Return type: int *
- Description: Get all codepoints in a string, codepoints count returned by parameters
- Param[1]: text (type: const char *)
- Param[2]: count (type: int *)
-Function 347: GetCodepointsCount() (1 input parameters)
- Name: GetCodepointsCount
- Return type: int
- Description: Get total number of characters (codepoints) in a UTF8 encoded string
- Param[1]: text (type: const char *)
-Function 348: GetNextCodepoint() (2 input parameters)
- Name: GetNextCodepoint
- Return type: int
- Description: Get next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure
- Param[1]: text (type: const char *)
- Param[2]: bytesProcessed (type: int *)
-Function 349: CodepointToUtf8() (2 input parameters)
- Name: CodepointToUtf8
- Return type: const char *
- Description: Encode codepoint into utf8 text (char array length returned as parameter)
- Param[1]: codepoint (type: int)
- Param[2]: byteLength (type: int *)
-Function 350: DrawLine3D() (3 input parameters)
+Function 361: DrawLine3D() (3 input parameters)
Name: DrawLine3D
Return type: void
Description: Draw a line in 3D world space
Param[1]: startPos (type: Vector3)
Param[2]: endPos (type: Vector3)
Param[3]: color (type: Color)
-Function 351: DrawPoint3D() (2 input parameters)
+Function 362: DrawPoint3D() (2 input parameters)
Name: DrawPoint3D
Return type: void
Description: Draw a point in 3D space, actually a small line
Param[1]: position (type: Vector3)
Param[2]: color (type: Color)
-Function 352: DrawCircle3D() (5 input parameters)
+Function 363: DrawCircle3D() (5 input parameters)
Name: DrawCircle3D
Return type: void
Description: Draw a circle in 3D world space
@@ -2814,7 +2870,7 @@ Function 352: DrawCircle3D() (5 input parameters)
Param[3]: rotationAxis (type: Vector3)
Param[4]: rotationAngle (type: float)
Param[5]: color (type: Color)
-Function 353: DrawTriangle3D() (4 input parameters)
+Function 364: DrawTriangle3D() (4 input parameters)
Name: DrawTriangle3D
Return type: void
Description: Draw a color-filled triangle (vertex in counter-clockwise order!)
@@ -2822,14 +2878,14 @@ Function 353: DrawTriangle3D() (4 input parameters)
Param[2]: v2 (type: Vector3)
Param[3]: v3 (type: Vector3)
Param[4]: color (type: Color)
-Function 354: DrawTriangleStrip3D() (3 input parameters)
+Function 365: DrawTriangleStrip3D() (3 input parameters)
Name: DrawTriangleStrip3D
Return type: void
Description: Draw a triangle strip defined by points
Param[1]: points (type: Vector3 *)
- Param[2]: pointsCount (type: int)
+ Param[2]: pointCount (type: int)
Param[3]: color (type: Color)
-Function 355: DrawCube() (5 input parameters)
+Function 366: DrawCube() (5 input parameters)
Name: DrawCube
Return type: void
Description: Draw cube
@@ -2838,14 +2894,14 @@ Function 355: DrawCube() (5 input parameters)
Param[3]: height (type: float)
Param[4]: length (type: float)
Param[5]: color (type: Color)
-Function 356: DrawCubeV() (3 input parameters)
+Function 367: DrawCubeV() (3 input parameters)
Name: DrawCubeV
Return type: void
Description: Draw cube (Vector version)
Param[1]: position (type: Vector3)
Param[2]: size (type: Vector3)
Param[3]: color (type: Color)
-Function 357: DrawCubeWires() (5 input parameters)
+Function 368: DrawCubeWires() (5 input parameters)
Name: DrawCubeWires
Return type: void
Description: Draw cube wires
@@ -2854,14 +2910,14 @@ Function 357: DrawCubeWires() (5 input parameters)
Param[3]: height (type: float)
Param[4]: length (type: float)
Param[5]: color (type: Color)
-Function 358: DrawCubeWiresV() (3 input parameters)
+Function 369: DrawCubeWiresV() (3 input parameters)
Name: DrawCubeWiresV
Return type: void
Description: Draw cube wires (Vector version)
Param[1]: position (type: Vector3)
Param[2]: size (type: Vector3)
Param[3]: color (type: Color)
-Function 359: DrawCubeTexture() (6 input parameters)
+Function 370: DrawCubeTexture() (6 input parameters)
Name: DrawCubeTexture
Return type: void
Description: Draw cube textured
@@ -2871,14 +2927,25 @@ Function 359: DrawCubeTexture() (6 input parameters)
Param[4]: height (type: float)
Param[5]: length (type: float)
Param[6]: color (type: Color)
-Function 360: DrawSphere() (3 input parameters)
+Function 371: DrawCubeTextureRec() (7 input parameters)
+ Name: DrawCubeTextureRec
+ Return type: void
+ Description: Draw cube with a region of a texture
+ Param[1]: texture (type: Texture2D)
+ Param[2]: source (type: Rectangle)
+ Param[3]: position (type: Vector3)
+ Param[4]: width (type: float)
+ Param[5]: height (type: float)
+ Param[6]: length (type: float)
+ Param[7]: color (type: Color)
+Function 372: DrawSphere() (3 input parameters)
Name: DrawSphere
Return type: void
Description: Draw sphere
Param[1]: centerPos (type: Vector3)
Param[2]: radius (type: float)
Param[3]: color (type: Color)
-Function 361: DrawSphereEx() (5 input parameters)
+Function 373: DrawSphereEx() (5 input parameters)
Name: DrawSphereEx
Return type: void
Description: Draw sphere with extended parameters
@@ -2887,7 +2954,7 @@ Function 361: DrawSphereEx() (5 input parameters)
Param[3]: rings (type: int)
Param[4]: slices (type: int)
Param[5]: color (type: Color)
-Function 362: DrawSphereWires() (5 input parameters)
+Function 374: DrawSphereWires() (5 input parameters)
Name: DrawSphereWires
Return type: void
Description: Draw sphere wires
@@ -2896,7 +2963,7 @@ Function 362: DrawSphereWires() (5 input parameters)
Param[3]: rings (type: int)
Param[4]: slices (type: int)
Param[5]: color (type: Color)
-Function 363: DrawCylinder() (6 input parameters)
+Function 375: DrawCylinder() (6 input parameters)
Name: DrawCylinder
Return type: void
Description: Draw a cylinder/cone
@@ -2906,7 +2973,17 @@ Function 363: DrawCylinder() (6 input parameters)
Param[4]: height (type: float)
Param[5]: slices (type: int)
Param[6]: color (type: Color)
-Function 364: DrawCylinderWires() (6 input parameters)
+Function 376: DrawCylinderEx() (6 input parameters)
+ Name: DrawCylinderEx
+ Return type: void
+ Description: Draw a cylinder with base at startPos and top at endPos
+ Param[1]: startPos (type: Vector3)
+ Param[2]: endPos (type: Vector3)
+ Param[3]: startRadius (type: float)
+ Param[4]: endRadius (type: float)
+ Param[5]: sides (type: int)
+ Param[6]: color (type: Color)
+Function 377: DrawCylinderWires() (6 input parameters)
Name: DrawCylinderWires
Return type: void
Description: Draw a cylinder/cone wires
@@ -2916,52 +2993,141 @@ Function 364: DrawCylinderWires() (6 input parameters)
Param[4]: height (type: float)
Param[5]: slices (type: int)
Param[6]: color (type: Color)
-Function 365: DrawPlane() (3 input parameters)
+Function 378: DrawCylinderWiresEx() (6 input parameters)
+ Name: DrawCylinderWiresEx
+ Return type: void
+ Description: Draw a cylinder wires with base at startPos and top at endPos
+ Param[1]: startPos (type: Vector3)
+ Param[2]: endPos (type: Vector3)
+ Param[3]: startRadius (type: float)
+ Param[4]: endRadius (type: float)
+ Param[5]: sides (type: int)
+ Param[6]: color (type: Color)
+Function 379: DrawPlane() (3 input parameters)
Name: DrawPlane
Return type: void
Description: Draw a plane XZ
Param[1]: centerPos (type: Vector3)
Param[2]: size (type: Vector2)
Param[3]: color (type: Color)
-Function 366: DrawRay() (2 input parameters)
+Function 380: DrawRay() (2 input parameters)
Name: DrawRay
Return type: void
Description: Draw a ray line
Param[1]: ray (type: Ray)
Param[2]: color (type: Color)
-Function 367: DrawGrid() (2 input parameters)
+Function 381: DrawGrid() (2 input parameters)
Name: DrawGrid
Return type: void
Description: Draw a grid (centered at (0, 0, 0))
Param[1]: slices (type: int)
Param[2]: spacing (type: float)
-Function 368: LoadModel() (1 input parameters)
+Function 382: LoadModel() (1 input parameters)
Name: LoadModel
Return type: Model
Description: Load model from files (meshes and materials)
Param[1]: fileName (type: const char *)
-Function 369: LoadModelFromMesh() (1 input parameters)
+Function 383: LoadModelFromMesh() (1 input parameters)
Name: LoadModelFromMesh
Return type: Model
Description: Load model from generated mesh (default material)
Param[1]: mesh (type: Mesh)
-Function 370: UnloadModel() (1 input parameters)
+Function 384: UnloadModel() (1 input parameters)
Name: UnloadModel
Return type: void
Description: Unload model (including meshes) from memory (RAM and/or VRAM)
Param[1]: model (type: Model)
-Function 371: UnloadModelKeepMeshes() (1 input parameters)
+Function 385: UnloadModelKeepMeshes() (1 input parameters)
Name: UnloadModelKeepMeshes
Return type: void
Description: Unload model (but not meshes) from memory (RAM and/or VRAM)
Param[1]: model (type: Model)
-Function 372: UploadMesh() (2 input parameters)
+Function 386: GetModelBoundingBox() (1 input parameters)
+ Name: GetModelBoundingBox
+ Return type: BoundingBox
+ Description: Compute model bounding box limits (considers all meshes)
+ Param[1]: model (type: Model)
+Function 387: DrawModel() (4 input parameters)
+ Name: DrawModel
+ Return type: void
+ Description: Draw a model (with texture if set)
+ Param[1]: model (type: Model)
+ Param[2]: position (type: Vector3)
+ Param[3]: scale (type: float)
+ Param[4]: tint (type: Color)
+Function 388: DrawModelEx() (6 input parameters)
+ Name: DrawModelEx
+ Return type: void
+ Description: Draw a model with extended parameters
+ Param[1]: model (type: Model)
+ Param[2]: position (type: Vector3)
+ Param[3]: rotationAxis (type: Vector3)
+ Param[4]: rotationAngle (type: float)
+ Param[5]: scale (type: Vector3)
+ Param[6]: tint (type: Color)
+Function 389: DrawModelWires() (4 input parameters)
+ Name: DrawModelWires
+ Return type: void
+ Description: Draw a model wires (with texture if set)
+ Param[1]: model (type: Model)
+ Param[2]: position (type: Vector3)
+ Param[3]: scale (type: float)
+ Param[4]: tint (type: Color)
+Function 390: DrawModelWiresEx() (6 input parameters)
+ Name: DrawModelWiresEx
+ Return type: void
+ Description: Draw a model wires (with texture if set) with extended parameters
+ Param[1]: model (type: Model)
+ Param[2]: position (type: Vector3)
+ Param[3]: rotationAxis (type: Vector3)
+ Param[4]: rotationAngle (type: float)
+ Param[5]: scale (type: Vector3)
+ Param[6]: tint (type: Color)
+Function 391: DrawBoundingBox() (2 input parameters)
+ Name: DrawBoundingBox
+ Return type: void
+ Description: Draw bounding box (wires)
+ Param[1]: box (type: BoundingBox)
+ Param[2]: color (type: Color)
+Function 392: DrawBillboard() (5 input parameters)
+ Name: DrawBillboard
+ Return type: void
+ Description: Draw a billboard texture
+ Param[1]: camera (type: Camera)
+ Param[2]: texture (type: Texture2D)
+ Param[3]: position (type: Vector3)
+ Param[4]: size (type: float)
+ Param[5]: tint (type: Color)
+Function 393: DrawBillboardRec() (6 input parameters)
+ Name: DrawBillboardRec
+ Return type: void
+ Description: Draw a billboard texture defined by source
+ Param[1]: camera (type: Camera)
+ Param[2]: texture (type: Texture2D)
+ Param[3]: source (type: Rectangle)
+ Param[4]: position (type: Vector3)
+ Param[5]: size (type: Vector2)
+ Param[6]: tint (type: Color)
+Function 394: DrawBillboardPro() (9 input parameters)
+ Name: DrawBillboardPro
+ Return type: void
+ Description: Draw a billboard texture defined by source and rotation
+ Param[1]: camera (type: Camera)
+ Param[2]: texture (type: Texture2D)
+ Param[3]: source (type: Rectangle)
+ Param[4]: position (type: Vector3)
+ Param[5]: up (type: Vector3)
+ Param[6]: size (type: Vector2)
+ Param[7]: origin (type: Vector2)
+ Param[8]: rotation (type: float)
+ Param[9]: tint (type: Color)
+Function 395: UploadMesh() (2 input parameters)
Name: UploadMesh
Return type: void
Description: Upload mesh vertex data in GPU and provide VAO/VBO ids
Param[1]: mesh (type: Mesh *)
Param[2]: dynamic (type: bool)
-Function 373: UpdateMeshBuffer() (5 input parameters)
+Function 396: UpdateMeshBuffer() (5 input parameters)
Name: UpdateMeshBuffer
Return type: void
Description: Update mesh vertex data in GPU for a specific buffer index
@@ -2970,14 +3136,19 @@ Function 373: UpdateMeshBuffer() (5 input parameters)
Param[3]: data (type: void *)
Param[4]: dataSize (type: int)
Param[5]: offset (type: int)
-Function 374: DrawMesh() (3 input parameters)
+Function 397: UnloadMesh() (1 input parameters)
+ Name: UnloadMesh
+ Return type: void
+ Description: Unload mesh data from CPU and GPU
+ Param[1]: mesh (type: Mesh)
+Function 398: DrawMesh() (3 input parameters)
Name: DrawMesh
Return type: void
Description: Draw a 3d mesh with material and transform
Param[1]: mesh (type: Mesh)
Param[2]: material (type: Material)
Param[3]: transform (type: Matrix)
-Function 375: DrawMeshInstanced() (4 input parameters)
+Function 399: DrawMeshInstanced() (4 input parameters)
Name: DrawMeshInstanced
Return type: void
Description: Draw multiple mesh instances with material and different transforms
@@ -2985,84 +3156,34 @@ Function 375: DrawMeshInstanced() (4 input parameters)
Param[2]: material (type: Material)
Param[3]: transforms (type: Matrix *)
Param[4]: instances (type: int)
-Function 376: UnloadMesh() (1 input parameters)
- Name: UnloadMesh
- Return type: void
- Description: Unload mesh data from CPU and GPU
- Param[1]: mesh (type: Mesh)
-Function 377: ExportMesh() (2 input parameters)
+Function 400: ExportMesh() (2 input parameters)
Name: ExportMesh
Return type: bool
Description: Export mesh data to file, returns true on success
Param[1]: mesh (type: Mesh)
Param[2]: fileName (type: const char *)
-Function 378: LoadMaterials() (2 input parameters)
- Name: LoadMaterials
- Return type: Material *
- Description: Load materials from model file
- Param[1]: fileName (type: const char *)
- Param[2]: materialCount (type: int *)
-Function 379: LoadMaterialDefault() (0 input parameters)
- Name: LoadMaterialDefault
- Return type: Material
- Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
- No input parameters
-Function 380: UnloadMaterial() (1 input parameters)
- Name: UnloadMaterial
- Return type: void
- Description: Unload material from GPU memory (VRAM)
- Param[1]: material (type: Material)
-Function 381: SetMaterialTexture() (3 input parameters)
- Name: SetMaterialTexture
- Return type: void
- Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
- Param[1]: material (type: Material *)
- Param[2]: mapType (type: int)
- Param[3]: texture (type: Texture2D)
-Function 382: SetModelMeshMaterial() (3 input parameters)
- Name: SetModelMeshMaterial
- Return type: void
- Description: Set material for a mesh
- Param[1]: model (type: Model *)
- Param[2]: meshId (type: int)
- Param[3]: materialId (type: int)
-Function 383: LoadModelAnimations() (2 input parameters)
- Name: LoadModelAnimations
- Return type: ModelAnimation *
- Description: Load model animations from file
- Param[1]: fileName (type: const char *)
- Param[2]: animsCount (type: int *)
-Function 384: UpdateModelAnimation() (3 input parameters)
- Name: UpdateModelAnimation
- Return type: void
- Description: Update model animation pose
- Param[1]: model (type: Model)
- Param[2]: anim (type: ModelAnimation)
- Param[3]: frame (type: int)
-Function 385: UnloadModelAnimation() (1 input parameters)
- Name: UnloadModelAnimation
+Function 401: GetMeshBoundingBox() (1 input parameters)
+ Name: GetMeshBoundingBox
+ Return type: BoundingBox
+ Description: Compute mesh bounding box limits
+ Param[1]: mesh (type: Mesh)
+Function 402: GenMeshTangents() (1 input parameters)
+ Name: GenMeshTangents
Return type: void
- Description: Unload animation data
- Param[1]: anim (type: ModelAnimation)
-Function 386: UnloadModelAnimations() (2 input parameters)
- Name: UnloadModelAnimations
+ Description: Compute mesh tangents
+ Param[1]: mesh (type: Mesh *)
+Function 403: GenMeshBinormals() (1 input parameters)
+ Name: GenMeshBinormals
Return type: void
- Description: Unload animation array data
- Param[1]: animations (type: ModelAnimation*)
- Param[2]: count (type: unsigned int)
-Function 387: IsModelAnimationValid() (2 input parameters)
- Name: IsModelAnimationValid
- Return type: bool
- Description: Check model animation skeleton match
- Param[1]: model (type: Model)
- Param[2]: anim (type: ModelAnimation)
-Function 388: GenMeshPoly() (2 input parameters)
+ Description: Compute mesh binormals
+ Param[1]: mesh (type: Mesh *)
+Function 404: GenMeshPoly() (2 input parameters)
Name: GenMeshPoly
Return type: Mesh
Description: Generate polygonal mesh
Param[1]: sides (type: int)
Param[2]: radius (type: float)
-Function 389: GenMeshPlane() (4 input parameters)
+Function 405: GenMeshPlane() (4 input parameters)
Name: GenMeshPlane
Return type: Mesh
Description: Generate plane mesh (with subdivisions)
@@ -3070,35 +3191,42 @@ Function 389: GenMeshPlane() (4 input parameters)
Param[2]: length (type: float)
Param[3]: resX (type: int)
Param[4]: resZ (type: int)
-Function 390: GenMeshCube() (3 input parameters)
+Function 406: GenMeshCube() (3 input parameters)
Name: GenMeshCube
Return type: Mesh
Description: Generate cuboid mesh
Param[1]: width (type: float)
Param[2]: height (type: float)
Param[3]: length (type: float)
-Function 391: GenMeshSphere() (3 input parameters)
+Function 407: GenMeshSphere() (3 input parameters)
Name: GenMeshSphere
Return type: Mesh
Description: Generate sphere mesh (standard sphere)
Param[1]: radius (type: float)
Param[2]: rings (type: int)
Param[3]: slices (type: int)
-Function 392: GenMeshHemiSphere() (3 input parameters)
+Function 408: GenMeshHemiSphere() (3 input parameters)
Name: GenMeshHemiSphere
Return type: Mesh
Description: Generate half-sphere mesh (no bottom cap)
Param[1]: radius (type: float)
Param[2]: rings (type: int)
Param[3]: slices (type: int)
-Function 393: GenMeshCylinder() (3 input parameters)
+Function 409: GenMeshCylinder() (3 input parameters)
Name: GenMeshCylinder
Return type: Mesh
Description: Generate cylinder mesh
Param[1]: radius (type: float)
Param[2]: height (type: float)
Param[3]: slices (type: int)
-Function 394: GenMeshTorus() (4 input parameters)
+Function 410: GenMeshCone() (3 input parameters)
+ Name: GenMeshCone
+ Return type: Mesh
+ Description: Generate cone/pyramid mesh
+ Param[1]: radius (type: float)
+ Param[2]: height (type: float)
+ Param[3]: slices (type: int)
+Function 411: GenMeshTorus() (4 input parameters)
Name: GenMeshTorus
Return type: Mesh
Description: Generate torus mesh
@@ -3106,7 +3234,7 @@ Function 394: GenMeshTorus() (4 input parameters)
Param[2]: size (type: float)
Param[3]: radSeg (type: int)
Param[4]: sides (type: int)
-Function 395: GenMeshKnot() (4 input parameters)
+Function 412: GenMeshKnot() (4 input parameters)
Name: GenMeshKnot
Return type: Mesh
Description: Generate trefoil knot mesh
@@ -3114,107 +3242,79 @@ Function 395: GenMeshKnot() (4 input parameters)
Param[2]: size (type: float)
Param[3]: radSeg (type: int)
Param[4]: sides (type: int)
-Function 396: GenMeshHeightmap() (2 input parameters)
+Function 413: GenMeshHeightmap() (2 input parameters)
Name: GenMeshHeightmap
Return type: Mesh
Description: Generate heightmap mesh from image data
Param[1]: heightmap (type: Image)
Param[2]: size (type: Vector3)
-Function 397: GenMeshCubicmap() (2 input parameters)
+Function 414: GenMeshCubicmap() (2 input parameters)
Name: GenMeshCubicmap
Return type: Mesh
Description: Generate cubes-based map mesh from image data
Param[1]: cubicmap (type: Image)
Param[2]: cubeSize (type: Vector3)
-Function 398: GetMeshBoundingBox() (1 input parameters)
- Name: GetMeshBoundingBox
- Return type: BoundingBox
- Description: Compute mesh bounding box limits
- Param[1]: mesh (type: Mesh)
-Function 399: MeshTangents() (1 input parameters)
- Name: MeshTangents
+Function 415: LoadMaterials() (2 input parameters)
+ Name: LoadMaterials
+ Return type: Material *
+ Description: Load materials from model file
+ Param[1]: fileName (type: const char *)
+ Param[2]: materialCount (type: int *)
+Function 416: LoadMaterialDefault() (0 input parameters)
+ Name: LoadMaterialDefault
+ Return type: Material
+ Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
+ No input parameters
+Function 417: UnloadMaterial() (1 input parameters)
+ Name: UnloadMaterial
Return type: void
- Description: Compute mesh tangents
- Param[1]: mesh (type: Mesh *)
-Function 400: MeshBinormals() (1 input parameters)
- Name: MeshBinormals
+ Description: Unload material from GPU memory (VRAM)
+ Param[1]: material (type: Material)
+Function 418: SetMaterialTexture() (3 input parameters)
+ Name: SetMaterialTexture
Return type: void
- Description: Compute mesh binormals
- Param[1]: mesh (type: Mesh *)
-Function 401: DrawModel() (4 input parameters)
- Name: DrawModel
+ Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
+ Param[1]: material (type: Material *)
+ Param[2]: mapType (type: int)
+ Param[3]: texture (type: Texture2D)
+Function 419: SetModelMeshMaterial() (3 input parameters)
+ Name: SetModelMeshMaterial
Return type: void
- Description: Draw a model (with texture if set)
- Param[1]: model (type: Model)
- Param[2]: position (type: Vector3)
- Param[3]: scale (type: float)
- Param[4]: tint (type: Color)
-Function 402: DrawModelEx() (6 input parameters)
- Name: DrawModelEx
+ Description: Set material for a mesh
+ Param[1]: model (type: Model *)
+ Param[2]: meshId (type: int)
+ Param[3]: materialId (type: int)
+Function 420: LoadModelAnimations() (2 input parameters)
+ Name: LoadModelAnimations
+ Return type: ModelAnimation *
+ Description: Load model animations from file
+ Param[1]: fileName (type: const char *)
+ Param[2]: animCount (type: unsigned int *)
+Function 421: UpdateModelAnimation() (3 input parameters)
+ Name: UpdateModelAnimation
Return type: void
- Description: Draw a model with extended parameters
+ Description: Update model animation pose
Param[1]: model (type: Model)
- Param[2]: position (type: Vector3)
- Param[3]: rotationAxis (type: Vector3)
- Param[4]: rotationAngle (type: float)
- Param[5]: scale (type: Vector3)
- Param[6]: tint (type: Color)
-Function 403: DrawModelWires() (4 input parameters)
- Name: DrawModelWires
+ Param[2]: anim (type: ModelAnimation)
+ Param[3]: frame (type: int)
+Function 422: UnloadModelAnimation() (1 input parameters)
+ Name: UnloadModelAnimation
Return type: void
- Description: Draw a model wires (with texture if set)
- Param[1]: model (type: Model)
- Param[2]: position (type: Vector3)
- Param[3]: scale (type: float)
- Param[4]: tint (type: Color)
-Function 404: DrawModelWiresEx() (6 input parameters)
- Name: DrawModelWiresEx
+ Description: Unload animation data
+ Param[1]: anim (type: ModelAnimation)
+Function 423: UnloadModelAnimations() (2 input parameters)
+ Name: UnloadModelAnimations
Return type: void
- Description: Draw a model wires (with texture if set) with extended parameters
+ Description: Unload animation array data
+ Param[1]: animations (type: ModelAnimation*)
+ Param[2]: count (type: unsigned int)
+Function 424: IsModelAnimationValid() (2 input parameters)
+ Name: IsModelAnimationValid
+ Return type: bool
+ Description: Check model animation skeleton match
Param[1]: model (type: Model)
- Param[2]: position (type: Vector3)
- Param[3]: rotationAxis (type: Vector3)
- Param[4]: rotationAngle (type: float)
- Param[5]: scale (type: Vector3)
- Param[6]: tint (type: Color)
-Function 405: DrawBoundingBox() (2 input parameters)
- Name: DrawBoundingBox
- Return type: void
- Description: Draw bounding box (wires)
- Param[1]: box (type: BoundingBox)
- Param[2]: color (type: Color)
-Function 406: DrawBillboard() (5 input parameters)
- Name: DrawBillboard
- Return type: void
- Description: Draw a billboard texture
- Param[1]: camera (type: Camera)
- Param[2]: texture (type: Texture2D)
- Param[3]: position (type: Vector3)
- Param[4]: size (type: float)
- Param[5]: tint (type: Color)
-Function 407: DrawBillboardRec() (6 input parameters)
- Name: DrawBillboardRec
- Return type: void
- Description: Draw a billboard texture defined by source
- Param[1]: camera (type: Camera)
- Param[2]: texture (type: Texture2D)
- Param[3]: source (type: Rectangle)
- Param[4]: position (type: Vector3)
- Param[5]: size (type: Vector2)
- Param[6]: tint (type: Color)
-Function 408: DrawBillboardPro() (8 input parameters)
- Name: DrawBillboardPro
- Return type: void
- Description: Draw a billboard texture defined by source and rotation
- Param[1]: camera (type: Camera)
- Param[2]: texture (type: Texture2D)
- Param[3]: source (type: Rectangle)
- Param[4]: position (type: Vector3)
- Param[5]: size (type: Vector2)
- Param[6]: origin (type: Vector2)
- Param[7]: rotation (type: float)
- Param[8]: tint (type: Color)
-Function 409: CheckCollisionSpheres() (4 input parameters)
+ Param[2]: anim (type: ModelAnimation)
+Function 425: CheckCollisionSpheres() (4 input parameters)
Name: CheckCollisionSpheres
Return type: bool
Description: Check collision between two spheres
@@ -3222,46 +3322,46 @@ Function 409: CheckCollisionSpheres() (4 input parameters)
Param[2]: radius1 (type: float)
Param[3]: center2 (type: Vector3)
Param[4]: radius2 (type: float)
-Function 410: CheckCollisionBoxes() (2 input parameters)
+Function 426: CheckCollisionBoxes() (2 input parameters)
Name: CheckCollisionBoxes
Return type: bool
Description: Check collision between two bounding boxes
Param[1]: box1 (type: BoundingBox)
Param[2]: box2 (type: BoundingBox)
-Function 411: CheckCollisionBoxSphere() (3 input parameters)
+Function 427: CheckCollisionBoxSphere() (3 input parameters)
Name: CheckCollisionBoxSphere
Return type: bool
Description: Check collision between box and sphere
Param[1]: box (type: BoundingBox)
Param[2]: center (type: Vector3)
Param[3]: radius (type: float)
-Function 412: GetRayCollisionSphere() (3 input parameters)
+Function 428: GetRayCollisionSphere() (3 input parameters)
Name: GetRayCollisionSphere
Return type: RayCollision
Description: Get collision info between ray and sphere
Param[1]: ray (type: Ray)
Param[2]: center (type: Vector3)
Param[3]: radius (type: float)
-Function 413: GetRayCollisionBox() (2 input parameters)
+Function 429: GetRayCollisionBox() (2 input parameters)
Name: GetRayCollisionBox
Return type: RayCollision
Description: Get collision info between ray and box
Param[1]: ray (type: Ray)
Param[2]: box (type: BoundingBox)
-Function 414: GetRayCollisionModel() (2 input parameters)
+Function 430: GetRayCollisionModel() (2 input parameters)
Name: GetRayCollisionModel
Return type: RayCollision
Description: Get collision info between ray and model
Param[1]: ray (type: Ray)
Param[2]: model (type: Model)
-Function 415: GetRayCollisionMesh() (3 input parameters)
+Function 431: GetRayCollisionMesh() (3 input parameters)
Name: GetRayCollisionMesh
Return type: RayCollision
Description: Get collision info between ray and mesh
Param[1]: ray (type: Ray)
Param[2]: mesh (type: Mesh)
Param[3]: transform (type: Matrix)
-Function 416: GetRayCollisionTriangle() (4 input parameters)
+Function 432: GetRayCollisionTriangle() (4 input parameters)
Name: GetRayCollisionTriangle
Return type: RayCollision
Description: Get collision info between ray and triangle
@@ -3269,7 +3369,7 @@ Function 416: GetRayCollisionTriangle() (4 input parameters)
Param[2]: p1 (type: Vector3)
Param[3]: p2 (type: Vector3)
Param[4]: p3 (type: Vector3)
-Function 417: GetRayCollisionQuad() (5 input parameters)
+Function 433: GetRayCollisionQuad() (5 input parameters)
Name: GetRayCollisionQuad
Return type: RayCollision
Description: Get collision info between ray and quad
@@ -3278,130 +3378,130 @@ Function 417: GetRayCollisionQuad() (5 input parameters)
Param[3]: p2 (type: Vector3)
Param[4]: p3 (type: Vector3)
Param[5]: p4 (type: Vector3)
-Function 418: InitAudioDevice() (0 input parameters)
+Function 434: InitAudioDevice() (0 input parameters)
Name: InitAudioDevice
Return type: void
Description: Initialize audio device and context
No input parameters
-Function 419: CloseAudioDevice() (0 input parameters)
+Function 435: CloseAudioDevice() (0 input parameters)
Name: CloseAudioDevice
Return type: void
Description: Close the audio device and context
No input parameters
-Function 420: IsAudioDeviceReady() (0 input parameters)
+Function 436: IsAudioDeviceReady() (0 input parameters)
Name: IsAudioDeviceReady
Return type: bool
Description: Check if audio device has been initialized successfully
No input parameters
-Function 421: SetMasterVolume() (1 input parameters)
+Function 437: SetMasterVolume() (1 input parameters)
Name: SetMasterVolume
Return type: void
Description: Set master volume (listener)
Param[1]: volume (type: float)
-Function 422: LoadWave() (1 input parameters)
+Function 438: LoadWave() (1 input parameters)
Name: LoadWave
Return type: Wave
Description: Load wave data from file
Param[1]: fileName (type: const char *)
-Function 423: LoadWaveFromMemory() (3 input parameters)
+Function 439: LoadWaveFromMemory() (3 input parameters)
Name: LoadWaveFromMemory
Return type: Wave
Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav'
Param[1]: fileType (type: const char *)
Param[2]: fileData (type: const unsigned char *)
Param[3]: dataSize (type: int)
-Function 424: LoadSound() (1 input parameters)
+Function 440: LoadSound() (1 input parameters)
Name: LoadSound
Return type: Sound
Description: Load sound from file
Param[1]: fileName (type: const char *)
-Function 425: LoadSoundFromWave() (1 input parameters)
+Function 441: LoadSoundFromWave() (1 input parameters)
Name: LoadSoundFromWave
Return type: Sound
Description: Load sound from wave data
Param[1]: wave (type: Wave)
-Function 426: UpdateSound() (3 input parameters)
+Function 442: UpdateSound() (3 input parameters)
Name: UpdateSound
Return type: void
Description: Update sound buffer with new data
Param[1]: sound (type: Sound)
Param[2]: data (type: const void *)
- Param[3]: samplesCount (type: int)
-Function 427: UnloadWave() (1 input parameters)
+ Param[3]: sampleCount (type: int)
+Function 443: UnloadWave() (1 input parameters)
Name: UnloadWave
Return type: void
Description: Unload wave data
Param[1]: wave (type: Wave)
-Function 428: UnloadSound() (1 input parameters)
+Function 444: UnloadSound() (1 input parameters)
Name: UnloadSound
Return type: void
Description: Unload sound
Param[1]: sound (type: Sound)
-Function 429: ExportWave() (2 input parameters)
+Function 445: ExportWave() (2 input parameters)
Name: ExportWave
Return type: bool
Description: Export wave data to file, returns true on success
Param[1]: wave (type: Wave)
Param[2]: fileName (type: const char *)
-Function 430: ExportWaveAsCode() (2 input parameters)
+Function 446: ExportWaveAsCode() (2 input parameters)
Name: ExportWaveAsCode
Return type: bool
Description: Export wave sample data to code (.h), returns true on success
Param[1]: wave (type: Wave)
Param[2]: fileName (type: const char *)
-Function 431: PlaySound() (1 input parameters)
+Function 447: PlaySound() (1 input parameters)
Name: PlaySound
Return type: void
Description: Play a sound
Param[1]: sound (type: Sound)
-Function 432: StopSound() (1 input parameters)
+Function 448: StopSound() (1 input parameters)
Name: StopSound
Return type: void
Description: Stop playing a sound
Param[1]: sound (type: Sound)
-Function 433: PauseSound() (1 input parameters)
+Function 449: PauseSound() (1 input parameters)
Name: PauseSound
Return type: void
Description: Pause a sound
Param[1]: sound (type: Sound)
-Function 434: ResumeSound() (1 input parameters)
+Function 450: ResumeSound() (1 input parameters)
Name: ResumeSound
Return type: void
Description: Resume a paused sound
Param[1]: sound (type: Sound)
-Function 435: PlaySoundMulti() (1 input parameters)
+Function 451: PlaySoundMulti() (1 input parameters)
Name: PlaySoundMulti
Return type: void
Description: Play a sound (using multichannel buffer pool)
Param[1]: sound (type: Sound)
-Function 436: StopSoundMulti() (0 input parameters)
+Function 452: StopSoundMulti() (0 input parameters)
Name: StopSoundMulti
Return type: void
Description: Stop any sound playing (using multichannel buffer pool)
No input parameters
-Function 437: GetSoundsPlaying() (0 input parameters)
+Function 453: GetSoundsPlaying() (0 input parameters)
Name: GetSoundsPlaying
Return type: int
Description: Get number of sounds playing in the multichannel
No input parameters
-Function 438: IsSoundPlaying() (1 input parameters)
+Function 454: IsSoundPlaying() (1 input parameters)
Name: IsSoundPlaying
Return type: bool
Description: Check if a sound is currently playing
Param[1]: sound (type: Sound)
-Function 439: SetSoundVolume() (2 input parameters)
+Function 455: SetSoundVolume() (2 input parameters)
Name: SetSoundVolume
Return type: void
Description: Set volume for a sound (1.0 is max level)
Param[1]: sound (type: Sound)
Param[2]: volume (type: float)
-Function 440: SetSoundPitch() (2 input parameters)
+Function 456: SetSoundPitch() (2 input parameters)
Name: SetSoundPitch
Return type: void
Description: Set pitch for a sound (1.0 is base level)
Param[1]: sound (type: Sound)
Param[2]: pitch (type: float)
-Function 441: WaveFormat() (4 input parameters)
+Function 457: WaveFormat() (4 input parameters)
Name: WaveFormat
Return type: void
Description: Convert wave data to desired format
@@ -3409,159 +3509,165 @@ Function 441: WaveFormat() (4 input parameters)
Param[2]: sampleRate (type: int)
Param[3]: sampleSize (type: int)
Param[4]: channels (type: int)
-Function 442: WaveCopy() (1 input parameters)
+Function 458: WaveCopy() (1 input parameters)
Name: WaveCopy
Return type: Wave
Description: Copy a wave to a new wave
Param[1]: wave (type: Wave)
-Function 443: WaveCrop() (3 input parameters)
+Function 459: WaveCrop() (3 input parameters)
Name: WaveCrop
Return type: void
Description: Crop a wave to defined samples range
Param[1]: wave (type: Wave *)
Param[2]: initSample (type: int)
Param[3]: finalSample (type: int)
-Function 444: LoadWaveSamples() (1 input parameters)
+Function 460: LoadWaveSamples() (1 input parameters)
Name: LoadWaveSamples
Return type: float *
Description: Load samples data from wave as a floats array
Param[1]: wave (type: Wave)
-Function 445: UnloadWaveSamples() (1 input parameters)
+Function 461: UnloadWaveSamples() (1 input parameters)
Name: UnloadWaveSamples
Return type: void
Description: Unload samples data loaded with LoadWaveSamples()
Param[1]: samples (type: float *)
-Function 446: LoadMusicStream() (1 input parameters)
+Function 462: LoadMusicStream() (1 input parameters)
Name: LoadMusicStream
Return type: Music
Description: Load music stream from file
Param[1]: fileName (type: const char *)
-Function 447: LoadMusicStreamFromMemory() (3 input parameters)
+Function 463: LoadMusicStreamFromMemory() (3 input parameters)
Name: LoadMusicStreamFromMemory
Return type: Music
Description: Load music stream from data
Param[1]: fileType (type: const char *)
Param[2]: data (type: unsigned char *)
Param[3]: dataSize (type: int)
-Function 448: UnloadMusicStream() (1 input parameters)
+Function 464: UnloadMusicStream() (1 input parameters)
Name: UnloadMusicStream
Return type: void
Description: Unload music stream
Param[1]: music (type: Music)
-Function 449: PlayMusicStream() (1 input parameters)
+Function 465: PlayMusicStream() (1 input parameters)
Name: PlayMusicStream
Return type: void
Description: Start music playing
Param[1]: music (type: Music)
-Function 450: IsMusicStreamPlaying() (1 input parameters)
+Function 466: IsMusicStreamPlaying() (1 input parameters)
Name: IsMusicStreamPlaying
Return type: bool
Description: Check if music is playing
Param[1]: music (type: Music)
-Function 451: UpdateMusicStream() (1 input parameters)
+Function 467: UpdateMusicStream() (1 input parameters)
Name: UpdateMusicStream
Return type: void
Description: Updates buffers for music streaming
Param[1]: music (type: Music)
-Function 452: StopMusicStream() (1 input parameters)
+Function 468: StopMusicStream() (1 input parameters)
Name: StopMusicStream
Return type: void
Description: Stop music playing
Param[1]: music (type: Music)
-Function 453: PauseMusicStream() (1 input parameters)
+Function 469: PauseMusicStream() (1 input parameters)
Name: PauseMusicStream
Return type: void
Description: Pause music playing
Param[1]: music (type: Music)
-Function 454: ResumeMusicStream() (1 input parameters)
+Function 470: ResumeMusicStream() (1 input parameters)
Name: ResumeMusicStream
Return type: void
Description: Resume playing paused music
Param[1]: music (type: Music)
-Function 455: SetMusicVolume() (2 input parameters)
+Function 471: SeekMusicStream() (2 input parameters)
+ Name: SeekMusicStream
+ Return type: void
+ Description: Seek music to a position (in seconds)
+ Param[1]: music (type: Music)
+ Param[2]: position (type: float)
+Function 472: SetMusicVolume() (2 input parameters)
Name: SetMusicVolume
Return type: void
Description: Set volume for music (1.0 is max level)
Param[1]: music (type: Music)
Param[2]: volume (type: float)
-Function 456: SetMusicPitch() (2 input parameters)
+Function 473: SetMusicPitch() (2 input parameters)
Name: SetMusicPitch
Return type: void
Description: Set pitch for a music (1.0 is base level)
Param[1]: music (type: Music)
Param[2]: pitch (type: float)
-Function 457: GetMusicTimeLength() (1 input parameters)
+Function 474: GetMusicTimeLength() (1 input parameters)
Name: GetMusicTimeLength
Return type: float
Description: Get music time length (in seconds)
Param[1]: music (type: Music)
-Function 458: GetMusicTimePlayed() (1 input parameters)
+Function 475: GetMusicTimePlayed() (1 input parameters)
Name: GetMusicTimePlayed
Return type: float
Description: Get current music time played (in seconds)
Param[1]: music (type: Music)
-Function 459: LoadAudioStream() (3 input parameters)
+Function 476: LoadAudioStream() (3 input parameters)
Name: LoadAudioStream
Return type: AudioStream
Description: Load audio stream (to stream raw audio pcm data)
Param[1]: sampleRate (type: unsigned int)
Param[2]: sampleSize (type: unsigned int)
Param[3]: channels (type: unsigned int)
-Function 460: UnloadAudioStream() (1 input parameters)
+Function 477: UnloadAudioStream() (1 input parameters)
Name: UnloadAudioStream
Return type: void
Description: Unload audio stream and free memory
Param[1]: stream (type: AudioStream)
-Function 461: UpdateAudioStream() (3 input parameters)
+Function 478: UpdateAudioStream() (3 input parameters)
Name: UpdateAudioStream
Return type: void
Description: Update audio stream buffers with data
Param[1]: stream (type: AudioStream)
Param[2]: data (type: const void *)
- Param[3]: samplesCount (type: int)
-Function 462: IsAudioStreamProcessed() (1 input parameters)
+ Param[3]: frameCount (type: int)
+Function 479: IsAudioStreamProcessed() (1 input parameters)
Name: IsAudioStreamProcessed
Return type: bool
Description: Check if any audio stream buffers requires refill
Param[1]: stream (type: AudioStream)
-Function 463: PlayAudioStream() (1 input parameters)
+Function 480: PlayAudioStream() (1 input parameters)
Name: PlayAudioStream
Return type: void
Description: Play audio stream
Param[1]: stream (type: AudioStream)
-Function 464: PauseAudioStream() (1 input parameters)
+Function 481: PauseAudioStream() (1 input parameters)
Name: PauseAudioStream
Return type: void
Description: Pause audio stream
Param[1]: stream (type: AudioStream)
-Function 465: ResumeAudioStream() (1 input parameters)
+Function 482: ResumeAudioStream() (1 input parameters)
Name: ResumeAudioStream
Return type: void
Description: Resume audio stream
Param[1]: stream (type: AudioStream)
-Function 466: IsAudioStreamPlaying() (1 input parameters)
+Function 483: IsAudioStreamPlaying() (1 input parameters)
Name: IsAudioStreamPlaying
Return type: bool
Description: Check if audio stream is playing
Param[1]: stream (type: AudioStream)
-Function 467: StopAudioStream() (1 input parameters)
+Function 484: StopAudioStream() (1 input parameters)
Name: StopAudioStream
Return type: void
Description: Stop audio stream
Param[1]: stream (type: AudioStream)
-Function 468: SetAudioStreamVolume() (2 input parameters)
+Function 485: SetAudioStreamVolume() (2 input parameters)
Name: SetAudioStreamVolume
Return type: void
Description: Set volume for audio stream (1.0 is max level)
Param[1]: stream (type: AudioStream)
Param[2]: volume (type: float)
-Function 469: SetAudioStreamPitch() (2 input parameters)
+Function 486: SetAudioStreamPitch() (2 input parameters)
Name: SetAudioStreamPitch
Return type: void
Description: Set pitch for audio stream (1.0 is base level)
Param[1]: stream (type: AudioStream)
Param[2]: pitch (type: float)
-Function 470: SetAudioStreamBufferSizeDefault() (1 input parameters)
+Function 487: SetAudioStreamBufferSizeDefault() (1 input parameters)
Name: SetAudioStreamBufferSizeDefault
Return type: void
Description: Default size for new audio streams
diff --git a/parser/raylib_api.xml b/parser/raylib_api.xml
index 896ecc33..87bb4a73 100644
--- a/parser/raylib_api.xml
+++ b/parser/raylib_api.xml
@@ -29,7 +29,7 @@
-
+
@@ -61,7 +61,7 @@
-
+
@@ -70,11 +70,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -101,14 +101,14 @@
-
+
-
+
@@ -161,25 +161,25 @@
-
+
-
+
-
+
-
+
-
+
@@ -279,6 +279,10 @@
+
+
+
+
@@ -320,10 +324,6 @@
-
-
-
-
@@ -542,7 +542,7 @@
-
+
@@ -644,6 +644,13 @@
+
+
+
+
+
+
+
@@ -790,6 +797,9 @@
+
+
+
@@ -907,6 +917,15 @@
+
+
+
+
+
+
+
+
+
@@ -932,17 +951,13 @@
-
+
-
+
-
-
-
-
@@ -992,6 +1007,8 @@
+
+
@@ -1016,6 +1033,11 @@
+
+
+
+
+
@@ -1024,8 +1046,6 @@
-
-
@@ -1097,16 +1117,24 @@
-
+
+
+
+
+
+
+
+
+
-
+
@@ -1265,12 +1293,12 @@
-
+
-
+
@@ -1332,6 +1360,12 @@
+
+
+
+
+
+
@@ -1355,6 +1389,11 @@
+
+
+
+
+
@@ -1403,14 +1442,7 @@
-
-
-
-
-
-
-
-
+
@@ -1531,7 +1563,7 @@
-
+
@@ -1543,6 +1575,11 @@
+
+
+
+
+
@@ -1663,11 +1700,6 @@
-
-
-
-
-
@@ -1740,7 +1772,7 @@
-
+
@@ -1774,7 +1806,7 @@
-
+
@@ -1799,7 +1831,7 @@
-
+
@@ -1812,27 +1844,27 @@
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -1856,27 +1888,15 @@
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
@@ -1895,10 +1915,40 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1910,7 +1960,7 @@
-
+
@@ -1919,12 +1969,12 @@
-
+
-
+
@@ -1960,25 +2010,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2003,7 +2034,7 @@
-
+
@@ -2038,6 +2069,15 @@
+
+
+
+
+
+
+
+
+
@@ -2065,6 +2105,14 @@
+
+
+
+
+
+
+
+
@@ -2073,6 +2121,14 @@
+
+
+
+
+
+
+
+
@@ -2098,6 +2154,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2109,6 +2226,9 @@
+
+
+
@@ -2120,51 +2240,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+
-
-
-
+
+
@@ -2196,6 +2283,11 @@
+
+
+
+
+
@@ -2216,71 +2308,44 @@
-
-
+
+
+
-
-
+
-
-
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
-
+
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
@@ -2354,7 +2419,7 @@
-
+
@@ -2449,6 +2514,10 @@
+
+
+
+
@@ -2474,7 +2543,7 @@
-
+