UPDATED: raylib-parser output files (TXT, XML, JSON, LUA)

This commit is contained in:
Ray 2023-03-15 13:13:48 +01:00
parent ad2067340f
commit 159e6b6f24
4 changed files with 1318 additions and 1105 deletions

View file

@ -6,10 +6,28 @@
"value": "", "value": "",
"description": "" "description": ""
}, },
{
"name": "RAYLIB_VERSION_MAJOR",
"type": "INT",
"value": 4,
"description": ""
},
{
"name": "RAYLIB_VERSION_MINOR",
"type": "INT",
"value": 5,
"description": ""
},
{
"name": "RAYLIB_VERSION_PATCH",
"type": "INT",
"value": 0,
"description": ""
},
{ {
"name": "RAYLIB_VERSION", "name": "RAYLIB_VERSION",
"type": "STRING", "type": "STRING",
"value": "4.5-dev", "value": "4.5",
"description": "" "description": ""
}, },
{ {
@ -385,7 +403,7 @@
}, },
{ {
"name": "Matrix", "name": "Matrix",
"description": "Matrix, 4x4 components, column major, OpenGL style, right handed", "description": "Matrix, 4x4 components, column major, OpenGL style, right-handed",
"fields": [ "fields": [
{ {
"type": "float", "type": "float",
@ -1045,12 +1063,12 @@
{ {
"type": "float", "type": "float",
"name": "distance", "name": "distance",
"description": "Distance to nearest hit" "description": "Distance to the nearest hit"
}, },
{ {
"type": "Vector3", "type": "Vector3",
"name": "point", "name": "point",
"description": "Point of nearest hit" "description": "Point of the nearest hit"
}, },
{ {
"type": "Vector3", "type": "Vector3",
@ -2112,7 +2130,7 @@
{ {
"name": "MOUSE_CURSOR_RESIZE_ALL", "name": "MOUSE_CURSOR_RESIZE_ALL",
"value": 9, "value": 9,
"description": "The omni-directional resize/move cursor shape" "description": "The omnidirectional resize/move cursor shape"
}, },
{ {
"name": "MOUSE_CURSOR_NOT_ALLOWED", "name": "MOUSE_CURSOR_NOT_ALLOWED",
@ -2717,7 +2735,7 @@
{ {
"name": "CUBEMAP_LAYOUT_LINE_HORIZONTAL", "name": "CUBEMAP_LAYOUT_LINE_HORIZONTAL",
"value": 2, "value": 2,
"description": "Layout is defined by an horizontal line with faces" "description": "Layout is defined by a horizontal line with faces"
}, },
{ {
"name": "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR", "name": "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR",
@ -2732,7 +2750,7 @@
{ {
"name": "CUBEMAP_LAYOUT_PANORAMA", "name": "CUBEMAP_LAYOUT_PANORAMA",
"value": 5, "value": 5,
"description": "Layout is defined by a panorama image (equirectangular map)" "description": "Layout is defined by a panorama image (equirrectangular map)"
} }
] ]
}, },
@ -2794,12 +2812,12 @@
{ {
"name": "BLEND_CUSTOM", "name": "BLEND_CUSTOM",
"value": 6, "value": 6,
"description": "Blend textures using custom src/dst factors (use rlSetBlendMode())" "description": "Blend textures using custom src/dst factors (use rlSetBlendFactors())"
}, },
{ {
"name": "BLEND_CUSTOM_SEPARATE", "name": "BLEND_CUSTOM_SEPARATE",
"value": 7, "value": 7,
"description": "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendModeSeparate())" "description": "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate())"
} }
] ]
}, },
@ -3149,7 +3167,7 @@
}, },
{ {
"name": "SetWindowIcon", "name": "SetWindowIcon",
"description": "Set icon for window (only PLATFORM_DESKTOP)", "description": "Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)",
"returnType": "void", "returnType": "void",
"params": [ "params": [
{ {
@ -3158,6 +3176,21 @@
} }
] ]
}, },
{
"name": "SetWindowIcons",
"description": "Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)",
"returnType": "void",
"params": [
{
"type": "Image *",
"name": "images"
},
{
"type": "int",
"name": "count"
}
]
},
{ {
"name": "SetWindowTitle", "name": "SetWindowTitle",
"description": "Set title for window (only PLATFORM_DESKTOP)", "description": "Set title for window (only PLATFORM_DESKTOP)",
@ -3632,6 +3665,17 @@
} }
] ]
}, },
{
"name": "IsShaderReady",
"description": "Check if a shader is ready",
"returnType": "bool",
"params": [
{
"type": "Shader",
"name": "shader"
}
]
},
{ {
"name": "GetShaderLocation", "name": "GetShaderLocation",
"description": "Get shader uniform location", "description": "Get shader uniform location",
@ -4124,7 +4168,7 @@
"returnType": "bool", "returnType": "bool",
"params": [ "params": [
{ {
"type": "const char *", "type": "const unsigned char *",
"name": "data" "name": "data"
}, },
{ {
@ -4863,12 +4907,12 @@
"returnType": "float" "returnType": "float"
}, },
{ {
"name": "SetCameraMode", "name": "UpdateCamera",
"description": "Set camera mode (multiple camera modes available)", "description": "Update camera position for selected mode",
"returnType": "void", "returnType": "void",
"params": [ "params": [
{ {
"type": "Camera", "type": "Camera *",
"name": "camera" "name": "camera"
}, },
{ {
@ -4878,77 +4922,25 @@
] ]
}, },
{ {
"name": "UpdateCamera", "name": "UpdateCameraPro",
"description": "Update camera position for selected mode", "description": "Update camera movement/rotation",
"returnType": "void", "returnType": "void",
"params": [ "params": [
{ {
"type": "Camera *", "type": "Camera *",
"name": "camera" "name": "camera"
}
]
},
{
"name": "SetCameraPanControl",
"description": "Set camera pan key to combine with mouse movement (free camera)",
"returnType": "void",
"params": [
{
"type": "int",
"name": "keyPan"
}
]
},
{
"name": "SetCameraAltControl",
"description": "Set camera alt key to combine with mouse movement (free camera)",
"returnType": "void",
"params": [
{
"type": "int",
"name": "keyAlt"
}
]
},
{
"name": "SetCameraSmoothZoomControl",
"description": "Set camera smooth zoom key to combine with mouse (free camera)",
"returnType": "void",
"params": [
{
"type": "int",
"name": "keySmoothZoom"
}
]
},
{
"name": "SetCameraMoveControls",
"description": "Set camera move controls (1st person and 3rd person cameras)",
"returnType": "void",
"params": [
{
"type": "int",
"name": "keyFront"
}, },
{ {
"type": "int", "type": "Vector3",
"name": "keyBack" "name": "movement"
}, },
{ {
"type": "int", "type": "Vector3",
"name": "keyRight" "name": "rotation"
}, },
{ {
"type": "int", "type": "float",
"name": "keyLeft" "name": "zoom"
},
{
"type": "int",
"name": "keyUp"
},
{
"type": "int",
"name": "keyDown"
} }
] ]
}, },
@ -6172,6 +6164,17 @@
"description": "Load image from screen buffer and (screenshot)", "description": "Load image from screen buffer and (screenshot)",
"returnType": "Image" "returnType": "Image"
}, },
{
"name": "IsImageReady",
"description": "Check if an image is ready",
"returnType": "bool",
"params": [
{
"type": "Image",
"name": "image"
}
]
},
{ {
"name": "UnloadImage", "name": "UnloadImage",
"description": "Unload image from CPU memory (RAM)", "description": "Unload image from CPU memory (RAM)",
@ -6401,6 +6404,25 @@
} }
] ]
}, },
{
"name": "GenImageText",
"description": "Generate image: grayscale image from text data",
"returnType": "Image",
"params": [
{
"type": "int",
"name": "width"
},
{
"type": "int",
"name": "height"
},
{
"type": "const char *",
"name": "text"
}
]
},
{ {
"name": "ImageCopy", "name": "ImageCopy",
"description": "Create an image duplicate (useful for transformations)", "description": "Create an image duplicate (useful for transformations)",
@ -6578,6 +6600,21 @@
} }
] ]
}, },
{
"name": "ImageBlurGaussian",
"description": "Apply Gaussian blur using a box blur approximation",
"returnType": "void",
"params": [
{
"type": "Image *",
"name": "image"
},
{
"type": "int",
"name": "blurSize"
}
]
},
{ {
"name": "ImageResize", "name": "ImageResize",
"description": "Resize image (Bicubic scaling algorithm)", "description": "Resize image (Bicubic scaling algorithm)",
@ -7353,6 +7390,17 @@
} }
] ]
}, },
{
"name": "IsTextureReady",
"description": "Check if a texture is ready",
"returnType": "bool",
"params": [
{
"type": "Texture2D",
"name": "texture"
}
]
},
{ {
"name": "UnloadTexture", "name": "UnloadTexture",
"description": "Unload texture from GPU memory (VRAM)", "description": "Unload texture from GPU memory (VRAM)",
@ -7364,6 +7412,17 @@
} }
] ]
}, },
{
"name": "IsRenderTextureReady",
"description": "Check if a render texture is ready",
"returnType": "bool",
"params": [
{
"type": "RenderTexture2D",
"name": "target"
}
]
},
{ {
"name": "UnloadRenderTexture", "name": "UnloadRenderTexture",
"description": "Unload render texture from GPU memory (VRAM)", "description": "Unload render texture from GPU memory (VRAM)",
@ -7542,68 +7601,6 @@
} }
] ]
}, },
{
"name": "DrawTextureQuad",
"description": "Draw texture quad with tiling and offset parameters",
"returnType": "void",
"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": [
{
"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", "name": "DrawTexturePro",
"description": "Draw a part of a texture defined by a rectangle with 'pro' parameters", "description": "Draw a part of a texture defined by a rectangle with 'pro' parameters",
@ -7666,37 +7663,6 @@
} }
] ]
}, },
{
"name": "DrawTexturePoly",
"description": "Draw a textured polygon",
"returnType": "void",
"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", "name": "Fade",
"description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f", "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
@ -7775,6 +7741,51 @@
} }
] ]
}, },
{
"name": "ColorTint",
"description": "Get color multiplied with another color",
"returnType": "Color",
"params": [
{
"type": "Color",
"name": "color"
},
{
"type": "Color",
"name": "tint"
}
]
},
{
"name": "ColorBrightness",
"description": "Get color with brightness correction, brightness factor goes from -1.0f to 1.0f",
"returnType": "Color",
"params": [
{
"type": "Color",
"name": "color"
},
{
"type": "float",
"name": "factor"
}
]
},
{
"name": "ColorContrast",
"description": "Get color with contrast correction, contrast values between -1.0f and 1.0f",
"returnType": "Color",
"params": [
{
"type": "Color",
"name": "color"
},
{
"type": "float",
"name": "contrast"
}
]
},
{ {
"name": "ColorAlpha", "name": "ColorAlpha",
"description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f", "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
@ -7962,6 +7973,17 @@
} }
] ]
}, },
{
"name": "IsFontReady",
"description": "Check if a font is ready",
"returnType": "bool",
"params": [
{
"type": "Font",
"name": "font"
}
]
},
{ {
"name": "LoadFontData", "name": "LoadFontData",
"description": "Load font data for further use", "description": "Load font data for further use",
@ -8869,72 +8891,6 @@
} }
] ]
}, },
{
"name": "DrawCubeTexture",
"description": "Draw cube textured",
"returnType": "void",
"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": [
{
"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", "name": "DrawSphere",
"description": "Draw sphere", "description": "Draw sphere",
@ -9132,6 +9088,68 @@
} }
] ]
}, },
{
"name": "DrawCapsule",
"description": "Draw a capsule with the center of its sphere caps at startPos and endPos",
"returnType": "void",
"params": [
{
"type": "Vector3",
"name": "startPos"
},
{
"type": "Vector3",
"name": "endPos"
},
{
"type": "float",
"name": "radius"
},
{
"type": "int",
"name": "slices"
},
{
"type": "int",
"name": "rings"
},
{
"type": "Color",
"name": "color"
}
]
},
{
"name": "DrawCapsuleWires",
"description": "Draw capsule wireframe with the center of its sphere caps at startPos and endPos",
"returnType": "void",
"params": [
{
"type": "Vector3",
"name": "startPos"
},
{
"type": "Vector3",
"name": "endPos"
},
{
"type": "float",
"name": "radius"
},
{
"type": "int",
"name": "slices"
},
{
"type": "int",
"name": "rings"
},
{
"type": "Color",
"name": "color"
}
]
},
{ {
"name": "DrawPlane", "name": "DrawPlane",
"description": "Draw a plane XZ", "description": "Draw a plane XZ",
@ -9204,9 +9222,9 @@
] ]
}, },
{ {
"name": "UnloadModel", "name": "IsModelReady",
"description": "Unload model (including meshes) from memory (RAM and/or VRAM)", "description": "Check if a model is ready",
"returnType": "void", "returnType": "bool",
"params": [ "params": [
{ {
"type": "Model", "type": "Model",
@ -9215,8 +9233,8 @@
] ]
}, },
{ {
"name": "UnloadModelKeepMeshes", "name": "UnloadModel",
"description": "Unload model (but not meshes) from memory (RAM and/or VRAM)", "description": "Unload model (including meshes) from memory (RAM and/or VRAM)",
"returnType": "void", "returnType": "void",
"params": [ "params": [
{ {
@ -9821,6 +9839,17 @@
"description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)", "description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
"returnType": "Material" "returnType": "Material"
}, },
{
"name": "IsMaterialReady",
"description": "Check if a material is ready",
"returnType": "bool",
"params": [
{
"type": "Material",
"name": "material"
}
]
},
{ {
"name": "UnloadMaterial", "name": "UnloadMaterial",
"description": "Unload material from GPU memory (VRAM)", "description": "Unload material from GPU memory (VRAM)",
@ -10161,6 +10190,17 @@
} }
] ]
}, },
{
"name": "IsWaveReady",
"description": "Checks if wave data is ready",
"returnType": "bool",
"params": [
{
"type": "Wave",
"name": "wave"
}
]
},
{ {
"name": "LoadSound", "name": "LoadSound",
"description": "Load sound from file", "description": "Load sound from file",
@ -10183,6 +10223,17 @@
} }
] ]
}, },
{
"name": "IsSoundReady",
"description": "Checks if a sound is ready",
"returnType": "bool",
"params": [
{
"type": "Sound",
"name": "sound"
}
]
},
{ {
"name": "UpdateSound", "name": "UpdateSound",
"description": "Update sound buffer with new data", "description": "Update sound buffer with new data",
@ -10298,27 +10349,6 @@
} }
] ]
}, },
{
"name": "PlaySoundMulti",
"description": "Play a sound (using multichannel buffer pool)",
"returnType": "void",
"params": [
{
"type": "Sound",
"name": "sound"
}
]
},
{
"name": "StopSoundMulti",
"description": "Stop any sound playing (using multichannel buffer pool)",
"returnType": "void"
},
{
"name": "GetSoundsPlaying",
"description": "Get number of sounds playing in the multichannel",
"returnType": "int"
},
{ {
"name": "IsSoundPlaying", "name": "IsSoundPlaying",
"description": "Check if a sound is currently playing", "description": "Check if a sound is currently playing",
@ -10480,6 +10510,17 @@
} }
] ]
}, },
{
"name": "IsMusicReady",
"description": "Checks if a music stream is ready",
"returnType": "bool",
"params": [
{
"type": "Music",
"name": "music"
}
]
},
{ {
"name": "UnloadMusicStream", "name": "UnloadMusicStream",
"description": "Unload music stream", "description": "Unload music stream",
@ -10658,6 +10699,17 @@
} }
] ]
}, },
{
"name": "IsAudioStreamReady",
"description": "Checks if an audio stream is ready",
"returnType": "bool",
"params": [
{
"type": "AudioStream",
"name": "stream"
}
]
},
{ {
"name": "UnloadAudioStream", "name": "UnloadAudioStream",
"description": "Unload audio stream and free memory", "description": "Unload audio stream and free memory",
@ -10854,6 +10906,28 @@
"name": "processor" "name": "processor"
} }
] ]
},
{
"name": "AttachAudioMixedProcessor",
"description": "Attach audio stream processor to the entire audio pipeline",
"returnType": "void",
"params": [
{
"type": "AudioCallback",
"name": "processor"
}
]
},
{
"name": "DetachAudioMixedProcessor",
"description": "Detach audio stream processor from the entire audio pipeline",
"returnType": "void",
"params": [
{
"type": "AudioCallback",
"name": "processor"
}
]
} }
] ]
} }

