UNPKG

@raylib/api

Version:

raylib-api: Exports of the raylib API in various file formats.

2,022 lines (2,021 loc) 274 kB
{ "defines": [ { "name": "RAYLIB_H", "type": "GUARD", "value": "", "description": "" }, { "name": "RAYLIB_VERSION_MAJOR", "type": "INT", "value": 5, "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": "5.5", "description": "" }, { "name": "__declspec(x)", "type": "MACRO", "value": "__attribute__((x))", "description": "" }, { "name": "RLAPI", "type": "UNKNOWN", "value": "__declspec(dllexport)", "description": "We are building the library as a Win32 shared library (.dll)" }, { "name": "PI", "type": "FLOAT", "value": 3.14159265358979323846, "description": "" }, { "name": "DEG2RAD", "type": "FLOAT_MATH", "value": "(PI/180.0f)", "description": "" }, { "name": "RAD2DEG", "type": "FLOAT_MATH", "value": "(180.0f/PI)", "description": "" }, { "name": "RL_MALLOC(sz)", "type": "MACRO", "value": "malloc(sz)", "description": "" }, { "name": "RL_CALLOC(n,sz)", "type": "MACRO", "value": "calloc(n,sz)", "description": "" }, { "name": "RL_REALLOC(ptr,sz)", "type": "MACRO", "value": "realloc(ptr,sz)", "description": "" }, { "name": "RL_FREE(ptr)", "type": "MACRO", "value": "free(ptr)", "description": "" }, { "name": "CLITERAL(type)", "type": "MACRO", "value": "type", "description": "" }, { "name": "RL_COLOR_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "RL_RECTANGLE_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "RL_VECTOR2_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "RL_VECTOR3_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "RL_VECTOR4_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "RL_QUATERNION_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "RL_MATRIX_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "LIGHTGRAY", "type": "COLOR", "value": "CLITERAL(Color){ 200, 200, 200, 255 }", "description": "Light Gray" }, { "name": "GRAY", "type": "COLOR", "value": "CLITERAL(Color){ 130, 130, 130, 255 }", "description": "Gray" }, { "name": "DARKGRAY", "type": "COLOR", "value": "CLITERAL(Color){ 80, 80, 80, 255 }", "description": "Dark Gray" }, { "name": "YELLOW", "type": "COLOR", "value": "CLITERAL(Color){ 253, 249, 0, 255 }", "description": "Yellow" }, { "name": "GOLD", "type": "COLOR", "value": "CLITERAL(Color){ 255, 203, 0, 255 }", "description": "Gold" }, { "name": "ORANGE", "type": "COLOR", "value": "CLITERAL(Color){ 255, 161, 0, 255 }", "description": "Orange" }, { "name": "PINK", "type": "COLOR", "value": "CLITERAL(Color){ 255, 109, 194, 255 }", "description": "Pink" }, { "name": "RED", "type": "COLOR", "value": "CLITERAL(Color){ 230, 41, 55, 255 }", "description": "Red" }, { "name": "MAROON", "type": "COLOR", "value": "CLITERAL(Color){ 190, 33, 55, 255 }", "description": "Maroon" }, { "name": "GREEN", "type": "COLOR", "value": "CLITERAL(Color){ 0, 228, 48, 255 }", "description": "Green" }, { "name": "LIME", "type": "COLOR", "value": "CLITERAL(Color){ 0, 158, 47, 255 }", "description": "Lime" }, { "name": "DARKGREEN", "type": "COLOR", "value": "CLITERAL(Color){ 0, 117, 44, 255 }", "description": "Dark Green" }, { "name": "SKYBLUE", "type": "COLOR", "value": "CLITERAL(Color){ 102, 191, 255, 255 }", "description": "Sky Blue" }, { "name": "BLUE", "type": "COLOR", "value": "CLITERAL(Color){ 0, 121, 241, 255 }", "description": "Blue" }, { "name": "DARKBLUE", "type": "COLOR", "value": "CLITERAL(Color){ 0, 82, 172, 255 }", "description": "Dark Blue" }, { "name": "PURPLE", "type": "COLOR", "value": "CLITERAL(Color){ 200, 122, 255, 255 }", "description": "Purple" }, { "name": "VIOLET", "type": "COLOR", "value": "CLITERAL(Color){ 135, 60, 190, 255 }", "description": "Violet" }, { "name": "DARKPURPLE", "type": "COLOR", "value": "CLITERAL(Color){ 112, 31, 126, 255 }", "description": "Dark Purple" }, { "name": "BEIGE", "type": "COLOR", "value": "CLITERAL(Color){ 211, 176, 131, 255 }", "description": "Beige" }, { "name": "BROWN", "type": "COLOR", "value": "CLITERAL(Color){ 127, 106, 79, 255 }", "description": "Brown" }, { "name": "DARKBROWN", "type": "COLOR", "value": "CLITERAL(Color){ 76, 63, 47, 255 }", "description": "Dark Brown" }, { "name": "WHITE", "type": "COLOR", "value": "CLITERAL(Color){ 255, 255, 255, 255 }", "description": "White" }, { "name": "BLACK", "type": "COLOR", "value": "CLITERAL(Color){ 0, 0, 0, 255 }", "description": "Black" }, { "name": "BLANK", "type": "COLOR", "value": "CLITERAL(Color){ 0, 0, 0, 0 }", "description": "Blank (Transparent)" }, { "name": "MAGENTA", "type": "COLOR", "value": "CLITERAL(Color){ 255, 0, 255, 255 }", "description": "Magenta" }, { "name": "RAYWHITE", "type": "COLOR", "value": "CLITERAL(Color){ 245, 245, 245, 255 }", "description": "My own White (raylib logo)" }, { "name": "RL_BOOL_TYPE", "type": "GUARD", "value": "", "description": "" }, { "name": "MOUSE_LEFT_BUTTON", "type": "UNKNOWN", "value": "MOUSE_BUTTON_LEFT", "description": "" }, { "name": "MOUSE_RIGHT_BUTTON", "type": "UNKNOWN", "value": "MOUSE_BUTTON_RIGHT", "description": "" }, { "name": "MOUSE_MIDDLE_BUTTON", "type": "UNKNOWN", "value": "MOUSE_BUTTON_MIDDLE", "description": "" }, { "name": "MATERIAL_MAP_DIFFUSE", "type": "UNKNOWN", "value": "MATERIAL_MAP_ALBEDO", "description": "" }, { "name": "MATERIAL_MAP_SPECULAR", "type": "UNKNOWN", "value": "MATERIAL_MAP_METALNESS", "description": "" }, { "name": "SHADER_LOC_MAP_DIFFUSE", "type": "UNKNOWN", "value": "SHADER_LOC_MAP_ALBEDO", "description": "" }, { "name": "SHADER_LOC_MAP_SPECULAR", "type": "UNKNOWN", "value": "SHADER_LOC_MAP_METALNESS", "description": "" }, { "name": "GetMouseRay", "type": "UNKNOWN", "value": "GetScreenToWorldRay", "description": "Compatibility hack for previous raylib versions" } ], "structs": [ { "name": "Vector2", "description": "Vector2, 2 components", "fields": [ { "type": "float", "name": "x", "description": "Vector x component" }, { "type": "float", "name": "y", "description": "Vector y component" } ] }, { "name": "Vector3", "description": "Vector3, 3 components", "fields": [ { "type": "float", "name": "x", "description": "Vector x component" }, { "type": "float", "name": "y", "description": "Vector y component" }, { "type": "float", "name": "z", "description": "Vector z component" } ] }, { "name": "Vector4", "description": "Vector4, 4 components", "fields": [ { "type": "float", "name": "x", "description": "Vector x component" }, { "type": "float", "name": "y", "description": "Vector y component" }, { "type": "float", "name": "z", "description": "Vector z component" }, { "type": "float", "name": "w", "description": "Vector w component" } ] }, { "name": "Matrix", "description": "Matrix, 4x4 components, column major, OpenGL style, right-handed", "fields": [ { "type": "float", "name": "m0", "description": "Matrix first row (4 components)" }, { "type": "float", "name": "m4", "description": "Matrix first row (4 components)" }, { "type": "float", "name": "m8", "description": "Matrix first row (4 components)" }, { "type": "float", "name": "m12", "description": "Matrix first row (4 components)" }, { "type": "float", "name": "m1", "description": "Matrix second row (4 components)" }, { "type": "float", "name": "m5", "description": "Matrix second row (4 components)" }, { "type": "float", "name": "m9", "description": "Matrix second row (4 components)" }, { "type": "float", "name": "m13", "description": "Matrix second row (4 components)" }, { "type": "float", "name": "m2", "description": "Matrix third row (4 components)" }, { "type": "float", "name": "m6", "description": "Matrix third row (4 components)" }, { "type": "float", "name": "m10", "description": "Matrix third row (4 components)" }, { "type": "float", "name": "m14", "description": "Matrix third row (4 components)" }, { "type": "float", "name": "m3", "description": "Matrix fourth row (4 components)" }, { "type": "float", "name": "m7", "description": "Matrix fourth row (4 components)" }, { "type": "float", "name": "m11", "description": "Matrix fourth row (4 components)" }, { "type": "float", "name": "m15", "description": "Matrix fourth row (4 components)" } ] }, { "name": "Color", "description": "Color, 4 components, R8G8B8A8 (32bit)", "fields": [ { "type": "unsigned char", "name": "r", "description": "Color red value" }, { "type": "unsigned char", "name": "g", "description": "Color green value" }, { "type": "unsigned char", "name": "b", "description": "Color blue value" }, { "type": "unsigned char", "name": "a", "description": "Color alpha value" } ] }, { "name": "Rectangle", "description": "Rectangle, 4 components", "fields": [ { "type": "float", "name": "x", "description": "Rectangle top-left corner position x" }, { "type": "float", "name": "y", "description": "Rectangle top-left corner position y" }, { "type": "float", "name": "width", "description": "Rectangle width" }, { "type": "float", "name": "height", "description": "Rectangle height" } ] }, { "name": "Image", "description": "Image, pixel data stored in CPU memory (RAM)", "fields": [ { "type": "void *", "name": "data", "description": "Image raw data" }, { "type": "int", "name": "width", "description": "Image base width" }, { "type": "int", "name": "height", "description": "Image base height" }, { "type": "int", "name": "mipmaps", "description": "Mipmap levels, 1 by default" }, { "type": "int", "name": "format", "description": "Data format (PixelFormat type)" } ] }, { "name": "Texture", "description": "Texture, tex data stored in GPU memory (VRAM)", "fields": [ { "type": "unsigned int", "name": "id", "description": "OpenGL texture id" }, { "type": "int", "name": "width", "description": "Texture base width" }, { "type": "int", "name": "height", "description": "Texture base height" }, { "type": "int", "name": "mipmaps", "description": "Mipmap levels, 1 by default" }, { "type": "int", "name": "format", "description": "Data format (PixelFormat type)" } ] }, { "name": "RenderTexture", "description": "RenderTexture, fbo for texture rendering", "fields": [ { "type": "unsigned int", "name": "id", "description": "OpenGL framebuffer object id" }, { "type": "Texture", "name": "texture", "description": "Color buffer attachment texture" }, { "type": "Texture", "name": "depth", "description": "Depth buffer attachment texture" } ] }, { "name": "NPatchInfo", "description": "NPatchInfo, n-patch layout info", "fields": [ { "type": "Rectangle", "name": "source", "description": "Texture source rectangle" }, { "type": "int", "name": "left", "description": "Left border offset" }, { "type": "int", "name": "top", "description": "Top border offset" }, { "type": "int", "name": "right", "description": "Right border offset" }, { "type": "int", "name": "bottom", "description": "Bottom border offset" }, { "type": "int", "name": "layout", "description": "Layout of the n-patch: 3x3, 1x3 or 3x1" } ] }, { "name": "GlyphInfo", "description": "GlyphInfo, font characters glyphs info", "fields": [ { "type": "int", "name": "value", "description": "Character value (Unicode)" }, { "type": "int", "name": "offsetX", "description": "Character offset X when drawing" }, { "type": "int", "name": "offsetY", "description": "Character offset Y when drawing" }, { "type": "int", "name": "advanceX", "description": "Character advance position X" }, { "type": "Image", "name": "image", "description": "Character image data" } ] }, { "name": "Font", "description": "Font, font texture and GlyphInfo array data", "fields": [ { "type": "int", "name": "baseSize", "description": "Base size (default chars height)" }, { "type": "int", "name": "glyphCount", "description": "Number of glyph characters" }, { "type": "int", "name": "glyphPadding", "description": "Padding around the glyph characters" }, { "type": "Texture2D", "name": "texture", "description": "Texture atlas containing the glyphs" }, { "type": "Rectangle *", "name": "recs", "description": "Rectangles in texture for the glyphs" }, { "type": "GlyphInfo *", "name": "glyphs", "description": "Glyphs info data" } ] }, { "name": "Camera3D", "description": "Camera, defines position/orientation in 3d space", "fields": [ { "type": "Vector3", "name": "position", "description": "Camera position" }, { "type": "Vector3", "name": "target", "description": "Camera target it looks-at" }, { "type": "Vector3", "name": "up", "description": "Camera up vector (rotation over its axis)" }, { "type": "float", "name": "fovy", "description": "Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic" }, { "type": "int", "name": "projection", "description": "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" } ] }, { "name": "Camera2D", "description": "Camera2D, defines position/orientation in 2d space", "fields": [ { "type": "Vector2", "name": "offset", "description": "Camera offset (displacement from target)" }, { "type": "Vector2", "name": "target", "description": "Camera target (rotation and zoom origin)" }, { "type": "float", "name": "rotation", "description": "Camera rotation in degrees" }, { "type": "float", "name": "zoom", "description": "Camera zoom (scaling), should be 1.0f by default" } ] }, { "name": "Mesh", "description": "Mesh, vertex data and vao/vbo", "fields": [ { "type": "int", "name": "vertexCount", "description": "Number of vertices stored in arrays" }, { "type": "int", "name": "triangleCount", "description": "Number of triangles stored (indexed or not)" }, { "type": "float *", "name": "vertices", "description": "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)" }, { "type": "float *", "name": "texcoords", "description": "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)" }, { "type": "float *", "name": "texcoords2", "description": "Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" }, { "type": "float *", "name": "normals", "description": "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)" }, { "type": "float *", "name": "tangents", "description": "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)" }, { "type": "unsigned char *", "name": "colors", "description": "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)" }, { "type": "unsigned short *", "name": "indices", "description": "Vertex indices (in case vertex data comes indexed)" }, { "type": "float *", "name": "animVertices", "description": "Animated vertex positions (after bones transformations)" }, { "type": "float *", "name": "animNormals", "description": "Animated normals (after bones transformations)" }, { "type": "unsigned char *", "name": "boneIds", "description": "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning) (shader-location = 6)" }, { "type": "float *", "name": "boneWeights", "description": "Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)" }, { "type": "Matrix *", "name": "boneMatrices", "description": "Bones animated transformation matrices" }, { "type": "int", "name": "boneCount", "description": "Number of bones" }, { "type": "unsigned int", "name": "vaoId", "description": "OpenGL Vertex Array Object id" }, { "type": "unsigned int *", "name": "vboId", "description": "OpenGL Vertex Buffer Objects id (default vertex data)" } ] }, { "name": "Shader", "description": "Shader", "fields": [ { "type": "unsigned int", "name": "id", "description": "Shader program id" }, { "type": "int *", "name": "locs", "description": "Shader locations array (RL_MAX_SHADER_LOCATIONS)" } ] }, { "name": "MaterialMap", "description": "MaterialMap", "fields": [ { "type": "Texture2D", "name": "texture", "description": "Material map texture" }, { "type": "Color", "name": "color", "description": "Material map color" }, { "type": "float", "name": "value", "description": "Material map value" } ] }, { "name": "Material", "description": "Material, includes shader and maps", "fields": [ { "type": "Shader", "name": "shader", "description": "Material shader" }, { "type": "MaterialMap *", "name": "maps", "description": "Material maps array (MAX_MATERIAL_MAPS)" }, { "type": "float[4]", "name": "params", "description": "Material generic parameters (if required)" } ] }, { "name": "Transform", "description": "Transform, vertex transformation data", "fields": [ { "type": "Vector3", "name": "translation", "description": "Translation" }, { "type": "Quaternion", "name": "rotation", "description": "Rotation" }, { "type": "Vector3", "name": "scale", "description": "Scale" } ] }, { "name": "BoneInfo", "description": "Bone, skeletal animation bone", "fields": [ { "type": "char[32]", "name": "name", "description": "Bone name" }, { "type": "int", "name": "parent", "description": "Bone parent" } ] }, { "name": "Model", "description": "Model, meshes, materials and animation data", "fields": [ { "type": "Matrix", "name": "transform", "description": "Local transform matrix" }, { "type": "int", "name": "meshCount", "description": "Number of meshes" }, { "type": "int", "name": "materialCount", "description": "Number of materials" }, { "type": "Mesh *", "name": "meshes", "description": "Meshes array" }, { "type": "Material *", "name": "materials", "description": "Materials array" }, { "type": "int *", "name": "meshMaterial", "description": "Mesh material number" }, { "type": "int", "name": "boneCount", "description": "Number of bones" }, { "type": "BoneInfo *", "name": "bones", "description": "Bones information (skeleton)" }, { "type": "Transform *", "name": "bindPose", "description": "Bones base transformation (pose)" } ] }, { "name": "ModelAnimation", "description": "ModelAnimation", "fields": [ { "type": "int", "name": "boneCount", "description": "Number of bones" }, { "type": "int", "name": "frameCount", "description": "Number of animation frames" }, { "type": "BoneInfo *", "name": "bones", "description": "Bones information (skeleton)" }, { "type": "Transform **", "name": "framePoses", "description": "Poses array by frame" }, { "type": "char[32]", "name": "name", "description": "Animation name" } ] }, { "name": "Ray", "description": "Ray, ray for raycasting", "fields": [ { "type": "Vector3", "name": "position", "description": "Ray position (origin)" }, { "type": "Vector3", "name": "direction", "description": "Ray direction (normalized)" } ] }, { "name": "RayCollision", "description": "RayCollision, ray hit information", "fields": [ { "type": "bool", "name": "hit", "description": "Did the ray hit something?" }, { "type": "float", "name": "distance", "description": "Distance to the nearest hit" }, { "type": "Vector3", "name": "point", "description": "Point of the nearest hit" }, { "type": "Vector3", "name": "normal", "description": "Surface normal of hit" } ] }, { "name": "BoundingBox", "description": "BoundingBox", "fields": [ { "type": "Vector3", "name": "min", "description": "Minimum vertex box-corner" }, { "type": "Vector3", "name": "max", "description": "Maximum vertex box-corner" } ] }, { "name": "Wave", "description": "Wave, audio wave data", "fields": [ { "type": "unsigned int", "name": "frameCount", "description": "Total number of frames (considering channels)" }, { "type": "unsigned int", "name": "sampleRate", "description": "Frequency (samples per second)" }, { "type": "unsigned int", "name": "sampleSize", "description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)" }, { "type": "unsigned int", "name": "channels", "description": "Number of channels (1-mono, 2-stereo, ...)" }, { "type": "void *", "name": "data", "description": "Buffer data pointer" } ] }, { "name": "AudioStream", "description": "AudioStream, custom audio stream", "fields": [ { "type": "rAudioBuffer *", "name": "buffer", "description": "Pointer to internal data used by the audio system" }, { "type": "rAudioProcessor *", "name": "processor", "description": "Pointer to internal data processor, useful for audio effects" }, { "type": "unsigned int", "name": "sampleRate", "description": "Frequency (samples per second)" }, { "type": "unsigned int", "name": "sampleSize", "description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)" }, { "type": "unsigned int", "name": "channels", "description": "Number of channels (1-mono, 2-stereo, ...)" } ] }, { "name": "Sound", "description": "Sound", "fields": [ { "type": "AudioStream", "name": "stream", "description": "Audio stream" }, { "type": "unsigned int", "name": "frameCount", "description": "Total number of frames (considering channels)" } ] }, { "name": "Music", "description": "Music, audio stream, anything longer than ~10 seconds should be streamed", "fields": [ { "type": "AudioStream", "name": "stream", "description": "Audio stream" }, { "type": "unsigned int", "name": "frameCount", "description": "Total number of frames (considering channels)" }, { "type": "bool", "name": "looping", "description": "Music looping enable" }, { "type": "int", "name": "ctxType", "description": "Type of music context (audio filetype)" }, { "type": "void *", "name": "ctxData", "description": "Audio context data, depends on type" } ] }, { "name": "VrDeviceInfo", "description": "VrDeviceInfo, Head-Mounted-Display device parameters", "fields": [ { "type": "int", "name": "hResolution", "description": "Horizontal resolution in pixels" }, { "type": "int", "name": "vResolution", "description": "Vertical resolution in pixels" }, { "type": "float", "name": "hScreenSize", "description": "Horizontal size in meters" }, { "type": "float", "name": "vScreenSize", "description": "Vertical size in meters" }, { "type": "float", "name": "eyeToScreenDistance", "description": "Distance between eye and display in meters" }, { "type": "float", "name": "lensSeparationDistance", "description": "Lens separation distance in meters" }, { "type": "float", "name": "interpupillaryDistance", "description": "IPD (distance between pupils) in meters" }, { "type": "float[4]", "name": "lensDistortionValues", "description": "Lens distortion constant parameters" }, { "type": "float[4]", "name": "chromaAbCorrection", "description": "Chromatic aberration correction parameters" } ] }, { "name": "VrStereoConfig", "description": "VrStereoConfig, VR stereo rendering configuration for simulator", "fields": [ { "type": "Matrix[2]", "name": "projection", "description": "VR projection matrices (per eye)" }, { "type": "Matrix[2]", "name": "viewOffset", "description": "VR view offset matrices (per eye)" }, { "type": "float[2]", "name": "leftLensCenter", "description": "VR left lens center" }, { "type": "float[2]", "name": "rightLensCenter", "description": "VR right lens center" }, { "type": "float[2]", "name": "leftScreenCenter", "description": "VR left screen center" }, { "type": "float[2]", "name": "rightScreenCenter", "description": "VR right screen center" }, { "type": "float[2]", "name": "scale", "description": "VR distortion scale" }, { "type": "float[2]", "name": "scaleIn", "description": "VR distortion scale in" } ] }, { "name": "FilePathList", "description": "File path list", "fields": [ { "type": "unsigned int", "name": "capacity", "description": "Filepaths max entries" }, { "type": "unsigned int", "name": "count", "description": "Filepaths entries count" }, { "type": "char **", "name": "paths", "description": "Filepaths entries" } ] }, { "name": "AutomationEvent", "description": "Automation event", "fields": [ { "type": "unsigned int", "name": "frame", "description": "Event frame" }, { "type": "unsigned int", "name": "type", "description": "Event type (AutomationEventType)" }, { "type": "int[4]", "name": "params", "description": "Event parameters (if required)" } ] }, { "name": "AutomationEventList", "description": "Automation event list", "fields": [ { "type": "unsigned int", "name": "capacity", "description": "Events max entries (MAX_AUTOMATION_EVENTS)" }, { "type": "unsigned int", "name": "count", "description": "Events entries count" }, { "type": "AutomationEvent *", "name": "events", "description": "Events entries" } ] } ], "aliases": [ { "type": "Vector4", "name": "Quaternion", "description": "Quaternion, 4 components (Vector4 alias)" }, { "type": "Texture", "name": "Texture2D", "description": "Texture2D, same as Texture" }, { "type": "Texture", "name": "TextureCubemap", "description": "TextureCubemap, same as Texture" }, { "type": "RenderTexture", "name": "RenderTexture2D", "description": "RenderTexture2D, same as RenderTexture" }, { "type": "Camera3D", "name": "Camera", "description": "Camera type fallback, defaults to Camera3D" } ], "enums": [ { "name": "ConfigFlags", "description": "System/Window config flags", "values": [ { "name": "FLAG_VSYNC_HINT", "value": 64, "description": "Set to try enabling V-Sync on GPU" }, { "name": "FLAG_FULLSCREEN_MODE", "value": 2, "description": "Set to run program in fullscreen" }, { "name": "FLAG_WINDOW_RESIZABLE", "value": 4, "description": "Set to allow resizable window" }, { "name": "FLAG_WINDOW_UNDECORATED", "value": 8, "description": "Set to disable window decoration (frame and buttons)" }, { "name": "FLAG_WINDOW_HIDDEN", "value": 128, "description": "Set to hide window" }, { "name": "FLAG_WINDOW_MINIMIZED", "value": 512, "description": "Set to minimize window (iconify)" }, { "name": "FLAG_WINDOW_MAXIMIZED", "value": 1024, "description": "Set to maximize window (expanded to monitor)" }, { "name": "FLAG_WINDOW_UNFOCUSED", "value": 2048, "description": "Set to window non focused" }, { "name": "FLAG_WINDOW_TOPMOST", "value": 4096, "description": "Set to window always on top" }, { "name": "FLAG_WINDOW_ALWAYS_RUN", "value": 256, "description": "Set to allow windows running while minimized" }, { "name": "FLAG_WINDOW_TRANSPARENT", "value": 16, "description": "Set to allow transparent framebuffer" }, { "name": "FLAG_WINDOW_HIGHDPI", "value": 8192, "description": "Set to support HighDPI" }, { "name": "FLAG_WINDOW_MOUSE_PASSTHROUGH", "value": 16384, "description": "Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED" }, { "name": "FLAG_BORDERLESS_WINDOWED_MODE", "value": 32768, "description": "Set to run program in borderless windowed mode" }, { "name": "FLAG_MSAA_4X_HINT", "value": 32, "description": "Set to try enabling MSAA 4X" }, { "name": "FLAG_INTERLACED_HINT", "value": 65536, "description": "Set to try enabling interlaced video format (for V3D)" } ] }, { "name": "TraceLogLevel", "description": "Trace log level", "values": [ { "name": "LOG_ALL", "value": 0, "description": "Display all logs" }, { "name": "LOG_TRACE", "value": 1, "description": "Trace logging, intended for internal use only" }, { "name": "LOG_DEBUG", "value": 2, "description": "Debug logging, used for internal debugging, it should be disabled on release builds" }, { "name": "LOG_INFO", "value": 3, "description": "Info logging, used for program execution info" }, { "name": "LOG_WARNING", "value": 4, "description": "Warning logging, used on recoverable failures" }, { "name": "LOG_ERROR", "value": 5, "description": "Error logging, used on unrecoverable failures" }, { "name": "LOG_FATAL", "value": 6, "description": "Fatal logging, used to abort program: exit(EXIT_FAILURE)" }, { "name": "LOG_NONE", "value": 7, "description": "Disable logging" } ] }, { "name": "KeyboardKey", "description": "Keyboard keys (US keyboard layout)", "values": [ { "name": "KEY_NULL", "value": 0, "description": "Key: NULL, used for no key pressed" }, { "name": "KEY_APOSTROPHE", "value": 39, "description": "Key: '" }, { "name": "KEY_COMMA", "value": 44, "description": "Key: ," }, { "name": "KEY_MINUS", "value": 45, "description": "Key: -" }, { "name": "KEY_PERIOD", "value": 46, "description": "Key: ." }, { "name": "KEY_SLASH", "value": 47, "description": "Key: /" }, { "name": "KEY_ZERO", "value": 48, "description": "Key: 0" }, { "name": "KEY_ONE", "value": 49, "description": "Key: 1" }, { "name": "KEY_TWO", "value": 50, "description": "Key: 2" }, { "name": "KEY_THREE", "value": 51, "description": "Key: 3" }, { "name": "KEY_FOUR", "value": 52, "description": "Key: 4" }, { "name": "KEY_FIVE", "value": 53, "description": "Key: 5" }, { "name": "KEY_SIX", "value": 54, "description": "Key: 6" }, { "name": "KEY_SEVEN", "value": 55, "description": "Key: 7" }, { "name": "KEY_EIGHT", "value": 56, "description": "Key: 8" }, { "name": "KEY_NINE", "value": 57, "description": "Key: 9" }, { "name": "KEY_SEMICOLON", "value": 59, "description": "Key: ;" }, { "name": "KEY_EQUAL", "value": 61, "description": "Key: =" }, { "name": "KEY_A", "value": 65, "description": "Key: A | a" }, { "name": "KEY_B", "value": 66, "description": "Key: B | b" }, { "name": "KEY_C", "value": 67, "description": "Key: C | c" }, { "name": "KEY_D", "value": 68, "description": "Key: D | d" }, { "name": "KEY_E", "value": 69, "description": "Key: E | e" }, { "name": "KEY_F", "value": 70, "description": "Key: F | f" }, { "name": "KEY_G", "value": 71, "description": "Key: G | g" }, { "name": "KEY_H", "value": 72, "description": "Key: H | h" }, { "name": "KEY_I", "value": 73, "description": "Key: I | i" }, { "name": "KEY_J", "value": 74, "description": "Key: J | j" }, { "name": "KEY_K", "value": 75, "description": "Key: K | k" }, { "name": "KEY_L", "value": 76, "description": "Key: L | l" }, { "name": "KEY_M", "value": 77, "description": "Key: M | m" }, { "name": "KEY_N", "value": 78, "description": "Key: N | n" }, { "name": "KEY_O", "value": 79, "description": "Key: O | o" }, { "name": "KEY_P", "value": 80, "description": "Key: P | p" }, { "name": "KEY_Q", "value": 81, "description": "Key: Q | q" }, { "name": "KEY_R", "value": 82, "description": "Key: R | r" }, { "name": "KEY_S", "value": 83, "description": "Key: S | s" }, { "name": "KEY_T", "value": 84, "description": "Key: T | t" }, { "name": "KEY_U", "value": 85, "description": "Key: U | u" }, { "name": "KEY_V", "value": 86, "description": "Key: V | v" }, { "name": "KEY_W", "value": 87, "description": "Key: W | w" }, { "name": "KEY_X", "value": 88, "description": "Key: X | x" }, { "name": "KEY_Y", "value": 89, "description": "Key: Y | y" }, { "name": "KEY_Z", "value": 90, "description": "Key: Z | z" }, { "name": "KEY_LEFT_BRACKET", "value": 91, "description": "Key: [" }, { "name": "KEY_BACKSLASH", "value": 92, "description": "Key: '\\'" }, { "name": "KEY_RIGHT_BRACKET", "value": 93, "description": "Key: ]" }, { "name": "KEY_GRAVE", "value": 96, "description": "Key: `" }, { "name": "KEY_SPACE", "value": 32, "description": "Key: Space" }, { "name": "KEY_ESCAPE", "value": 256, "description": "Key: Esc" }, { "name": "KEY_ENTER", "value": 257, "description": "Key: Enter" }, { "name": "KEY_TAB", "value": 258, "description": "Key: Tab" }, { "name": "KEY_BACKSPACE", "value": 259, "description": "Key: Backspace" }, { "name": "KEY_INSERT", "value": 260, "description": "Key: Ins" }, { "name": "KEY_DELETE", "value": 261, "description": "Key: Del" }, { "name": "KEY_RIGHT", "value": 262, "description": "Key: Cursor right" }, { "name": "KEY_LEFT", "value": 263, "description": "Key: Cursor left" }, { "name": "KEY_DOWN", "value": 264, "description": "Key: Cursor down" }, { "name": "KEY_UP", "value": 265, "description": "Key: Cursor up" }, { "name": "KEY_PAGE_UP", "value": 266, "description": "Key: Page up" }, { "name": "KEY_PAGE_DOWN", "value": 267, "description": "Key: Page down" }, { "name": "KEY_HOME", "value": 268, "description": "Key: Home" }, { "name": "KEY_END", "value": 269, "description": "Key: End" }, { "name": "KEY_CAPS_LOCK", "value": 280, "description": "Key: Caps lock" }, { "name": "KEY_SCROLL_LOCK", "value": 281, "description": "Key: Scroll down" }, { "name": "KEY_NUM_LOCK", "value": 282, "description": "Key: Num lock" }, { "name": "KEY_PRINT_SCREEN", "value": 283, "description": "Key: Print screen" }, { "name": "KEY_PAUSE", "value": 284, "description": "Key: Pause" }, { "name": "KEY_F1", "value": 290, "description": "Key: F1" }, { "name": "KEY_F2", "value": 291, "description": "Key: F2" }, { "name": "KEY_F3", "value": 292, "description": "Key: F3" }, { "name": "KEY_F4", "value": 293, "description": "Key: F4" }, { "name": "KEY_F5", "value": 294, "description": "Key: F5" }, { "name": "KEY_F6", "value": 295, "description": "Key: F6" }, { "name": "KEY_F7", "value": 296, "description": "Key: F7" }, { "name": "KEY_F8", "value": 297, "description": "Key: F8" }, { "name": "KEY_F9", "value": 298, "description": "Key: F9" }, { "name": "KEY_F10", "value": 299, "description": "Key: F10" }, { "name": "KEY_F11", "value": 300, "description": "Key: F11" }, { "name": "KEY_F12", "value": 301, "description": "Key: F12" }, { "name": "KEY_LEFT_SHIFT", "value": 340, "description": "Key: Shift left" }, { "name": "KEY_LEFT_CONTROL", "value": 341, "description": "Key: Control left" }, { "name": "KEY_LEFT_ALT", "value": 342, "description": "Key: Alt left" }, { "name": "KEY_LEFT_SUPER", "value": 343, "description": "Key: Super left" }, { "name": "KEY_RIGHT_SHIFT", "value": 344, "description": "Key: Shift right" }, { "name": "KEY_RIGHT_CONTROL", "value": 345, "description": "Key: Control right" }, { "name": "KEY_RIGHT_ALT", "value": 346, "description": "Key: Alt right" }, { "name": "KEY_RIGHT_SUPER", "value": 347, "description": "Key: Super right" }, { "name": "KEY_KB_MENU", "value": 348, "description": "Key: KB menu" }, { "name": "KEY_KP_0", "value": 320, "description": "Key: Keypad 0" }, { "name": "KEY_KP_1", "value": 321, "description": "Key: Keypad 1" }, { "name": "KEY_KP_2", "value": 322, "description": "Key: Keypad 2" }, { "name": "KEY_KP_3", "value": 323, "description": "Key: Keypad 3" }, { "name": "KEY_KP_4", "value": 324, "description": "Key: Keypad 4" }, {