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": "",
"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",
"type": "STRING",
"value": "4.5-dev",
"value": "4.5",
"description": ""
},
{
@ -385,7 +403,7 @@
},
{
"name": "Matrix",
"description": "Matrix, 4x4 components, column major, OpenGL style, right handed",
"description": "Matrix, 4x4 components, column major, OpenGL style, right-handed",
"fields": [
{
"type": "float",
@ -1045,12 +1063,12 @@
{
"type": "float",
"name": "distance",
"description": "Distance to nearest hit"
"description": "Distance to the nearest hit"
},
{
"type": "Vector3",
"name": "point",
"description": "Point of nearest hit"
"description": "Point of the nearest hit"
},
{
"type": "Vector3",
@ -2112,7 +2130,7 @@
{
"name": "MOUSE_CURSOR_RESIZE_ALL",
"value": 9,
"description": "The omni-directional resize/move cursor shape"
"description": "The omnidirectional resize/move cursor shape"
},
{
"name": "MOUSE_CURSOR_NOT_ALLOWED",
@ -2717,7 +2735,7 @@
{
"name": "CUBEMAP_LAYOUT_LINE_HORIZONTAL",
"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",
@ -2732,7 +2750,7 @@
{
"name": "CUBEMAP_LAYOUT_PANORAMA",
"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",
"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",
"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",
"description": "Set icon for window (only PLATFORM_DESKTOP)",
"description": "Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)",
"returnType": "void",
"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",
"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",
"description": "Get shader uniform location",
@ -4124,7 +4168,7 @@
"returnType": "bool",
"params": [
{
"type": "const char *",
"type": "const unsigned char *",
"name": "data"
},
{
@ -4863,12 +4907,12 @@
"returnType": "float"
},
{
"name": "SetCameraMode",
"description": "Set camera mode (multiple camera modes available)",
"name": "UpdateCamera",
"description": "Update camera position for selected mode",
"returnType": "void",
"params": [
{
"type": "Camera",
"type": "Camera *",
"name": "camera"
},
{
@ -4878,77 +4922,25 @@
]
},
{
"name": "UpdateCamera",
"description": "Update camera position for selected mode",
"name": "UpdateCameraPro",
"description": "Update camera movement/rotation",
"returnType": "void",
"params": [
{
"type": "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",
"name": "keyBack"
"type": "Vector3",
"name": "movement"
},
{
"type": "int",
"name": "keyRight"
"type": "Vector3",
"name": "rotation"
},
{
"type": "int",
"name": "keyLeft"
},
{
"type": "int",
"name": "keyUp"
},
{
"type": "int",
"name": "keyDown"
"type": "float",
"name": "zoom"
}
]
},
@ -6172,6 +6164,17 @@
"description": "Load image from screen buffer and (screenshot)",
"returnType": "Image"
},
{
"name": "IsImageReady",
"description": "Check if an image is ready",
"returnType": "bool",
"params": [
{
"type": "Image",
"name": "image"
}
]
},
{
"name": "UnloadImage",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"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",
"description": "Draw a plane XZ",
@ -9204,9 +9222,9 @@
]
},
{
"name": "UnloadModel",
"description": "Unload model (including meshes) from memory (RAM and/or VRAM)",
"returnType": "void",
"name": "IsModelReady",
"description": "Check if a model is ready",
"returnType": "bool",
"params": [
{
"type": "Model",
@ -9215,8 +9233,8 @@
]
},
{
"name": "UnloadModelKeepMeshes",
"description": "Unload model (but not meshes) from memory (RAM and/or VRAM)",
"name": "UnloadModel",
"description": "Unload model (including meshes) from memory (RAM and/or VRAM)",
"returnType": "void",
"params": [
{
@ -9821,6 +9839,17 @@
"description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)",
"returnType": "Material"
},
{
"name": "IsMaterialReady",
"description": "Check if a material is ready",
"returnType": "bool",
"params": [
{
"type": "Material",
"name": "material"
}
]
},
{
"name": "UnloadMaterial",
"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",
"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",
"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",
"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",
"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",
"description": "Unload audio stream and free memory",
@ -10854,6 +10906,28 @@
"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"
}
]
}
]
}