View file

@ -6,10 +6,28 @@ return {
value = "", value = "",
description = "" description = ""
}, },
{
name = "RAYLIB_VERSION_MAJOR",
type = "INT",
value = 4,
description = ""
},
{
name = "RAYLIB_VERSION_MINOR",
type = "INT",
value = 5,
description = ""
},
{
name = "RAYLIB_VERSION_PATCH",
type = "INT",
value = 0,
description = ""
},
{ {
name = "RAYLIB_VERSION", name = "RAYLIB_VERSION",
type = "STRING", type = "STRING",
value = "4.5-dev", value = "4.5",
description = "" description = ""
}, },
{ {
@ -385,7 +403,7 @@ return {
}, },
{ {
name = "Matrix", name = "Matrix",
description = "Matrix, 4x4 components, column major, OpenGL style, right handed", description = "Matrix, 4x4 components, column major, OpenGL style, right-handed",
fields = { fields = {
{ {
type = "float", type = "float",
@ -1045,12 +1063,12 @@ return {
{ {
type = "float", type = "float",
name = "distance", name = "distance",
description = "Distance to nearest hit" description = "Distance to the nearest hit"
}, },
{ {
type = "Vector3", type = "Vector3",
name = "point", name = "point",
description = "Point of nearest hit" description = "Point of the nearest hit"
}, },
{ {
type = "Vector3", type = "Vector3",
@ -2112,7 +2130,7 @@ return {
{ {
name = "MOUSE_CURSOR_RESIZE_ALL", name = "MOUSE_CURSOR_RESIZE_ALL",
value = 9, value = 9,
description = "The omni-directional resize/move cursor shape" description = "The omnidirectional resize/move cursor shape"
}, },
{ {
name = "MOUSE_CURSOR_NOT_ALLOWED", name = "MOUSE_CURSOR_NOT_ALLOWED",
@ -2717,7 +2735,7 @@ return {
{ {
name = "CUBEMAP_LAYOUT_LINE_HORIZONTAL", name = "CUBEMAP_LAYOUT_LINE_HORIZONTAL",
value = 2, value = 2,
description = "Layout is defined by an horizontal line with faces" description = "Layout is defined by a horizontal line with faces"
}, },
{ {
name = "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR", name = "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR",
@ -2732,7 +2750,7 @@ return {
{ {
name = "CUBEMAP_LAYOUT_PANORAMA", name = "CUBEMAP_LAYOUT_PANORAMA",
value = 5, value = 5,
description = "Layout is defined by a panorama image (equirectangular map)" description = "Layout is defined by a panorama image (equirrectangular map)"
} }
} }
}, },
@ -2794,12 +2812,12 @@ return {
{ {
name = "BLEND_CUSTOM", name = "BLEND_CUSTOM",
value = 6, value = 6,
description = "Blend textures using custom src/dst factors (use rlSetBlendMode())" description = "Blend textures using custom src/dst factors (use rlSetBlendFactors())"
}, },
{ {
name = "BLEND_CUSTOM_SEPARATE", name = "BLEND_CUSTOM_SEPARATE",
value = 7, value = 7,
description = "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendModeSeparate())" description = "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate())"
} }
} }
}, },
@ -3092,12 +3110,21 @@ return {
}, },
{ {
name = "SetWindowIcon", name = "SetWindowIcon",
description = "Set icon for window (only PLATFORM_DESKTOP)", description = "Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)",
returnType = "void", returnType = "void",
params = { params = {
{type = "Image", name = "image"} {type = "Image", name = "image"}
} }
}, },
{
name = "SetWindowIcons",
description = "Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)",
returnType = "void",
params = {
{type = "Image *", name = "images"},
{type = "int", name = "count"}
}
},
{ {
name = "SetWindowTitle", name = "SetWindowTitle",
description = "Set title for window (only PLATFORM_DESKTOP)", description = "Set title for window (only PLATFORM_DESKTOP)",
@ -3467,6 +3494,14 @@ return {
{type = "const char *", name = "fsCode"} {type = "const char *", name = "fsCode"}
} }
}, },
{
name = "IsShaderReady",
description = "Check if a shader is ready",
returnType = "bool",
params = {
{type = "Shader", name = "shader"}
}
},
{ {
name = "GetShaderLocation", name = "GetShaderLocation",
description = "Get shader uniform location", description = "Get shader uniform location",
@ -3778,7 +3813,7 @@ return {
description = "Export data to code (.h), returns true on success", description = "Export data to code (.h), returns true on success",
returnType = "bool", returnType = "bool",
params = { params = {
{type = "const char *", name = "data"}, {type = "const unsigned char *", name = "data"},
{type = "unsigned int", name = "size"}, {type = "unsigned int", name = "size"},
{type = "const char *", name = "fileName"} {type = "const char *", name = "fileName"}
} }
@ -4304,58 +4339,24 @@ return {
description = "Get gesture pinch angle", description = "Get gesture pinch angle",
returnType = "float" returnType = "float"
}, },
{
name = "SetCameraMode",
description = "Set camera mode (multiple camera modes available)",
returnType = "void",
params = {
{type = "Camera", name = "camera"},
{type = "int", name = "mode"}
}
},
{ {
name = "UpdateCamera", name = "UpdateCamera",
description = "Update camera position for selected mode", description = "Update camera position for selected mode",
returnType = "void", returnType = "void",
params = { params = {
{type = "Camera *", name = "camera"} {type = "Camera *", name = "camera"},
{type = "int", name = "mode"}
} }
}, },
{ {
name = "SetCameraPanControl", name = "UpdateCameraPro",
description = "Set camera pan key to combine with mouse movement (free camera)", description = "Update camera movement/rotation",
returnType = "void", returnType = "void",
params = { params = {
{type = "int", name = "keyPan"} {type = "Camera *", name = "camera"},
} {type = "Vector3", name = "movement"},
}, {type = "Vector3", name = "rotation"},
{ {type = "float", name = "zoom"}
name = "SetCameraAltControl",
description = "Set camera alt key to combine with mouse movement (free camera)",
returnType = "void",
params = {
{type = "int", name = "keyAlt"}
}
},
{
name = "SetCameraSmoothZoomControl",
description = "Set camera smooth zoom key to combine with mouse (free camera)",
returnType = "void",
params = {
{type = "int", name = "keySmoothZoom"}
}
},
{
name = "SetCameraMoveControls",
description = "Set camera move controls (1st person and 3rd person cameras)",
returnType = "void",
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"}
} }
}, },
{ {
@ -4945,6 +4946,14 @@ return {
description = "Load image from screen buffer and (screenshot)", description = "Load image from screen buffer and (screenshot)",
returnType = "Image" returnType = "Image"
}, },
{
name = "IsImageReady",
description = "Check if an image is ready",
returnType = "bool",
params = {
{type = "Image", name = "image"}
}
},
{ {
name = "UnloadImage", name = "UnloadImage",
description = "Unload image from CPU memory (RAM)", description = "Unload image from CPU memory (RAM)",
@ -5060,6 +5069,16 @@ return {
{type = "int", name = "tileSize"} {type = "int", name = "tileSize"}
} }
}, },
{
name = "GenImageText",
description = "Generate image: grayscale image from text data",
returnType = "Image",
params = {
{type = "int", name = "width"},
{type = "int", name = "height"},
{type = "const char *", name = "text"}
}
},
{ {
name = "ImageCopy", name = "ImageCopy",
description = "Create an image duplicate (useful for transformations)", description = "Create an image duplicate (useful for transformations)",
@ -5162,6 +5181,15 @@ return {
{type = "Image *", name = "image"} {type = "Image *", name = "image"}
} }
}, },
{
name = "ImageBlurGaussian",
description = "Apply Gaussian blur using a box blur approximation",
returnType = "void",
params = {
{type = "Image *", name = "image"},
{type = "int", name = "blurSize"}
}
},
{ {
name = "ImageResize", name = "ImageResize",
description = "Resize image (Bicubic scaling algorithm)", description = "Resize image (Bicubic scaling algorithm)",
@ -5571,6 +5599,14 @@ return {
{type = "int", name = "height"} {type = "int", name = "height"}
} }
}, },
{
name = "IsTextureReady",
description = "Check if a texture is ready",
returnType = "bool",
params = {
{type = "Texture2D", name = "texture"}
}
},
{ {
name = "UnloadTexture", name = "UnloadTexture",
description = "Unload texture from GPU memory (VRAM)", description = "Unload texture from GPU memory (VRAM)",
@ -5579,6 +5615,14 @@ return {
{type = "Texture2D", name = "texture"} {type = "Texture2D", name = "texture"}
} }
}, },
{
name = "IsRenderTextureReady",
description = "Check if a render texture is ready",
returnType = "bool",
params = {
{type = "RenderTexture2D", name = "target"}
}
},
{ {
name = "UnloadRenderTexture", name = "UnloadRenderTexture",
description = "Unload render texture from GPU memory (VRAM)", description = "Unload render texture from GPU memory (VRAM)",
@ -5676,32 +5720,6 @@ return {
{type = "Color", name = "tint"} {type = "Color", name = "tint"}
} }
}, },
{
name = "DrawTextureQuad",
description = "Draw texture quad with tiling and offset parameters",
returnType = "void",
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 = {
{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", name = "DrawTexturePro",
description = "Draw a part of a texture defined by a rectangle with 'pro' parameters", description = "Draw a part of a texture defined by a rectangle with 'pro' parameters",
@ -5728,19 +5746,6 @@ return {
{type = "Color", name = "tint"} {type = "Color", name = "tint"}
} }
}, },
{
name = "DrawTexturePoly",
description = "Draw a textured polygon",
returnType = "void",
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", name = "Fade",
description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f", description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
@ -5792,6 +5797,33 @@ return {
{type = "float", name = "value"} {type = "float", name = "value"}
} }
}, },
{
name = "ColorTint",
description = "Get color multiplied with another color",
returnType = "Color",
params = {
{type = "Color", name = "color"},
{type = "Color", name = "tint"}
}
},
{
name = "ColorBrightness",
description = "Get color with brightness correction, brightness factor goes from -1.0f to 1.0f",
returnType = "Color",
params = {
{type = "Color", name = "color"},
{type = "float", name = "factor"}
}
},
{
name = "ColorContrast",
description = "Get color with contrast correction, contrast values between -1.0f and 1.0f",
returnType = "Color",
params = {
{type = "Color", name = "color"},
{type = "float", name = "contrast"}
}
},
{ {
name = "ColorAlpha", name = "ColorAlpha",
description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f", description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
@ -5895,6 +5927,14 @@ return {
{type = "int", name = "glyphCount"} {type = "int", name = "glyphCount"}
} }
}, },
{
name = "IsFontReady",
description = "Check if a font is ready",
returnType = "bool",
params = {
{type = "Font", name = "font"}
}
},
{ {
name = "LoadFontData", name = "LoadFontData",
description = "Load font data for further use", description = "Load font data for further use",
@ -6379,33 +6419,6 @@ return {
{type = "Color", name = "color"} {type = "Color", name = "color"}
} }
}, },
{
name = "DrawCubeTexture",
description = "Draw cube textured",
returnType = "void",
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 = {
{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", name = "DrawSphere",
description = "Draw sphere", description = "Draw sphere",
@ -6492,6 +6505,32 @@ return {
{type = "Color", name = "color"} {type = "Color", name = "color"}
} }
}, },
{
name = "DrawCapsule",
description = "Draw a capsule with the center of its sphere caps at startPos and endPos",
returnType = "void",
params = {
{type = "Vector3", name = "startPos"},
{type = "Vector3", name = "endPos"},
{type = "float", name = "radius"},
{type = "int", name = "slices"},
{type = "int", name = "rings"},
{type = "Color", name = "color"}
}
},
{
name = "DrawCapsuleWires",
description = "Draw capsule wireframe with the center of its sphere caps at startPos and endPos",
returnType = "void",
params = {
{type = "Vector3", name = "startPos"},
{type = "Vector3", name = "endPos"},
{type = "float", name = "radius"},
{type = "int", name = "slices"},
{type = "int", name = "rings"},
{type = "Color", name = "color"}
}
},
{ {
name = "DrawPlane", name = "DrawPlane",
description = "Draw a plane XZ", description = "Draw a plane XZ",
@ -6537,16 +6576,16 @@ return {
} }
}, },
{ {
name = "UnloadModel", name = "IsModelReady",
description = "Unload model (including meshes) from memory (RAM and/or VRAM)", description = "Check if a model is ready",
returnType = "void", returnType = "bool",
params = { params = {
{type = "Model", name = "model"} {type = "Model", name = "model"}
} }
}, },
{ {
name = "UnloadModelKeepMeshes", name = "UnloadModel",
description = "Unload model (but not meshes) from memory (RAM and/or VRAM)", description = "Unload model (including meshes) from memory (RAM and/or VRAM)",
returnType = "void", returnType = "void",
params = { params = {
{type = "Model", name = "model"} {type = "Model", name = "model"}
@ -6857,6 +6896,14 @@ return {
description = "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)", description = "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
returnType = "Material" returnType = "Material"
}, },
{
name = "IsMaterialReady",
description = "Check if a material is ready",
returnType = "bool",
params = {
{type = "Material", name = "material"}
}
},
{ {
name = "UnloadMaterial", name = "UnloadMaterial",
description = "Unload material from GPU memory (VRAM)", description = "Unload material from GPU memory (VRAM)",
@ -7053,6 +7100,14 @@ return {
{type = "int", name = "dataSize"} {type = "int", name = "dataSize"}
} }
}, },
{
name = "IsWaveReady",
description = "Checks if wave data is ready",
returnType = "bool",
params = {
{type = "Wave", name = "wave"}
}
},
{ {
name = "LoadSound", name = "LoadSound",
description = "Load sound from file", description = "Load sound from file",
@ -7069,6 +7124,14 @@ return {
{type = "Wave", name = "wave"} {type = "Wave", name = "wave"}
} }
}, },
{
name = "IsSoundReady",
description = "Checks if a sound is ready",
returnType = "bool",
params = {
{type = "Sound", name = "sound"}
}
},
{ {
name = "UpdateSound", name = "UpdateSound",
description = "Update sound buffer with new data", description = "Update sound buffer with new data",
@ -7145,24 +7208,6 @@ return {
{type = "Sound", name = "sound"} {type = "Sound", name = "sound"}
} }
}, },
{
name = "PlaySoundMulti",
description = "Play a sound (using multichannel buffer pool)",
returnType = "void",
params = {
{type = "Sound", name = "sound"}
}
},
{
name = "StopSoundMulti",
description = "Stop any sound playing (using multichannel buffer pool)",
returnType = "void"
},
{
name = "GetSoundsPlaying",
description = "Get number of sounds playing in the multichannel",
returnType = "int"
},
{ {
name = "IsSoundPlaying", name = "IsSoundPlaying",
description = "Check if a sound is currently playing", description = "Check if a sound is currently playing",
@ -7261,6 +7306,14 @@ return {
{type = "int", name = "dataSize"} {type = "int", name = "dataSize"}
} }
}, },
{
name = "IsMusicReady",
description = "Checks if a music stream is ready",
returnType = "bool",
params = {
{type = "Music", name = "music"}
}
},
{ {
name = "UnloadMusicStream", name = "UnloadMusicStream",
description = "Unload music stream", description = "Unload music stream",
@ -7379,6 +7432,14 @@ return {
{type = "unsigned int", name = "channels"} {type = "unsigned int", name = "channels"}
} }
}, },
{
name = "IsAudioStreamReady",
description = "Checks if an audio stream is ready",
returnType = "bool",
params = {
{type = "AudioStream", name = "stream"}
}
},
{ {
name = "UnloadAudioStream", name = "UnloadAudioStream",
description = "Unload audio stream and free memory", description = "Unload audio stream and free memory",
@ -7506,6 +7567,22 @@ return {
{type = "AudioStream", name = "stream"}, {type = "AudioStream", name = "stream"},
{type = "AudioCallback", name = "processor"} {type = "AudioCallback", name = "processor"}
} }
},
{
name = "AttachAudioMixedProcessor",
description = "Attach audio stream processor to the entire audio pipeline",
returnType = "void",
params = {
{type = "AudioCallback", name = "processor"}
}
},
{
name = "DetachAudioMixedProcessor",
description = "Detach audio stream processor from the entire audio pipeline",
returnType = "void",
params = {
{type = "AudioCallback", name = "processor"}
}
} }
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="Windows-1252" ?> <?xml version="1.0" encoding="Windows-1252" ?>
<raylibAPI> <raylibAPI>
<Defines count="53"> <Defines count="56">
<Define name="RAYLIB_H" type="GUARD" value="" desc="" /> <Define name="RAYLIB_H" type="GUARD" value="" desc="" />
<Define name="RAYLIB_VERSION" type="STRING" value="4.5-dev" desc="" /> <Define name="RAYLIB_VERSION_MAJOR" type="INT" value="4" desc="" />
<Define name="RAYLIB_VERSION_MINOR" type="INT" value="5" desc="" />
<Define name="RAYLIB_VERSION_PATCH" type="INT" value="0" desc="" />
<Define name="RAYLIB_VERSION" type="STRING" value="4.5" desc="" />
<Define name="__declspec(x)" type="MACRO" value="__attribute__((x))" desc="" /> <Define name="__declspec(x)" type="MACRO" value="__attribute__((x))" desc="" />
<Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="We are building the library as a Win32 shared library (.dll)" /> <Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="We are building the library as a Win32 shared library (.dll)" />
<Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" /> <Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" />
@ -71,7 +74,7 @@
<Field type="float" name="z" desc="Vector z component" /> <Field type="float" name="z" desc="Vector z component" />
<Field type="float" name="w" desc="Vector w component" /> <Field type="float" name="w" desc="Vector w component" />
</Struct> </Struct>
<Struct name="Matrix" fieldCount="16" desc="Matrix, 4x4 components, column major, OpenGL style, right handed"> <Struct name="Matrix" fieldCount="16" desc="Matrix, 4x4 components, column major, OpenGL style, right-handed">
<Field type="float" name="m0" desc="Matrix first row (4 components)" /> <Field type="float" name="m0" desc="Matrix first row (4 components)" />
<Field type="float" name="m4" desc="Matrix first row (4 components)" /> <Field type="float" name="m4" desc="Matrix first row (4 components)" />
<Field type="float" name="m8" desc="Matrix first row (4 components)" /> <Field type="float" name="m8" desc="Matrix first row (4 components)" />
@ -219,8 +222,8 @@
</Struct> </Struct>
<Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information"> <Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information">
<Field type="bool" name="hit" desc="Did the ray hit something?" /> <Field type="bool" name="hit" desc="Did the ray hit something?" />
<Field type="float" name="distance" desc="Distance to nearest hit" /> <Field type="float" name="distance" desc="Distance to the nearest hit" />
<Field type="Vector3" name="point" desc="Point of nearest hit" /> <Field type="Vector3" name="point" desc="Point of the nearest hit" />
<Field type="Vector3" name="normal" desc="Surface normal of hit" /> <Field type="Vector3" name="normal" desc="Surface normal of hit" />
</Struct> </Struct>
<Struct name="BoundingBox" fieldCount="2" desc="BoundingBox"> <Struct name="BoundingBox" fieldCount="2" desc="BoundingBox">
@ -446,7 +449,7 @@
<Value name="MOUSE_CURSOR_RESIZE_NS" integer="6" desc="Vertical resize/move arrow shape" /> <Value name="MOUSE_CURSOR_RESIZE_NS" integer="6" desc="Vertical resize/move arrow shape" />
<Value name="MOUSE_CURSOR_RESIZE_NWSE" integer="7" desc="Top-left to bottom-right diagonal resize/move arrow shape" /> <Value name="MOUSE_CURSOR_RESIZE_NWSE" integer="7" desc="Top-left to bottom-right diagonal resize/move arrow shape" />
<Value name="MOUSE_CURSOR_RESIZE_NESW" integer="8" desc="The top-right to bottom-left diagonal resize/move arrow shape" /> <Value name="MOUSE_CURSOR_RESIZE_NESW" integer="8" desc="The top-right to bottom-left diagonal resize/move arrow shape" />
<Value name="MOUSE_CURSOR_RESIZE_ALL" integer="9" desc="The omni-directional resize/move cursor shape" /> <Value name="MOUSE_CURSOR_RESIZE_ALL" integer="9" desc="The omnidirectional resize/move cursor shape" />
<Value name="MOUSE_CURSOR_NOT_ALLOWED" integer="10" desc="The operation-not-allowed shape" /> <Value name="MOUSE_CURSOR_NOT_ALLOWED" integer="10" desc="The operation-not-allowed shape" />
</Enum> </Enum>
<Enum name="GamepadButton" valueCount="18" desc="Gamepad buttons"> <Enum name="GamepadButton" valueCount="18" desc="Gamepad buttons">
@ -575,10 +578,10 @@
<Enum name="CubemapLayout" valueCount="6" desc="Cubemap layouts"> <Enum name="CubemapLayout" valueCount="6" desc="Cubemap layouts">
<Value name="CUBEMAP_LAYOUT_AUTO_DETECT" integer="0" desc="Automatically detect layout type" /> <Value name="CUBEMAP_LAYOUT_AUTO_DETECT" integer="0" desc="Automatically detect layout type" />
<Value name="CUBEMAP_LAYOUT_LINE_VERTICAL" integer="1" desc="Layout is defined by a vertical line with faces" /> <Value name="CUBEMAP_LAYOUT_LINE_VERTICAL" integer="1" desc="Layout is defined by a vertical line with faces" />
<Value name="CUBEMAP_LAYOUT_LINE_HORIZONTAL" integer="2" desc="Layout is defined by an horizontal line with faces" /> <Value name="CUBEMAP_LAYOUT_LINE_HORIZONTAL" integer="2" desc="Layout is defined by a horizontal line with faces" />
<Value name="CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR" integer="3" desc="Layout is defined by a 3x4 cross with cubemap faces" /> <Value name="CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR" integer="3" desc="Layout is defined by a 3x4 cross with cubemap faces" />
<Value name="CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE" integer="4" desc="Layout is defined by a 4x3 cross with cubemap faces" /> <Value name="CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE" integer="4" desc="Layout is defined by a 4x3 cross with cubemap faces" />
<Value name="CUBEMAP_LAYOUT_PANORAMA" integer="5" desc="Layout is defined by a panorama image (equirectangular map)" /> <Value name="CUBEMAP_LAYOUT_PANORAMA" integer="5" desc="Layout is defined by a panorama image (equirrectangular map)" />
</Enum> </Enum>
<Enum name="FontType" valueCount="3" desc="Font type, defines generation method"> <Enum name="FontType" valueCount="3" desc="Font type, defines generation method">
<Value name="FONT_DEFAULT" integer="0" desc="Default font generation, anti-aliased" /> <Value name="FONT_DEFAULT" integer="0" desc="Default font generation, anti-aliased" />
@ -592,8 +595,8 @@
<Value name="BLEND_ADD_COLORS" integer="3" desc="Blend textures adding colors (alternative)" /> <Value name="BLEND_ADD_COLORS" integer="3" desc="Blend textures adding colors (alternative)" />
<Value name="BLEND_SUBTRACT_COLORS" integer="4" desc="Blend textures subtracting colors (alternative)" /> <Value name="BLEND_SUBTRACT_COLORS" integer="4" desc="Blend textures subtracting colors (alternative)" />
<Value name="BLEND_ALPHA_PREMULTIPLY" integer="5" desc="Blend premultiplied textures considering alpha" /> <Value name="BLEND_ALPHA_PREMULTIPLY" integer="5" desc="Blend premultiplied textures considering alpha" />
<Value name="BLEND_CUSTOM" integer="6" desc="Blend textures using custom src/dst factors (use rlSetBlendMode())" /> <Value name="BLEND_CUSTOM" integer="6" desc="Blend textures using custom src/dst factors (use rlSetBlendFactors())" />
<Value name="BLEND_CUSTOM_SEPARATE" integer="7" desc="Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendModeSeparate())" /> <Value name="BLEND_CUSTOM_SEPARATE" integer="7" desc="Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate())" />
</Enum> </Enum>
<Enum name="Gesture" valueCount="11" desc="Gesture"> <Enum name="Gesture" valueCount="11" desc="Gesture">
<Value name="GESTURE_NONE" integer="0" desc="No gesture" /> <Value name="GESTURE_NONE" integer="0" desc="No gesture" />
@ -652,7 +655,7 @@
<Param type="unsigned int" name="frames" desc="" /> <Param type="unsigned int" name="frames" desc="" />
</Callback> </Callback>
</Callbacks> </Callbacks>
<Functions count="509"> <Functions count="517">
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context"> <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
<Param type="int" name="width" desc="" /> <Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" /> <Param type="int" name="height" desc="" />
@ -693,9 +696,13 @@
</Function> </Function>
<Function name="RestoreWindow" retType="void" paramCount="0" desc="Set window state: not minimized/maximized (only PLATFORM_DESKTOP)"> <Function name="RestoreWindow" retType="void" paramCount="0" desc="Set window state: not minimized/maximized (only PLATFORM_DESKTOP)">
</Function> </Function>
<Function name="SetWindowIcon" retType="void" paramCount="1" desc="Set icon for window (only PLATFORM_DESKTOP)"> <Function name="SetWindowIcon" retType="void" paramCount="1" desc="Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)">
<Param type="Image" name="image" desc="" /> <Param type="Image" name="image" desc="" />
</Function> </Function>
<Function name="SetWindowIcons" retType="void" paramCount="2" desc="Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)">
<Param type="Image *" name="images" desc="" />
<Param type="int" name="count" desc="" />
</Function>
<Function name="SetWindowTitle" retType="void" paramCount="1" desc="Set title for window (only PLATFORM_DESKTOP)"> <Function name="SetWindowTitle" retType="void" paramCount="1" desc="Set title for window (only PLATFORM_DESKTOP)">
<Param type="const char *" name="title" desc="" /> <Param type="const char *" name="title" desc="" />
</Function> </Function>
@ -843,6 +850,9 @@
<Param type="const char *" name="vsCode" desc="" /> <Param type="const char *" name="vsCode" desc="" />
<Param type="const char *" name="fsCode" desc="" /> <Param type="const char *" name="fsCode" desc="" />
</Function> </Function>
<Function name="IsShaderReady" retType="bool" paramCount="1" desc="Check if a shader is ready">
<Param type="Shader" name="shader" desc="" />
</Function>
<Function name="GetShaderLocation" retType="int" paramCount="2" desc="Get shader uniform location"> <Function name="GetShaderLocation" retType="int" paramCount="2" desc="Get shader uniform location">
<Param type="Shader" name="shader" desc="" /> <Param type="Shader" name="shader" desc="" />
<Param type="const char *" name="uniformName" desc="" /> <Param type="const char *" name="uniformName" desc="" />
@ -976,7 +986,7 @@
<Param type="unsigned int" name="bytesToWrite" desc="" /> <Param type="unsigned int" name="bytesToWrite" desc="" />
</Function> </Function>
<Function name="ExportDataAsCode" retType="bool" paramCount="3" desc="Export data to code (.h), returns true on success"> <Function name="ExportDataAsCode" retType="bool" paramCount="3" desc="Export data to code (.h), returns true on success">
<Param type="const char *" name="data" desc="" /> <Param type="const unsigned char *" name="data" desc="" />
<Param type="unsigned int" name="size" desc="" /> <Param type="unsigned int" name="size" desc="" />
<Param type="const char *" name="fileName" desc="" /> <Param type="const char *" name="fileName" desc="" />
</Function> </Function>
@ -1190,29 +1200,15 @@
</Function> </Function>
<Function name="GetGesturePinchAngle" retType="float" paramCount="0" desc="Get gesture pinch angle"> <Function name="GetGesturePinchAngle" retType="float" paramCount="0" desc="Get gesture pinch angle">
</Function> </Function>
<Function name="SetCameraMode" retType="void" paramCount="2" desc="Set camera mode (multiple camera modes available)"> <Function name="UpdateCamera" retType="void" paramCount="2" desc="Update camera position for selected mode">
<Param type="Camera" name="camera" desc="" /> <Param type="Camera *" name="camera" desc="" />
<Param type="int" name="mode" desc="" /> <Param type="int" name="mode" desc="" />
</Function> </Function>
<Function name="UpdateCamera" retType="void" paramCount="1" desc="Update camera position for selected mode"> <Function name="UpdateCameraPro" retType="void" paramCount="4" desc="Update camera movement/rotation">
<Param type="Camera *" name="camera" desc="" /> <Param type="Camera *" name="camera" desc="" />
</Function> <Param type="Vector3" name="movement" desc="" />
<Function name="SetCameraPanControl" retType="void" paramCount="1" desc="Set camera pan key to combine with mouse movement (free camera)"> <Param type="Vector3" name="rotation" desc="" />
<Param type="int" name="keyPan" desc="" /> <Param type="float" name="zoom" desc="" />
</Function>
<Function name="SetCameraAltControl" retType="void" paramCount="1" desc="Set camera alt key to combine with mouse movement (free camera)">
<Param type="int" name="keyAlt" desc="" />
</Function>
<Function name="SetCameraSmoothZoomControl" retType="void" paramCount="1" desc="Set camera smooth zoom key to combine with mouse (free camera)">
<Param type="int" name="keySmoothZoom" desc="" />
</Function>
<Function name="SetCameraMoveControls" retType="void" paramCount="6" desc="Set camera move controls (1st person and 3rd person cameras)">
<Param type="int" name="keyFront" desc="" />
<Param type="int" name="keyBack" desc="" />
<Param type="int" name="keyRight" desc="" />
<Param type="int" name="keyLeft" desc="" />
<Param type="int" name="keyUp" desc="" />
<Param type="int" name="keyDown" desc="" />
</Function> </Function>
<Function name="SetShapesTexture" retType="void" paramCount="2" desc="Set texture and rectangle to be used on shapes drawing"> <Function name="SetShapesTexture" retType="void" paramCount="2" desc="Set texture and rectangle to be used on shapes drawing">
<Param type="Texture2D" name="texture" desc="" /> <Param type="Texture2D" name="texture" desc="" />
@ -1533,6 +1529,9 @@
</Function> </Function>
<Function name="LoadImageFromScreen" retType="Image" paramCount="0" desc="Load image from screen buffer and (screenshot)"> <Function name="LoadImageFromScreen" retType="Image" paramCount="0" desc="Load image from screen buffer and (screenshot)">
</Function> </Function>
<Function name="IsImageReady" retType="bool" paramCount="1" desc="Check if an image is ready">
<Param type="Image" name="image" desc="" />
</Function>
<Function name="UnloadImage" retType="void" paramCount="1" desc="Unload image from CPU memory (RAM)"> <Function name="UnloadImage" retType="void" paramCount="1" desc="Unload image from CPU memory (RAM)">
<Param type="Image" name="image" desc="" /> <Param type="Image" name="image" desc="" />
</Function> </Function>
@ -1593,6 +1592,11 @@
<Param type="int" name="height" desc="" /> <Param type="int" name="height" desc="" />
<Param type="int" name="tileSize" desc="" /> <Param type="int" name="tileSize" desc="" />
</Function> </Function>
<Function name="GenImageText" retType="Image" paramCount="3" desc="Generate image: grayscale image from text data">
<Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" />
<Param type="const char *" name="text" desc="" />
</Function>
<Function name="ImageCopy" retType="Image" paramCount="1" desc="Create an image duplicate (useful for transformations)"> <Function name="ImageCopy" retType="Image" paramCount="1" desc="Create an image duplicate (useful for transformations)">
<Param type="Image" name="image" desc="" /> <Param type="Image" name="image" desc="" />
</Function> </Function>
@ -1640,6 +1644,10 @@
<Function name="ImageAlphaPremultiply" retType="void" paramCount="1" desc="Premultiply alpha channel"> <Function name="ImageAlphaPremultiply" retType="void" paramCount="1" desc="Premultiply alpha channel">
<Param type="Image *" name="image" desc="" /> <Param type="Image *" name="image" desc="" />
</Function> </Function>
<Function name="ImageBlurGaussian" retType="void" paramCount="2" desc="Apply Gaussian blur using a box blur approximation">
<Param type="Image *" name="image" desc="" />
<Param type="int" name="blurSize" desc="" />
</Function>
<Function name="ImageResize" retType="void" paramCount="3" desc="Resize image (Bicubic scaling algorithm)"> <Function name="ImageResize" retType="void" paramCount="3" desc="Resize image (Bicubic scaling algorithm)">
<Param type="Image *" name="image" desc="" /> <Param type="Image *" name="image" desc="" />
<Param type="int" name="newWidth" desc="" /> <Param type="int" name="newWidth" desc="" />
@ -1844,9 +1852,15 @@
<Param type="int" name="width" desc="" /> <Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" /> <Param type="int" name="height" desc="" />
</Function> </Function>
<Function name="IsTextureReady" retType="bool" paramCount="1" desc="Check if a texture is ready">
<Param type="Texture2D" name="texture" desc="" />
</Function>
<Function name="UnloadTexture" retType="void" paramCount="1" desc="Unload texture from GPU memory (VRAM)"> <Function name="UnloadTexture" retType="void" paramCount="1" desc="Unload texture from GPU memory (VRAM)">
<Param type="Texture2D" name="texture" desc="" /> <Param type="Texture2D" name="texture" desc="" />
</Function> </Function>
<Function name="IsRenderTextureReady" retType="bool" paramCount="1" desc="Check if a render texture is ready">
<Param type="RenderTexture2D" name="target" desc="" />
</Function>
<Function name="UnloadRenderTexture" retType="void" paramCount="1" desc="Unload render texture from GPU memory (VRAM)"> <Function name="UnloadRenderTexture" retType="void" paramCount="1" desc="Unload render texture from GPU memory (VRAM)">
<Param type="RenderTexture2D" name="target" desc="" /> <Param type="RenderTexture2D" name="target" desc="" />
</Function> </Function>
@ -1894,22 +1908,6 @@
<Param type="Vector2" name="position" desc="" /> <Param type="Vector2" name="position" desc="" />
<Param type="Color" name="tint" desc="" /> <Param type="Color" name="tint" desc="" />
</Function> </Function>
<Function name="DrawTextureQuad" retType="void" paramCount="5" desc="Draw texture quad with tiling and offset parameters">
<Param type="Texture2D" name="texture" desc="" />
<Param type="Vector2" name="tiling" desc="" />
<Param type="Vector2" name="offset" desc="" />
<Param type="Rectangle" name="quad" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="DrawTextureTiled" retType="void" paramCount="7" desc="Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.">
<Param type="Texture2D" name="texture" desc="" />
<Param type="Rectangle" name="source" desc="" />
<Param type="Rectangle" name="dest" desc="" />
<Param type="Vector2" name="origin" desc="" />
<Param type="float" name="rotation" desc="" />
<Param type="float" name="scale" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="DrawTexturePro" retType="void" paramCount="6" desc="Draw a part of a texture defined by a rectangle with 'pro' parameters"> <Function name="DrawTexturePro" retType="void" paramCount="6" desc="Draw a part of a texture defined by a rectangle with 'pro' parameters">
<Param type="Texture2D" name="texture" desc="" /> <Param type="Texture2D" name="texture" desc="" />
<Param type="Rectangle" name="source" desc="" /> <Param type="Rectangle" name="source" desc="" />
@ -1926,14 +1924,6 @@
<Param type="float" name="rotation" desc="" /> <Param type="float" name="rotation" desc="" />
<Param type="Color" name="tint" desc="" /> <Param type="Color" name="tint" desc="" />
</Function> </Function>
<Function name="DrawTexturePoly" retType="void" paramCount="6" desc="Draw a textured polygon">
<Param type="Texture2D" name="texture" desc="" />
<Param type="Vector2" name="center" desc="" />
<Param type="Vector2 *" name="points" desc="" />
<Param type="Vector2 *" name="texcoords" desc="" />
<Param type="int" name="pointCount" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f"> <Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
<Param type="Color" name="color" desc="" /> <Param type="Color" name="color" desc="" />
<Param type="float" name="alpha" desc="" /> <Param type="float" name="alpha" desc="" />
@ -1955,6 +1945,18 @@
<Param type="float" name="saturation" desc="" /> <Param type="float" name="saturation" desc="" />
<Param type="float" name="value" desc="" /> <Param type="float" name="value" desc="" />
</Function> </Function>
<Function name="ColorTint" retType="Color" paramCount="2" desc="Get color multiplied with another color">
<Param type="Color" name="color" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="ColorBrightness" retType="Color" paramCount="2" desc="Get color with brightness correction, brightness factor goes from -1.0f to 1.0f">
<Param type="Color" name="color" desc="" />
<Param type="float" name="factor" desc="" />
</Function>
<Function name="ColorContrast" retType="Color" paramCount="2" desc="Get color with contrast correction, contrast values between -1.0f and 1.0f">
<Param type="Color" name="color" desc="" />
<Param type="float" name="contrast" desc="" />
</Function>
<Function name="ColorAlpha" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f"> <Function name="ColorAlpha" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
<Param type="Color" name="color" desc="" /> <Param type="Color" name="color" desc="" />
<Param type="float" name="alpha" desc="" /> <Param type="float" name="alpha" desc="" />
@ -2005,6 +2007,9 @@
<Param type="int *" name="fontChars" desc="" /> <Param type="int *" name="fontChars" desc="" />
<Param type="int" name="glyphCount" desc="" /> <Param type="int" name="glyphCount" desc="" />
</Function> </Function>
<Function name="IsFontReady" retType="bool" paramCount="1" desc="Check if a font is ready">
<Param type="Font" name="font" desc="" />
</Function>
<Function name="LoadFontData" retType="GlyphInfo *" paramCount="6" desc="Load font data for further use"> <Function name="LoadFontData" retType="GlyphInfo *" paramCount="6" desc="Load font data for further use">
<Param type="const unsigned char *" name="fileData" desc="" /> <Param type="const unsigned char *" name="fileData" desc="" />
<Param type="int" name="dataSize" desc="" /> <Param type="int" name="dataSize" desc="" />
@ -2244,23 +2249,6 @@
<Param type="Vector3" name="size" desc="" /> <Param type="Vector3" name="size" desc="" />
<Param type="Color" name="color" desc="" /> <Param type="Color" name="color" desc="" />
</Function> </Function>
<Function name="DrawCubeTexture" retType="void" paramCount="6" desc="Draw cube textured">
<Param type="Texture2D" name="texture" desc="" />
<Param type="Vector3" name="position" desc="" />
<Param type="float" name="width" desc="" />
<Param type="float" name="height" desc="" />
<Param type="float" name="length" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="DrawCubeTextureRec" retType="void" paramCount="7" desc="Draw cube with a region of a texture">
<Param type="Texture2D" name="texture" desc="" />
<Param type="Rectangle" name="source" desc="" />
<Param type="Vector3" name="position" desc="" />
<Param type="float" name="width" desc="" />
<Param type="float" name="height" desc="" />
<Param type="float" name="length" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="DrawSphere" retType="void" paramCount="3" desc="Draw sphere"> <Function name="DrawSphere" retType="void" paramCount="3" desc="Draw sphere">
<Param type="Vector3" name="centerPos" desc="" /> <Param type="Vector3" name="centerPos" desc="" />
<Param type="float" name="radius" desc="" /> <Param type="float" name="radius" desc="" />
@ -2312,6 +2300,22 @@
<Param type="int" name="sides" desc="" /> <Param type="int" name="sides" desc="" />
<Param type="Color" name="color" desc="" /> <Param type="Color" name="color" desc="" />
</Function> </Function>
<Function name="DrawCapsule" retType="void" paramCount="6" desc="Draw a capsule with the center of its sphere caps at startPos and endPos">
<Param type="Vector3" name="startPos" desc="" />
<Param type="Vector3" name="endPos" desc="" />
<Param type="float" name="radius" desc="" />
<Param type="int" name="slices" desc="" />
<Param type="int" name="rings" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="DrawCapsuleWires" retType="void" paramCount="6" desc="Draw capsule wireframe with the center of its sphere caps at startPos and endPos">
<Param type="Vector3" name="startPos" desc="" />
<Param type="Vector3" name="endPos" desc="" />
<Param type="float" name="radius" desc="" />
<Param type="int" name="slices" desc="" />
<Param type="int" name="rings" desc="" />
<Param type="Color" name="color" desc="" />
</Function>
<Function name="DrawPlane" retType="void" paramCount="3" desc="Draw a plane XZ"> <Function name="DrawPlane" retType="void" paramCount="3" desc="Draw a plane XZ">
<Param type="Vector3" name="centerPos" desc="" /> <Param type="Vector3" name="centerPos" desc="" />
<Param type="Vector2" name="size" desc="" /> <Param type="Vector2" name="size" desc="" />
@ -2331,10 +2335,10 @@
<Function name="LoadModelFromMesh" retType="Model" paramCount="1" desc="Load model from generated mesh (default material)"> <Function name="LoadModelFromMesh" retType="Model" paramCount="1" desc="Load model from generated mesh (default material)">
<Param type="Mesh" name="mesh" desc="" /> <Param type="Mesh" name="mesh" desc="" />
</Function> </Function>
<Function name="UnloadModel" retType="void" paramCount="1" desc="Unload model (including meshes) from memory (RAM and/or VRAM)"> <Function name="IsModelReady" retType="bool" paramCount="1" desc="Check if a model is ready">
<Param type="Model" name="model" desc="" /> <Param type="Model" name="model" desc="" />
</Function> </Function>
<Function name="UnloadModelKeepMeshes" retType="void" paramCount="1" desc="Unload model (but not meshes) from memory (RAM and/or VRAM)"> <Function name="UnloadModel" retType="void" paramCount="1" desc="Unload model (including meshes) from memory (RAM and/or VRAM)">
<Param type="Model" name="model" desc="" /> <Param type="Model" name="model" desc="" />
</Function> </Function>
<Function name="GetModelBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute model bounding box limits (considers all meshes)"> <Function name="GetModelBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute model bounding box limits (considers all meshes)">
@ -2494,6 +2498,9 @@
</Function> </Function>
<Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"> <Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)">
</Function> </Function>
<Function name="IsMaterialReady" retType="bool" paramCount="1" desc="Check if a material is ready">
<Param type="Material" name="material" desc="" />
</Function>
<Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)"> <Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)">
<Param type="Material" name="material" desc="" /> <Param type="Material" name="material" desc="" />
</Function> </Function>
@ -2586,12 +2593,18 @@
<Param type="const unsigned char *" name="fileData" desc="" /> <Param type="const unsigned char *" name="fileData" desc="" />
<Param type="int" name="dataSize" desc="" /> <Param type="int" name="dataSize" desc="" />
</Function> </Function>
<Function name="IsWaveReady" retType="bool" paramCount="1" desc="Checks if wave data is ready">
<Param type="Wave" name="wave" desc="" />
</Function>
<Function name="LoadSound" retType="Sound" paramCount="1" desc="Load sound from file"> <Function name="LoadSound" retType="Sound" paramCount="1" desc="Load sound from file">
<Param type="const char *" name="fileName" desc="" /> <Param type="const char *" name="fileName" desc="" />
</Function> </Function>
<Function name="LoadSoundFromWave" retType="Sound" paramCount="1" desc="Load sound from wave data"> <Function name="LoadSoundFromWave" retType="Sound" paramCount="1" desc="Load sound from wave data">
<Param type="Wave" name="wave" desc="" /> <Param type="Wave" name="wave" desc="" />
</Function> </Function>
<Function name="IsSoundReady" retType="bool" paramCount="1" desc="Checks if a sound is ready">
<Param type="Sound" name="sound" desc="" />
</Function>
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data"> <Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data">
<Param type="Sound" name="sound" desc="" /> <Param type="Sound" name="sound" desc="" />
<Param type="const void *" name="data" desc="" /> <Param type="const void *" name="data" desc="" />
@ -2623,13 +2636,6 @@
<Function name="ResumeSound" retType="void" paramCount="1" desc="Resume a paused sound"> <Function name="ResumeSound" retType="void" paramCount="1" desc="Resume a paused sound">
<Param type="Sound" name="sound" desc="" /> <Param type="Sound" name="sound" desc="" />
</Function> </Function>
<Function name="PlaySoundMulti" retType="void" paramCount="1" desc="Play a sound (using multichannel buffer pool)">
<Param type="Sound" name="sound" desc="" />
</Function>
<Function name="StopSoundMulti" retType="void" paramCount="0" desc="Stop any sound playing (using multichannel buffer pool)">
</Function>
<Function name="GetSoundsPlaying" retType="int" paramCount="0" desc="Get number of sounds playing in the multichannel">
</Function>
<Function name="IsSoundPlaying" retType="bool" paramCount="1" desc="Check if a sound is currently playing"> <Function name="IsSoundPlaying" retType="bool" paramCount="1" desc="Check if a sound is currently playing">
<Param type="Sound" name="sound" desc="" /> <Param type="Sound" name="sound" desc="" />
</Function> </Function>
@ -2673,6 +2679,9 @@
<Param type="const unsigned char *" name="data" desc="" /> <Param type="const unsigned char *" name="data" desc="" />
<Param type="int" name="dataSize" desc="" /> <Param type="int" name="dataSize" desc="" />
</Function> </Function>
<Function name="IsMusicReady" retType="bool" paramCount="1" desc="Checks if a music stream is ready">
<Param type="Music" name="music" desc="" />
</Function>
<Function name="UnloadMusicStream" retType="void" paramCount="1" desc="Unload music stream"> <Function name="UnloadMusicStream" retType="void" paramCount="1" desc="Unload music stream">
<Param type="Music" name="music" desc="" /> <Param type="Music" name="music" desc="" />
</Function> </Function>
@ -2721,6 +2730,9 @@
<Param type="unsigned int" name="sampleSize" desc="" /> <Param type="unsigned int" name="sampleSize" desc="" />
<Param type="unsigned int" name="channels" desc="" /> <Param type="unsigned int" name="channels" desc="" />
</Function> </Function>
<Function name="IsAudioStreamReady" retType="bool" paramCount="1" desc="Checks if an audio stream is ready">
<Param type="AudioStream" name="stream" desc="" />
</Function>
<Function name="UnloadAudioStream" retType="void" paramCount="1" desc="Unload audio stream and free memory"> <Function name="UnloadAudioStream" retType="void" paramCount="1" desc="Unload audio stream and free memory">
<Param type="AudioStream" name="stream" desc="" /> <Param type="AudioStream" name="stream" desc="" />
</Function> </Function>
@ -2774,5 +2786,11 @@
<Param type="AudioStream" name="stream" desc="" /> <Param type="AudioStream" name="stream" desc="" />
<Param type="AudioCallback" name="processor" desc="" /> <Param type="AudioCallback" name="processor" desc="" />
</Function> </Function>
<Function name="AttachAudioMixedProcessor" retType="void" paramCount="1" desc="Attach audio stream processor to the entire audio pipeline">
<Param type="AudioCallback" name="processor" desc="" />
</Function>
<Function name="DetachAudioMixedProcessor" retType="void" paramCount="1" desc="Detach audio stream processor from the entire audio pipeline">
<Param type="AudioCallback" name="processor" desc="" />
</Function>
</Functions> </Functions>
</raylibAPI> </raylibAPI>