summaryrefslogtreecommitdiffhomepage
path: root/parser/raylib_api.json
diff options
context:
space:
mode:
Diffstat (limited to 'parser/raylib_api.json')
-rw-r--r--parser/raylib_api.json7271
1 files changed, 5234 insertions, 2037 deletions
diff --git a/parser/raylib_api.json b/parser/raylib_api.json
index d7c64d26..5f703a77 100644
--- a/parser/raylib_api.json
+++ b/parser/raylib_api.json
@@ -5,13 +5,13 @@
"description": "Vector2, 2 components",
"fields": [
{
- "name": "x",
"type": "float",
+ "name": "x",
"description": "Vector x component"
},
{
- "name": "y",
"type": "float",
+ "name": "y",
"description": "Vector y component"
}
]
@@ -21,18 +21,18 @@
"description": "Vector3, 3 components",
"fields": [
{
- "name": "x",
"type": "float",
+ "name": "x",
"description": "Vector x component"
},
{
- "name": "y",
"type": "float",
+ "name": "y",
"description": "Vector y component"
},
{
- "name": "z",
"type": "float",
+ "name": "z",
"description": "Vector z component"
}
]
@@ -42,23 +42,23 @@
"description": "Vector4, 4 components",
"fields": [
{
- "name": "x",
"type": "float",
+ "name": "x",
"description": "Vector x component"
},
{
- "name": "y",
"type": "float",
+ "name": "y",
"description": "Vector y component"
},
{
- "name": "z",
"type": "float",
+ "name": "z",
"description": "Vector z component"
},
{
- "name": "w",
"type": "float",
+ "name": "w",
"description": "Vector w component"
}
]
@@ -68,23 +68,23 @@
"description": "Matrix, 4x4 components, column major, OpenGL style, right handed",
"fields": [
{
- "name": "m0, m4, m8, m12",
"type": "float",
+ "name": "m0, m4, m8, m12",
"description": "Matrix first row (4 components)"
},
{
- "name": "m1, m5, m9, m13",
"type": "float",
+ "name": "m1, m5, m9, m13",
"description": "Matrix second row (4 components)"
},
{
- "name": "m2, m6, m10, m14",
"type": "float",
+ "name": "m2, m6, m10, m14",
"description": "Matrix third row (4 components)"
},
{
- "name": "m3, m7, m11, m15",
"type": "float",
+ "name": "m3, m7, m11, m15",
"description": "Matrix fourth row (4 components)"
}
]
@@ -94,23 +94,23 @@
"description": "Color, 4 components, R8G8B8A8 (32bit)",
"fields": [
{
- "name": "r",
"type": "unsigned char",
+ "name": "r",
"description": "Color red value"
},
{
- "name": "g",
"type": "unsigned char",
+ "name": "g",
"description": "Color green value"
},
{
- "name": "b",
"type": "unsigned char",
+ "name": "b",
"description": "Color blue value"
},
{
- "name": "a",
"type": "unsigned char",
+ "name": "a",
"description": "Color alpha value"
}
]
@@ -120,23 +120,23 @@
"description": "Rectangle, 4 components",
"fields": [
{
- "name": "x",
"type": "float",
+ "name": "x",
"description": "Rectangle top-left corner position x"
},
{
- "name": "y",
"type": "float",
+ "name": "y",
"description": "Rectangle top-left corner position y"
},
{
- "name": "width",
"type": "float",
+ "name": "width",
"description": "Rectangle width"
},
{
- "name": "height",
"type": "float",
+ "name": "height",
"description": "Rectangle height"
}
]
@@ -146,28 +146,28 @@
"description": "Image, pixel data stored in CPU memory (RAM)",
"fields": [
{
- "name": "data",
"type": "void *",
+ "name": "data",
"description": "Image raw data"
},
{
- "name": "width",
"type": "int",
+ "name": "width",
"description": "Image base width"
},
{
- "name": "height",
"type": "int",
+ "name": "height",
"description": "Image base height"
},
{
- "name": "mipmaps",
"type": "int",
+ "name": "mipmaps",
"description": "Mipmap levels, 1 by default"
},
{
- "name": "format",
"type": "int",
+ "name": "format",
"description": "Data format (PixelFormat type)"
}
]
@@ -177,28 +177,28 @@
"description": "Texture, tex data stored in GPU memory (VRAM)",
"fields": [
{
- "name": "id",
"type": "unsigned int",
+ "name": "id",
"description": "OpenGL texture id"
},
{
- "name": "width",
"type": "int",
+ "name": "width",
"description": "Texture base width"
},
{
- "name": "height",
"type": "int",
+ "name": "height",
"description": "Texture base height"
},
{
- "name": "mipmaps",
"type": "int",
+ "name": "mipmaps",
"description": "Mipmap levels, 1 by default"
},
{
- "name": "format",
"type": "int",
+ "name": "format",
"description": "Data format (PixelFormat type)"
}
]
@@ -208,18 +208,18 @@
"description": "RenderTexture, fbo for texture rendering",
"fields": [
{
- "name": "id",
"type": "unsigned int",
+ "name": "id",
"description": "OpenGL framebuffer object id"
},
{
- "name": "texture",
"type": "Texture",
+ "name": "texture",
"description": "Color buffer attachment texture"
},
{
- "name": "depth",
"type": "Texture",
+ "name": "depth",
"description": "Depth buffer attachment texture"
}
]
@@ -229,33 +229,33 @@
"description": "NPatchInfo, n-patch layout info",
"fields": [
{
- "name": "source",
"type": "Rectangle",
+ "name": "source",
"description": "Texture source rectangle"
},
{
- "name": "left",
"type": "int",
+ "name": "left",
"description": "Left border offset"
},
{
- "name": "top",
"type": "int",
+ "name": "top",
"description": "Top border offset"
},
{
- "name": "right",
"type": "int",
+ "name": "right",
"description": "Right border offset"
},
{
- "name": "bottom",
"type": "int",
+ "name": "bottom",
"description": "Bottom border offset"
},
{
- "name": "layout",
"type": "int",
+ "name": "layout",
"description": "Layout of the n-patch: 3x3, 1x3 or 3x1"
}
]
@@ -265,28 +265,28 @@
"description": "GlyphInfo, font characters glyphs info",
"fields": [
{
- "name": "value",
"type": "int",
+ "name": "value",
"description": "Character value (Unicode)"
},
{
- "name": "offsetX",
"type": "int",
+ "name": "offsetX",
"description": "Character offset X when drawing"
},
{
- "name": "offsetY",
"type": "int",
+ "name": "offsetY",
"description": "Character offset Y when drawing"
},
{
- "name": "advanceX",
"type": "int",
+ "name": "advanceX",
"description": "Character advance position X"
},
{
- "name": "image",
"type": "Image",
+ "name": "image",
"description": "Character image data"
}
]
@@ -296,33 +296,33 @@
"description": "Font, font texture and GlyphInfo array data",
"fields": [
{
- "name": "baseSize",
"type": "int",
+ "name": "baseSize",
"description": "Base size (default chars height)"
},
{
- "name": "glyphCount",
"type": "int",
+ "name": "glyphCount",
"description": "Number of glyph characters"
},
{
- "name": "glyphPadding",
"type": "int",
+ "name": "glyphPadding",
"description": "Padding around the glyph characters"
},
{
- "name": "texture",
"type": "Texture2D",
+ "name": "texture",
"description": "Texture atlas containing the glyphs"
},
{
- "name": "recs",
"type": "Rectangle *",
+ "name": "recs",
"description": "Rectangles in texture for the glyphs"
},
{
- "name": "glyphs",
"type": "GlyphInfo *",
+ "name": "glyphs",
"description": "Glyphs info data"
}
]
@@ -332,28 +332,28 @@
"description": "Camera, defines position/orientation in 3d space",
"fields": [
{
- "name": "position",
"type": "Vector3",
+ "name": "position",
"description": "Camera position"
},
{
- "name": "target",
"type": "Vector3",
+ "name": "target",
"description": "Camera target it looks-at"
},
{
- "name": "up",
"type": "Vector3",
+ "name": "up",
"description": "Camera up vector (rotation over its axis)"
},
{
- "name": "fovy",
"type": "float",
+ "name": "fovy",
"description": "Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic"
},
{
- "name": "projection",
"type": "int",
+ "name": "projection",
"description": "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC"
}
]
@@ -363,23 +363,23 @@
"description": "Camera2D, defines position/orientation in 2d space",
"fields": [
{
- "name": "offset",
"type": "Vector2",
+ "name": "offset",
"description": "Camera offset (displacement from target)"
},
{
- "name": "target",
"type": "Vector2",
+ "name": "target",
"description": "Camera target (rotation and zoom origin)"
},
{
- "name": "rotation",
"type": "float",
+ "name": "rotation",
"description": "Camera rotation in degrees"
},
{
- "name": "zoom",
"type": "float",
+ "name": "zoom",
"description": "Camera zoom (scaling), should be 1.0f by default"
}
]
@@ -389,78 +389,78 @@
"description": "Mesh, vertex data and vao/vbo",
"fields": [
{
- "name": "vertexCount",
"type": "int",
+ "name": "vertexCount",
"description": "Number of vertices stored in arrays"
},
{
- "name": "triangleCount",
"type": "int",
+ "name": "triangleCount",
"description": "Number of triangles stored (indexed or not)"
},
{
- "name": "vertices",
"type": "float *",
+ "name": "vertices",
"description": "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)"
},
{
- "name": "texcoords",
"type": "float *",
+ "name": "texcoords",
"description": "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)"
},
{
- "name": "texcoords2",
"type": "float *",
+ "name": "texcoords2",
"description": "Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)"
},
{
- "name": "normals",
"type": "float *",
+ "name": "normals",
"description": "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)"
},
{
- "name": "tangents",
"type": "float *",
+ "name": "tangents",
"description": "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)"
},
{
- "name": "colors",
"type": "unsigned char *",
+ "name": "colors",
"description": "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)"
},
{
- "name": "indices",
"type": "unsigned short *",
+ "name": "indices",
"description": "Vertex indices (in case vertex data comes indexed)"
},
{
- "name": "animVertices",
"type": "float *",
+ "name": "animVertices",
"description": "Animated vertex positions (after bones transformations)"
},
{
- "name": "animNormals",
"type": "float *",
+ "name": "animNormals",
"description": "Animated normals (after bones transformations)"
},
{
- "name": "boneIds",
"type": "unsigned char *",
+ "name": "boneIds",
"description": "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)"
},
{
- "name": "boneWeights",
"type": "float *",
+ "name": "boneWeights",
"description": "Vertex bone weight, up to 4 bones influence by vertex (skinning)"
},
{
- "name": "vaoId",
"type": "unsigned int",
+ "name": "vaoId",
"description": "OpenGL Vertex Array Object id"
},
{
- "name": "vboId",
"type": "unsigned int *",
+ "name": "vboId",
"description": "OpenGL Vertex Buffer Objects id (default vertex data)"
}
]
@@ -470,13 +470,13 @@
"description": "Shader",
"fields": [
{
- "name": "id",
"type": "unsigned int",
+ "name": "id",
"description": "Shader program id"
},
{
- "name": "locs",
"type": "int *",
+ "name": "locs",
"description": "Shader locations array (RL_MAX_SHADER_LOCATIONS)"
}
]
@@ -486,18 +486,18 @@
"description": "MaterialMap",
"fields": [
{
- "name": "texture",
"type": "Texture2D",
+ "name": "texture",
"description": "Material map texture"
},
{
- "name": "color",
"type": "Color",
+ "name": "color",
"description": "Material map color"
},
{
- "name": "value",
"type": "float",
+ "name": "value",
"description": "Material map value"
}
]
@@ -507,18 +507,18 @@
"description": "Material, includes shader and maps",
"fields": [
{
- "name": "shader",
"type": "Shader",
+ "name": "shader",
"description": "Material shader"
},
{
- "name": "maps",
"type": "MaterialMap *",
+ "name": "maps",
"description": "Material maps array (MAX_MATERIAL_MAPS)"
},
{
- "name": "params[4]",
"type": "float",
+ "name": "params[4]",
"description": "Material generic parameters (if required)"
}
]
@@ -528,18 +528,18 @@
"description": "Transform, vectex transformation data",
"fields": [
{
- "name": "translation",
"type": "Vector3",
+ "name": "translation",
"description": "Translation"
},
{
- "name": "rotation",
"type": "Quaternion",
+ "name": "rotation",
"description": "Rotation"
},
{
- "name": "scale",
"type": "Vector3",
+ "name": "scale",
"description": "Scale"
}
]
@@ -549,13 +549,13 @@
"description": "Bone, skeletal animation bone",
"fields": [
{
- "name": "name[32]",
"type": "char",
+ "name": "name[32]",
"description": "Bone name"
},
{
- "name": "parent",
"type": "int",
+ "name": "parent",
"description": "Bone parent"
}
]
@@ -565,48 +565,48 @@
"description": "Model, meshes, materials and animation data",
"fields": [
{
- "name": "transform",
"type": "Matrix",
+ "name": "transform",
"description": "Local transform matrix"
},
{
- "name": "meshCount",
"type": "int",
+ "name": "meshCount",
"description": "Number of meshes"
},
{
- "name": "materialCount",
"type": "int",
+ "name": "materialCount",
"description": "Number of materials"
},
{
- "name": "meshes",
"type": "Mesh *",
+ "name": "meshes",
"description": "Meshes array"
},
{
- "name": "materials",
"type": "Material *",
+ "name": "materials",
"description": "Materials array"
},
{
- "name": "meshMaterial",
"type": "int *",
+ "name": "meshMaterial",
"description": "Mesh material number"
},
{
- "name": "boneCount",
"type": "int",
+ "name": "boneCount",
"description": "Number of bones"
},
{
- "name": "bones",
"type": "BoneInfo *",
+ "name": "bones",
"description": "Bones information (skeleton)"
},
{
- "name": "bindPose",
"type": "Transform *",
+ "name": "bindPose",
"description": "Bones base transformation (pose)"
}
]
@@ -616,23 +616,23 @@
"description": "ModelAnimation",
"fields": [
{
- "name": "boneCount",
"type": "int",
+ "name": "boneCount",
"description": "Number of bones"
},
{
- "name": "frameCount",
"type": "int",
+ "name": "frameCount",
"description": "Number of animation frames"
},
{
- "name": "bones",
"type": "BoneInfo *",
+ "name": "bones",
"description": "Bones information (skeleton)"
},
{
- "name": "framePoses",
"type": "Transform **",
+ "name": "framePoses",
"description": "Poses array by frame"
}
]
@@ -642,13 +642,13 @@
"description": "Ray, ray for raycasting",
"fields": [
{
- "name": "position",
"type": "Vector3",
+ "name": "position",
"description": "Ray position (origin)"
},
{
- "name": "direction",
"type": "Vector3",
+ "name": "direction",
"description": "Ray direction"
}
]
@@ -658,23 +658,23 @@
"description": "RayCollision, ray hit information",
"fields": [
{
- "name": "hit",
"type": "bool",
+ "name": "hit",
"description": "Did the ray hit something?"
},
{
- "name": "distance",
"type": "float",
+ "name": "distance",
"description": "Distance to nearest hit"
},
{
- "name": "point",
"type": "Vector3",
+ "name": "point",
"description": "Point of nearest hit"
},
{
- "name": "normal",
"type": "Vector3",
+ "name": "normal",
"description": "Surface normal of hit"
}
]
@@ -684,13 +684,13 @@
"description": "BoundingBox",
"fields": [
{
- "name": "min",
"type": "Vector3",
+ "name": "min",
"description": "Minimum vertex box-corner"
},
{
- "name": "max",
"type": "Vector3",
+ "name": "max",
"description": "Maximum vertex box-corner"
}
]
@@ -700,28 +700,28 @@
"description": "Wave, audio wave data",
"fields": [
{
- "name": "frameCount",
"type": "unsigned int",
+ "name": "frameCount",
"description": "Total number of frames (considering channels)"
},
{
- "name": "sampleRate",
"type": "unsigned int",
+ "name": "sampleRate",
"description": "Frequency (samples per second)"
},
{
- "name": "sampleSize",
"type": "unsigned int",
+ "name": "sampleSize",
"description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
},
{
- "name": "channels",
"type": "unsigned int",
+ "name": "channels",
"description": "Number of channels (1-mono, 2-stereo, ...)"
},
{
- "name": "data",
"type": "void *",
+ "name": "data",
"description": "Buffer data pointer"
}
]
@@ -731,23 +731,23 @@
"description": "AudioStream, custom audio stream",
"fields": [
{
- "name": "buffer",
"type": "rAudioBuffer *",
+ "name": "buffer",
"description": "Pointer to internal data used by the audio system"
},
{
- "name": "sampleRate",
"type": "unsigned int",
+ "name": "sampleRate",
"description": "Frequency (samples per second)"
},
{
- "name": "sampleSize",
"type": "unsigned int",
+ "name": "sampleSize",
"description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
},
{
- "name": "channels",
"type": "unsigned int",
+ "name": "channels",
"description": "Number of channels (1-mono, 2-stereo, ...)"
}
]
@@ -757,13 +757,13 @@
"description": "Sound",
"fields": [
{
- "name": "stream",
"type": "AudioStream",
+ "name": "stream",
"description": "Audio stream"
},
{
- "name": "frameCount",
"type": "unsigned int",
+ "name": "frameCount",
"description": "Total number of frames (considering channels)"
}
]
@@ -773,28 +773,28 @@
"description": "Music, audio stream, anything longer than ~10 seconds should be streamed",
"fields": [
{
- "name": "stream",
"type": "AudioStream",
+ "name": "stream",
"description": "Audio stream"
},
{
- "name": "frameCount",
"type": "unsigned int",
+ "name": "frameCount",
"description": "Total number of frames (considering channels)"
},
{
- "name": "looping",
"type": "bool",
+ "name": "looping",
"description": "Music looping enable"
},
{
- "name": "ctxType",
"type": "int",
+ "name": "ctxType",
"description": "Type of music context (audio filetype)"
},
{
- "name": "ctxData",
"type": "void *",
+ "name": "ctxData",
"description": "Audio context data, depends on type"
}
]
@@ -804,53 +804,53 @@
"description": "VrDeviceInfo, Head-Mounted-Display device parameters",
"fields": [
{
- "name": "hResolution",
"type": "int",
+ "name": "hResolution",
"description": "Horizontal resolution in pixels"
},
{
- "name": "vResolution",
"type": "int",
+ "name": "vResolution",
"description": "Vertical resolution in pixels"
},
{
- "name": "hScreenSize",
"type": "float",
+ "name": "hScreenSize",
"description": "Horizontal size in meters"
},
{
- "name": "vScreenSize",
"type": "float",
+ "name": "vScreenSize",
"description": "Vertical size in meters"
},
{
- "name": "vScreenCenter",
"type": "float",
+ "name": "vScreenCenter",
"description": "Screen center in meters"
},
{
- "name": "eyeToScreenDistance",
"type": "float",
+ "name": "eyeToScreenDistance",
"description": "Distance between eye and display in meters"
},
{
- "name": "lensSeparationDistance",
"type": "float",
+ "name": "lensSeparationDistance",
"description": "Lens separation distance in meters"
},
{
- "name": "interpupillaryDistance",
"type": "float",
+ "name": "interpupillaryDistance",
"description": "IPD (distance between pupils) in meters"
},
{
- "name": "lensDistortionValues[4]",
"type": "float",
+ "name": "lensDistortionValues[4]",
"description": "Lens distortion constant parameters"
},
{
- "name": "chromaAbCorrection[4]",
"type": "float",
+ "name": "chromaAbCorrection[4]",
"description": "Chromatic aberration correction parameters"
}
]
@@ -860,43 +860,43 @@
"description": "VrStereoConfig, VR stereo rendering configuration for simulator",
"fields": [
{
- "name": "projection[2]",
"type": "Matrix",
+ "name": "projection[2]",
"description": "VR projection matrices (per eye)"
},
{
- "name": "viewOffset[2]",
"type": "Matrix",
+ "name": "viewOffset[2]",
"description": "VR view offset matrices (per eye)"
},
{
- "name": "leftLensCenter[2]",
"type": "float",
+ "name": "leftLensCenter[2]",
"description": "VR left lens center"
},
{
- "name": "rightLensCenter[2]",
"type": "float",
+ "name": "rightLensCenter[2]",
"description": "VR right lens center"
},
{
- "name": "leftScreenCenter[2]",
"type": "float",
+ "name": "leftScreenCenter[2]",
"description": "VR left screen center"
},
{
- "name": "rightScreenCenter[2]",
"type": "float",
+ "name": "rightScreenCenter[2]",
"description": "VR right screen center"
},
{
- "name": "scale[2]",
"type": "float",
+ "name": "scale[2]",
"description": "VR distortion scale"
},
{
- "name": "scaleIn[2]",
"type": "float",
+ "name": "scaleIn[2]",
"description": "VR distortion scale in"
}
]
@@ -2490,11 +2490,20 @@
"name": "InitWindow",
"description": "Initialize window and OpenGL context",
"returnType": "void",
- "params": {
- "width": "int",
- "height": "int",
- "title": "const char *"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "const char *",
+ "name": "title"
+ }
+ ]
},
{
"name": "WindowShouldClose",
@@ -2545,25 +2554,34 @@
"name": "IsWindowState",
"description": "Check if one specific window flag is enabled",
"returnType": "bool",
- "params": {
- "flag": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "flag"
+ }
+ ]
},
{
"name": "SetWindowState",
- "description": "Set window configuration state using flags",
+ "description": "Set window configuration state using flags (only PLATFORM_DESKTOP)",
"returnType": "void",
- "params": {
- "flags": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "flags"
+ }
+ ]
},
{
"name": "ClearWindowState",
"description": "Clear window configuration state flags",
"returnType": "void",
- "params": {
- "flags": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "flags"
+ }
+ ]
},
{
"name": "ToggleFullscreen",
@@ -2589,52 +2607,90 @@
"name": "SetWindowIcon",
"description": "Set icon for window (only PLATFORM_DESKTOP)",
"returnType": "void",
- "params": {
- "image": "Image"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ }
+ ]
},
{
"name": "SetWindowTitle",
"description": "Set title for window (only PLATFORM_DESKTOP)",
"returnType": "void",
- "params": {
- "title": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "title"
+ }
+ ]
},
{
"name": "SetWindowPosition",
"description": "Set window position on screen (only PLATFORM_DESKTOP)",
"returnType": "void",
- "params": {
- "x": "int",
- "y": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "x"
+ },
+ {
+ "type": "int",
+ "name": "y"
+ }
+ ]
},
{
"name": "SetWindowMonitor",
"description": "Set monitor for the current window (fullscreen mode)",
"returnType": "void",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "SetWindowMinSize",
"description": "Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)",
"returnType": "void",
- "params": {
- "width": "int",
- "height": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
},
{
"name": "SetWindowSize",
"description": "Set window dimensions",
"returnType": "void",
- "params": {
- "width": "int",
- "height": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
+ },
+ {
+ "name": "SetWindowOpacity",
+ "description": "Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "float",
+ "name": "opacity"
+ }
+ ]
},
{
"name": "GetWindowHandle",
@@ -2675,49 +2731,67 @@
"name": "GetMonitorPosition",
"description": "Get specified monitor position",
"returnType": "Vector2",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "GetMonitorWidth",
"description": "Get specified monitor width (max available by monitor)",
"returnType": "int",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "GetMonitorHeight",
"description": "Get specified monitor height (max available by monitor)",
"returnType": "int",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "GetMonitorPhysicalWidth",
"description": "Get specified monitor physical width in millimetres",
"returnType": "int",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "GetMonitorPhysicalHeight",
"description": "Get specified monitor physical height in millimetres",
"returnType": "int",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "GetMonitorRefreshRate",
"description": "Get specified monitor refresh rate",
"returnType": "int",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "GetWindowPosition",
@@ -2733,17 +2807,23 @@
"name": "GetMonitorName",
"description": "Get the human-readable, UTF-8 encoded name of the primary monitor",
"returnType": "const char *",
- "params": {
- "monitor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "monitor"
+ }
+ ]
},
{
"name": "SetClipboardText",
"description": "Set clipboard text content",
"returnType": "void",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "GetClipboardText",
@@ -2764,9 +2844,12 @@
"name": "WaitTime",
"description": "Wait for some milliseconds (halt program execution)",
"returnType": "void",
- "params": {
- "ms": "float"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "ms"
+ }
+ ]
},
{
"name": "ShowCursor",
@@ -2802,9 +2885,12 @@
"name": "ClearBackground",
"description": "Set background color (framebuffer clear color)",
"returnType": "void",
- "params": {
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "BeginDrawing",
@@ -2820,9 +2906,12 @@
"name": "BeginMode2D",
"description": "Begin 2D mode with custom camera (2D)",
"returnType": "void",
- "params": {
- "camera": "Camera2D"
- }
+ "params": [
+ {
+ "type": "Camera2D",
+ "name": "camera"
+ }
+ ]
},
{
"name": "EndMode2D",
@@ -2833,9 +2922,12 @@
"name": "BeginMode3D",
"description": "Begin 3D mode with custom camera (3D)",
"returnType": "void",
- "params": {
- "camera": "Camera3D"
- }
+ "params": [
+ {
+ "type": "Camera3D",
+ "name": "camera"
+ }
+ ]
},
{
"name": "EndMode3D",
@@ -2846,9 +2938,12 @@
"name": "BeginTextureMode",
"description": "Begin drawing to render texture",
"returnType": "void",
- "params": {
- "target": "RenderTexture2D"
- }
+ "params": [
+ {
+ "type": "RenderTexture2D",
+ "name": "target"
+ }
+ ]
},
{
"name": "EndTextureMode",
@@ -2859,9 +2954,12 @@
"name": "BeginShaderMode",
"description": "Begin custom shader drawing",
"returnType": "void",
- "params": {
- "shader": "Shader"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ }
+ ]
},
{
"name": "EndShaderMode",
@@ -2872,9 +2970,12 @@
"name": "BeginBlendMode",
"description": "Begin blending mode (alpha, additive, multiplied, subtract, custom)",
"returnType": "void",
- "params": {
- "mode": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "mode"
+ }
+ ]
},
{
"name": "EndBlendMode",
@@ -2885,12 +2986,24 @@
"name": "BeginScissorMode",
"description": "Begin scissor mode (define screen area for following drawing)",
"returnType": "void",
- "params": {
- "x": "int",
- "y": "int",
- "width": "int",
- "height": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "x"
+ },
+ {
+ "type": "int",
+ "name": "y"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
},
{
"name": "EndScissorMode",
@@ -2901,9 +3014,12 @@
"name": "BeginVrStereoMode",
"description": "Begin stereo rendering (requires VR simulator)",
"returnType": "void",
- "params": {
- "config": "VrStereoConfig"
- }
+ "params": [
+ {
+ "type": "VrStereoConfig",
+ "name": "config"
+ }
+ ]
},
{
"name": "EndVrStereoMode",
@@ -2914,175 +3030,298 @@
"name": "LoadVrStereoConfig",
"description": "Load VR stereo config for VR simulator device parameters",
"returnType": "VrStereoConfig",
- "params": {
- "device": "VrDeviceInfo"
- }
+ "params": [
+ {
+ "type": "VrDeviceInfo",
+ "name": "device"
+ }
+ ]
},
{
"name": "UnloadVrStereoConfig",
"description": "Unload VR stereo config",
"returnType": "void",
- "params": {
- "config": "VrStereoConfig"
- }
+ "params": [
+ {
+ "type": "VrStereoConfig",
+ "name": "config"
+ }
+ ]
},
{
"name": "LoadShader",
"description": "Load shader from files and bind default locations",
"returnType": "Shader",
- "params": {
- "vsFileName": "const char *",
- "fsFileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "vsFileName"
+ },
+ {
+ "type": "const char *",
+ "name": "fsFileName"
+ }
+ ]
},
{
"name": "LoadShaderFromMemory",
"description": "Load shader from code strings and bind default locations",
"returnType": "Shader",
- "params": {
- "vsCode": "const char *",
- "fsCode": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "vsCode"
+ },
+ {
+ "type": "const char *",
+ "name": "fsCode"
+ }
+ ]
},
{
"name": "GetShaderLocation",
"description": "Get shader uniform location",
"returnType": "int",
- "params": {
- "shader": "Shader",
- "uniformName": "const char *"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ },
+ {
+ "type": "const char *",
+ "name": "uniformName"
+ }
+ ]
},
{
"name": "GetShaderLocationAttrib",
"description": "Get shader attribute location",
"returnType": "int",
- "params": {
- "shader": "Shader",
- "attribName": "const char *"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ },
+ {
+ "type": "const char *",
+ "name": "attribName"
+ }
+ ]
},
{
"name": "SetShaderValue",
"description": "Set shader uniform value",
"returnType": "void",
- "params": {
- "shader": "Shader",
- "locIndex": "int",
- "value": "const void *",
- "uniformType": "int"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ },
+ {
+ "type": "int",
+ "name": "locIndex"
+ },
+ {
+ "type": "const void *",
+ "name": "value"
+ },
+ {
+ "type": "int",
+ "name": "uniformType"
+ }
+ ]
},
{
"name": "SetShaderValueV",
"description": "Set shader uniform value vector",
"returnType": "void",
- "params": {
- "shader": "Shader",
- "locIndex": "int",
- "value": "const void *",
- "uniformType": "int",
- "count": "int"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ },
+ {
+ "type": "int",
+ "name": "locIndex"
+ },
+ {
+ "type": "const void *",
+ "name": "value"
+ },
+ {
+ "type": "int",
+ "name": "uniformType"
+ },
+ {
+ "type": "int",
+ "name": "count"
+ }
+ ]
},
{
"name": "SetShaderValueMatrix",
"description": "Set shader uniform value (matrix 4x4)",
"returnType": "void",
- "params": {
- "shader": "Shader",
- "locIndex": "int",
- "mat": "Matrix"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ },
+ {
+ "type": "int",
+ "name": "locIndex"
+ },
+ {
+ "type": "Matrix",
+ "name": "mat"
+ }
+ ]
},
{
"name": "SetShaderValueTexture",
"description": "Set shader uniform value for texture (sampler2d)",
"returnType": "void",
- "params": {
- "shader": "Shader",
- "locIndex": "int",
- "texture": "Texture2D"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ },
+ {
+ "type": "int",
+ "name": "locIndex"
+ },
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ }
+ ]
},
{
"name": "UnloadShader",
"description": "Unload shader from GPU memory (VRAM)",
"returnType": "void",
- "params": {
- "shader": "Shader"
- }
+ "params": [
+ {
+ "type": "Shader",
+ "name": "shader"
+ }
+ ]
},
{
"name": "GetMouseRay",
"description": "Get a ray trace from mouse position",
"returnType": "Ray",
- "params": {
- "mousePosition": "Vector2",
- "camera": "Camera"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "mousePosition"
+ },
+ {
+ "type": "Camera",
+ "name": "camera"
+ }
+ ]
},
{
"name": "GetCameraMatrix",
"description": "Get camera transform matrix (view matrix)",
"returnType": "Matrix",
- "params": {
- "camera": "Camera"
- }
+ "params": [
+ {
+ "type": "Camera",
+ "name": "camera"
+ }
+ ]
},
{
"name": "GetCameraMatrix2D",
"description": "Get camera 2d transform matrix",
"returnType": "Matrix",
- "params": {
- "camera": "Camera2D"
- }
+ "params": [
+ {
+ "type": "Camera2D",
+ "name": "camera"
+ }
+ ]
},
{
"name": "GetWorldToScreen",
"description": "Get the screen space position for a 3d world space position",
"returnType": "Vector2",
- "params": {
- "position": "Vector3",
- "camera": "Camera"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Camera",
+ "name": "camera"
+ }
+ ]
},
{
"name": "GetWorldToScreenEx",
"description": "Get size position for a 3d world space position",
"returnType": "Vector2",
- "params": {
- "position": "Vector3",
- "camera": "Camera",
- "width": "int",
- "height": "int"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Camera",
+ "name": "camera"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
},
{
"name": "GetWorldToScreen2D",
"description": "Get the screen space position for a 2d camera world space position",
"returnType": "Vector2",
- "params": {
- "position": "Vector2",
- "camera": "Camera2D"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Camera2D",
+ "name": "camera"
+ }
+ ]
},
{
"name": "GetScreenToWorld2D",
"description": "Get the world space position for a 2d camera screen space position",
"returnType": "Vector2",
- "params": {
- "position": "Vector2",
- "camera": "Camera2D"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Camera2D",
+ "name": "camera"
+ }
+ ]
},
{
"name": "SetTargetFPS",
"description": "Set target FPS (maximum)",
"returnType": "void",
- "params": {
- "fps": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "fps"
+ }
+ ]
},
{
"name": "GetFPS",
@@ -3103,234 +3342,345 @@
"name": "GetRandomValue",
"description": "Get a random value between min and max (both included)",
"returnType": "int",
- "params": {
- "min": "int",
- "max": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "min"
+ },
+ {
+ "type": "int",
+ "name": "max"
+ }
+ ]
},
{
"name": "SetRandomSeed",
"description": "Set the seed for the random number generator",
"returnType": "void",
- "params": {
- "seed": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "seed"
+ }
+ ]
},
{
"name": "TakeScreenshot",
"description": "Takes a screenshot of current screen (filename extension defines format)",
"returnType": "void",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "SetConfigFlags",
"description": "Setup init configuration flags (view FLAGS)",
"returnType": "void",
- "params": {
- "flags": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "flags"
+ }
+ ]
},
{
"name": "TraceLog",
"description": "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)",
"returnType": "void",
- "params": {
- "logLevel": "int",
- "text": "const char *",
- "": ""
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "logLevel"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "",
+ "name": ""
+ }
+ ]
},
{
"name": "SetTraceLogLevel",
"description": "Set the current threshold (minimum) log level",
"returnType": "void",
- "params": {
- "logLevel": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "logLevel"
+ }
+ ]
},
{
"name": "MemAlloc",
"description": "Internal memory allocator",
"returnType": "void *",
- "params": {
- "size": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "size"
+ }
+ ]
},
{
"name": "MemRealloc",
"description": "Internal memory reallocator",
"returnType": "void *",
- "params": {
- "ptr": "void *",
- "size": "int"
- }
+ "params": [
+ {
+ "type": "void *",
+ "name": "ptr"
+ },
+ {
+ "type": "int",
+ "name": "size"
+ }
+ ]
},
{
"name": "MemFree",
"description": "Internal memory free",
"returnType": "void",
- "params": {
- "ptr": "void *"
- }
+ "params": [
+ {
+ "type": "void *",
+ "name": "ptr"
+ }
+ ]
},
{
"name": "SetTraceLogCallback",
"description": "Set custom trace log",
"returnType": "void",
- "params": {
- "callback": "TraceLogCallback"
- }
+ "params": [
+ {
+ "type": "TraceLogCallback",
+ "name": "callback"
+ }
+ ]
},
{
"name": "SetLoadFileDataCallback",
"description": "Set custom file binary data loader",
"returnType": "void",
- "params": {
- "callback": "LoadFileDataCallback"
- }
+ "params": [
+ {
+ "type": "LoadFileDataCallback",
+ "name": "callback"
+ }
+ ]
},
{
"name": "SetSaveFileDataCallback",
"description": "Set custom file binary data saver",
"returnType": "void",
- "params": {
- "callback": "SaveFileDataCallback"
- }
+ "params": [
+ {
+ "type": "SaveFileDataCallback",
+ "name": "callback"
+ }
+ ]
},
{
"name": "SetLoadFileTextCallback",
"description": "Set custom file text data loader",
"returnType": "void",
- "params": {
- "callback": "LoadFileTextCallback"
- }
+ "params": [
+ {
+ "type": "LoadFileTextCallback",
+ "name": "callback"
+ }
+ ]
},
{
"name": "SetSaveFileTextCallback",
"description": "Set custom file text data saver",
"returnType": "void",
- "params": {
- "callback": "SaveFileTextCallback"
- }
+ "params": [
+ {
+ "type": "SaveFileTextCallback",
+ "name": "callback"
+ }
+ ]
},
{
"name": "LoadFileData",
"description": "Load file data as byte array (read)",
"returnType": "unsigned char *",
- "params": {
- "fileName": "const char *",
- "bytesRead": "unsigned int *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "unsigned int *",
+ "name": "bytesRead"
+ }
+ ]
},
{
"name": "UnloadFileData",
"description": "Unload file data allocated by LoadFileData()",
"returnType": "void",
- "params": {
- "data": "unsigned char *"
- }
+ "params": [
+ {
+ "type": "unsigned char *",
+ "name": "data"
+ }
+ ]
},
{
"name": "SaveFileData",
"description": "Save data to file from byte array (write), returns true on success",
"returnType": "bool",
- "params": {
- "fileName": "const char *",
- "data": "void *",
- "bytesToWrite": "unsigned int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "void *",
+ "name": "data"
+ },
+ {
+ "type": "unsigned int",
+ "name": "bytesToWrite"
+ }
+ ]
},
{
"name": "LoadFileText",
"description": "Load text data from file (read), returns a '\\0' terminated string",
"returnType": "char *",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "UnloadFileText",
"description": "Unload file text data allocated by LoadFileText()",
"returnType": "void",
- "params": {
- "text": "char *"
- }
+ "params": [
+ {
+ "type": "char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "SaveFileText",
"description": "Save text data to file (write), string must be '\\0' terminated, returns true on success",
"returnType": "bool",
- "params": {
- "fileName": "const char *",
- "text": "char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "FileExists",
"description": "Check if file exists",
"returnType": "bool",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "DirectoryExists",
"description": "Check if a directory path exists",
"returnType": "bool",
- "params": {
- "dirPath": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "dirPath"
+ }
+ ]
},
{
"name": "IsFileExtension",
"description": "Check file extension (including point: .png, .wav)",
"returnType": "bool",
- "params": {
- "fileName": "const char *",
- "ext": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "const char *",
+ "name": "ext"
+ }
+ ]
},
{
"name": "GetFileExtension",
"description": "Get pointer to extension for a filename string (includes dot: '.png')",
"returnType": "const char *",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "GetFileName",
"description": "Get pointer to filename for a path string",
"returnType": "const char *",
- "params": {
- "filePath": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "filePath"
+ }
+ ]
},
{
"name": "GetFileNameWithoutExt",
"description": "Get filename string without extension (uses static string)",
"returnType": "const char *",
- "params": {
- "filePath": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "filePath"
+ }
+ ]
},
{
"name": "GetDirectoryPath",
"description": "Get full path for a given fileName with path (uses static string)",
"returnType": "const char *",
- "params": {
- "filePath": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "filePath"
+ }
+ ]
},
{
"name": "GetPrevDirectoryPath",
"description": "Get previous directory path for a given path (uses static string)",
"returnType": "const char *",
- "params": {
- "dirPath": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "dirPath"
+ }
+ ]
},
{
"name": "GetWorkingDirectory",
@@ -3341,10 +3691,16 @@
"name": "GetDirectoryFiles",
"description": "Get filenames in a directory path (memory should be freed)",
"returnType": "char **",
- "params": {
- "dirPath": "const char *",
- "count": "int *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "dirPath"
+ },
+ {
+ "type": "int *",
+ "name": "count"
+ }
+ ]
},
{
"name": "ClearDirectoryFiles",
@@ -3355,9 +3711,12 @@
"name": "ChangeDirectory",
"description": "Change working directory, return true on success",
"returnType": "bool",
- "params": {
- "dir": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "dir"
+ }
+ ]
},
{
"name": "IsFileDropped",
@@ -3368,9 +3727,12 @@
"name": "GetDroppedFiles",
"description": "Get dropped files names (memory should be freed)",
"returnType": "char **",
- "params": {
- "count": "int *"
- }
+ "params": [
+ {
+ "type": "int *",
+ "name": "count"
+ }
+ ]
},
{
"name": "ClearDroppedFiles",
@@ -3381,113 +3743,176 @@
"name": "GetFileModTime",
"description": "Get file modification time (last write time)",
"returnType": "long",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "CompressData",
"description": "Compress data (DEFLATE algorithm)",
"returnType": "unsigned char *",
- "params": {
- "data": "unsigned char *",
- "dataLength": "int",
- "compDataLength": "int *"
- }
+ "params": [
+ {
+ "type": "unsigned char *",
+ "name": "data"
+ },
+ {
+ "type": "int",
+ "name": "dataLength"
+ },
+ {
+ "type": "int *",
+ "name": "compDataLength"
+ }
+ ]
},
{
"name": "DecompressData",
"description": "Decompress data (DEFLATE algorithm)",
"returnType": "unsigned char *",
- "params": {
- "compData": "unsigned char *",
- "compDataLength": "int",
- "dataLength": "int *"
- }
+ "params": [
+ {
+ "type": "unsigned char *",
+ "name": "compData"
+ },
+ {
+ "type": "int",
+ "name": "compDataLength"
+ },
+ {
+ "type": "int *",
+ "name": "dataLength"
+ }
+ ]
},
{
"name": "EncodeDataBase64",
"description": "Encode data to Base64 string",
"returnType": "char *",
- "params": {
- "data": "const unsigned char *",
- "dataLength": "int",
- "outputLength": "int *"
- }
+ "params": [
+ {
+ "type": "const unsigned char *",
+ "name": "data"
+ },
+ {
+ "type": "int",
+ "name": "dataLength"
+ },
+ {
+ "type": "int *",
+ "name": "outputLength"
+ }
+ ]
},
{
"name": "DecodeDataBase64",
"description": "Decode Base64 string data",
"returnType": "unsigned char *",
- "params": {
- "data": "unsigned char *",
- "outputLength": "int *"
- }
+ "params": [
+ {
+ "type": "unsigned char *",
+ "name": "data"
+ },
+ {
+ "type": "int *",
+ "name": "outputLength"
+ }
+ ]
},
{
"name": "SaveStorageValue",
"description": "Save integer value to storage file (to defined position), returns true on success",
"returnType": "bool",
- "params": {
- "position": "unsigned int",
- "value": "int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "position"
+ },
+ {
+ "type": "int",
+ "name": "value"
+ }
+ ]
},
{
"name": "LoadStorageValue",
"description": "Load integer value from storage file (from defined position)",
"returnType": "int",
- "params": {
- "position": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "position"
+ }
+ ]
},
{
"name": "OpenURL",
"description": "Open URL with default system browser (if available)",
"returnType": "void",
- "params": {
- "url": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "url"
+ }
+ ]
},
{
"name": "IsKeyPressed",
"description": "Check if a key has been pressed once",
"returnType": "bool",
- "params": {
- "key": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "key"
+ }
+ ]
},
{
"name": "IsKeyDown",
"description": "Check if a key is being pressed",
"returnType": "bool",
- "params": {
- "key": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "key"
+ }
+ ]
},
{
"name": "IsKeyReleased",
"description": "Check if a key has been released once",
"returnType": "bool",
- "params": {
- "key": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "key"
+ }
+ ]
},
{
"name": "IsKeyUp",
"description": "Check if a key is NOT being pressed",
"returnType": "bool",
- "params": {
- "key": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "key"
+ }
+ ]
},
{
"name": "SetExitKey",
"description": "Set a custom key to exit program (default is ESC)",
"returnType": "void",
- "params": {
- "key": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "key"
+ }
+ ]
},
{
"name": "GetKeyPressed",
@@ -3503,53 +3928,83 @@
"name": "IsGamepadAvailable",
"description": "Check if a gamepad is available",
"returnType": "bool",
- "params": {
- "gamepad": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ }
+ ]
},
{
"name": "GetGamepadName",
"description": "Get gamepad internal name id",
"returnType": "const char *",
- "params": {
- "gamepad": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ }
+ ]
},
{
"name": "IsGamepadButtonPressed",
"description": "Check if a gamepad button has been pressed once",
"returnType": "bool",
- "params": {
- "gamepad": "int",
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ },
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "IsGamepadButtonDown",
"description": "Check if a gamepad button is being pressed",
"returnType": "bool",
- "params": {
- "gamepad": "int",
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ },
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "IsGamepadButtonReleased",
"description": "Check if a gamepad button has been released once",
"returnType": "bool",
- "params": {
- "gamepad": "int",
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ },
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "IsGamepadButtonUp",
"description": "Check if a gamepad button is NOT being pressed",
"returnType": "bool",
- "params": {
- "gamepad": "int",
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ },
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "GetGamepadButtonPressed",
@@ -3560,58 +4015,82 @@
"name": "GetGamepadAxisCount",
"description": "Get gamepad axis count for a gamepad",
"returnType": "int",
- "params": {
- "gamepad": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ }
+ ]
},
{
"name": "GetGamepadAxisMovement",
"description": "Get axis movement value for a gamepad axis",
"returnType": "float",
- "params": {
- "gamepad": "int",
- "axis": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gamepad"
+ },
+ {
+ "type": "int",
+ "name": "axis"
+ }
+ ]
},
{
"name": "SetGamepadMappings",
"description": "Set internal gamepad mappings (SDL_GameControllerDB)",
"returnType": "int",
- "params": {
- "mappings": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "mappings"
+ }
+ ]
},
{
"name": "IsMouseButtonPressed",
"description": "Check if a mouse button has been pressed once",
"returnType": "bool",
- "params": {
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "IsMouseButtonDown",
"description": "Check if a mouse button is being pressed",
"returnType": "bool",
- "params": {
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "IsMouseButtonReleased",
"description": "Check if a mouse button has been released once",
"returnType": "bool",
- "params": {
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "IsMouseButtonUp",
"description": "Check if a mouse button is NOT being pressed",
"returnType": "bool",
- "params": {
- "button": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "button"
+ }
+ ]
},
{
"name": "GetMouseX",
@@ -3637,28 +4116,46 @@
"name": "SetMousePosition",
"description": "Set mouse position XY",
"returnType": "void",
- "params": {
- "x": "int",
- "y": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "x"
+ },
+ {
+ "type": "int",
+ "name": "y"
+ }
+ ]
},
{
"name": "SetMouseOffset",
"description": "Set mouse offset",
"returnType": "void",
- "params": {
- "offsetX": "int",
- "offsetY": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "offsetX"
+ },
+ {
+ "type": "int",
+ "name": "offsetY"
+ }
+ ]
},
{
"name": "SetMouseScale",
"description": "Set mouse scaling",
"returnType": "void",
- "params": {
- "scaleX": "float",
- "scaleY": "float"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "scaleX"
+ },
+ {
+ "type": "float",
+ "name": "scaleY"
+ }
+ ]
},
{
"name": "GetMouseWheelMove",
@@ -3669,9 +4166,12 @@
"name": "SetMouseCursor",
"description": "Set mouse cursor",
"returnType": "void",
- "params": {
- "cursor": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "cursor"
+ }
+ ]
},
{
"name": "GetTouchX",
@@ -3687,17 +4187,23 @@
"name": "GetTouchPosition",
"description": "Get touch position XY for a touch point index (relative to screen size)",
"returnType": "Vector2",
- "params": {
- "index": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "index"
+ }
+ ]
},
{
"name": "GetTouchPointId",
"description": "Get touch point identifier for given index",
"returnType": "int",
- "params": {
- "index": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "index"
+ }
+ ]
},
{
"name": "GetTouchPointCount",
@@ -3708,17 +4214,23 @@
"name": "SetGesturesEnabled",
"description": "Enable a set of gestures using flags",
"returnType": "void",
- "params": {
- "flags": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "flags"
+ }
+ ]
},
{
"name": "IsGestureDetected",
"description": "Check if a gesture have been detected",
"returnType": "bool",
- "params": {
- "gesture": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "gesture"
+ }
+ ]
},
{
"name": "GetGestureDetected",
@@ -3754,627 +4266,1287 @@
"name": "SetCameraMode",
"description": "Set camera mode (multiple camera modes available)",
"returnType": "void",
- "params": {
- "camera": "Camera",
- "mode": "int"
- }
+ "params": [
+ {
+ "type": "Camera",
+ "name": "camera"
+ },
+ {
+ "type": "int",
+ "name": "mode"
+ }
+ ]
},
{
"name": "UpdateCamera",
"description": "Update camera position for selected mode",
"returnType": "void",
- "params": {
- "camera": "Camera *"
- }
+ "params": [
+ {
+ "type": "Camera *",
+ "name": "camera"
+ }
+ ]
},
{
"name": "SetCameraPanControl",
"description": "Set camera pan key to combine with mouse movement (free camera)",
"returnType": "void",
- "params": {
- "keyPan": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "keyPan"
+ }
+ ]
},
{
"name": "SetCameraAltControl",
"description": "Set camera alt key to combine with mouse movement (free camera)",
"returnType": "void",
- "params": {
- "keyAlt": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "keyAlt"
+ }
+ ]
},
{
"name": "SetCameraSmoothZoomControl",
"description": "Set camera smooth zoom key to combine with mouse (free camera)",
"returnType": "void",
- "params": {
- "keySmoothZoom": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "keySmoothZoom"
+ }
+ ]
},
{
"name": "SetCameraMoveControls",
"description": "Set camera move controls (1st person and 3rd person cameras)",
"returnType": "void",
- "params": {
- "keyFront": "int",
- "keyBack": "int",
- "keyRight": "int",
- "keyLeft": "int",
- "keyUp": "int",
- "keyDown": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "keyFront"
+ },
+ {
+ "type": "int",
+ "name": "keyBack"
+ },
+ {
+ "type": "int",
+ "name": "keyRight"
+ },
+ {
+ "type": "int",
+ "name": "keyLeft"
+ },
+ {
+ "type": "int",
+ "name": "keyUp"
+ },
+ {
+ "type": "int",
+ "name": "keyDown"
+ }
+ ]
},
{
"name": "SetShapesTexture",
"description": "Set texture and rectangle to be used on shapes drawing",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "source": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ }
+ ]
},
{
"name": "DrawPixel",
"description": "Draw a pixel",
"returnType": "void",
- "params": {
- "posX": "int",
- "posY": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawPixelV",
"description": "Draw a pixel (Vector version)",
"returnType": "void",
- "params": {
- "position": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawLine",
"description": "Draw a line",
"returnType": "void",
- "params": {
- "startPosX": "int",
- "startPosY": "int",
- "endPosX": "int",
- "endPosY": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "startPosX"
+ },
+ {
+ "type": "int",
+ "name": "startPosY"
+ },
+ {
+ "type": "int",
+ "name": "endPosX"
+ },
+ {
+ "type": "int",
+ "name": "endPosY"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawLineV",
"description": "Draw a line (Vector version)",
"returnType": "void",
- "params": {
- "startPos": "Vector2",
- "endPos": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawLineEx",
"description": "Draw a line defining thickness",
"returnType": "void",
- "params": {
- "startPos": "Vector2",
- "endPos": "Vector2",
- "thick": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos"
+ },
+ {
+ "type": "float",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawLineBezier",
"description": "Draw a line using cubic-bezier curves in-out",
"returnType": "void",
- "params": {
- "startPos": "Vector2",
- "endPos": "Vector2",
- "thick": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos"
+ },
+ {
+ "type": "float",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawLineBezierQuad",
"description": "Draw line using quadratic bezier curves with a control point",
"returnType": "void",
- "params": {
- "startPos": "Vector2",
- "endPos": "Vector2",
- "controlPos": "Vector2",
- "thick": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "controlPos"
+ },
+ {
+ "type": "float",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "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"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "startControlPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "endControlPos"
+ },
+ {
+ "type": "float",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawLineStrip",
"description": "Draw lines sequence",
"returnType": "void",
- "params": {
- "points": "Vector2 *",
- "pointCount": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCircle",
"description": "Draw a color-filled circle",
"returnType": "void",
- "params": {
- "centerX": "int",
- "centerY": "int",
- "radius": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCircleSector",
"description": "Draw a piece of a circle",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "radius": "float",
- "startAngle": "float",
- "endAngle": "float",
- "segments": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "startAngle"
+ },
+ {
+ "type": "float",
+ "name": "endAngle"
+ },
+ {
+ "type": "int",
+ "name": "segments"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCircleSectorLines",
"description": "Draw circle sector outline",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "radius": "float",
- "startAngle": "float",
- "endAngle": "float",
- "segments": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "startAngle"
+ },
+ {
+ "type": "float",
+ "name": "endAngle"
+ },
+ {
+ "type": "int",
+ "name": "segments"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCircleGradient",
"description": "Draw a gradient-filled circle",
"returnType": "void",
- "params": {
- "centerX": "int",
- "centerY": "int",
- "radius": "float",
- "color1": "Color",
- "color2": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color1"
+ },
+ {
+ "type": "Color",
+ "name": "color2"
+ }
+ ]
},
{
"name": "DrawCircleV",
"description": "Draw a color-filled circle (Vector version)",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "radius": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCircleLines",
"description": "Draw circle outline",
"returnType": "void",
- "params": {
- "centerX": "int",
- "centerY": "int",
- "radius": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawEllipse",
"description": "Draw ellipse",
"returnType": "void",
- "params": {
- "centerX": "int",
- "centerY": "int",
- "radiusH": "float",
- "radiusV": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "float",
+ "name": "radiusH"
+ },
+ {
+ "type": "float",
+ "name": "radiusV"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawEllipseLines",
"description": "Draw ellipse outline",
"returnType": "void",
- "params": {
- "centerX": "int",
- "centerY": "int",
- "radiusH": "float",
- "radiusV": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "float",
+ "name": "radiusH"
+ },
+ {
+ "type": "float",
+ "name": "radiusV"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRing",
"description": "Draw ring",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "innerRadius": "float",
- "outerRadius": "float",
- "startAngle": "float",
- "endAngle": "float",
- "segments": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "innerRadius"
+ },
+ {
+ "type": "float",
+ "name": "outerRadius"
+ },
+ {
+ "type": "float",
+ "name": "startAngle"
+ },
+ {
+ "type": "float",
+ "name": "endAngle"
+ },
+ {
+ "type": "int",
+ "name": "segments"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRingLines",
"description": "Draw ring outline",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "innerRadius": "float",
- "outerRadius": "float",
- "startAngle": "float",
- "endAngle": "float",
- "segments": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "innerRadius"
+ },
+ {
+ "type": "float",
+ "name": "outerRadius"
+ },
+ {
+ "type": "float",
+ "name": "startAngle"
+ },
+ {
+ "type": "float",
+ "name": "endAngle"
+ },
+ {
+ "type": "int",
+ "name": "segments"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangle",
"description": "Draw a color-filled rectangle",
"returnType": "void",
- "params": {
- "posX": "int",
- "posY": "int",
- "width": "int",
- "height": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangleV",
"description": "Draw a color-filled rectangle (Vector version)",
"returnType": "void",
- "params": {
- "position": "Vector2",
- "size": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Vector2",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangleRec",
"description": "Draw a color-filled rectangle",
"returnType": "void",
- "params": {
- "rec": "Rectangle",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectanglePro",
"description": "Draw a color-filled rectangle with pro parameters",
"returnType": "void",
- "params": {
- "rec": "Rectangle",
- "origin": "Vector2",
- "rotation": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "Vector2",
+ "name": "origin"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangleGradientV",
"description": "Draw a vertical-gradient-filled rectangle",
"returnType": "void",
- "params": {
- "posX": "int",
- "posY": "int",
- "width": "int",
- "height": "int",
- "color1": "Color",
- "color2": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "color1"
+ },
+ {
+ "type": "Color",
+ "name": "color2"
+ }
+ ]
},
{
"name": "DrawRectangleGradientH",
"description": "Draw a horizontal-gradient-filled rectangle",
"returnType": "void",
- "params": {
- "posX": "int",
- "posY": "int",
- "width": "int",
- "height": "int",
- "color1": "Color",
- "color2": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "color1"
+ },
+ {
+ "type": "Color",
+ "name": "color2"
+ }
+ ]
},
{
"name": "DrawRectangleGradientEx",
"description": "Draw a gradient-filled rectangle with custom vertex colors",
"returnType": "void",
- "params": {
- "rec": "Rectangle",
- "col1": "Color",
- "col2": "Color",
- "col3": "Color",
- "col4": "Color"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "Color",
+ "name": "col1"
+ },
+ {
+ "type": "Color",
+ "name": "col2"
+ },
+ {
+ "type": "Color",
+ "name": "col3"
+ },
+ {
+ "type": "Color",
+ "name": "col4"
+ }
+ ]
},
{
"name": "DrawRectangleLines",
"description": "Draw rectangle outline",
"returnType": "void",
- "params": {
- "posX": "int",
- "posY": "int",
- "width": "int",
- "height": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangleLinesEx",
"description": "Draw rectangle outline with extended parameters",
"returnType": "void",
- "params": {
- "rec": "Rectangle",
- "lineThick": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "float",
+ "name": "lineThick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangleRounded",
"description": "Draw rectangle with rounded edges",
"returnType": "void",
- "params": {
- "rec": "Rectangle",
- "roundness": "float",
- "segments": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "float",
+ "name": "roundness"
+ },
+ {
+ "type": "int",
+ "name": "segments"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRectangleRoundedLines",
"description": "Draw rectangle with rounded edges outline",
"returnType": "void",
- "params": {
- "rec": "Rectangle",
- "roundness": "float",
- "segments": "int",
- "lineThick": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "float",
+ "name": "roundness"
+ },
+ {
+ "type": "int",
+ "name": "segments"
+ },
+ {
+ "type": "float",
+ "name": "lineThick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTriangle",
"description": "Draw a color-filled triangle (vertex in counter-clockwise order!)",
"returnType": "void",
- "params": {
- "v1": "Vector2",
- "v2": "Vector2",
- "v3": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "v1"
+ },
+ {
+ "type": "Vector2",
+ "name": "v2"
+ },
+ {
+ "type": "Vector2",
+ "name": "v3"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTriangleLines",
"description": "Draw triangle outline (vertex in counter-clockwise order!)",
"returnType": "void",
- "params": {
- "v1": "Vector2",
- "v2": "Vector2",
- "v3": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "v1"
+ },
+ {
+ "type": "Vector2",
+ "name": "v2"
+ },
+ {
+ "type": "Vector2",
+ "name": "v3"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTriangleFan",
"description": "Draw a triangle fan defined by points (first vertex is the center)",
"returnType": "void",
- "params": {
- "points": "Vector2 *",
- "pointCount": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTriangleStrip",
"description": "Draw a triangle strip defined by points",
"returnType": "void",
- "params": {
- "points": "Vector2 *",
- "pointCount": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawPoly",
"description": "Draw a regular polygon (Vector version)",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "sides": "int",
- "radius": "float",
- "rotation": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawPolyLines",
"description": "Draw a polygon outline of n sides",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "sides": "int",
- "radius": "float",
- "rotation": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawPolyLinesEx",
"description": "Draw a polygon outline of n sides with extended parameters",
"returnType": "void",
- "params": {
- "center": "Vector2",
- "sides": "int",
- "radius": "float",
- "rotation": "float",
- "lineThick": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "float",
+ "name": "lineThick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "CheckCollisionRecs",
"description": "Check collision between two rectangles",
"returnType": "bool",
- "params": {
- "rec1": "Rectangle",
- "rec2": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec1"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec2"
+ }
+ ]
},
{
"name": "CheckCollisionCircles",
"description": "Check collision between two circles",
"returnType": "bool",
- "params": {
- "center1": "Vector2",
- "radius1": "float",
- "center2": "Vector2",
- "radius2": "float"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center1"
+ },
+ {
+ "type": "float",
+ "name": "radius1"
+ },
+ {
+ "type": "Vector2",
+ "name": "center2"
+ },
+ {
+ "type": "float",
+ "name": "radius2"
+ }
+ ]
},
{
"name": "CheckCollisionCircleRec",
"description": "Check collision between circle and rectangle",
"returnType": "bool",
- "params": {
- "center": "Vector2",
- "radius": "float",
- "rec": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ }
+ ]
},
{
"name": "CheckCollisionPointRec",
"description": "Check if point is inside rectangle",
"returnType": "bool",
- "params": {
- "point": "Vector2",
- "rec": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "point"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ }
+ ]
},
{
"name": "CheckCollisionPointCircle",
"description": "Check if point is inside circle",
"returnType": "bool",
- "params": {
- "point": "Vector2",
- "center": "Vector2",
- "radius": "float"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "point"
+ },
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ }
+ ]
},
{
"name": "CheckCollisionPointTriangle",
"description": "Check if point is inside a triangle",
"returnType": "bool",
- "params": {
- "point": "Vector2",
- "p1": "Vector2",
- "p2": "Vector2",
- "p3": "Vector2"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "point"
+ },
+ {
+ "type": "Vector2",
+ "name": "p1"
+ },
+ {
+ "type": "Vector2",
+ "name": "p2"
+ },
+ {
+ "type": "Vector2",
+ "name": "p3"
+ }
+ ]
},
{
"name": "CheckCollisionLines",
"description": "Check the collision between two lines defined by two points each, returns collision point by reference",
"returnType": "bool",
- "params": {
- "startPos1": "Vector2",
- "endPos1": "Vector2",
- "startPos2": "Vector2",
- "endPos2": "Vector2",
- "collisionPoint": "Vector2 *"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "startPos1"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos1"
+ },
+ {
+ "type": "Vector2",
+ "name": "startPos2"
+ },
+ {
+ "type": "Vector2",
+ "name": "endPos2"
+ },
+ {
+ "type": "Vector2 *",
+ "name": "collisionPoint"
+ }
+ ]
},
{
"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"
- }
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "point"
+ },
+ {
+ "type": "Vector2",
+ "name": "p1"
+ },
+ {
+ "type": "Vector2",
+ "name": "p2"
+ },
+ {
+ "type": "int",
+ "name": "threshold"
+ }
+ ]
},
{
"name": "GetCollisionRec",
"description": "Get collision rectangle for two rectangles collision",
"returnType": "Rectangle",
- "params": {
- "rec1": "Rectangle",
- "rec2": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Rectangle",
+ "name": "rec1"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec2"
+ }
+ ]
},
{
"name": "LoadImage",
"description": "Load image from file into CPU memory (RAM)",
"returnType": "Image",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadImageRaw",
"description": "Load image from RAW file data",
"returnType": "Image",
- "params": {
- "fileName": "const char *",
- "width": "int",
- "height": "int",
- "format": "int",
- "headerSize": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "format"
+ },
+ {
+ "type": "int",
+ "name": "headerSize"
+ }
+ ]
},
{
"name": "LoadImageAnim",
"description": "Load image sequence from file (frames appended to image.data)",
"returnType": "Image",
- "params": {
- "fileName": "const char *",
- "frames": "int *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "int *",
+ "name": "frames"
+ }
+ ]
},
{
"name": "LoadImageFromMemory",
"description": "Load image from memory buffer, fileType refers to extension: i.e. '.png'",
"returnType": "Image",
- "params": {
- "fileType": "const char *",
- "fileData": "const unsigned char *",
- "dataSize": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileType"
+ },
+ {
+ "type": "const unsigned char *",
+ "name": "fileData"
+ },
+ {
+ "type": "int",
+ "name": "dataSize"
+ }
+ ]
},
{
"name": "LoadImageFromTexture",
"description": "Load image from GPU texture data",
"returnType": "Image",
- "params": {
- "texture": "Texture2D"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ }
+ ]
},
{
"name": "LoadImageFromScreen",
@@ -4385,869 +5557,1625 @@
"name": "UnloadImage",
"description": "Unload image from CPU memory (RAM)",
"returnType": "void",
- "params": {
- "image": "Image"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ }
+ ]
},
{
"name": "ExportImage",
"description": "Export image data to file, returns true on success",
"returnType": "bool",
- "params": {
- "image": "Image",
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "ExportImageAsCode",
"description": "Export image as code file defining an array of bytes, returns true on success",
"returnType": "bool",
- "params": {
- "image": "Image",
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "GenImageColor",
"description": "Generate image: plain color",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "GenImageGradientV",
"description": "Generate image: vertical gradient",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "top": "Color",
- "bottom": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "top"
+ },
+ {
+ "type": "Color",
+ "name": "bottom"
+ }
+ ]
},
{
"name": "GenImageGradientH",
"description": "Generate image: horizontal gradient",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "left": "Color",
- "right": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "left"
+ },
+ {
+ "type": "Color",
+ "name": "right"
+ }
+ ]
},
{
"name": "GenImageGradientRadial",
"description": "Generate image: radial gradient",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "density": "float",
- "inner": "Color",
- "outer": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "density"
+ },
+ {
+ "type": "Color",
+ "name": "inner"
+ },
+ {
+ "type": "Color",
+ "name": "outer"
+ }
+ ]
},
{
"name": "GenImageChecked",
"description": "Generate image: checked",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "checksX": "int",
- "checksY": "int",
- "col1": "Color",
- "col2": "Color"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "checksX"
+ },
+ {
+ "type": "int",
+ "name": "checksY"
+ },
+ {
+ "type": "Color",
+ "name": "col1"
+ },
+ {
+ "type": "Color",
+ "name": "col2"
+ }
+ ]
},
{
"name": "GenImageWhiteNoise",
"description": "Generate image: white noise",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "factor": "float"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "factor"
+ }
+ ]
},
{
"name": "GenImageCellular",
"description": "Generate image: cellular algorithm, bigger tileSize means bigger cells",
"returnType": "Image",
- "params": {
- "width": "int",
- "height": "int",
- "tileSize": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "tileSize"
+ }
+ ]
},
{
"name": "ImageCopy",
"description": "Create an image duplicate (useful for transformations)",
"returnType": "Image",
- "params": {
- "image": "Image"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageFromImage",
"description": "Create an image from another image piece",
"returnType": "Image",
- "params": {
- "image": "Image",
- "rec": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ }
+ ]
},
{
"name": "ImageText",
"description": "Create an image from text (default font)",
"returnType": "Image",
- "params": {
- "text": "const char *",
- "fontSize": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageTextEx",
"description": "Create an image from text (custom sprite font)",
"returnType": "Image",
- "params": {
- "font": "Font",
- "text": "const char *",
- "fontSize": "float",
- "spacing": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "float",
+ "name": "fontSize"
+ },
+ {
+ "type": "float",
+ "name": "spacing"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "ImageFormat",
"description": "Convert image data to desired format",
"returnType": "void",
- "params": {
- "image": "Image *",
- "newFormat": "int"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "newFormat"
+ }
+ ]
},
{
"name": "ImageToPOT",
"description": "Convert image to POT (power-of-two)",
"returnType": "void",
- "params": {
- "image": "Image *",
- "fill": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "Color",
+ "name": "fill"
+ }
+ ]
},
{
"name": "ImageCrop",
"description": "Crop an image to a defined rectangle",
"returnType": "void",
- "params": {
- "image": "Image *",
- "crop": "Rectangle"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "Rectangle",
+ "name": "crop"
+ }
+ ]
},
{
"name": "ImageAlphaCrop",
"description": "Crop image depending on alpha value",
"returnType": "void",
- "params": {
- "image": "Image *",
- "threshold": "float"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "float",
+ "name": "threshold"
+ }
+ ]
},
{
"name": "ImageAlphaClear",
"description": "Clear alpha channel to desired color",
"returnType": "void",
- "params": {
- "image": "Image *",
- "color": "Color",
- "threshold": "float"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ },
+ {
+ "type": "float",
+ "name": "threshold"
+ }
+ ]
},
{
"name": "ImageAlphaMask",
"description": "Apply alpha mask to image",
"returnType": "void",
- "params": {
- "image": "Image *",
- "alphaMask": "Image"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "Image",
+ "name": "alphaMask"
+ }
+ ]
},
{
"name": "ImageAlphaPremultiply",
"description": "Premultiply alpha channel",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageResize",
"description": "Resize image (Bicubic scaling algorithm)",
"returnType": "void",
- "params": {
- "image": "Image *",
- "newWidth": "int",
- "newHeight": "int"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "newWidth"
+ },
+ {
+ "type": "int",
+ "name": "newHeight"
+ }
+ ]
},
{
"name": "ImageResizeNN",
"description": "Resize image (Nearest-Neighbor scaling algorithm)",
"returnType": "void",
- "params": {
- "image": "Image *",
- "newWidth": "int",
- "newHeight": "int"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "newWidth"
+ },
+ {
+ "type": "int",
+ "name": "newHeight"
+ }
+ ]
},
{
"name": "ImageResizeCanvas",
"description": "Resize canvas and fill with color",
"returnType": "void",
- "params": {
- "image": "Image *",
- "newWidth": "int",
- "newHeight": "int",
- "offsetX": "int",
- "offsetY": "int",
- "fill": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "newWidth"
+ },
+ {
+ "type": "int",
+ "name": "newHeight"
+ },
+ {
+ "type": "int",
+ "name": "offsetX"
+ },
+ {
+ "type": "int",
+ "name": "offsetY"
+ },
+ {
+ "type": "Color",
+ "name": "fill"
+ }
+ ]
},
{
"name": "ImageMipmaps",
"description": "Compute all mipmap levels for a provided image",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageDither",
"description": "Dither image data to 16bpp or lower (Floyd-Steinberg dithering)",
"returnType": "void",
- "params": {
- "image": "Image *",
- "rBpp": "int",
- "gBpp": "int",
- "bBpp": "int",
- "aBpp": "int"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "rBpp"
+ },
+ {
+ "type": "int",
+ "name": "gBpp"
+ },
+ {
+ "type": "int",
+ "name": "bBpp"
+ },
+ {
+ "type": "int",
+ "name": "aBpp"
+ }
+ ]
},
{
"name": "ImageFlipVertical",
"description": "Flip image vertically",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageFlipHorizontal",
"description": "Flip image horizontally",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageRotateCW",
"description": "Rotate image clockwise 90deg",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageRotateCCW",
"description": "Rotate image counter-clockwise 90deg",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageColorTint",
"description": "Modify image color: tint",
"returnType": "void",
- "params": {
- "image": "Image *",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageColorInvert",
"description": "Modify image color: invert",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageColorGrayscale",
"description": "Modify image color: grayscale",
"returnType": "void",
- "params": {
- "image": "Image *"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ }
+ ]
},
{
"name": "ImageColorContrast",
"description": "Modify image color: contrast (-100 to 100)",
"returnType": "void",
- "params": {
- "image": "Image *",
- "contrast": "float"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "float",
+ "name": "contrast"
+ }
+ ]
},
{
"name": "ImageColorBrightness",
"description": "Modify image color: brightness (-255 to 255)",
"returnType": "void",
- "params": {
- "image": "Image *",
- "brightness": "int"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "brightness"
+ }
+ ]
},
{
"name": "ImageColorReplace",
"description": "Modify image color: replace color",
"returnType": "void",
- "params": {
- "image": "Image *",
- "color": "Color",
- "replace": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "image"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ },
+ {
+ "type": "Color",
+ "name": "replace"
+ }
+ ]
},
{
"name": "LoadImageColors",
"description": "Load color data from image as a Color array (RGBA - 32bit)",
"returnType": "Color *",
- "params": {
- "image": "Image"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ }
+ ]
},
{
"name": "LoadImagePalette",
"description": "Load colors palette from image as a Color array (RGBA - 32bit)",
"returnType": "Color *",
- "params": {
- "image": "Image",
- "maxPaletteSize": "int",
- "colorCount": "int *"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "maxPaletteSize"
+ },
+ {
+ "type": "int *",
+ "name": "colorCount"
+ }
+ ]
},
{
"name": "UnloadImageColors",
"description": "Unload color data loaded with LoadImageColors()",
"returnType": "void",
- "params": {
- "colors": "Color *"
- }
+ "params": [
+ {
+ "type": "Color *",
+ "name": "colors"
+ }
+ ]
},
{
"name": "UnloadImagePalette",
"description": "Unload colors palette loaded with LoadImagePalette()",
"returnType": "void",
- "params": {
- "colors": "Color *"
- }
+ "params": [
+ {
+ "type": "Color *",
+ "name": "colors"
+ }
+ ]
},
{
"name": "GetImageAlphaBorder",
"description": "Get image alpha border rectangle",
"returnType": "Rectangle",
- "params": {
- "image": "Image",
- "threshold": "float"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "float",
+ "name": "threshold"
+ }
+ ]
},
{
"name": "GetImageColor",
"description": "Get image pixel color at (x, y) position",
"returnType": "Color",
- "params": {
- "image": "Image",
- "x": "int",
- "y": "int"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "x"
+ },
+ {
+ "type": "int",
+ "name": "y"
+ }
+ ]
},
{
"name": "ImageClearBackground",
"description": "Clear image background with given color",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawPixel",
"description": "Draw pixel within an image",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "posX": "int",
- "posY": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawPixelV",
"description": "Draw pixel within an image (Vector version)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "position": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawLine",
"description": "Draw line within an image",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "startPosX": "int",
- "startPosY": "int",
- "endPosX": "int",
- "endPosY": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "int",
+ "name": "startPosX"
+ },
+ {
+ "type": "int",
+ "name": "startPosY"
+ },
+ {
+ "type": "int",
+ "name": "endPosX"
+ },
+ {
+ "type": "int",
+ "name": "endPosY"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawLineV",
"description": "Draw line within an image (Vector version)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "start": "Vector2",
- "end": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Vector2",
+ "name": "start"
+ },
+ {
+ "type": "Vector2",
+ "name": "end"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawCircle",
"description": "Draw circle within an image",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "centerX": "int",
- "centerY": "int",
- "radius": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "int",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawCircleV",
"description": "Draw circle within an image (Vector version)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "center": "Vector2",
- "radius": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "int",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawRectangle",
"description": "Draw rectangle within an image",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "posX": "int",
- "posY": "int",
- "width": "int",
- "height": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawRectangleV",
"description": "Draw rectangle within an image (Vector version)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "position": "Vector2",
- "size": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Vector2",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawRectangleRec",
"description": "Draw rectangle within an image",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "rec": "Rectangle",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawRectangleLines",
"description": "Draw rectangle lines within an image",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "rec": "Rectangle",
- "thick": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "int",
+ "name": "thick"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDraw",
"description": "Draw a source image within a destination image (tint applied to source)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "src": "Image",
- "srcRec": "Rectangle",
- "dstRec": "Rectangle",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Image",
+ "name": "src"
+ },
+ {
+ "type": "Rectangle",
+ "name": "srcRec"
+ },
+ {
+ "type": "Rectangle",
+ "name": "dstRec"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "ImageDrawText",
"description": "Draw text (using default font) within an image (destination)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "text": "const char *",
- "posX": "int",
- "posY": "int",
- "fontSize": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ImageDrawTextEx",
"description": "Draw text (custom sprite font) within an image (destination)",
"returnType": "void",
- "params": {
- "dst": "Image *",
- "font": "Font",
- "text": "const char *",
- "position": "Vector2",
- "fontSize": "float",
- "spacing": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "fontSize"
+ },
+ {
+ "type": "float",
+ "name": "spacing"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "LoadTexture",
"description": "Load texture from file into GPU memory (VRAM)",
"returnType": "Texture2D",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadTextureFromImage",
"description": "Load texture from image data",
"returnType": "Texture2D",
- "params": {
- "image": "Image"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ }
+ ]
},
{
"name": "LoadTextureCubemap",
"description": "Load cubemap from image, multiple image cubemap layouts supported",
"returnType": "TextureCubemap",
- "params": {
- "image": "Image",
- "layout": "int"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "int",
+ "name": "layout"
+ }
+ ]
},
{
"name": "LoadRenderTexture",
"description": "Load texture for rendering (framebuffer)",
"returnType": "RenderTexture2D",
- "params": {
- "width": "int",
- "height": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ }
+ ]
},
{
"name": "UnloadTexture",
"description": "Unload texture from GPU memory (VRAM)",
"returnType": "void",
- "params": {
- "texture": "Texture2D"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ }
+ ]
},
{
"name": "UnloadRenderTexture",
"description": "Unload render texture from GPU memory (VRAM)",
"returnType": "void",
- "params": {
- "target": "RenderTexture2D"
- }
+ "params": [
+ {
+ "type": "RenderTexture2D",
+ "name": "target"
+ }
+ ]
},
{
"name": "UpdateTexture",
"description": "Update GPU texture with new data",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "pixels": "const void *"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "const void *",
+ "name": "pixels"
+ }
+ ]
},
{
"name": "UpdateTextureRec",
"description": "Update GPU texture rectangle with new data",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "rec": "Rectangle",
- "pixels": "const void *"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "rec"
+ },
+ {
+ "type": "const void *",
+ "name": "pixels"
+ }
+ ]
},
{
"name": "GenTextureMipmaps",
"description": "Generate GPU mipmaps for a texture",
"returnType": "void",
- "params": {
- "texture": "Texture2D *"
- }
+ "params": [
+ {
+ "type": "Texture2D *",
+ "name": "texture"
+ }
+ ]
},
{
"name": "SetTextureFilter",
"description": "Set texture scaling filter mode",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "filter": "int"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "int",
+ "name": "filter"
+ }
+ ]
},
{
"name": "SetTextureWrap",
"description": "Set texture wrapping mode",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "wrap": "int"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "int",
+ "name": "wrap"
+ }
+ ]
},
{
"name": "DrawTexture",
"description": "Draw a Texture2D",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "posX": "int",
- "posY": "int",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextureV",
"description": "Draw a Texture2D with position defined as Vector2",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "position": "Vector2",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextureEx",
"description": "Draw a Texture2D with extended parameters",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "position": "Vector2",
- "rotation": "float",
- "scale": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "float",
+ "name": "scale"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextureRec",
"description": "Draw a part of a texture defined by a rectangle",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "source": "Rectangle",
- "position": "Vector2",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextureQuad",
"description": "Draw texture quad with tiling and offset parameters",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "tiling": "Vector2",
- "offset": "Vector2",
- "quad": "Rectangle",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Vector2",
+ "name": "tiling"
+ },
+ {
+ "type": "Vector2",
+ "name": "offset"
+ },
+ {
+ "type": "Rectangle",
+ "name": "quad"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextureTiled",
"description": "Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "source": "Rectangle",
- "dest": "Rectangle",
- "origin": "Vector2",
- "rotation": "float",
- "scale": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ },
+ {
+ "type": "Rectangle",
+ "name": "dest"
+ },
+ {
+ "type": "Vector2",
+ "name": "origin"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "float",
+ "name": "scale"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTexturePro",
"description": "Draw a part of a texture defined by a rectangle with 'pro' parameters",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "source": "Rectangle",
- "dest": "Rectangle",
- "origin": "Vector2",
- "rotation": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ },
+ {
+ "type": "Rectangle",
+ "name": "dest"
+ },
+ {
+ "type": "Vector2",
+ "name": "origin"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextureNPatch",
"description": "Draws a texture (or part of it) that stretches or shrinks nicely",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "nPatchInfo": "NPatchInfo",
- "dest": "Rectangle",
- "origin": "Vector2",
- "rotation": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "NPatchInfo",
+ "name": "nPatchInfo"
+ },
+ {
+ "type": "Rectangle",
+ "name": "dest"
+ },
+ {
+ "type": "Vector2",
+ "name": "origin"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTexturePoly",
"description": "Draw a textured polygon",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "center": "Vector2",
- "points": "Vector2 *",
- "texcoords": "Vector2 *",
- "pointCount": "int",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "Vector2 *",
+ "name": "texcoords"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "Fade",
"description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
"returnType": "Color",
- "params": {
- "color": "Color",
- "alpha": "float"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "color"
+ },
+ {
+ "type": "float",
+ "name": "alpha"
+ }
+ ]
},
{
"name": "ColorToInt",
"description": "Get hexadecimal value for a Color",
"returnType": "int",
- "params": {
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ColorNormalize",
"description": "Get Color normalized as float [0..1]",
"returnType": "Vector4",
- "params": {
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ColorFromNormalized",
"description": "Get Color from normalized values [0..1]",
"returnType": "Color",
- "params": {
- "normalized": "Vector4"
- }
+ "params": [
+ {
+ "type": "Vector4",
+ "name": "normalized"
+ }
+ ]
},
{
"name": "ColorToHSV",
"description": "Get HSV values for a Color, hue [0..360], saturation/value [0..1]",
"returnType": "Vector3",
- "params": {
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "ColorFromHSV",
"description": "Get a Color from HSV values, hue [0..360], saturation/value [0..1]",
"returnType": "Color",
- "params": {
- "hue": "float",
- "saturation": "float",
- "value": "float"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "hue"
+ },
+ {
+ "type": "float",
+ "name": "saturation"
+ },
+ {
+ "type": "float",
+ "name": "value"
+ }
+ ]
},
{
"name": "ColorAlpha",
"description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
"returnType": "Color",
- "params": {
- "color": "Color",
- "alpha": "float"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "color"
+ },
+ {
+ "type": "float",
+ "name": "alpha"
+ }
+ ]
},
{
"name": "ColorAlphaBlend",
"description": "Get src alpha-blended into dst color with tint",
"returnType": "Color",
- "params": {
- "dst": "Color",
- "src": "Color",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Color",
+ "name": "dst"
+ },
+ {
+ "type": "Color",
+ "name": "src"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "GetColor",
"description": "Get Color structure from hexadecimal value",
"returnType": "Color",
- "params": {
- "hexValue": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "hexValue"
+ }
+ ]
},
{
"name": "GetPixelColor",
"description": "Get Color from a source pixel pointer of certain format",
"returnType": "Color",
- "params": {
- "srcPtr": "void *",
- "format": "int"
- }
+ "params": [
+ {
+ "type": "void *",
+ "name": "srcPtr"
+ },
+ {
+ "type": "int",
+ "name": "format"
+ }
+ ]
},
{
"name": "SetPixelColor",
"description": "Set color formatted into destination pixel pointer",
"returnType": "void",
- "params": {
- "dstPtr": "void *",
- "color": "Color",
- "format": "int"
- }
+ "params": [
+ {
+ "type": "void *",
+ "name": "dstPtr"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ },
+ {
+ "type": "int",
+ "name": "format"
+ }
+ ]
},
{
"name": "GetPixelDataSize",
"description": "Get pixel data size in bytes for certain format",
"returnType": "int",
- "params": {
- "width": "int",
- "height": "int",
- "format": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "format"
+ }
+ ]
},
{
"name": "GetFontDefault",
@@ -5258,959 +7186,1874 @@
"name": "LoadFont",
"description": "Load font from file into GPU memory (VRAM)",
"returnType": "Font",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadFontEx",
- "description": "Load font from file with extended parameters",
+ "description": "Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set",
"returnType": "Font",
- "params": {
- "fileName": "const char *",
- "fontSize": "int",
- "fontChars": "int *",
- "glyphCount": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "int *",
+ "name": "fontChars"
+ },
+ {
+ "type": "int",
+ "name": "glyphCount"
+ }
+ ]
},
{
"name": "LoadFontFromImage",
"description": "Load font from Image (XNA style)",
"returnType": "Font",
- "params": {
- "image": "Image",
- "key": "Color",
- "firstChar": "int"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "image"
+ },
+ {
+ "type": "Color",
+ "name": "key"
+ },
+ {
+ "type": "int",
+ "name": "firstChar"
+ }
+ ]
},
{
"name": "LoadFontFromMemory",
"description": "Load font from memory buffer, fileType refers to extension: i.e. '.ttf'",
"returnType": "Font",
- "params": {
- "fileType": "const char *",
- "fileData": "const unsigned char *",
- "dataSize": "int",
- "fontSize": "int",
- "fontChars": "int *",
- "glyphCount": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileType"
+ },
+ {
+ "type": "const unsigned char *",
+ "name": "fileData"
+ },
+ {
+ "type": "int",
+ "name": "dataSize"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "int *",
+ "name": "fontChars"
+ },
+ {
+ "type": "int",
+ "name": "glyphCount"
+ }
+ ]
},
{
"name": "LoadFontData",
"description": "Load font data for further use",
"returnType": "GlyphInfo *",
- "params": {
- "fileData": "const unsigned char *",
- "dataSize": "int",
- "fontSize": "int",
- "fontChars": "int *",
- "glyphCount": "int",
- "type": "int"
- }
+ "params": [
+ {
+ "type": "const unsigned char *",
+ "name": "fileData"
+ },
+ {
+ "type": "int",
+ "name": "dataSize"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "int *",
+ "name": "fontChars"
+ },
+ {
+ "type": "int",
+ "name": "glyphCount"
+ },
+ {
+ "type": "int",
+ "name": "type"
+ }
+ ]
},
{
"name": "GenImageFontAtlas",
"description": "Generate image font atlas using chars info",
"returnType": "Image",
- "params": {
- "chars": "const GlyphInfo *",
- "recs": "Rectangle **",
- "glyphCount": "int",
- "fontSize": "int",
- "padding": "int",
- "packMethod": "int"
- }
+ "params": [
+ {
+ "type": "const GlyphInfo *",
+ "name": "chars"
+ },
+ {
+ "type": "Rectangle **",
+ "name": "recs"
+ },
+ {
+ "type": "int",
+ "name": "glyphCount"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "int",
+ "name": "padding"
+ },
+ {
+ "type": "int",
+ "name": "packMethod"
+ }
+ ]
},
{
"name": "UnloadFontData",
"description": "Unload font chars info data (RAM)",
"returnType": "void",
- "params": {
- "chars": "GlyphInfo *",
- "glyphCount": "int"
- }
+ "params": [
+ {
+ "type": "GlyphInfo *",
+ "name": "chars"
+ },
+ {
+ "type": "int",
+ "name": "glyphCount"
+ }
+ ]
},
{
"name": "UnloadFont",
- "description": "Unload Font from GPU memory (VRAM)",
+ "description": "Unload font from GPU memory (VRAM)",
"returnType": "void",
- "params": {
- "font": "Font"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ }
+ ]
+ },
+ {
+ "name": "ExportFontAsCode",
+ "description": "Export font as code file, returns true on success",
+ "returnType": "bool",
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "DrawFPS",
"description": "Draw current FPS",
"returnType": "void",
- "params": {
- "posX": "int",
- "posY": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ }
+ ]
},
{
"name": "DrawText",
"description": "Draw text (using default font)",
"returnType": "void",
- "params": {
- "text": "const char *",
- "posX": "int",
- "posY": "int",
- "fontSize": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int",
+ "name": "posX"
+ },
+ {
+ "type": "int",
+ "name": "posY"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTextEx",
"description": "Draw text using font and additional parameters",
"returnType": "void",
- "params": {
- "font": "Font",
- "text": "const char *",
- "position": "Vector2",
- "fontSize": "float",
- "spacing": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "fontSize"
+ },
+ {
+ "type": "float",
+ "name": "spacing"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextPro",
"description": "Draw text using Font and pro parameters (rotation)",
"returnType": "void",
- "params": {
- "font": "Font",
- "text": "const char *",
- "position": "Vector2",
- "origin": "Vector2",
- "rotation": "float",
- "fontSize": "float",
- "spacing": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "Vector2",
+ "name": "origin"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "float",
+ "name": "fontSize"
+ },
+ {
+ "type": "float",
+ "name": "spacing"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawTextCodepoint",
"description": "Draw one character (codepoint)",
"returnType": "void",
- "params": {
- "font": "Font",
- "codepoint": "int",
- "position": "Vector2",
- "fontSize": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "int",
+ "name": "codepoint"
+ },
+ {
+ "type": "Vector2",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "fontSize"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "MeasureText",
"description": "Measure string width for default font",
"returnType": "int",
- "params": {
- "text": "const char *",
- "fontSize": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int",
+ "name": "fontSize"
+ }
+ ]
},
{
"name": "MeasureTextEx",
"description": "Measure string size for Font",
"returnType": "Vector2",
- "params": {
- "font": "Font",
- "text": "const char *",
- "fontSize": "float",
- "spacing": "float"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "float",
+ "name": "fontSize"
+ },
+ {
+ "type": "float",
+ "name": "spacing"
+ }
+ ]
},
{
"name": "GetGlyphIndex",
"description": "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
"returnType": "int",
- "params": {
- "font": "Font",
- "codepoint": "int"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "int",
+ "name": "codepoint"
+ }
+ ]
},
{
"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"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "int",
+ "name": "codepoint"
+ }
+ ]
},
{
"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"
- }
+ "params": [
+ {
+ "type": "Font",
+ "name": "font"
+ },
+ {
+ "type": "int",
+ "name": "codepoint"
+ }
+ ]
},
{
"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 *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int *",
+ "name": "count"
+ }
+ ]
},
{
"name": "UnloadCodepoints",
"description": "Unload codepoints data from memory",
"returnType": "void",
- "params": {
- "codepoints": "int *"
- }
+ "params": [
+ {
+ "type": "int *",
+ "name": "codepoints"
+ }
+ ]
},
{
"name": "GetCodepointCount",
"description": "Get total number of codepoints in a UTF-8 encoded string",
"returnType": "int",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"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 *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int *",
+ "name": "bytesProcessed"
+ }
+ ]
},
{
"name": "CodepointToUTF8",
"description": "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
"returnType": "const char *",
- "params": {
- "codepoint": "int",
- "byteSize": "int *"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "codepoint"
+ },
+ {
+ "type": "int *",
+ "name": "byteSize"
+ }
+ ]
},
{
"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"
- }
+ "params": [
+ {
+ "type": "int *",
+ "name": "codepoints"
+ },
+ {
+ "type": "int",
+ "name": "length"
+ }
+ ]
},
{
"name": "TextCopy",
"description": "Copy one string to another, returns bytes copied",
"returnType": "int",
- "params": {
- "dst": "char *",
- "src": "const char *"
- }
+ "params": [
+ {
+ "type": "char *",
+ "name": "dst"
+ },
+ {
+ "type": "const char *",
+ "name": "src"
+ }
+ ]
},
{
"name": "TextIsEqual",
"description": "Check if two text string are equal",
"returnType": "bool",
- "params": {
- "text1": "const char *",
- "text2": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text1"
+ },
+ {
+ "type": "const char *",
+ "name": "text2"
+ }
+ ]
},
{
"name": "TextLength",
"description": "Get text length, checks for '\\0' ending",
"returnType": "unsigned int",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "TextFormat",
"description": "Text formatting with variables (sprintf() style)",
"returnType": "const char *",
- "params": {
- "text": "const char *",
- "": ""
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "",
+ "name": ""
+ }
+ ]
},
{
"name": "TextSubtext",
"description": "Get a piece of a text string",
"returnType": "const char *",
- "params": {
- "text": "const char *",
- "position": "int",
- "length": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "int",
+ "name": "position"
+ },
+ {
+ "type": "int",
+ "name": "length"
+ }
+ ]
},
{
"name": "TextReplace",
"description": "Replace text string (WARNING: memory must be freed!)",
"returnType": "char *",
- "params": {
- "text": "char *",
- "replace": "const char *",
- "by": "const char *"
- }
+ "params": [
+ {
+ "type": "char *",
+ "name": "text"
+ },
+ {
+ "type": "const char *",
+ "name": "replace"
+ },
+ {
+ "type": "const char *",
+ "name": "by"
+ }
+ ]
},
{
"name": "TextInsert",
"description": "Insert text in a position (WARNING: memory must be freed!)",
"returnType": "char *",
- "params": {
- "text": "const char *",
- "insert": "const char *",
- "position": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "const char *",
+ "name": "insert"
+ },
+ {
+ "type": "int",
+ "name": "position"
+ }
+ ]
},
{
"name": "TextJoin",
"description": "Join text strings with delimiter",
"returnType": "const char *",
- "params": {
- "textList": "const char **",
- "count": "int",
- "delimiter": "const char *"
- }
+ "params": [
+ {
+ "type": "const char **",
+ "name": "textList"
+ },
+ {
+ "type": "int",
+ "name": "count"
+ },
+ {
+ "type": "const char *",
+ "name": "delimiter"
+ }
+ ]
},
{
"name": "TextSplit",
"description": "Split text into multiple strings",
"returnType": "const char **",
- "params": {
- "text": "const char *",
- "delimiter": "char",
- "count": "int *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "char",
+ "name": "delimiter"
+ },
+ {
+ "type": "int *",
+ "name": "count"
+ }
+ ]
},
{
"name": "TextAppend",
"description": "Append text at specific position and move cursor!",
"returnType": "void",
- "params": {
- "text": "char *",
- "append": "const char *",
- "position": "int *"
- }
+ "params": [
+ {
+ "type": "char *",
+ "name": "text"
+ },
+ {
+ "type": "const char *",
+ "name": "append"
+ },
+ {
+ "type": "int *",
+ "name": "position"
+ }
+ ]
},
{
"name": "TextFindIndex",
"description": "Find first text occurrence within a string",
"returnType": "int",
- "params": {
- "text": "const char *",
- "find": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ },
+ {
+ "type": "const char *",
+ "name": "find"
+ }
+ ]
},
{
"name": "TextToUpper",
"description": "Get upper case version of provided string",
"returnType": "const char *",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "TextToLower",
"description": "Get lower case version of provided string",
"returnType": "const char *",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "TextToPascal",
"description": "Get Pascal case notation version of provided string",
"returnType": "const char *",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "TextToInteger",
"description": "Get integer value from text (negative values not supported)",
"returnType": "int",
- "params": {
- "text": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "text"
+ }
+ ]
},
{
"name": "DrawLine3D",
"description": "Draw a line in 3D world space",
"returnType": "void",
- "params": {
- "startPos": "Vector3",
- "endPos": "Vector3",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector3",
+ "name": "endPos"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawPoint3D",
"description": "Draw a point in 3D space, actually a small line",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCircle3D",
"description": "Draw a circle in 3D world space",
"returnType": "void",
- "params": {
- "center": "Vector3",
- "radius": "float",
- "rotationAxis": "Vector3",
- "rotationAngle": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Vector3",
+ "name": "rotationAxis"
+ },
+ {
+ "type": "float",
+ "name": "rotationAngle"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTriangle3D",
"description": "Draw a color-filled triangle (vertex in counter-clockwise order!)",
"returnType": "void",
- "params": {
- "v1": "Vector3",
- "v2": "Vector3",
- "v3": "Vector3",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "v1"
+ },
+ {
+ "type": "Vector3",
+ "name": "v2"
+ },
+ {
+ "type": "Vector3",
+ "name": "v3"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawTriangleStrip3D",
"description": "Draw a triangle strip defined by points",
"returnType": "void",
- "params": {
- "points": "Vector3 *",
- "pointCount": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCube",
"description": "Draw cube",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "width": "float",
- "height": "float",
- "length": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "width"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "length"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCubeV",
"description": "Draw cube (Vector version)",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "size": "Vector3",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Vector3",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCubeWires",
"description": "Draw cube wires",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "width": "float",
- "height": "float",
- "length": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "width"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "length"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCubeWiresV",
"description": "Draw cube wires (Vector version)",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "size": "Vector3",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Vector3",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCubeTexture",
"description": "Draw cube textured",
"returnType": "void",
- "params": {
- "texture": "Texture2D",
- "position": "Vector3",
- "width": "float",
- "height": "float",
- "length": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "width"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "length"
+ },
+ {
+ "type": "Color",
+ "name": "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"
- }
+ "params": [
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "width"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "length"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawSphere",
"description": "Draw sphere",
"returnType": "void",
- "params": {
- "centerPos": "Vector3",
- "radius": "float",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "centerPos"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawSphereEx",
"description": "Draw sphere with extended parameters",
"returnType": "void",
- "params": {
- "centerPos": "Vector3",
- "radius": "float",
- "rings": "int",
- "slices": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "centerPos"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "int",
+ "name": "rings"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawSphereWires",
"description": "Draw sphere wires",
"returnType": "void",
- "params": {
- "centerPos": "Vector3",
- "radius": "float",
- "rings": "int",
- "slices": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "centerPos"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "int",
+ "name": "rings"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCylinder",
"description": "Draw a cylinder/cone",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "radiusTop": "float",
- "radiusBottom": "float",
- "height": "float",
- "slices": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "radiusTop"
+ },
+ {
+ "type": "float",
+ "name": "radiusBottom"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ },
+ {
+ "type": "Color",
+ "name": "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"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector3",
+ "name": "endPos"
+ },
+ {
+ "type": "float",
+ "name": "startRadius"
+ },
+ {
+ "type": "float",
+ "name": "endRadius"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawCylinderWires",
"description": "Draw a cylinder/cone wires",
"returnType": "void",
- "params": {
- "position": "Vector3",
- "radiusTop": "float",
- "radiusBottom": "float",
- "height": "float",
- "slices": "int",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "radiusTop"
+ },
+ {
+ "type": "float",
+ "name": "radiusBottom"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ },
+ {
+ "type": "Color",
+ "name": "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"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "startPos"
+ },
+ {
+ "type": "Vector3",
+ "name": "endPos"
+ },
+ {
+ "type": "float",
+ "name": "startRadius"
+ },
+ {
+ "type": "float",
+ "name": "endRadius"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawPlane",
"description": "Draw a plane XZ",
"returnType": "void",
- "params": {
- "centerPos": "Vector3",
- "size": "Vector2",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "centerPos"
+ },
+ {
+ "type": "Vector2",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawRay",
"description": "Draw a ray line",
"returnType": "void",
- "params": {
- "ray": "Ray",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawGrid",
"description": "Draw a grid (centered at (0, 0, 0))",
"returnType": "void",
- "params": {
- "slices": "int",
- "spacing": "float"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "slices"
+ },
+ {
+ "type": "float",
+ "name": "spacing"
+ }
+ ]
},
{
"name": "LoadModel",
"description": "Load model from files (meshes and materials)",
"returnType": "Model",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadModelFromMesh",
"description": "Load model from generated mesh (default material)",
"returnType": "Model",
- "params": {
- "mesh": "Mesh"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ }
+ ]
},
{
"name": "UnloadModel",
"description": "Unload model (including meshes) from memory (RAM and/or VRAM)",
"returnType": "void",
- "params": {
- "model": "Model"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ }
+ ]
},
{
"name": "UnloadModelKeepMeshes",
"description": "Unload model (but not meshes) from memory (RAM and/or VRAM)",
"returnType": "void",
- "params": {
- "model": "Model"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ }
+ ]
},
{
"name": "GetModelBoundingBox",
"description": "Compute model bounding box limits (considers all meshes)",
"returnType": "BoundingBox",
- "params": {
- "model": "Model"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ }
+ ]
},
{
"name": "DrawModel",
"description": "Draw a model (with texture if set)",
"returnType": "void",
- "params": {
- "model": "Model",
- "position": "Vector3",
- "scale": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "scale"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawModelEx",
"description": "Draw a model with extended parameters",
"returnType": "void",
- "params": {
- "model": "Model",
- "position": "Vector3",
- "rotationAxis": "Vector3",
- "rotationAngle": "float",
- "scale": "Vector3",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Vector3",
+ "name": "rotationAxis"
+ },
+ {
+ "type": "float",
+ "name": "rotationAngle"
+ },
+ {
+ "type": "Vector3",
+ "name": "scale"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawModelWires",
"description": "Draw a model wires (with texture if set)",
"returnType": "void",
- "params": {
- "model": "Model",
- "position": "Vector3",
- "scale": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "scale"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawModelWiresEx",
"description": "Draw a model wires (with texture if set) with extended parameters",
"returnType": "void",
- "params": {
- "model": "Model",
- "position": "Vector3",
- "rotationAxis": "Vector3",
- "rotationAngle": "float",
- "scale": "Vector3",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Vector3",
+ "name": "rotationAxis"
+ },
+ {
+ "type": "float",
+ "name": "rotationAngle"
+ },
+ {
+ "type": "Vector3",
+ "name": "scale"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawBoundingBox",
"description": "Draw bounding box (wires)",
"returnType": "void",
- "params": {
- "box": "BoundingBox",
- "color": "Color"
- }
+ "params": [
+ {
+ "type": "BoundingBox",
+ "name": "box"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
},
{
"name": "DrawBillboard",
"description": "Draw a billboard texture",
"returnType": "void",
- "params": {
- "camera": "Camera",
- "texture": "Texture2D",
- "position": "Vector3",
- "size": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Camera",
+ "name": "camera"
+ },
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "float",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"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"
- }
+ "params": [
+ {
+ "type": "Camera",
+ "name": "camera"
+ },
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Vector2",
+ "name": "size"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "DrawBillboardPro",
"description": "Draw a billboard texture defined by source and rotation",
"returnType": "void",
- "params": {
- "camera": "Camera",
- "texture": "Texture2D",
- "source": "Rectangle",
- "position": "Vector3",
- "up": "Vector3",
- "size": "Vector2",
- "origin": "Vector2",
- "rotation": "float",
- "tint": "Color"
- }
+ "params": [
+ {
+ "type": "Camera",
+ "name": "camera"
+ },
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ },
+ {
+ "type": "Rectangle",
+ "name": "source"
+ },
+ {
+ "type": "Vector3",
+ "name": "position"
+ },
+ {
+ "type": "Vector3",
+ "name": "up"
+ },
+ {
+ "type": "Vector2",
+ "name": "size"
+ },
+ {
+ "type": "Vector2",
+ "name": "origin"
+ },
+ {
+ "type": "float",
+ "name": "rotation"
+ },
+ {
+ "type": "Color",
+ "name": "tint"
+ }
+ ]
},
{
"name": "UploadMesh",
"description": "Upload mesh vertex data in GPU and provide VAO/VBO ids",
"returnType": "void",
- "params": {
- "mesh": "Mesh *",
- "dynamic": "bool"
- }
+ "params": [
+ {
+ "type": "Mesh *",
+ "name": "mesh"
+ },
+ {
+ "type": "bool",
+ "name": "dynamic"
+ }
+ ]
},
{
"name": "UpdateMeshBuffer",
"description": "Update mesh vertex data in GPU for a specific buffer index",
"returnType": "void",
- "params": {
- "mesh": "Mesh",
- "index": "int",
- "data": "void *",
- "dataSize": "int",
- "offset": "int"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ },
+ {
+ "type": "int",
+ "name": "index"
+ },
+ {
+ "type": "void *",
+ "name": "data"
+ },
+ {
+ "type": "int",
+ "name": "dataSize"
+ },
+ {
+ "type": "int",
+ "name": "offset"
+ }
+ ]
},
{
"name": "UnloadMesh",
"description": "Unload mesh data from CPU and GPU",
"returnType": "void",
- "params": {
- "mesh": "Mesh"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ }
+ ]
},
{
"name": "DrawMesh",
"description": "Draw a 3d mesh with material and transform",
"returnType": "void",
- "params": {
- "mesh": "Mesh",
- "material": "Material",
- "transform": "Matrix"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ },
+ {
+ "type": "Material",
+ "name": "material"
+ },
+ {
+ "type": "Matrix",
+ "name": "transform"
+ }
+ ]
},
{
"name": "DrawMeshInstanced",
"description": "Draw multiple mesh instances with material and different transforms",
"returnType": "void",
- "params": {
- "mesh": "Mesh",
- "material": "Material",
- "transforms": "Matrix *",
- "instances": "int"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ },
+ {
+ "type": "Material",
+ "name": "material"
+ },
+ {
+ "type": "Matrix *",
+ "name": "transforms"
+ },
+ {
+ "type": "int",
+ "name": "instances"
+ }
+ ]
},
{
"name": "ExportMesh",
"description": "Export mesh data to file, returns true on success",
"returnType": "bool",
- "params": {
- "mesh": "Mesh",
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ },
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "GetMeshBoundingBox",
"description": "Compute mesh bounding box limits",
"returnType": "BoundingBox",
- "params": {
- "mesh": "Mesh"
- }
+ "params": [
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ }
+ ]
},
{
"name": "GenMeshTangents",
"description": "Compute mesh tangents",
"returnType": "void",
- "params": {
- "mesh": "Mesh *"
- }
+ "params": [
+ {
+ "type": "Mesh *",
+ "name": "mesh"
+ }
+ ]
},
{
"name": "GenMeshBinormals",
"description": "Compute mesh binormals",
"returnType": "void",
- "params": {
- "mesh": "Mesh *"
- }
+ "params": [
+ {
+ "type": "Mesh *",
+ "name": "mesh"
+ }
+ ]
},
{
"name": "GenMeshPoly",
"description": "Generate polygonal mesh",
"returnType": "Mesh",
- "params": {
- "sides": "int",
- "radius": "float"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "sides"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ }
+ ]
},
{
"name": "GenMeshPlane",
"description": "Generate plane mesh (with subdivisions)",
"returnType": "Mesh",
- "params": {
- "width": "float",
- "length": "float",
- "resX": "int",
- "resZ": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "width"
+ },
+ {
+ "type": "float",
+ "name": "length"
+ },
+ {
+ "type": "int",
+ "name": "resX"
+ },
+ {
+ "type": "int",
+ "name": "resZ"
+ }
+ ]
},
{
"name": "GenMeshCube",
"description": "Generate cuboid mesh",
"returnType": "Mesh",
- "params": {
- "width": "float",
- "height": "float",
- "length": "float"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "width"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "float",
+ "name": "length"
+ }
+ ]
},
{
"name": "GenMeshSphere",
"description": "Generate sphere mesh (standard sphere)",
"returnType": "Mesh",
- "params": {
- "radius": "float",
- "rings": "int",
- "slices": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "int",
+ "name": "rings"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ }
+ ]
},
{
"name": "GenMeshHemiSphere",
"description": "Generate half-sphere mesh (no bottom cap)",
"returnType": "Mesh",
- "params": {
- "radius": "float",
- "rings": "int",
- "slices": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "int",
+ "name": "rings"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ }
+ ]
},
{
"name": "GenMeshCylinder",
"description": "Generate cylinder mesh",
"returnType": "Mesh",
- "params": {
- "radius": "float",
- "height": "float",
- "slices": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ }
+ ]
},
{
"name": "GenMeshCone",
"description": "Generate cone/pyramid mesh",
"returnType": "Mesh",
- "params": {
- "radius": "float",
- "height": "float",
- "slices": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "slices"
+ }
+ ]
},
{
"name": "GenMeshTorus",
"description": "Generate torus mesh",
"returnType": "Mesh",
- "params": {
- "radius": "float",
- "size": "float",
- "radSeg": "int",
- "sides": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "size"
+ },
+ {
+ "type": "int",
+ "name": "radSeg"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ }
+ ]
},
{
"name": "GenMeshKnot",
"description": "Generate trefoil knot mesh",
"returnType": "Mesh",
- "params": {
- "radius": "float",
- "size": "float",
- "radSeg": "int",
- "sides": "int"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "radius"
+ },
+ {
+ "type": "float",
+ "name": "size"
+ },
+ {
+ "type": "int",
+ "name": "radSeg"
+ },
+ {
+ "type": "int",
+ "name": "sides"
+ }
+ ]
},
{
"name": "GenMeshHeightmap",
"description": "Generate heightmap mesh from image data",
"returnType": "Mesh",
- "params": {
- "heightmap": "Image",
- "size": "Vector3"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "heightmap"
+ },
+ {
+ "type": "Vector3",
+ "name": "size"
+ }
+ ]
},
{
"name": "GenMeshCubicmap",
"description": "Generate cubes-based map mesh from image data",
"returnType": "Mesh",
- "params": {
- "cubicmap": "Image",
- "cubeSize": "Vector3"
- }
+ "params": [
+ {
+ "type": "Image",
+ "name": "cubicmap"
+ },
+ {
+ "type": "Vector3",
+ "name": "cubeSize"
+ }
+ ]
},
{
"name": "LoadMaterials",
"description": "Load materials from model file",
"returnType": "Material *",
- "params": {
- "fileName": "const char *",
- "materialCount": "int *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "int *",
+ "name": "materialCount"
+ }
+ ]
},
{
"name": "LoadMaterialDefault",
@@ -6221,165 +9064,300 @@
"name": "UnloadMaterial",
"description": "Unload material from GPU memory (VRAM)",
"returnType": "void",
- "params": {
- "material": "Material"
- }
+ "params": [
+ {
+ "type": "Material",
+ "name": "material"
+ }
+ ]
},
{
"name": "SetMaterialTexture",
"description": "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)",
"returnType": "void",
- "params": {
- "material": "Material *",
- "mapType": "int",
- "texture": "Texture2D"
- }
+ "params": [
+ {
+ "type": "Material *",
+ "name": "material"
+ },
+ {
+ "type": "int",
+ "name": "mapType"
+ },
+ {
+ "type": "Texture2D",
+ "name": "texture"
+ }
+ ]
},
{
"name": "SetModelMeshMaterial",
"description": "Set material for a mesh",
"returnType": "void",
- "params": {
- "model": "Model *",
- "meshId": "int",
- "materialId": "int"
- }
+ "params": [
+ {
+ "type": "Model *",
+ "name": "model"
+ },
+ {
+ "type": "int",
+ "name": "meshId"
+ },
+ {
+ "type": "int",
+ "name": "materialId"
+ }
+ ]
},
{
"name": "LoadModelAnimations",
"description": "Load model animations from file",
"returnType": "ModelAnimation *",
- "params": {
- "fileName": "const char *",
- "animCount": "unsigned int *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ },
+ {
+ "type": "unsigned int *",
+ "name": "animCount"
+ }
+ ]
},
{
"name": "UpdateModelAnimation",
"description": "Update model animation pose",
"returnType": "void",
- "params": {
- "model": "Model",
- "anim": "ModelAnimation",
- "frame": "int"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ },
+ {
+ "type": "ModelAnimation",
+ "name": "anim"
+ },
+ {
+ "type": "int",
+ "name": "frame"
+ }
+ ]
},
{
"name": "UnloadModelAnimation",
"description": "Unload animation data",
"returnType": "void",
- "params": {
- "anim": "ModelAnimation"
- }
+ "params": [
+ {
+ "type": "ModelAnimation",
+ "name": "anim"
+ }
+ ]
},
{
"name": "UnloadModelAnimations",
"description": "Unload animation array data",
"returnType": "void",
- "params": {
- "animations": "ModelAnimation*",
- "count": "unsigned int"
- }
+ "params": [
+ {
+ "type": "ModelAnimation*",
+ "name": "animations"
+ },
+ {
+ "type": "unsigned int",
+ "name": "count"
+ }
+ ]
},
{
"name": "IsModelAnimationValid",
"description": "Check model animation skeleton match",
"returnType": "bool",
- "params": {
- "model": "Model",
- "anim": "ModelAnimation"
- }
+ "params": [
+ {
+ "type": "Model",
+ "name": "model"
+ },
+ {
+ "type": "ModelAnimation",
+ "name": "anim"
+ }
+ ]
},
{
"name": "CheckCollisionSpheres",
"description": "Check collision between two spheres",
"returnType": "bool",
- "params": {
- "center1": "Vector3",
- "radius1": "float",
- "center2": "Vector3",
- "radius2": "float"
- }
+ "params": [
+ {
+ "type": "Vector3",
+ "name": "center1"
+ },
+ {
+ "type": "float",
+ "name": "radius1"
+ },
+ {
+ "type": "Vector3",
+ "name": "center2"
+ },
+ {
+ "type": "float",
+ "name": "radius2"
+ }
+ ]
},
{
"name": "CheckCollisionBoxes",
"description": "Check collision between two bounding boxes",
"returnType": "bool",
- "params": {
- "box1": "BoundingBox",
- "box2": "BoundingBox"
- }
+ "params": [
+ {
+ "type": "BoundingBox",
+ "name": "box1"
+ },
+ {
+ "type": "BoundingBox",
+ "name": "box2"
+ }
+ ]
},
{
"name": "CheckCollisionBoxSphere",
"description": "Check collision between box and sphere",
"returnType": "bool",
- "params": {
- "box": "BoundingBox",
- "center": "Vector3",
- "radius": "float"
- }
+ "params": [
+ {
+ "type": "BoundingBox",
+ "name": "box"
+ },
+ {
+ "type": "Vector3",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ }
+ ]
},
{
"name": "GetRayCollisionSphere",
"description": "Get collision info between ray and sphere",
"returnType": "RayCollision",
- "params": {
- "ray": "Ray",
- "center": "Vector3",
- "radius": "float"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "Vector3",
+ "name": "center"
+ },
+ {
+ "type": "float",
+ "name": "radius"
+ }
+ ]
},
{
"name": "GetRayCollisionBox",
"description": "Get collision info between ray and box",
"returnType": "RayCollision",
- "params": {
- "ray": "Ray",
- "box": "BoundingBox"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "BoundingBox",
+ "name": "box"
+ }
+ ]
},
{
"name": "GetRayCollisionModel",
"description": "Get collision info between ray and model",
"returnType": "RayCollision",
- "params": {
- "ray": "Ray",
- "model": "Model"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "Model",
+ "name": "model"
+ }
+ ]
},
{
"name": "GetRayCollisionMesh",
"description": "Get collision info between ray and mesh",
"returnType": "RayCollision",
- "params": {
- "ray": "Ray",
- "mesh": "Mesh",
- "transform": "Matrix"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "Mesh",
+ "name": "mesh"
+ },
+ {
+ "type": "Matrix",
+ "name": "transform"
+ }
+ ]
},
{
"name": "GetRayCollisionTriangle",
"description": "Get collision info between ray and triangle",
"returnType": "RayCollision",
- "params": {
- "ray": "Ray",
- "p1": "Vector3",
- "p2": "Vector3",
- "p3": "Vector3"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "Vector3",
+ "name": "p1"
+ },
+ {
+ "type": "Vector3",
+ "name": "p2"
+ },
+ {
+ "type": "Vector3",
+ "name": "p3"
+ }
+ ]
},
{
"name": "GetRayCollisionQuad",
"description": "Get collision info between ray and quad",
"returnType": "RayCollision",
- "params": {
- "ray": "Ray",
- "p1": "Vector3",
- "p2": "Vector3",
- "p3": "Vector3",
- "p4": "Vector3"
- }
+ "params": [
+ {
+ "type": "Ray",
+ "name": "ray"
+ },
+ {
+ "type": "Vector3",
+ "name": "p1"
+ },
+ {
+ "type": "Vector3",
+ "name": "p2"
+ },
+ {
+ "type": "Vector3",
+ "name": "p3"
+ },
+ {
+ "type": "Vector3",
+ "name": "p4"
+ }
+ ]
},
{
"name": "InitAudioDevice",
@@ -6400,127 +9378,190 @@
"name": "SetMasterVolume",
"description": "Set master volume (listener)",
"returnType": "void",
- "params": {
- "volume": "float"
- }
+ "params": [
+ {
+ "type": "float",
+ "name": "volume"
+ }
+ ]
},
{
"name": "LoadWave",
"description": "Load wave data from file",
"returnType": "Wave",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadWaveFromMemory",
"description": "Load wave from memory buffer, fileType refers to extension: i.e. '.wav'",
"returnType": "Wave",
- "params": {
- "fileType": "const char *",
- "fileData": "const unsigned char *",
- "dataSize": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileType"
+ },
+ {
+ "type": "const unsigned char *",
+ "name": "fileData"
+ },
+ {
+ "type": "int",
+ "name": "dataSize"
+ }
+ ]
},
{
"name": "LoadSound",
"description": "Load sound from file",
"returnType": "Sound",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadSoundFromWave",
"description": "Load sound from wave data",
"returnType": "Sound",
- "params": {
- "wave": "Wave"
- }
+ "params": [
+ {
+ "type": "Wave",
+ "name": "wave"
+ }
+ ]
},
{
"name": "UpdateSound",
"description": "Update sound buffer with new data",
"returnType": "void",
- "params": {
- "sound": "Sound",
- "data": "const void *",
- "sampleCount": "int"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ },
+ {
+ "type": "const void *",
+ "name": "data"
+ },
+ {
+ "type": "int",
+ "name": "sampleCount"
+ }
+ ]
},
{
"name": "UnloadWave",
"description": "Unload wave data",
"returnType": "void",
- "params": {
- "wave": "Wave"
- }
+ "params": [
+ {
+ "type": "Wave",
+ "name": "wave"
+ }
+ ]
},
{
"name": "UnloadSound",
"description": "Unload sound",
"returnType": "void",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "ExportWave",
"description": "Export wave data to file, returns true on success",
"returnType": "bool",
- "params": {
- "wave": "Wave",
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "Wave",
+ "name": "wave"
+ },
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "ExportWaveAsCode",
"description": "Export wave sample data to code (.h), returns true on success",
"returnType": "bool",
- "params": {
- "wave": "Wave",
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "Wave",
+ "name": "wave"
+ },
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "PlaySound",
"description": "Play a sound",
"returnType": "void",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "StopSound",
"description": "Stop playing a sound",
"returnType": "void",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "PauseSound",
"description": "Pause a sound",
"returnType": "void",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "ResumeSound",
"description": "Resume a paused sound",
"returnType": "void",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "PlaySoundMulti",
"description": "Play a sound (using multichannel buffer pool)",
"returnType": "void",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "StopSoundMulti",
@@ -6536,291 +9577,447 @@
"name": "IsSoundPlaying",
"description": "Check if a sound is currently playing",
"returnType": "bool",
- "params": {
- "sound": "Sound"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ }
+ ]
},
{
"name": "SetSoundVolume",
"description": "Set volume for a sound (1.0 is max level)",
"returnType": "void",
- "params": {
- "sound": "Sound",
- "volume": "float"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ },
+ {
+ "type": "float",
+ "name": "volume"
+ }
+ ]
},
{
"name": "SetSoundPitch",
"description": "Set pitch for a sound (1.0 is base level)",
"returnType": "void",
- "params": {
- "sound": "Sound",
- "pitch": "float"
- }
+ "params": [
+ {
+ "type": "Sound",
+ "name": "sound"
+ },
+ {
+ "type": "float",
+ "name": "pitch"
+ }
+ ]
},
{
"name": "WaveFormat",
"description": "Convert wave data to desired format",
"returnType": "void",
- "params": {
- "wave": "Wave *",
- "sampleRate": "int",
- "sampleSize": "int",
- "channels": "int"
- }
+ "params": [
+ {
+ "type": "Wave *",
+ "name": "wave"
+ },
+ {
+ "type": "int",
+ "name": "sampleRate"
+ },
+ {
+ "type": "int",
+ "name": "sampleSize"
+ },
+ {
+ "type": "int",
+ "name": "channels"
+ }
+ ]
},
{
"name": "WaveCopy",
"description": "Copy a wave to a new wave",
"returnType": "Wave",
- "params": {
- "wave": "Wave"
- }
+ "params": [
+ {
+ "type": "Wave",
+ "name": "wave"
+ }
+ ]
},
{
"name": "WaveCrop",
"description": "Crop a wave to defined samples range",
"returnType": "void",
- "params": {
- "wave": "Wave *",
- "initSample": "int",
- "finalSample": "int"
- }
+ "params": [
+ {
+ "type": "Wave *",
+ "name": "wave"
+ },
+ {
+ "type": "int",
+ "name": "initSample"
+ },
+ {
+ "type": "int",
+ "name": "finalSample"
+ }
+ ]
},
{
"name": "LoadWaveSamples",
"description": "Load samples data from wave as a floats array",
"returnType": "float *",
- "params": {
- "wave": "Wave"
- }
+ "params": [
+ {
+ "type": "Wave",
+ "name": "wave"
+ }
+ ]
},
{
"name": "UnloadWaveSamples",
"description": "Unload samples data loaded with LoadWaveSamples()",
"returnType": "void",
- "params": {
- "samples": "float *"
- }
+ "params": [
+ {
+ "type": "float *",
+ "name": "samples"
+ }
+ ]
},
{
"name": "LoadMusicStream",
"description": "Load music stream from file",
"returnType": "Music",
- "params": {
- "fileName": "const char *"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileName"
+ }
+ ]
},
{
"name": "LoadMusicStreamFromMemory",
"description": "Load music stream from data",
"returnType": "Music",
- "params": {
- "fileType": "const char *",
- "data": "unsigned char *",
- "dataSize": "int"
- }
+ "params": [
+ {
+ "type": "const char *",
+ "name": "fileType"
+ },
+ {
+ "type": "unsigned char *",
+ "name": "data"
+ },
+ {
+ "type": "int",
+ "name": "dataSize"
+ }
+ ]
},
{
"name": "UnloadMusicStream",
"description": "Unload music stream",
"returnType": "void",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "PlayMusicStream",
"description": "Start music playing",
"returnType": "void",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "IsMusicStreamPlaying",
"description": "Check if music is playing",
"returnType": "bool",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "UpdateMusicStream",
"description": "Updates buffers for music streaming",
"returnType": "void",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "StopMusicStream",
"description": "Stop music playing",
"returnType": "void",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "PauseMusicStream",
"description": "Pause music playing",
"returnType": "void",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "ResumeMusicStream",
"description": "Resume playing paused music",
"returnType": "void",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "SeekMusicStream",
"description": "Seek music to a position (in seconds)",
"returnType": "void",
- "params": {
- "music": "Music",
- "position": "float"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ },
+ {
+ "type": "float",
+ "name": "position"
+ }
+ ]
},
{
"name": "SetMusicVolume",
"description": "Set volume for music (1.0 is max level)",
"returnType": "void",
- "params": {
- "music": "Music",
- "volume": "float"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ },
+ {
+ "type": "float",
+ "name": "volume"
+ }
+ ]
},
{
"name": "SetMusicPitch",
"description": "Set pitch for a music (1.0 is base level)",
"returnType": "void",
- "params": {
- "music": "Music",
- "pitch": "float"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ },
+ {
+ "type": "float",
+ "name": "pitch"
+ }
+ ]
},
{
"name": "GetMusicTimeLength",
"description": "Get music time length (in seconds)",
"returnType": "float",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "GetMusicTimePlayed",
"description": "Get current music time played (in seconds)",
"returnType": "float",
- "params": {
- "music": "Music"
- }
+ "params": [
+ {
+ "type": "Music",
+ "name": "music"
+ }
+ ]
},
{
"name": "LoadAudioStream",
"description": "Load audio stream (to stream raw audio pcm data)",
"returnType": "AudioStream",
- "params": {
- "sampleRate": "unsigned int",
- "sampleSize": "unsigned int",
- "channels": "unsigned int"
- }
+ "params": [
+ {
+ "type": "unsigned int",
+ "name": "sampleRate"
+ },
+ {
+ "type": "unsigned int",
+ "name": "sampleSize"
+ },
+ {
+ "type": "unsigned int",
+ "name": "channels"
+ }
+ ]
},
{
"name": "UnloadAudioStream",
"description": "Unload audio stream and free memory",
"returnType": "void",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "UpdateAudioStream",
"description": "Update audio stream buffers with data",
"returnType": "void",
- "params": {
- "stream": "AudioStream",
- "data": "const void *",
- "frameCount": "int"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ },
+ {
+ "type": "const void *",
+ "name": "data"
+ },
+ {
+ "type": "int",
+ "name": "frameCount"
+ }
+ ]
},
{
"name": "IsAudioStreamProcessed",
"description": "Check if any audio stream buffers requires refill",
"returnType": "bool",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "PlayAudioStream",
"description": "Play audio stream",
"returnType": "void",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "PauseAudioStream",
"description": "Pause audio stream",
"returnType": "void",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "ResumeAudioStream",
"description": "Resume audio stream",
"returnType": "void",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "IsAudioStreamPlaying",
"description": "Check if audio stream is playing",
"returnType": "bool",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "StopAudioStream",
"description": "Stop audio stream",
"returnType": "void",
- "params": {
- "stream": "AudioStream"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ }
+ ]
},
{
"name": "SetAudioStreamVolume",
"description": "Set volume for audio stream (1.0 is max level)",
"returnType": "void",
- "params": {
- "stream": "AudioStream",
- "volume": "float"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ },
+ {
+ "type": "float",
+ "name": "volume"
+ }
+ ]
},
{
"name": "SetAudioStreamPitch",
"description": "Set pitch for audio stream (1.0 is base level)",
"returnType": "void",
- "params": {
- "stream": "AudioStream",
- "pitch": "float"
- }
+ "params": [
+ {
+ "type": "AudioStream",
+ "name": "stream"
+ },
+ {
+ "type": "float",
+ "name": "pitch"
+ }
+ ]
},
{
"name": "SetAudioStreamBufferSizeDefault",
"description": "Default size for new audio streams",
"returnType": "void",
- "params": {
- "size": "int"
- }
+ "params": [
+ {
+ "type": "int",
+ "name": "size"
+ }
+ ]
}
]
}