| 1 | <?xml version="1.0" encoding="Windows-1252" ?> |
| 2 | <raylibAPI> |
| 3 | <Defines count="57"> |
| 4 | <Define name="RAYLIB_H" type="GUARD" value="" desc="" /> |
| 5 | <Define name="RAYLIB_VERSION_MAJOR" type="INT" value="6" desc="" /> |
| 6 | <Define name="RAYLIB_VERSION_MINOR" type="INT" value="0" desc="" /> |
| 7 | <Define name="RAYLIB_VERSION_PATCH" type="INT" value="0" desc="" /> |
| 8 | <Define name="RAYLIB_VERSION" type="STRING" value="6.0" desc="" /> |
| 9 | <Define name="__declspec(x)" type="MACRO" value="__attribute__((x))" desc="" /> |
| 10 | <Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="Building the library as a Win32 shared library (.dll)" /> |
| 11 | <Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" /> |
| 12 | <Define name="DEG2RAD" type="FLOAT_MATH" value="(PI/180.0f)" desc="" /> |
| 13 | <Define name="RAD2DEG" type="FLOAT_MATH" value="(180.0f/PI)" desc="" /> |
| 14 | <Define name="RL_MALLOC(sz)" type="MACRO" value="malloc(sz)" desc="" /> |
| 15 | <Define name="RL_CALLOC(n,sz)" type="MACRO" value="calloc(n,sz)" desc="" /> |
| 16 | <Define name="RL_REALLOC(ptr,sz)" type="MACRO" value="realloc(ptr,sz)" desc="" /> |
| 17 | <Define name="RL_FREE(ptr)" type="MACRO" value="free(ptr)" desc="" /> |
| 18 | <Define name="CLITERAL(type)" type="MACRO" value="type" desc="" /> |
| 19 | <Define name="RL_COLOR_TYPE" type="GUARD" value="" desc="" /> |
| 20 | <Define name="RL_RECTANGLE_TYPE" type="GUARD" value="" desc="" /> |
| 21 | <Define name="RL_VECTOR2_TYPE" type="GUARD" value="" desc="" /> |
| 22 | <Define name="RL_VECTOR3_TYPE" type="GUARD" value="" desc="" /> |
| 23 | <Define name="RL_VECTOR4_TYPE" type="GUARD" value="" desc="" /> |
| 24 | <Define name="RL_QUATERNION_TYPE" type="GUARD" value="" desc="" /> |
| 25 | <Define name="RL_MATRIX_TYPE" type="GUARD" value="" desc="" /> |
| 26 | <Define name="LIGHTGRAY" type="COLOR" value="CLITERAL(Color){ 200, 200, 200, 255 }" desc="Light Gray" /> |
| 27 | <Define name="GRAY" type="COLOR" value="CLITERAL(Color){ 130, 130, 130, 255 }" desc="Gray" /> |
| 28 | <Define name="DARKGRAY" type="COLOR" value="CLITERAL(Color){ 80, 80, 80, 255 }" desc="Dark Gray" /> |
| 29 | <Define name="YELLOW" type="COLOR" value="CLITERAL(Color){ 253, 249, 0, 255 }" desc="Yellow" /> |
| 30 | <Define name="GOLD" type="COLOR" value="CLITERAL(Color){ 255, 203, 0, 255 }" desc="Gold" /> |
| 31 | <Define name="ORANGE" type="COLOR" value="CLITERAL(Color){ 255, 161, 0, 255 }" desc="Orange" /> |
| 32 | <Define name="PINK" type="COLOR" value="CLITERAL(Color){ 255, 109, 194, 255 }" desc="Pink" /> |
| 33 | <Define name="RED" type="COLOR" value="CLITERAL(Color){ 230, 41, 55, 255 }" desc="Red" /> |
| 34 | <Define name="MAROON" type="COLOR" value="CLITERAL(Color){ 190, 33, 55, 255 }" desc="Maroon" /> |
| 35 | <Define name="GREEN" type="COLOR" value="CLITERAL(Color){ 0, 228, 48, 255 }" desc="Green" /> |
| 36 | <Define name="LIME" type="COLOR" value="CLITERAL(Color){ 0, 158, 47, 255 }" desc="Lime" /> |
| 37 | <Define name="DARKGREEN" type="COLOR" value="CLITERAL(Color){ 0, 117, 44, 255 }" desc="Dark Green" /> |
| 38 | <Define name="SKYBLUE" type="COLOR" value="CLITERAL(Color){ 102, 191, 255, 255 }" desc="Sky Blue" /> |
| 39 | <Define name="BLUE" type="COLOR" value="CLITERAL(Color){ 0, 121, 241, 255 }" desc="Blue" /> |
| 40 | <Define name="DARKBLUE" type="COLOR" value="CLITERAL(Color){ 0, 82, 172, 255 }" desc="Dark Blue" /> |
| 41 | <Define name="PURPLE" type="COLOR" value="CLITERAL(Color){ 200, 122, 255, 255 }" desc="Purple" /> |
| 42 | <Define name="VIOLET" type="COLOR" value="CLITERAL(Color){ 135, 60, 190, 255 }" desc="Violet" /> |
| 43 | <Define name="DARKPURPLE" type="COLOR" value="CLITERAL(Color){ 112, 31, 126, 255 }" desc="Dark Purple" /> |
| 44 | <Define name="BEIGE" type="COLOR" value="CLITERAL(Color){ 211, 176, 131, 255 }" desc="Beige" /> |
| 45 | <Define name="BROWN" type="COLOR" value="CLITERAL(Color){ 127, 106, 79, 255 }" desc="Brown" /> |
| 46 | <Define name="DARKBROWN" type="COLOR" value="CLITERAL(Color){ 76, 63, 47, 255 }" desc="Dark Brown" /> |
| 47 | <Define name="WHITE" type="COLOR" value="CLITERAL(Color){ 255, 255, 255, 255 }" desc="White" /> |
| 48 | <Define name="BLACK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 255 }" desc="Black" /> |
| 49 | <Define name="BLANK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 0 }" desc="Blank (Transparent)" /> |
| 50 | <Define name="MAGENTA" type="COLOR" value="CLITERAL(Color){ 255, 0, 255, 255 }" desc="Magenta" /> |
| 51 | <Define name="RAYWHITE" type="COLOR" value="CLITERAL(Color){ 245, 245, 245, 255 }" desc="My own White (raylib logo)" /> |
| 52 | <Define name="RL_BOOL_TYPE" type="GUARD" value="" desc="" /> |
| 53 | <Define name="MOUSE_LEFT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_LEFT" desc="" /> |
| 54 | <Define name="MOUSE_RIGHT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_RIGHT" desc="" /> |
| 55 | <Define name="MOUSE_MIDDLE_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_MIDDLE" desc="" /> |
| 56 | <Define name="MATERIAL_MAP_DIFFUSE" type="UNKNOWN" value="MATERIAL_MAP_ALBEDO" desc="" /> |
| 57 | <Define name="MATERIAL_MAP_SPECULAR" type="UNKNOWN" value="MATERIAL_MAP_METALNESS" desc="" /> |
| 58 | <Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" /> |
| 59 | <Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" /> |
| 60 | <Define name="GetMouseRay" type="UNKNOWN" value="GetScreenToWorldRay" desc="Compatibility hack for previous raylib versions" /> |
| 61 | </Defines> |
| 62 | <Structs count="35"> |
| 63 | <Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components"> |
| 64 | <Field type="float" name="x" desc="Vector x component" /> |
| 65 | <Field type="float" name="y" desc="Vector y component" /> |
| 66 | </Struct> |
| 67 | <Struct name="Vector3" fieldCount="3" desc="Vector3, 3 components"> |
| 68 | <Field type="float" name="x" desc="Vector x component" /> |
| 69 | <Field type="float" name="y" desc="Vector y component" /> |
| 70 | <Field type="float" name="z" desc="Vector z component" /> |
| 71 | </Struct> |
| 72 | <Struct name="Vector4" fieldCount="4" desc="Vector4, 4 components"> |
| 73 | <Field type="float" name="x" desc="Vector x component" /> |
| 74 | <Field type="float" name="y" desc="Vector y component" /> |
| 75 | <Field type="float" name="z" desc="Vector z component" /> |
| 76 | <Field type="float" name="w" desc="Vector w component" /> |
| 77 | </Struct> |
| 78 | <Struct name="Matrix" fieldCount="16" desc="Matrix, 4x4 components, column major, OpenGL style, right-handed"> |
| 79 | <Field type="float" name="m0" desc="Matrix first row (4 components)" /> |
| 80 | <Field type="float" name="m4" desc="Matrix first row (4 components)" /> |
| 81 | <Field type="float" name="m8" desc="Matrix first row (4 components)" /> |
| 82 | <Field type="float" name="m12" desc="Matrix first row (4 components)" /> |
| 83 | <Field type="float" name="m1" desc="Matrix second row (4 components)" /> |
| 84 | <Field type="float" name="m5" desc="Matrix second row (4 components)" /> |
| 85 | <Field type="float" name="m9" desc="Matrix second row (4 components)" /> |
| 86 | <Field type="float" name="m13" desc="Matrix second row (4 components)" /> |
| 87 | <Field type="float" name="m2" desc="Matrix third row (4 components)" /> |
| 88 | <Field type="float" name="m6" desc="Matrix third row (4 components)" /> |
| 89 | <Field type="float" name="m10" desc="Matrix third row (4 components)" /> |
| 90 | <Field type="float" name="m14" desc="Matrix third row (4 components)" /> |
| 91 | <Field type="float" name="m3" desc="Matrix fourth row (4 components)" /> |
| 92 | <Field type="float" name="m7" desc="Matrix fourth row (4 components)" /> |
| 93 | <Field type="float" name="m11" desc="Matrix fourth row (4 components)" /> |
| 94 | <Field type="float" name="m15" desc="Matrix fourth row (4 components)" /> |
| 95 | </Struct> |
| 96 | <Struct name="Color" fieldCount="4" desc="Color, 4 components, R8G8B8A8 (32bit)"> |
| 97 | <Field type="unsigned char" name="r" desc="Color red value" /> |
| 98 | <Field type="unsigned char" name="g" desc="Color green value" /> |
| 99 | <Field type="unsigned char" name="b" desc="Color blue value" /> |
| 100 | <Field type="unsigned char" name="a" desc="Color alpha value" /> |
| 101 | </Struct> |
| 102 | <Struct name="Rectangle" fieldCount="4" desc="Rectangle, 4 components"> |
| 103 | <Field type="float" name="x" desc="Rectangle top-left corner position x" /> |
| 104 | <Field type="float" name="y" desc="Rectangle top-left corner position y" /> |
| 105 | <Field type="float" name="width" desc="Rectangle width" /> |
| 106 | <Field type="float" name="height" desc="Rectangle height" /> |
| 107 | </Struct> |
| 108 | <Struct name="Image" fieldCount="5" desc="Image, pixel data stored in CPU memory (RAM)"> |
| 109 | <Field type="void *" name="data" desc="Image raw data" /> |
| 110 | <Field type="int" name="width" desc="Image base width" /> |
| 111 | <Field type="int" name="height" desc="Image base height" /> |
| 112 | <Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" /> |
| 113 | <Field type="int" name="format" desc="Data format (PixelFormat type)" /> |
| 114 | </Struct> |
| 115 | <Struct name="Texture" fieldCount="5" desc="Texture, tex data stored in GPU memory (VRAM)"> |
| 116 | <Field type="unsigned int" name="id" desc="OpenGL texture id" /> |
| 117 | <Field type="int" name="width" desc="Texture base width" /> |
| 118 | <Field type="int" name="height" desc="Texture base height" /> |
| 119 | <Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" /> |
| 120 | <Field type="int" name="format" desc="Data format (PixelFormat type)" /> |
| 121 | </Struct> |
| 122 | <Struct name="RenderTexture" fieldCount="3" desc="RenderTexture, fbo for texture rendering"> |
| 123 | <Field type="unsigned int" name="id" desc="OpenGL framebuffer object id" /> |
| 124 | <Field type="Texture" name="texture" desc="Color buffer attachment texture" /> |
| 125 | <Field type="Texture" name="depth" desc="Depth buffer attachment texture" /> |
| 126 | </Struct> |
| 127 | <Struct name="NPatchInfo" fieldCount="6" desc="NPatchInfo, n-patch layout info"> |
| 128 | <Field type="Rectangle" name="source" desc="Texture source rectangle" /> |
| 129 | <Field type="int" name="left" desc="Left border offset" /> |
| 130 | <Field type="int" name="top" desc="Top border offset" /> |
| 131 | <Field type="int" name="right" desc="Right border offset" /> |
| 132 | <Field type="int" name="bottom" desc="Bottom border offset" /> |
| 133 | <Field type="int" name="layout" desc="Layout of the n-patch: 3x3, 1x3 or 3x1" /> |
| 134 | </Struct> |
| 135 | <Struct name="GlyphInfo" fieldCount="5" desc="GlyphInfo, font characters glyphs info"> |
| 136 | <Field type="int" name="value" desc="Character value (Unicode)" /> |
| 137 | <Field type="int" name="offsetX" desc="Character offset X when drawing" /> |
| 138 | <Field type="int" name="offsetY" desc="Character offset Y when drawing" /> |
| 139 | <Field type="int" name="advanceX" desc="Character advance position X" /> |
| 140 | <Field type="Image" name="image" desc="Character image data" /> |
| 141 | </Struct> |
| 142 | <Struct name="Font" fieldCount="6" desc="Font, font texture and GlyphInfo array data"> |
| 143 | <Field type="int" name="baseSize" desc="Base size (default chars height)" /> |
| 144 | <Field type="int" name="glyphCount" desc="Number of glyph characters" /> |
| 145 | <Field type="int" name="glyphPadding" desc="Padding around the glyph characters" /> |
| 146 | <Field type="Texture2D" name="texture" desc="Texture atlas containing the glyphs" /> |
| 147 | <Field type="Rectangle *" name="recs" desc="Rectangles in texture for the glyphs" /> |
| 148 | <Field type="GlyphInfo *" name="glyphs" desc="Glyphs info data" /> |
| 149 | </Struct> |
| 150 | <Struct name="Camera3D" fieldCount="5" desc="Camera, defines position/orientation in 3d space"> |
| 151 | <Field type="Vector3" name="position" desc="Camera position" /> |
| 152 | <Field type="Vector3" name="target" desc="Camera target it looks-at" /> |
| 153 | <Field type="Vector3" name="up" desc="Camera up vector (rotation over its axis)" /> |
| 154 | <Field type="float" name="fovy" desc="Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic" /> |
| 155 | <Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" /> |
| 156 | </Struct> |
| 157 | <Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space"> |
| 158 | <Field type="Vector2" name="offset" desc="Camera offset (screen space offset from window origin)" /> |
| 159 | <Field type="Vector2" name="target" desc="Camera target (world space target point that is mapped to screen space offset)" /> |
| 160 | <Field type="float" name="rotation" desc="Camera rotation in degrees (pivots around target)" /> |
| 161 | <Field type="float" name="zoom" desc="Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale" /> |
| 162 | </Struct> |
| 163 | <Struct name="Mesh" fieldCount="16" desc="Mesh, vertex data and vao/vbo"> |
| 164 | <Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" /> |
| 165 | <Field type="int" name="triangleCount" desc="Number of triangles stored (indexed or not)" /> |
| 166 | <Field type="float *" name="vertices" desc="Vertex position (XYZ - 3 components per vertex) (shader-location = 0)" /> |
| 167 | <Field type="float *" name="texcoords" desc="Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)" /> |
| 168 | <Field type="float *" name="texcoords2" desc="Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" /> |
| 169 | <Field type="float *" name="normals" desc="Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)" /> |
| 170 | <Field type="float *" name="tangents" desc="Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)" /> |
| 171 | <Field type="unsigned char *" name="colors" desc="Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)" /> |
| 172 | <Field type="unsigned short *" name="indices" desc="Vertex indices (in case vertex data comes indexed)" /> |
| 173 | <Field type="int" name="boneCount" desc="Number of bones (MAX: 256 bones)" /> |
| 174 | <Field type="unsigned char *" name="boneIndices" desc="Vertex bone indices, up to 4 bones influence by vertex (skinning) (shader-location = 6)" /> |
| 175 | <Field type="float *" name="boneWeights" desc="Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)" /> |
| 176 | <Field type="float *" name="animVertices" desc="Animated vertex positions (after bones transformations)" /> |
| 177 | <Field type="float *" name="animNormals" desc="Animated normals (after bones transformations)" /> |
| 178 | <Field type="unsigned int" name="vaoId" desc="OpenGL Vertex Array Object id" /> |
| 179 | <Field type="unsigned int *" name="vboId" desc="OpenGL Vertex Buffer Objects id (default vertex data)" /> |
| 180 | </Struct> |
| 181 | <Struct name="Shader" fieldCount="2" desc="Shader"> |
| 182 | <Field type="unsigned int" name="id" desc="Shader program id" /> |
| 183 | <Field type="int *" name="locs" desc="Shader locations array (RL_MAX_SHADER_LOCATIONS)" /> |
| 184 | </Struct> |
| 185 | <Struct name="MaterialMap" fieldCount="3" desc="MaterialMap"> |
| 186 | <Field type="Texture2D" name="texture" desc="Material map texture" /> |
| 187 | <Field type="Color" name="color" desc="Material map color" /> |
| 188 | <Field type="float" name="value" desc="Material map value" /> |
| 189 | </Struct> |
| 190 | <Struct name="Material" fieldCount="3" desc="Material, includes shader and maps"> |
| 191 | <Field type="Shader" name="shader" desc="Material shader" /> |
| 192 | <Field type="MaterialMap *" name="maps" desc="Material maps array (MAX_MATERIAL_MAPS)" /> |
| 193 | <Field type="float[4]" name="params" desc="Material generic parameters (if required)" /> |
| 194 | </Struct> |
| 195 | <Struct name="Transform" fieldCount="3" desc="Transform, vertex transformation data"> |
| 196 | <Field type="Vector3" name="translation" desc="Translation" /> |
| 197 | <Field type="Quaternion" name="rotation" desc="Rotation" /> |
| 198 | <Field type="Vector3" name="scale" desc="Scale" /> |
| 199 | </Struct> |
| 200 | <Struct name="BoneInfo" fieldCount="2" desc="Bone, skeletal animation bone"> |
| 201 | <Field type="char[32]" name="name" desc="Bone name" /> |
| 202 | <Field type="int" name="parent" desc="Bone parent" /> |
| 203 | </Struct> |
| 204 | <Struct name="ModelSkeleton" fieldCount="3" desc="Skeleton, animation bones hierarchy"> |
| 205 | <Field type="int" name="boneCount" desc="Number of bones" /> |
| 206 | <Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" /> |
| 207 | <Field type="ModelAnimPose" name="bindPose" desc="Bones base transformation (Transform[])" /> |
| 208 | </Struct> |
| 209 | <Struct name="Model" fieldCount="9" desc="Model, meshes, materials and animation data"> |
| 210 | <Field type="Matrix" name="transform" desc="Local transform matrix" /> |
| 211 | <Field type="int" name="meshCount" desc="Number of meshes" /> |
| 212 | <Field type="int" name="materialCount" desc="Number of materials" /> |
| 213 | <Field type="Mesh *" name="meshes" desc="Meshes array" /> |
| 214 | <Field type="Material *" name="materials" desc="Materials array" /> |
| 215 | <Field type="int *" name="meshMaterial" desc="Mesh material number" /> |
| 216 | <Field type="ModelSkeleton" name="skeleton" desc="Skeleton for animation" /> |
| 217 | <Field type="ModelAnimPose" name="currentPose" desc="Current animation pose (Transform[])" /> |
| 218 | <Field type="Matrix *" name="boneMatrices" desc="Bones animated transformation matrices" /> |
| 219 | </Struct> |
| 220 | <Struct name="ModelAnimation" fieldCount="4" desc="ModelAnimation, contains a full animation sequence"> |
| 221 | <Field type="char[32]" name="name" desc="Animation name" /> |
| 222 | <Field type="int" name="boneCount" desc="Number of bones (per pose)" /> |
| 223 | <Field type="int" name="keyframeCount" desc="Number of animation key frames" /> |
| 224 | <Field type="ModelAnimPose *" name="keyframePoses" desc="Animation sequence keyframe poses [keyframe][pose]" /> |
| 225 | </Struct> |
| 226 | <Struct name="Ray" fieldCount="2" desc="Ray, ray for raycasting"> |
| 227 | <Field type="Vector3" name="position" desc="Ray position (origin)" /> |
| 228 | <Field type="Vector3" name="direction" desc="Ray direction (normalized)" /> |
| 229 | </Struct> |
| 230 | <Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information"> |
| 231 | <Field type="bool" name="hit" desc="Did the ray hit something?" /> |
| 232 | <Field type="float" name="distance" desc="Distance to the nearest hit" /> |
| 233 | <Field type="Vector3" name="point" desc="Point of the nearest hit" /> |
| 234 | <Field type="Vector3" name="normal" desc="Surface normal of hit" /> |
| 235 | </Struct> |
| 236 | <Struct name="BoundingBox" fieldCount="2" desc="BoundingBox"> |
| 237 | <Field type="Vector3" name="min" desc="Minimum vertex box-corner" /> |
| 238 | <Field type="Vector3" name="max" desc="Maximum vertex box-corner" /> |
| 239 | </Struct> |
| 240 | <Struct name="Wave" fieldCount="5" desc="Wave, audio wave data"> |
| 241 | <Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" /> |
| 242 | <Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" /> |
| 243 | <Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" /> |
| 244 | <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" /> |
| 245 | <Field type="void *" name="data" desc="Buffer data pointer" /> |
| 246 | </Struct> |
| 247 | <Struct name="AudioStream" fieldCount="5" desc="AudioStream, custom audio stream"> |
| 248 | <Field type="rAudioBuffer *" name="buffer" desc="Pointer to internal data used by the audio system" /> |
| 249 | <Field type="rAudioProcessor *" name="processor" desc="Pointer to internal data processor, useful for audio effects" /> |
| 250 | <Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" /> |
| 251 | <Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" /> |
| 252 | <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" /> |
| 253 | </Struct> |
| 254 | <Struct name="Sound" fieldCount="2" desc="Sound"> |
| 255 | <Field type="AudioStream" name="stream" desc="Audio stream" /> |
| 256 | <Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" /> |
| 257 | </Struct> |
| 258 | <Struct name="Music" fieldCount="5" desc="Music, audio stream, anything longer than ~10 seconds should be streamed"> |
| 259 | <Field type="AudioStream" name="stream" desc="Audio stream" /> |
| 260 | <Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" /> |
| 261 | <Field type="bool" name="looping" desc="Music looping enable" /> |
| 262 | <Field type="int" name="ctxType" desc="Type of music context (audio filetype)" /> |
| 263 | <Field type="void *" name="ctxData" desc="Audio context data, depends on type" /> |
| 264 | </Struct> |
| 265 | <Struct name="VrDeviceInfo" fieldCount="9" desc="VrDeviceInfo, Head-Mounted-Display device parameters"> |
| 266 | <Field type="int" name="hResolution" desc="Horizontal resolution in pixels" /> |
| 267 | <Field type="int" name="vResolution" desc="Vertical resolution in pixels" /> |
| 268 | <Field type="float" name="hScreenSize" desc="Horizontal size in meters" /> |
| 269 | <Field type="float" name="vScreenSize" desc="Vertical size in meters" /> |
| 270 | <Field type="float" name="eyeToScreenDistance" desc="Distance between eye and display in meters" /> |
| 271 | <Field type="float" name="lensSeparationDistance" desc="Lens separation distance in meters" /> |
| 272 | <Field type="float" name="interpupillaryDistance" desc="IPD (distance between pupils) in meters" /> |
| 273 | <Field type="float[4]" name="lensDistortionValues" desc="Lens distortion constant parameters" /> |
| 274 | <Field type="float[4]" name="chromaAbCorrection" desc="Chromatic aberration correction parameters" /> |
| 275 | </Struct> |
| 276 | <Struct name="VrStereoConfig" fieldCount="8" desc="VrStereoConfig, VR stereo rendering configuration for simulator"> |
| 277 | <Field type="Matrix[2]" name="projection" desc="VR projection matrices (per eye)" /> |
| 278 | <Field type="Matrix[2]" name="viewOffset" desc="VR view offset matrices (per eye)" /> |
| 279 | <Field type="float[2]" name="leftLensCenter" desc="VR left lens center" /> |
| 280 | <Field type="float[2]" name="rightLensCenter" desc="VR right lens center" /> |
| 281 | <Field type="float[2]" name="leftScreenCenter" desc="VR left screen center" /> |
| 282 | <Field type="float[2]" name="rightScreenCenter" desc="VR right screen center" /> |
| 283 | <Field type="float[2]" name="scale" desc="VR distortion scale" /> |
| 284 | <Field type="float[2]" name="scaleIn" desc="VR distortion scale in" /> |
| 285 | </Struct> |
| 286 | <Struct name="FilePathList" fieldCount="2" desc="File path list"> |
| 287 | <Field type="unsigned int" name="count" desc="Filepaths entries count" /> |
| 288 | <Field type="char **" name="paths" desc="Filepaths entries" /> |
| 289 | </Struct> |
| 290 | <Struct name="AutomationEvent" fieldCount="3" desc="Automation event"> |
| 291 | <Field type="unsigned int" name="frame" desc="Event frame" /> |
| 292 | <Field type="unsigned int" name="type" desc="Event type (AutomationEventType)" /> |
| 293 | <Field type="int[4]" name="params" desc="Event parameters (if required)" /> |
| 294 | </Struct> |
| 295 | <Struct name="AutomationEventList" fieldCount="3" desc="Automation event list"> |
| 296 | <Field type="unsigned int" name="capacity" desc="Events max entries (MAX_AUTOMATION_EVENTS)" /> |
| 297 | <Field type="unsigned int" name="count" desc="Events entries count" /> |
| 298 | <Field type="AutomationEvent *" name="events" desc="Events entries" /> |
| 299 | </Struct> |
| 300 | </Structs> |
| 301 | <Aliases count="6"> |
| 302 | <Alias type="Quaternion" name="Vector4" desc="Quaternion, 4 components (Vector4 alias)" /> |
| 303 | <Alias type="Texture2D" name="Texture" desc="Texture2D, same as Texture" /> |
| 304 | <Alias type="TextureCubemap" name="Texture" desc="TextureCubemap, same as Texture" /> |
| 305 | <Alias type="RenderTexture2D" name="RenderTexture" desc="RenderTexture2D, same as RenderTexture" /> |
| 306 | <Alias type="Camera" name="Camera3D" desc="Camera type fallback, defaults to Camera3D" /> |
| 307 | <Alias type="*ModelAnimPose" name="Transform" desc="Anim pose, an array of Transform[]" /> |
| 308 | </Aliases> |
| 309 | <Enums count="21"> |
| 310 | <Enum name="ConfigFlags" valueCount="16" desc="System/Window config flags"> |
| 311 | <Value name="FLAG_VSYNC_HINT" integer="64" desc="Set to try enabling V-Sync on GPU" /> |
| 312 | <Value name="FLAG_FULLSCREEN_MODE" integer="2" desc="Set to run program in fullscreen" /> |
| 313 | <Value name="FLAG_WINDOW_RESIZABLE" integer="4" desc="Set to allow resizable window" /> |
| 314 | <Value name="FLAG_WINDOW_UNDECORATED" integer="8" desc="Set to disable window decoration (frame and buttons)" /> |
| 315 | <Value name="FLAG_WINDOW_HIDDEN" integer="128" desc="Set to hide window" /> |
| 316 | <Value name="FLAG_WINDOW_MINIMIZED" integer="512" desc="Set to minimize window (iconify)" /> |
| 317 | <Value name="FLAG_WINDOW_MAXIMIZED" integer="1024" desc="Set to maximize window (expanded to monitor)" /> |
| 318 | <Value name="FLAG_WINDOW_UNFOCUSED" integer="2048" desc="Set to window non focused" /> |
| 319 | <Value name="FLAG_WINDOW_TOPMOST" integer="4096" desc="Set to window always on top" /> |
| 320 | <Value name="FLAG_WINDOW_ALWAYS_RUN" integer="256" desc="Set to allow windows running while minimized" /> |
| 321 | <Value name="FLAG_WINDOW_TRANSPARENT" integer="16" desc="Set to allow transparent framebuffer" /> |
| 322 | <Value name="FLAG_WINDOW_HIGHDPI" integer="8192" desc="Set to support HighDPI" /> |
| 323 | <Value name="FLAG_WINDOW_MOUSE_PASSTHROUGH" integer="16384" desc="Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED" /> |
| 324 | <Value name="FLAG_BORDERLESS_WINDOWED_MODE" integer="32768" desc="Set to run program in borderless windowed mode" /> |
| 325 | <Value name="FLAG_MSAA_4X_HINT" integer="32" desc="Set to try enabling MSAA 4X" /> |
| 326 | <Value name="FLAG_INTERLACED_HINT" integer="65536" desc="Set to try enabling interlaced video format (for V3D)" /> |
| 327 | </Enum> |
| 328 | <Enum name="TraceLogLevel" valueCount="8" desc="Trace log level"> |
| 329 | <Value name="LOG_ALL" integer="0" desc="Display all logs" /> |
| 330 | <Value name="LOG_TRACE" integer="1" desc="Trace logging, intended for internal use only" /> |
| 331 | <Value name="LOG_DEBUG" integer="2" desc="Debug logging, used for internal debugging, it should be disabled on release builds" /> |
| 332 | <Value name="LOG_INFO" integer="3" desc="Info logging, used for program execution info" /> |
| 333 | <Value name="LOG_WARNING" integer="4" desc="Warning logging, used on recoverable failures" /> |
| 334 | <Value name="LOG_ERROR" integer="5" desc="Error logging, used on unrecoverable failures" /> |
| 335 | <Value name="LOG_FATAL" integer="6" desc="Fatal logging, used to abort program: exit(EXIT_FAILURE)" /> |
| 336 | <Value name="LOG_NONE" integer="7" desc="Disable logging" /> |
| 337 | </Enum> |
| 338 | <Enum name="KeyboardKey" valueCount="110" desc="Keyboard keys (US keyboard layout)"> |
| 339 | <Value name="KEY_NULL" integer="0" desc="Key: NULL, used for no key pressed" /> |
| 340 | <Value name="KEY_APOSTROPHE" integer="39" desc="Key: '" /> |
| 341 | <Value name="KEY_COMMA" integer="44" desc="Key: ," /> |
| 342 | <Value name="KEY_MINUS" integer="45" desc="Key: -" /> |
| 343 | <Value name="KEY_PERIOD" integer="46" desc="Key: ." /> |
| 344 | <Value name="KEY_SLASH" integer="47" desc="Key: /" /> |
| 345 | <Value name="KEY_ZERO" integer="48" desc="Key: 0" /> |
| 346 | <Value name="KEY_ONE" integer="49" desc="Key: 1" /> |
| 347 | <Value name="KEY_TWO" integer="50" desc="Key: 2" /> |
| 348 | <Value name="KEY_THREE" integer="51" desc="Key: 3" /> |
| 349 | <Value name="KEY_FOUR" integer="52" desc="Key: 4" /> |
| 350 | <Value name="KEY_FIVE" integer="53" desc="Key: 5" /> |
| 351 | <Value name="KEY_SIX" integer="54" desc="Key: 6" /> |
| 352 | <Value name="KEY_SEVEN" integer="55" desc="Key: 7" /> |
| 353 | <Value name="KEY_EIGHT" integer="56" desc="Key: 8" /> |
| 354 | <Value name="KEY_NINE" integer="57" desc="Key: 9" /> |
| 355 | <Value name="KEY_SEMICOLON" integer="59" desc="Key: ;" /> |
| 356 | <Value name="KEY_EQUAL" integer="61" desc="Key: =" /> |
| 357 | <Value name="KEY_A" integer="65" desc="Key: A | a" /> |
| 358 | <Value name="KEY_B" integer="66" desc="Key: B | b" /> |
| 359 | <Value name="KEY_C" integer="67" desc="Key: C | c" /> |
| 360 | <Value name="KEY_D" integer="68" desc="Key: D | d" /> |
| 361 | <Value name="KEY_E" integer="69" desc="Key: E | e" /> |
| 362 | <Value name="KEY_F" integer="70" desc="Key: F | f" /> |
| 363 | <Value name="KEY_G" integer="71" desc="Key: G | g" /> |
| 364 | <Value name="KEY_H" integer="72" desc="Key: H | h" /> |
| 365 | <Value name="KEY_I" integer="73" desc="Key: I | i" /> |
| 366 | <Value name="KEY_J" integer="74" desc="Key: J | j" /> |
| 367 | <Value name="KEY_K" integer="75" desc="Key: K | k" /> |
| 368 | <Value name="KEY_L" integer="76" desc="Key: L | l" /> |
| 369 | <Value name="KEY_M" integer="77" desc="Key: M | m" /> |
| 370 | <Value name="KEY_N" integer="78" desc="Key: N | n" /> |
| 371 | <Value name="KEY_O" integer="79" desc="Key: O | o" /> |
| 372 | <Value name="KEY_P" integer="80" desc="Key: P | p" /> |
| 373 | <Value name="KEY_Q" integer="81" desc="Key: Q | q" /> |
| 374 | <Value name="KEY_R" integer="82" desc="Key: R | r" /> |
| 375 | <Value name="KEY_S" integer="83" desc="Key: S | s" /> |
| 376 | <Value name="KEY_T" integer="84" desc="Key: T | t" /> |
| 377 | <Value name="KEY_U" integer="85" desc="Key: U | u" /> |
| 378 | <Value name="KEY_V" integer="86" desc="Key: V | v" /> |
| 379 | <Value name="KEY_W" integer="87" desc="Key: W | w" /> |
| 380 | <Value name="KEY_X" integer="88" desc="Key: X | x" /> |
| 381 | <Value name="KEY_Y" integer="89" desc="Key: Y | y" /> |
| 382 | <Value name="KEY_Z" integer="90" desc="Key: Z | z" /> |
| 383 | <Value name="KEY_LEFT_BRACKET" integer="91" desc="Key: [" /> |
| 384 | <Value name="KEY_BACKSLASH" integer="92" desc="Key: '\'" /> |
| 385 | <Value name="KEY_RIGHT_BRACKET" integer="93" desc="Key: ]" /> |
| 386 | <Value name="KEY_GRAVE" integer="96" desc="Key: `" /> |
| 387 | <Value name="KEY_SPACE" integer="32" desc="Key: Space" /> |
| 388 | <Value name="KEY_ESCAPE" integer="256" desc="Key: Esc" /> |
| 389 | <Value name="KEY_ENTER" integer="257" desc="Key: Enter" /> |
| 390 | <Value name="KEY_TAB" integer="258" desc="Key: Tab" /> |
| 391 | <Value name="KEY_BACKSPACE" integer="259" desc="Key: Backspace" /> |
| 392 | <Value name="KEY_INSERT" integer="260" desc="Key: Ins" /> |
| 393 | <Value name="KEY_DELETE" integer="261" desc="Key: Del" /> |
| 394 | <Value name="KEY_RIGHT" integer="262" desc="Key: Cursor right" /> |
| 395 | <Value name="KEY_LEFT" integer="263" desc="Key: Cursor left" /> |
| 396 | <Value name="KEY_DOWN" integer="264" desc="Key: Cursor down" /> |
| 397 | <Value name="KEY_UP" integer="265" desc="Key: Cursor up" /> |
| 398 | <Value name="KEY_PAGE_UP" integer="266" desc="Key: Page up" /> |
| 399 | <Value name="KEY_PAGE_DOWN" integer="267" desc="Key: Page down" /> |
| 400 | <Value name="KEY_HOME" integer="268" desc="Key: Home" /> |
| 401 | <Value name="KEY_END" integer="269" desc="Key: End" /> |
| 402 | <Value name="KEY_CAPS_LOCK" integer="280" desc="Key: Caps lock" /> |
| 403 | <Value name="KEY_SCROLL_LOCK" integer="281" desc="Key: Scroll down" /> |
| 404 | <Value name="KEY_NUM_LOCK" integer="282" desc="Key: Num lock" /> |
| 405 | <Value name="KEY_PRINT_SCREEN" integer="283" desc="Key: Print screen" /> |
| 406 | <Value name="KEY_PAUSE" integer="284" desc="Key: Pause" /> |
| 407 | <Value name="KEY_F1" integer="290" desc="Key: F1" /> |
| 408 | <Value name="KEY_F2" integer="291" desc="Key: F2" /> |
| 409 | <Value name="KEY_F3" integer="292" desc="Key: F3" /> |
| 410 | <Value name="KEY_F4" integer="293" desc="Key: F4" /> |
| 411 | <Value name="KEY_F5" integer="294" desc="Key: F5" /> |
| 412 | <Value name="KEY_F6" integer="295" desc="Key: F6" /> |
| 413 | <Value name="KEY_F7" integer="296" desc="Key: F7" /> |
| 414 | <Value name="KEY_F8" integer="297" desc="Key: F8" /> |
| 415 | <Value name="KEY_F9" integer="298" desc="Key: F9" /> |
| 416 | <Value name="KEY_F10" integer="299" desc="Key: F10" /> |
| 417 | <Value name="KEY_F11" integer="300" desc="Key: F11" /> |
| 418 | <Value name="KEY_F12" integer="301" desc="Key: F12" /> |
| 419 | <Value name="KEY_LEFT_SHIFT" integer="340" desc="Key: Shift left" /> |
| 420 | <Value name="KEY_LEFT_CONTROL" integer="341" desc="Key: Control left" /> |
| 421 | <Value name="KEY_LEFT_ALT" integer="342" desc="Key: Alt left" /> |
| 422 | <Value name="KEY_LEFT_SUPER" integer="343" desc="Key: Super left" /> |
| 423 | <Value name="KEY_RIGHT_SHIFT" integer="344" desc="Key: Shift right" /> |
| 424 | <Value name="KEY_RIGHT_CONTROL" integer="345" desc="Key: Control right" /> |
| 425 | <Value name="KEY_RIGHT_ALT" integer="346" desc="Key: Alt right" /> |
| 426 | <Value name="KEY_RIGHT_SUPER" integer="347" desc="Key: Super right" /> |
| 427 | <Value name="KEY_KB_MENU" integer="348" desc="Key: KB menu" /> |
| 428 | <Value name="KEY_KP_0" integer="320" desc="Key: Keypad 0" /> |
| 429 | <Value name="KEY_KP_1" integer="321" desc="Key: Keypad 1" /> |
| 430 | <Value name="KEY_KP_2" integer="322" desc="Key: Keypad 2" /> |
| 431 | <Value name="KEY_KP_3" integer="323" desc="Key: Keypad 3" /> |
| 432 | <Value name="KEY_KP_4" integer="324" desc="Key: Keypad 4" /> |
| 433 | <Value name="KEY_KP_5" integer="325" desc="Key: Keypad 5" /> |
| 434 | <Value name="KEY_KP_6" integer="326" desc="Key: Keypad 6" /> |
| 435 | <Value name="KEY_KP_7" integer="327" desc="Key: Keypad 7" /> |
| 436 | <Value name="KEY_KP_8" integer="328" desc="Key: Keypad 8" /> |
| 437 | <Value name="KEY_KP_9" integer="329" desc="Key: Keypad 9" /> |
| 438 | <Value name="KEY_KP_DECIMAL" integer="330" desc="Key: Keypad ." /> |
| 439 | <Value name="KEY_KP_DIVIDE" integer="331" desc="Key: Keypad /" /> |
| 440 | <Value name="KEY_KP_MULTIPLY" integer="332" desc="Key: Keypad *" /> |
| 441 | <Value name="KEY_KP_SUBTRACT" integer="333" desc="Key: Keypad -" /> |
| 442 | <Value name="KEY_KP_ADD" integer="334" desc="Key: Keypad +" /> |
| 443 | <Value name="KEY_KP_ENTER" integer="335" desc="Key: Keypad Enter" /> |
| 444 | <Value name="KEY_KP_EQUAL" integer="336" desc="Key: Keypad =" /> |
| 445 | <Value name="KEY_BACK" integer="4" desc="Key: Android back button" /> |
| 446 | <Value name="KEY_MENU" integer="5" desc="Key: Android menu button" /> |
| 447 | <Value name="KEY_VOLUME_UP" integer="24" desc="Key: Android volume up button" /> |
| 448 | <Value name="KEY_VOLUME_DOWN" integer="25" desc="Key: Android volume down button" /> |
| 449 | </Enum> |
| 450 | <Enum name="MouseButton" valueCount="7" desc="Mouse buttons"> |
| 451 | <Value name="MOUSE_BUTTON_LEFT" integer="0" desc="Mouse button left" /> |
| 452 | <Value name="MOUSE_BUTTON_RIGHT" integer="1" desc="Mouse button right" /> |
| 453 | <Value name="MOUSE_BUTTON_MIDDLE" integer="2" desc="Mouse button middle (pressed wheel)" /> |
| 454 | <Value name="MOUSE_BUTTON_SIDE" integer="3" desc="Mouse button side (advanced mouse device)" /> |
| 455 | <Value name="MOUSE_BUTTON_EXTRA" integer="4" desc="Mouse button extra (advanced mouse device)" /> |
| 456 | <Value name="MOUSE_BUTTON_FORWARD" integer="5" desc="Mouse button forward (advanced mouse device)" /> |
| 457 | <Value name="MOUSE_BUTTON_BACK" integer="6" desc="Mouse button back (advanced mouse device)" /> |
| 458 | </Enum> |
| 459 | <Enum name="MouseCursor" valueCount="11" desc="Mouse cursor"> |
| 460 | <Value name="MOUSE_CURSOR_DEFAULT" integer="0" desc="Default pointer shape" /> |
| 461 | <Value name="MOUSE_CURSOR_ARROW" integer="1" desc="Arrow shape" /> |
| 462 | <Value name="MOUSE_CURSOR_IBEAM" integer="2" desc="Text writing cursor shape" /> |
| 463 | <Value name="MOUSE_CURSOR_CROSSHAIR" integer="3" desc="Cross shape" /> |
| 464 | <Value name="MOUSE_CURSOR_POINTING_HAND" integer="4" desc="Pointing hand cursor" /> |
| 465 | <Value name="MOUSE_CURSOR_RESIZE_EW" integer="5" desc="Horizontal resize/move arrow shape" /> |
| 466 | <Value name="MOUSE_CURSOR_RESIZE_NS" integer="6" desc="Vertical resize/move arrow shape" /> |
| 467 | <Value name="MOUSE_CURSOR_RESIZE_NWSE" integer="7" desc="Top-left to bottom-right diagonal resize/move arrow shape" /> |
| 468 | <Value name="MOUSE_CURSOR_RESIZE_NESW" integer="8" desc="The top-right to bottom-left diagonal resize/move arrow shape" /> |
| 469 | <Value name="MOUSE_CURSOR_RESIZE_ALL" integer="9" desc="The omnidirectional resize/move cursor shape" /> |
| 470 | <Value name="MOUSE_CURSOR_NOT_ALLOWED" integer="10" desc="The operation-not-allowed shape" /> |
| 471 | </Enum> |
| 472 | <Enum name="GamepadButton" valueCount="18" desc="Gamepad buttons"> |
| 473 | <Value name="GAMEPAD_BUTTON_UNKNOWN" integer="0" desc="Unknown button, for error checking" /> |
| 474 | <Value name="GAMEPAD_BUTTON_LEFT_FACE_UP" integer="1" desc="Gamepad left DPAD up button" /> |
| 475 | <Value name="GAMEPAD_BUTTON_LEFT_FACE_RIGHT" integer="2" desc="Gamepad left DPAD right button" /> |
| 476 | <Value name="GAMEPAD_BUTTON_LEFT_FACE_DOWN" integer="3" desc="Gamepad left DPAD down button" /> |
| 477 | <Value name="GAMEPAD_BUTTON_LEFT_FACE_LEFT" integer="4" desc="Gamepad left DPAD left button" /> |
| 478 | <Value name="GAMEPAD_BUTTON_RIGHT_FACE_UP" integer="5" desc="Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" /> |
| 479 | <Value name="GAMEPAD_BUTTON_RIGHT_FACE_RIGHT" integer="6" desc="Gamepad right button right (i.e. PS3: Circle, Xbox: B)" /> |
| 480 | <Value name="GAMEPAD_BUTTON_RIGHT_FACE_DOWN" integer="7" desc="Gamepad right button down (i.e. PS3: Cross, Xbox: A)" /> |
| 481 | <Value name="GAMEPAD_BUTTON_RIGHT_FACE_LEFT" integer="8" desc="Gamepad right button left (i.e. PS3: Square, Xbox: X)" /> |
| 482 | <Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_1" integer="9" desc="Gamepad top/back trigger left (first), it could be a trailing button" /> |
| 483 | <Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_2" integer="10" desc="Gamepad top/back trigger left (second), it could be a trailing button" /> |
| 484 | <Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_1" integer="11" desc="Gamepad top/back trigger right (first), it could be a trailing button" /> |
| 485 | <Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_2" integer="12" desc="Gamepad top/back trigger right (second), it could be a trailing button" /> |
| 486 | <Value name="GAMEPAD_BUTTON_MIDDLE_LEFT" integer="13" desc="Gamepad center buttons, left one (i.e. PS3: Select)" /> |
| 487 | <Value name="GAMEPAD_BUTTON_MIDDLE" integer="14" desc="Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)" /> |
| 488 | <Value name="GAMEPAD_BUTTON_MIDDLE_RIGHT" integer="15" desc="Gamepad center buttons, right one (i.e. PS3: Start)" /> |
| 489 | <Value name="GAMEPAD_BUTTON_LEFT_THUMB" integer="16" desc="Gamepad joystick pressed button left" /> |
| 490 | <Value name="GAMEPAD_BUTTON_RIGHT_THUMB" integer="17" desc="Gamepad joystick pressed button right" /> |
| 491 | </Enum> |
| 492 | <Enum name="GamepadAxis" valueCount="6" desc="Gamepad axes"> |
| 493 | <Value name="GAMEPAD_AXIS_LEFT_X" integer="0" desc="Gamepad left stick X axis" /> |
| 494 | <Value name="GAMEPAD_AXIS_LEFT_Y" integer="1" desc="Gamepad left stick Y axis" /> |
| 495 | <Value name="GAMEPAD_AXIS_RIGHT_X" integer="2" desc="Gamepad right stick X axis" /> |
| 496 | <Value name="GAMEPAD_AXIS_RIGHT_Y" integer="3" desc="Gamepad right stick Y axis" /> |
| 497 | <Value name="GAMEPAD_AXIS_LEFT_TRIGGER" integer="4" desc="Gamepad back trigger left, pressure level: [1..-1]" /> |
| 498 | <Value name="GAMEPAD_AXIS_RIGHT_TRIGGER" integer="5" desc="Gamepad back trigger right, pressure level: [1..-1]" /> |
| 499 | </Enum> |
| 500 | <Enum name="MaterialMapIndex" valueCount="11" desc="Material map index"> |
| 501 | <Value name="MATERIAL_MAP_ALBEDO" integer="0" desc="Albedo material (same as: MATERIAL_MAP_DIFFUSE)" /> |
| 502 | <Value name="MATERIAL_MAP_METALNESS" integer="1" desc="Metalness material (same as: MATERIAL_MAP_SPECULAR)" /> |
| 503 | <Value name="MATERIAL_MAP_NORMAL" integer="2" desc="Normal material" /> |
| 504 | <Value name="MATERIAL_MAP_ROUGHNESS" integer="3" desc="Roughness material" /> |
| 505 | <Value name="MATERIAL_MAP_OCCLUSION" integer="4" desc="Ambient occlusion material" /> |
| 506 | <Value name="MATERIAL_MAP_EMISSION" integer="5" desc="Emission material" /> |
| 507 | <Value name="MATERIAL_MAP_HEIGHT" integer="6" desc="Heightmap material" /> |
| 508 | <Value name="MATERIAL_MAP_CUBEMAP" integer="7" desc="Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" /> |
| 509 | <Value name="MATERIAL_MAP_IRRADIANCE" integer="8" desc="Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" /> |
| 510 | <Value name="MATERIAL_MAP_PREFILTER" integer="9" desc="Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" /> |
| 511 | <Value name="MATERIAL_MAP_BRDF" integer="10" desc="Brdf material" /> |
| 512 | </Enum> |
| 513 | <Enum name="ShaderLocationIndex" valueCount="30" desc="Shader location index"> |
| 514 | <Value name="SHADER_LOC_VERTEX_POSITION" integer="0" desc="Shader location: vertex attribute: position" /> |
| 515 | <Value name="SHADER_LOC_VERTEX_TEXCOORD01" integer="1" desc="Shader location: vertex attribute: texcoord01" /> |
| 516 | <Value name="SHADER_LOC_VERTEX_TEXCOORD02" integer="2" desc="Shader location: vertex attribute: texcoord02" /> |
| 517 | <Value name="SHADER_LOC_VERTEX_NORMAL" integer="3" desc="Shader location: vertex attribute: normal" /> |
| 518 | <Value name="SHADER_LOC_VERTEX_TANGENT" integer="4" desc="Shader location: vertex attribute: tangent" /> |
| 519 | <Value name="SHADER_LOC_VERTEX_COLOR" integer="5" desc="Shader location: vertex attribute: color" /> |
| 520 | <Value name="SHADER_LOC_MATRIX_MVP" integer="6" desc="Shader location: matrix uniform: model-view-projection" /> |
| 521 | <Value name="SHADER_LOC_MATRIX_VIEW" integer="7" desc="Shader location: matrix uniform: view (camera transform)" /> |
| 522 | <Value name="SHADER_LOC_MATRIX_PROJECTION" integer="8" desc="Shader location: matrix uniform: projection" /> |
| 523 | <Value name="SHADER_LOC_MATRIX_MODEL" integer="9" desc="Shader location: matrix uniform: model (transform)" /> |
| 524 | <Value name="SHADER_LOC_MATRIX_NORMAL" integer="10" desc="Shader location: matrix uniform: normal" /> |
| 525 | <Value name="SHADER_LOC_VECTOR_VIEW" integer="11" desc="Shader location: vector uniform: view" /> |
| 526 | <Value name="SHADER_LOC_COLOR_DIFFUSE" integer="12" desc="Shader location: vector uniform: diffuse color" /> |
| 527 | <Value name="SHADER_LOC_COLOR_SPECULAR" integer="13" desc="Shader location: vector uniform: specular color" /> |
| 528 | <Value name="SHADER_LOC_COLOR_AMBIENT" integer="14" desc="Shader location: vector uniform: ambient color" /> |
| 529 | <Value name="SHADER_LOC_MAP_ALBEDO" integer="15" desc="Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)" /> |
| 530 | <Value name="SHADER_LOC_MAP_METALNESS" integer="16" desc="Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)" /> |
| 531 | <Value name="SHADER_LOC_MAP_NORMAL" integer="17" desc="Shader location: sampler2d texture: normal" /> |
| 532 | <Value name="SHADER_LOC_MAP_ROUGHNESS" integer="18" desc="Shader location: sampler2d texture: roughness" /> |
| 533 | <Value name="SHADER_LOC_MAP_OCCLUSION" integer="19" desc="Shader location: sampler2d texture: occlusion" /> |
| 534 | <Value name="SHADER_LOC_MAP_EMISSION" integer="20" desc="Shader location: sampler2d texture: emission" /> |
| 535 | <Value name="SHADER_LOC_MAP_HEIGHT" integer="21" desc="Shader location: sampler2d texture: heightmap" /> |
| 536 | <Value name="SHADER_LOC_MAP_CUBEMAP" integer="22" desc="Shader location: samplerCube texture: cubemap" /> |
| 537 | <Value name="SHADER_LOC_MAP_IRRADIANCE" integer="23" desc="Shader location: samplerCube texture: irradiance" /> |
| 538 | <Value name="SHADER_LOC_MAP_PREFILTER" integer="24" desc="Shader location: samplerCube texture: prefilter" /> |
| 539 | <Value name="SHADER_LOC_MAP_BRDF" integer="25" desc="Shader location: sampler2d texture: brdf" /> |
| 540 | <Value name="SHADER_LOC_VERTEX_BONEIDS" integer="26" desc="Shader location: vertex attribute: bone indices" /> |
| 541 | <Value name="SHADER_LOC_VERTEX_BONEWEIGHTS" integer="27" desc="Shader location: vertex attribute: bone weights" /> |
| 542 | <Value name="SHADER_LOC_MATRIX_BONETRANSFORMS" integer="28" desc="Shader location: matrix attribute: bone transforms (animation)" /> |
| 543 | <Value name="SHADER_LOC_VERTEX_INSTANCETRANSFORM" integer="29" desc="Shader location: vertex attribute: instance transforms" /> |
| 544 | </Enum> |
| 545 | <Enum name="ShaderUniformDataType" valueCount="13" desc="Shader uniform data type"> |
| 546 | <Value name="SHADER_UNIFORM_FLOAT" integer="0" desc="Shader uniform type: float" /> |
| 547 | <Value name="SHADER_UNIFORM_VEC2" integer="1" desc="Shader uniform type: vec2 (2 float)" /> |
| 548 | <Value name="SHADER_UNIFORM_VEC3" integer="2" desc="Shader uniform type: vec3 (3 float)" /> |
| 549 | <Value name="SHADER_UNIFORM_VEC4" integer="3" desc="Shader uniform type: vec4 (4 float)" /> |
| 550 | <Value name="SHADER_UNIFORM_INT" integer="4" desc="Shader uniform type: int" /> |
| 551 | <Value name="SHADER_UNIFORM_IVEC2" integer="5" desc="Shader uniform type: ivec2 (2 int)" /> |
| 552 | <Value name="SHADER_UNIFORM_IVEC3" integer="6" desc="Shader uniform type: ivec3 (3 int)" /> |
| 553 | <Value name="SHADER_UNIFORM_IVEC4" integer="7" desc="Shader uniform type: ivec4 (4 int)" /> |
| 554 | <Value name="SHADER_UNIFORM_UINT" integer="8" desc="Shader uniform type: unsigned int" /> |
| 555 | <Value name="SHADER_UNIFORM_UIVEC2" integer="9" desc="Shader uniform type: uivec2 (2 unsigned int)" /> |
| 556 | <Value name="SHADER_UNIFORM_UIVEC3" integer="10" desc="Shader uniform type: uivec3 (3 unsigned int)" /> |
| 557 | <Value name="SHADER_UNIFORM_UIVEC4" integer="11" desc="Shader uniform type: uivec4 (4 unsigned int)" /> |
| 558 | <Value name="SHADER_UNIFORM_SAMPLER2D" integer="12" desc="Shader uniform type: sampler2d" /> |
| 559 | </Enum> |
| 560 | <Enum name="ShaderAttributeDataType" valueCount="4" desc="Shader attribute data types"> |
| 561 | <Value name="SHADER_ATTRIB_FLOAT" integer="0" desc="Shader attribute type: float" /> |
| 562 | <Value name="SHADER_ATTRIB_VEC2" integer="1" desc="Shader attribute type: vec2 (2 float)" /> |
| 563 | <Value name="SHADER_ATTRIB_VEC3" integer="2" desc="Shader attribute type: vec3 (3 float)" /> |
| 564 | <Value name="SHADER_ATTRIB_VEC4" integer="3" desc="Shader attribute type: vec4 (4 float)" /> |
| 565 | </Enum> |
| 566 | <Enum name="PixelFormat" valueCount="24" desc="Pixel formats"> |
| 567 | <Value name="PIXELFORMAT_UNCOMPRESSED_GRAYSCALE" integer="1" desc="8 bit per pixel (no alpha)" /> |
| 568 | <Value name="PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA" integer="2" desc="8*2 bpp (2 channels)" /> |
| 569 | <Value name="PIXELFORMAT_UNCOMPRESSED_R5G6B5" integer="3" desc="16 bpp" /> |
| 570 | <Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8" integer="4" desc="24 bpp" /> |
| 571 | <Value name="PIXELFORMAT_UNCOMPRESSED_R5G5B5A1" integer="5" desc="16 bpp (1 bit alpha)" /> |
| 572 | <Value name="PIXELFORMAT_UNCOMPRESSED_R4G4B4A4" integer="6" desc="16 bpp (4 bit alpha)" /> |
| 573 | <Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8A8" integer="7" desc="32 bpp" /> |
| 574 | <Value name="PIXELFORMAT_UNCOMPRESSED_R32" integer="8" desc="32 bpp (1 channel - float)" /> |
| 575 | <Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32" integer="9" desc="32*3 bpp (3 channels - float)" /> |
| 576 | <Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32A32" integer="10" desc="32*4 bpp (4 channels - float)" /> |
| 577 | <Value name="PIXELFORMAT_UNCOMPRESSED_R16" integer="11" desc="16 bpp (1 channel - half float)" /> |
| 578 | <Value name="PIXELFORMAT_UNCOMPRESSED_R16G16B16" integer="12" desc="16*3 bpp (3 channels - half float)" /> |
| 579 | <Value name="PIXELFORMAT_UNCOMPRESSED_R16G16B16A16" integer="13" desc="16*4 bpp (4 channels - half float)" /> |
| 580 | <Value name="PIXELFORMAT_COMPRESSED_DXT1_RGB" integer="14" desc="4 bpp (no alpha)" /> |
| 581 | <Value name="PIXELFORMAT_COMPRESSED_DXT1_RGBA" integer="15" desc="4 bpp (1 bit alpha)" /> |
| 582 | <Value name="PIXELFORMAT_COMPRESSED_DXT3_RGBA" integer="16" desc="8 bpp" /> |
| 583 | <Value name="PIXELFORMAT_COMPRESSED_DXT5_RGBA" integer="17" desc="8 bpp" /> |
| 584 | <Value name="PIXELFORMAT_COMPRESSED_ETC1_RGB" integer="18" desc="4 bpp" /> |
| 585 | <Value name="PIXELFORMAT_COMPRESSED_ETC2_RGB" integer="19" desc="4 bpp" /> |
| 586 | <Value name="PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA" integer="20" desc="8 bpp" /> |
| 587 | <Value name="PIXELFORMAT_COMPRESSED_PVRT_RGB" integer="21" desc="4 bpp" /> |
| 588 | <Value name="PIXELFORMAT_COMPRESSED_PVRT_RGBA" integer="22" desc="4 bpp" /> |
| 589 | <Value name="PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA" integer="23" desc="8 bpp" /> |
| 590 | <Value name="PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA" integer="24" desc="2 bpp" /> |
| 591 | </Enum> |
| 592 | <Enum name="TextureFilter" valueCount="6" desc="Texture parameters: filter mode"> |
| 593 | <Value name="TEXTURE_FILTER_POINT" integer="0" desc="No filter, pixel approximation" /> |
| 594 | <Value name="TEXTURE_FILTER_BILINEAR" integer="1" desc="Linear filtering" /> |
| 595 | <Value name="TEXTURE_FILTER_TRILINEAR" integer="2" desc="Trilinear filtering (linear with mipmaps)" /> |
| 596 | <Value name="TEXTURE_FILTER_ANISOTROPIC_4X" integer="3" desc="Anisotropic filtering 4x" /> |
| 597 | <Value name="TEXTURE_FILTER_ANISOTROPIC_8X" integer="4" desc="Anisotropic filtering 8x" /> |
| 598 | <Value name="TEXTURE_FILTER_ANISOTROPIC_16X" integer="5" desc="Anisotropic filtering 16x" /> |
| 599 | </Enum> |
| 600 | <Enum name="TextureWrap" valueCount="4" desc="Texture parameters: wrap mode"> |
| 601 | <Value name="TEXTURE_WRAP_REPEAT" integer="0" desc="Repeats texture in tiled mode" /> |
| 602 | <Value name="TEXTURE_WRAP_CLAMP" integer="1" desc="Clamps texture to edge pixel in tiled mode" /> |
| 603 | <Value name="TEXTURE_WRAP_MIRROR_REPEAT" integer="2" desc="Mirrors and repeats the texture in tiled mode" /> |
| 604 | <Value name="TEXTURE_WRAP_MIRROR_CLAMP" integer="3" desc="Mirrors and clamps to border the texture in tiled mode" /> |
| 605 | </Enum> |
| 606 | <Enum name="CubemapLayout" valueCount="5" desc="Cubemap layouts"> |
| 607 | <Value name="CUBEMAP_LAYOUT_AUTO_DETECT" integer="0" desc="Automatically detect layout type" /> |
| 608 | <Value name="CUBEMAP_LAYOUT_LINE_VERTICAL" integer="1" desc="Layout is defined by a vertical line with faces" /> |
| 609 | <Value name="CUBEMAP_LAYOUT_LINE_HORIZONTAL" integer="2" desc="Layout is defined by a horizontal line with faces" /> |
| 610 | <Value name="CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR" integer="3" desc="Layout is defined by a 3x4 cross with cubemap faces" /> |
| 611 | <Value name="CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE" integer="4" desc="Layout is defined by a 4x3 cross with cubemap faces" /> |
| 612 | </Enum> |
| 613 | <Enum name="FontType" valueCount="3" desc="Font type, defines generation method"> |
| 614 | <Value name="FONT_DEFAULT" integer="0" desc="Default font generation, anti-aliased" /> |
| 615 | <Value name="FONT_BITMAP" integer="1" desc="Bitmap font generation, no anti-aliasing" /> |
| 616 | <Value name="FONT_SDF" integer="2" desc="SDF font generation, requires external shader" /> |
| 617 | </Enum> |
| 618 | <Enum name="BlendMode" valueCount="8" desc="Color blending modes (pre-defined)"> |
| 619 | <Value name="BLEND_ALPHA" integer="0" desc="Blend textures considering alpha (default)" /> |
| 620 | <Value name="BLEND_ADDITIVE" integer="1" desc="Blend textures adding colors" /> |
| 621 | <Value name="BLEND_MULTIPLIED" integer="2" desc="Blend textures multiplying colors" /> |
| 622 | <Value name="BLEND_ADD_COLORS" integer="3" desc="Blend textures adding colors (alternative)" /> |
| 623 | <Value name="BLEND_SUBTRACT_COLORS" integer="4" desc="Blend textures subtracting colors (alternative)" /> |
| 624 | <Value name="BLEND_ALPHA_PREMULTIPLY" integer="5" desc="Blend premultiplied textures considering alpha" /> |
| 625 | <Value name="BLEND_CUSTOM" integer="6" desc="Blend textures using custom src/dst factors (use rlSetBlendFactors())" /> |
| 626 | <Value name="BLEND_CUSTOM_SEPARATE" integer="7" desc="Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate())" /> |
| 627 | </Enum> |
| 628 | <Enum name="Gesture" valueCount="11" desc="Gesture"> |
| 629 | <Value name="GESTURE_NONE" integer="0" desc="No gesture" /> |
| 630 | <Value name="GESTURE_TAP" integer="1" desc="Tap gesture" /> |
| 631 | <Value name="GESTURE_DOUBLETAP" integer="2" desc="Double tap gesture" /> |
| 632 | <Value name="GESTURE_HOLD" integer="4" desc="Hold gesture" /> |
| 633 | <Value name="GESTURE_DRAG" integer="8" desc="Drag gesture" /> |
| 634 | <Value name="GESTURE_SWIPE_RIGHT" integer="16" desc="Swipe right gesture" /> |
| 635 | <Value name="GESTURE_SWIPE_LEFT" integer="32" desc="Swipe left gesture" /> |
| 636 | <Value name="GESTURE_SWIPE_UP" integer="64" desc="Swipe up gesture" /> |
| 637 | <Value name="GESTURE_SWIPE_DOWN" integer="128" desc="Swipe down gesture" /> |
| 638 | <Value name="GESTURE_PINCH_IN" integer="256" desc="Pinch in gesture" /> |
| 639 | <Value name="GESTURE_PINCH_OUT" integer="512" desc="Pinch out gesture" /> |
| 640 | </Enum> |
| 641 | <Enum name="CameraMode" valueCount="5" desc="Camera system modes"> |
| 642 | <Value name="CAMERA_CUSTOM" integer="0" desc="Camera custom, controlled by user (UpdateCamera() does nothing)" /> |
| 643 | <Value name="CAMERA_FREE" integer="1" desc="Camera free mode" /> |
| 644 | <Value name="CAMERA_ORBITAL" integer="2" desc="Camera orbital, around target, zoom supported" /> |
| 645 | <Value name="CAMERA_FIRST_PERSON" integer="3" desc="Camera first person" /> |
| 646 | <Value name="CAMERA_THIRD_PERSON" integer="4" desc="Camera third person" /> |
| 647 | </Enum> |
| 648 | <Enum name="CameraProjection" valueCount="2" desc="Camera projection"> |
| 649 | <Value name="CAMERA_PERSPECTIVE" integer="0" desc="Perspective projection" /> |
| 650 | <Value name="CAMERA_ORTHOGRAPHIC" integer="1" desc="Orthographic projection" /> |
| 651 | </Enum> |
| 652 | <Enum name="NPatchLayout" valueCount="3" desc="N-patch layout"> |
| 653 | <Value name="NPATCH_NINE_PATCH" integer="0" desc="Npatch layout: 3x3 tiles" /> |
| 654 | <Value name="NPATCH_THREE_PATCH_VERTICAL" integer="1" desc="Npatch layout: 1x3 tiles" /> |
| 655 | <Value name="NPATCH_THREE_PATCH_HORIZONTAL" integer="2" desc="Npatch layout: 3x1 tiles" /> |
| 656 | </Enum> |
| 657 | </Enums> |
| 658 | <Callbacks count="6"> |
| 659 | <Callback name="TraceLogCallback" retType="void" paramCount="3" desc="Logging: Redirect trace log messages"> |
| 660 | <Param type="int" name="logLevel" desc="" /> |
| 661 | <Param type="const char *" name="text" desc="" /> |
| 662 | <Param type="va_list" name="args" desc="" /> |
| 663 | </Callback> |
| 664 | <Callback name="LoadFileDataCallback" retType="unsigned char *" paramCount="2" desc="FileIO: Load binary data"> |
| 665 | <Param type="const char *" name="fileName" desc="" /> |
| 666 | <Param type="int *" name="dataSize" desc="" /> |
| 667 | </Callback> |
| 668 | <Callback name="SaveFileDataCallback" retType="bool" paramCount="3" desc="FileIO: Save binary data"> |
| 669 | <Param type="const char *" name="fileName" desc="" /> |
| 670 | <Param type="void *" name="data" desc="" /> |
| 671 | <Param type="int" name="dataSize" desc="" /> |
| 672 | </Callback> |
| 673 | <Callback name="LoadFileTextCallback" retType="char *" paramCount="1" desc="FileIO: Load text data"> |
| 674 | <Param type="const char *" name="fileName" desc="" /> |
| 675 | </Callback> |
| 676 | <Callback name="SaveFileTextCallback" retType="bool" paramCount="2" desc="FileIO: Save text data"> |
| 677 | <Param type="const char *" name="fileName" desc="" /> |
| 678 | <Param type="const char *" name="text" desc="" /> |
| 679 | </Callback> |
| 680 | <Callback name="AudioCallback" retType="void" paramCount="2" desc=""> |
| 681 | <Param type="void *" name="bufferData" desc="" /> |
| 682 | <Param type="unsigned int" name="frames" desc="" /> |
| 683 | </Callback> |
| 684 | </Callbacks> |
| 685 | <Functions count="600"> |
| 686 | <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context"> |
| 687 | <Param type="int" name="width" desc="" /> |
| 688 | <Param type="int" name="height" desc="" /> |
| 689 | <Param type="const char *" name="title" desc="" /> |
| 690 | </Function> |
| 691 | <Function name="CloseWindow" retType="void" paramCount="0" desc="Close window and unload OpenGL context"> |
| 692 | </Function> |
| 693 | <Function name="WindowShouldClose" retType="bool" paramCount="0" desc="Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"> |
| 694 | </Function> |
| 695 | <Function name="IsWindowReady" retType="bool" paramCount="0" desc="Check if window has been initialized successfully"> |
| 696 | </Function> |
| 697 | <Function name="IsWindowFullscreen" retType="bool" paramCount="0" desc="Check if window is currently fullscreen"> |
| 698 | </Function> |
| 699 | <Function name="IsWindowHidden" retType="bool" paramCount="0" desc="Check if window is currently hidden"> |
| 700 | </Function> |
| 701 | <Function name="IsWindowMinimized" retType="bool" paramCount="0" desc="Check if window is currently minimized"> |
| 702 | </Function> |
| 703 | <Function name="IsWindowMaximized" retType="bool" paramCount="0" desc="Check if window is currently maximized"> |
| 704 | </Function> |
| 705 | <Function name="IsWindowFocused" retType="bool" paramCount="0" desc="Check if window is currently focused"> |
| 706 | </Function> |
| 707 | <Function name="IsWindowResized" retType="bool" paramCount="0" desc="Check if window has been resized last frame"> |
| 708 | </Function> |
| 709 | <Function name="IsWindowState" retType="bool" paramCount="1" desc="Check if one specific window flag is enabled"> |
| 710 | <Param type="unsigned int" name="flag" desc="" /> |
| 711 | </Function> |
| 712 | <Function name="SetWindowState" retType="void" paramCount="1" desc="Set window configuration state using flags"> |
| 713 | <Param type="unsigned int" name="flags" desc="" /> |
| 714 | </Function> |
| 715 | <Function name="ClearWindowState" retType="void" paramCount="1" desc="Clear window configuration state flags"> |
| 716 | <Param type="unsigned int" name="flags" desc="" /> |
| 717 | </Function> |
| 718 | <Function name="ToggleFullscreen" retType="void" paramCount="0" desc="Toggle window state: fullscreen/windowed, resizes monitor to match window resolution"> |
| 719 | </Function> |
| 720 | <Function name="ToggleBorderlessWindowed" retType="void" paramCount="0" desc="Toggle window state: borderless windowed, resizes window to match monitor resolution"> |
| 721 | </Function> |
| 722 | <Function name="MaximizeWindow" retType="void" paramCount="0" desc="Set window state: maximized, if resizable"> |
| 723 | </Function> |
| 724 | <Function name="MinimizeWindow" retType="void" paramCount="0" desc="Set window state: minimized, if resizable"> |
| 725 | </Function> |
| 726 | <Function name="RestoreWindow" retType="void" paramCount="0" desc="Restore window from being minimized/maximized"> |
| 727 | </Function> |
| 728 | <Function name="SetWindowIcon" retType="void" paramCount="1" desc="Set icon for window (single image, RGBA 32bit)"> |
| 729 | <Param type="Image" name="image" desc="" /> |
| 730 | </Function> |
| 731 | <Function name="SetWindowIcons" retType="void" paramCount="2" desc="Set icon for window (multiple images, RGBA 32bit)"> |
| 732 | <Param type="Image *" name="images" desc="" /> |
| 733 | <Param type="int" name="count" desc="" /> |
| 734 | </Function> |
| 735 | <Function name="SetWindowTitle" retType="void" paramCount="1" desc="Set title for window"> |
| 736 | <Param type="const char *" name="title" desc="" /> |
| 737 | </Function> |
| 738 | <Function name="SetWindowPosition" retType="void" paramCount="2" desc="Set window position on screen"> |
| 739 | <Param type="int" name="x" desc="" /> |
| 740 | <Param type="int" name="y" desc="" /> |
| 741 | </Function> |
| 742 | <Function name="SetWindowMonitor" retType="void" paramCount="1" desc="Set monitor for the current window"> |
| 743 | <Param type="int" name="monitor" desc="" /> |
| 744 | </Function> |
| 745 | <Function name="SetWindowMinSize" retType="void" paramCount="2" desc="Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)"> |
| 746 | <Param type="int" name="width" desc="" /> |
| 747 | <Param type="int" name="height" desc="" /> |
| 748 | </Function> |
| 749 | <Function name="SetWindowMaxSize" retType="void" paramCount="2" desc="Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)"> |
| 750 | <Param type="int" name="width" desc="" /> |
| 751 | <Param type="int" name="height" desc="" /> |
| 752 | </Function> |
| 753 | <Function name="SetWindowSize" retType="void" paramCount="2" desc="Set window dimensions"> |
| 754 | <Param type="int" name="width" desc="" /> |
| 755 | <Param type="int" name="height" desc="" /> |
| 756 | </Function> |
| 757 | <Function name="SetWindowOpacity" retType="void" paramCount="1" desc="Set window opacity [0.0f..1.0f]"> |
| 758 | <Param type="float" name="opacity" desc="" /> |
| 759 | </Function> |
| 760 | <Function name="SetWindowFocused" retType="void" paramCount="0" desc="Set window focused"> |
| 761 | </Function> |
| 762 | <Function name="GetWindowHandle" retType="void *" paramCount="0" desc="Get native window handle"> |
| 763 | </Function> |
| 764 | <Function name="GetScreenWidth" retType="int" paramCount="0" desc="Get current screen width"> |
| 765 | </Function> |
| 766 | <Function name="GetScreenHeight" retType="int" paramCount="0" desc="Get current screen height"> |
| 767 | </Function> |
| 768 | <Function name="GetRenderWidth" retType="int" paramCount="0" desc="Get current render width (it considers HiDPI)"> |
| 769 | </Function> |
| 770 | <Function name="GetRenderHeight" retType="int" paramCount="0" desc="Get current render height (it considers HiDPI)"> |
| 771 | </Function> |
| 772 | <Function name="GetMonitorCount" retType="int" paramCount="0" desc="Get number of connected monitors"> |
| 773 | </Function> |
| 774 | <Function name="GetCurrentMonitor" retType="int" paramCount="0" desc="Get current monitor where window is placed"> |
| 775 | </Function> |
| 776 | <Function name="GetMonitorPosition" retType="Vector2" paramCount="1" desc="Get specified monitor position"> |
| 777 | <Param type="int" name="monitor" desc="" /> |
| 778 | </Function> |
| 779 | <Function name="GetMonitorWidth" retType="int" paramCount="1" desc="Get specified monitor width (current video mode used by monitor)"> |
| 780 | <Param type="int" name="monitor" desc="" /> |
| 781 | </Function> |
| 782 | <Function name="GetMonitorHeight" retType="int" paramCount="1" desc="Get specified monitor height (current video mode used by monitor)"> |
| 783 | <Param type="int" name="monitor" desc="" /> |
| 784 | </Function> |
| 785 | <Function name="GetMonitorPhysicalWidth" retType="int" paramCount="1" desc="Get specified monitor physical width in millimetres"> |
| 786 | <Param type="int" name="monitor" desc="" /> |
| 787 | </Function> |
| 788 | <Function name="GetMonitorPhysicalHeight" retType="int" paramCount="1" desc="Get specified monitor physical height in millimetres"> |
| 789 | <Param type="int" name="monitor" desc="" /> |
| 790 | </Function> |
| 791 | <Function name="GetMonitorRefreshRate" retType="int" paramCount="1" desc="Get specified monitor refresh rate"> |
| 792 | <Param type="int" name="monitor" desc="" /> |
| 793 | </Function> |
| 794 | <Function name="GetWindowPosition" retType="Vector2" paramCount="0" desc="Get window position XY on monitor"> |
| 795 | </Function> |
| 796 | <Function name="GetWindowScaleDPI" retType="Vector2" paramCount="0" desc="Get window scale DPI factor"> |
| 797 | </Function> |
| 798 | <Function name="GetMonitorName" retType="const char *" paramCount="1" desc="Get the human-readable, UTF-8 encoded name of the specified monitor"> |
| 799 | <Param type="int" name="monitor" desc="" /> |
| 800 | </Function> |
| 801 | <Function name="SetClipboardText" retType="void" paramCount="1" desc="Set clipboard text content"> |
| 802 | <Param type="const char *" name="text" desc="" /> |
| 803 | </Function> |
| 804 | <Function name="GetClipboardText" retType="const char *" paramCount="0" desc="Get clipboard text content"> |
| 805 | </Function> |
| 806 | <Function name="GetClipboardImage" retType="Image" paramCount="0" desc="Get clipboard image content"> |
| 807 | </Function> |
| 808 | <Function name="EnableEventWaiting" retType="void" paramCount="0" desc="Enable waiting for events on EndDrawing(), no automatic event polling"> |
| 809 | </Function> |
| 810 | <Function name="DisableEventWaiting" retType="void" paramCount="0" desc="Disable waiting for events on EndDrawing(), automatic events polling"> |
| 811 | </Function> |
| 812 | <Function name="ShowCursor" retType="void" paramCount="0" desc="Shows cursor"> |
| 813 | </Function> |
| 814 | <Function name="HideCursor" retType="void" paramCount="0" desc="Hides cursor"> |
| 815 | </Function> |
| 816 | <Function name="IsCursorHidden" retType="bool" paramCount="0" desc="Check if cursor is not visible"> |
| 817 | </Function> |
| 818 | <Function name="EnableCursor" retType="void" paramCount="0" desc="Enables cursor (unlock cursor)"> |
| 819 | </Function> |
| 820 | <Function name="DisableCursor" retType="void" paramCount="0" desc="Disables cursor (lock cursor)"> |
| 821 | </Function> |
| 822 | <Function name="IsCursorOnScreen" retType="bool" paramCount="0" desc="Check if cursor is on the screen"> |
| 823 | </Function> |
| 824 | <Function name="ClearBackground" retType="void" paramCount="1" desc="Set background color (framebuffer clear color)"> |
| 825 | <Param type="Color" name="color" desc="" /> |
| 826 | </Function> |
| 827 | <Function name="BeginDrawing" retType="void" paramCount="0" desc="Setup canvas (framebuffer) to start drawing"> |
| 828 | </Function> |
| 829 | <Function name="EndDrawing" retType="void" paramCount="0" desc="End canvas drawing and swap buffers (double buffering)"> |
| 830 | </Function> |
| 831 | <Function name="BeginMode2D" retType="void" paramCount="1" desc="Begin 2D mode with custom camera (2D)"> |
| 832 | <Param type="Camera2D" name="camera" desc="" /> |
| 833 | </Function> |
| 834 | <Function name="EndMode2D" retType="void" paramCount="0" desc="Ends 2D mode with custom camera"> |
| 835 | </Function> |
| 836 | <Function name="BeginMode3D" retType="void" paramCount="1" desc="Begin 3D mode with custom camera (3D)"> |
| 837 | <Param type="Camera3D" name="camera" desc="" /> |
| 838 | </Function> |
| 839 | <Function name="EndMode3D" retType="void" paramCount="0" desc="Ends 3D mode and returns to default 2D orthographic mode"> |
| 840 | </Function> |
| 841 | <Function name="BeginTextureMode" retType="void" paramCount="1" desc="Begin drawing to render texture"> |
| 842 | <Param type="RenderTexture2D" name="target" desc="" /> |
| 843 | </Function> |
| 844 | <Function name="EndTextureMode" retType="void" paramCount="0" desc="Ends drawing to render texture"> |
| 845 | </Function> |
| 846 | <Function name="BeginShaderMode" retType="void" paramCount="1" desc="Begin custom shader drawing"> |
| 847 | <Param type="Shader" name="shader" desc="" /> |
| 848 | </Function> |
| 849 | <Function name="EndShaderMode" retType="void" paramCount="0" desc="End custom shader drawing (use default shader)"> |
| 850 | </Function> |
| 851 | <Function name="BeginBlendMode" retType="void" paramCount="1" desc="Begin blending mode (alpha, additive, multiplied, subtract, custom)"> |
| 852 | <Param type="int" name="mode" desc="" /> |
| 853 | </Function> |
| 854 | <Function name="EndBlendMode" retType="void" paramCount="0" desc="End blending mode (reset to default: alpha blending)"> |
| 855 | </Function> |
| 856 | <Function name="BeginScissorMode" retType="void" paramCount="4" desc="Begin scissor mode (define screen area for following drawing)"> |
| 857 | <Param type="int" name="x" desc="" /> |
| 858 | <Param type="int" name="y" desc="" /> |
| 859 | <Param type="int" name="width" desc="" /> |
| 860 | <Param type="int" name="height" desc="" /> |
| 861 | </Function> |
| 862 | <Function name="EndScissorMode" retType="void" paramCount="0" desc="End scissor mode"> |
| 863 | </Function> |
| 864 | <Function name="BeginVrStereoMode" retType="void" paramCount="1" desc="Begin stereo rendering (requires VR simulator)"> |
| 865 | <Param type="VrStereoConfig" name="config" desc="" /> |
| 866 | </Function> |
| 867 | <Function name="EndVrStereoMode" retType="void" paramCount="0" desc="End stereo rendering (requires VR simulator)"> |
| 868 | </Function> |
| 869 | <Function name="LoadVrStereoConfig" retType="VrStereoConfig" paramCount="1" desc="Load VR stereo config for VR simulator device parameters"> |
| 870 | <Param type="VrDeviceInfo" name="device" desc="" /> |
| 871 | </Function> |
| 872 | <Function name="UnloadVrStereoConfig" retType="void" paramCount="1" desc="Unload VR stereo config"> |
| 873 | <Param type="VrStereoConfig" name="config" desc="" /> |
| 874 | </Function> |
| 875 | <Function name="LoadShader" retType="Shader" paramCount="2" desc="Load shader from files and bind default locations"> |
| 876 | <Param type="const char *" name="vsFileName" desc="" /> |
| 877 | <Param type="const char *" name="fsFileName" desc="" /> |
| 878 | </Function> |
| 879 | <Function name="LoadShaderFromMemory" retType="Shader" paramCount="2" desc="Load shader from code strings and bind default locations"> |
| 880 | <Param type="const char *" name="vsCode" desc="" /> |
| 881 | <Param type="const char *" name="fsCode" desc="" /> |
| 882 | </Function> |
| 883 | <Function name="IsShaderValid" retType="bool" paramCount="1" desc="Check if a shader is valid (loaded on GPU)"> |
| 884 | <Param type="Shader" name="shader" desc="" /> |
| 885 | </Function> |
| 886 | <Function name="GetShaderLocation" retType="int" paramCount="2" desc="Get shader uniform location"> |
| 887 | <Param type="Shader" name="shader" desc="" /> |
| 888 | <Param type="const char *" name="uniformName" desc="" /> |
| 889 | </Function> |
| 890 | <Function name="GetShaderLocationAttrib" retType="int" paramCount="2" desc="Get shader attribute location"> |
| 891 | <Param type="Shader" name="shader" desc="" /> |
| 892 | <Param type="const char *" name="attribName" desc="" /> |
| 893 | </Function> |
| 894 | <Function name="SetShaderValue" retType="void" paramCount="4" desc="Set shader uniform value"> |
| 895 | <Param type="Shader" name="shader" desc="" /> |
| 896 | <Param type="int" name="locIndex" desc="" /> |
| 897 | <Param type="const void *" name="value" desc="" /> |
| 898 | <Param type="int" name="uniformType" desc="" /> |
| 899 | </Function> |
| 900 | <Function name="SetShaderValueV" retType="void" paramCount="5" desc="Set shader uniform value vector"> |
| 901 | <Param type="Shader" name="shader" desc="" /> |
| 902 | <Param type="int" name="locIndex" desc="" /> |
| 903 | <Param type="const void *" name="value" desc="" /> |
| 904 | <Param type="int" name="uniformType" desc="" /> |
| 905 | <Param type="int" name="count" desc="" /> |
| 906 | </Function> |
| 907 | <Function name="SetShaderValueMatrix" retType="void" paramCount="3" desc="Set shader uniform value (matrix 4x4)"> |
| 908 | <Param type="Shader" name="shader" desc="" /> |
| 909 | <Param type="int" name="locIndex" desc="" /> |
| 910 | <Param type="Matrix" name="mat" desc="" /> |
| 911 | </Function> |
| 912 | <Function name="SetShaderValueTexture" retType="void" paramCount="3" desc="Set shader uniform value and bind the texture (sampler2d)"> |
| 913 | <Param type="Shader" name="shader" desc="" /> |
| 914 | <Param type="int" name="locIndex" desc="" /> |
| 915 | <Param type="Texture2D" name="texture" desc="" /> |
| 916 | </Function> |
| 917 | <Function name="UnloadShader" retType="void" paramCount="1" desc="Unload shader from GPU memory (VRAM)"> |
| 918 | <Param type="Shader" name="shader" desc="" /> |
| 919 | </Function> |
| 920 | <Function name="GetScreenToWorldRay" retType="Ray" paramCount="2" desc="Get a ray trace from screen position (i.e mouse)"> |
| 921 | <Param type="Vector2" name="position" desc="" /> |
| 922 | <Param type="Camera" name="camera" desc="" /> |
| 923 | </Function> |
| 924 | <Function name="GetScreenToWorldRayEx" retType="Ray" paramCount="4" desc="Get a ray trace from screen position (i.e mouse) in a viewport"> |
| 925 | <Param type="Vector2" name="position" desc="" /> |
| 926 | <Param type="Camera" name="camera" desc="" /> |
| 927 | <Param type="int" name="width" desc="" /> |
| 928 | <Param type="int" name="height" desc="" /> |
| 929 | </Function> |
| 930 | <Function name="GetWorldToScreen" retType="Vector2" paramCount="2" desc="Get the screen space position for a 3d world space position"> |
| 931 | <Param type="Vector3" name="position" desc="" /> |
| 932 | <Param type="Camera" name="camera" desc="" /> |
| 933 | </Function> |
| 934 | <Function name="GetWorldToScreenEx" retType="Vector2" paramCount="4" desc="Get size position for a 3d world space position"> |
| 935 | <Param type="Vector3" name="position" desc="" /> |
| 936 | <Param type="Camera" name="camera" desc="" /> |
| 937 | <Param type="int" name="width" desc="" /> |
| 938 | <Param type="int" name="height" desc="" /> |
| 939 | </Function> |
| 940 | <Function name="GetWorldToScreen2D" retType="Vector2" paramCount="2" desc="Get the screen space position for a 2d camera world space position"> |
| 941 | <Param type="Vector2" name="position" desc="" /> |
| 942 | <Param type="Camera2D" name="camera" desc="" /> |
| 943 | </Function> |
| 944 | <Function name="GetScreenToWorld2D" retType="Vector2" paramCount="2" desc="Get the world space position for a 2d camera screen space position"> |
| 945 | <Param type="Vector2" name="position" desc="" /> |
| 946 | <Param type="Camera2D" name="camera" desc="" /> |
| 947 | </Function> |
| 948 | <Function name="GetCameraMatrix" retType="Matrix" paramCount="1" desc="Get camera transform matrix (view matrix)"> |
| 949 | <Param type="Camera" name="camera" desc="" /> |
| 950 | </Function> |
| 951 | <Function name="GetCameraMatrix2D" retType="Matrix" paramCount="1" desc="Get camera 2d transform matrix"> |
| 952 | <Param type="Camera2D" name="camera" desc="" /> |
| 953 | </Function> |
| 954 | <Function name="SetTargetFPS" retType="void" paramCount="1" desc="Set target FPS (maximum)"> |
| 955 | <Param type="int" name="fps" desc="" /> |
| 956 | </Function> |
| 957 | <Function name="GetFrameTime" retType="float" paramCount="0" desc="Get time in seconds for last frame drawn (delta time)"> |
| 958 | </Function> |
| 959 | <Function name="GetTime" retType="double" paramCount="0" desc="Get elapsed time in seconds since InitWindow()"> |
| 960 | </Function> |
| 961 | <Function name="GetFPS" retType="int" paramCount="0" desc="Get current FPS"> |
| 962 | </Function> |
| 963 | <Function name="SwapScreenBuffer" retType="void" paramCount="0" desc="Swap back buffer with front buffer (screen drawing)"> |
| 964 | </Function> |
| 965 | <Function name="PollInputEvents" retType="void" paramCount="0" desc="Register all input events"> |
| 966 | </Function> |
| 967 | <Function name="WaitTime" retType="void" paramCount="1" desc="Wait for some time (halt program execution)"> |
| 968 | <Param type="double" name="seconds" desc="" /> |
| 969 | </Function> |
| 970 | <Function name="SetRandomSeed" retType="void" paramCount="1" desc="Set the seed for the random number generator"> |
| 971 | <Param type="unsigned int" name="seed" desc="" /> |
| 972 | </Function> |
| 973 | <Function name="GetRandomValue" retType="int" paramCount="2" desc="Get a random value between min and max (both included)"> |
| 974 | <Param type="int" name="min" desc="" /> |
| 975 | <Param type="int" name="max" desc="" /> |
| 976 | </Function> |
| 977 | <Function name="LoadRandomSequence" retType="int *" paramCount="3" desc="Load random values sequence, no values repeated"> |
| 978 | <Param type="unsigned int" name="count" desc="" /> |
| 979 | <Param type="int" name="min" desc="" /> |
| 980 | <Param type="int" name="max" desc="" /> |
| 981 | </Function> |
| 982 | <Function name="UnloadRandomSequence" retType="void" paramCount="1" desc="Unload random values sequence"> |
| 983 | <Param type="int *" name="sequence" desc="" /> |
| 984 | </Function> |
| 985 | <Function name="TakeScreenshot" retType="void" paramCount="1" desc="Takes a screenshot of current screen (filename extension defines format)"> |
| 986 | <Param type="const char *" name="fileName" desc="" /> |
| 987 | </Function> |
| 988 | <Function name="SetConfigFlags" retType="void" paramCount="1" desc="Setup init configuration flags (view FLAGS)"> |
| 989 | <Param type="unsigned int" name="flags" desc="" /> |
| 990 | </Function> |
| 991 | <Function name="OpenURL" retType="void" paramCount="1" desc="Open URL with default system browser (if available)"> |
| 992 | <Param type="const char *" name="url" desc="" /> |
| 993 | </Function> |
| 994 | <Function name="SetTraceLogLevel" retType="void" paramCount="1" desc="Set the current threshold (minimum) log level"> |
| 995 | <Param type="int" name="logLevel" desc="" /> |
| 996 | </Function> |
| 997 | <Function name="TraceLog" retType="void" paramCount="3" desc="Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)"> |
| 998 | <Param type="int" name="logLevel" desc="" /> |
| 999 | <Param type="const char *" name="text" desc="" /> |
| 1000 | <Param type="..." name="args" desc="" /> |
| 1001 | </Function> |
| 1002 | <Function name="SetTraceLogCallback" retType="void" paramCount="1" desc="Set custom trace log"> |
| 1003 | <Param type="TraceLogCallback" name="callback" desc="" /> |
| 1004 | </Function> |
| 1005 | <Function name="MemAlloc" retType="void *" paramCount="1" desc="Internal memory allocator"> |
| 1006 | <Param type="unsigned int" name="size" desc="" /> |
| 1007 | </Function> |
| 1008 | <Function name="MemRealloc" retType="void *" paramCount="2" desc="Internal memory reallocator"> |
| 1009 | <Param type="void *" name="ptr" desc="" /> |
| 1010 | <Param type="unsigned int" name="size" desc="" /> |
| 1011 | </Function> |
| 1012 | <Function name="MemFree" retType="void" paramCount="1" desc="Internal memory free"> |
| 1013 | <Param type="void *" name="ptr" desc="" /> |
| 1014 | </Function> |
| 1015 | <Function name="LoadFileData" retType="unsigned char *" paramCount="2" desc="Load file data as byte array (read)"> |
| 1016 | <Param type="const char *" name="fileName" desc="" /> |
| 1017 | <Param type="int *" name="dataSize" desc="" /> |
| 1018 | </Function> |
| 1019 | <Function name="UnloadFileData" retType="void" paramCount="1" desc="Unload file data allocated by LoadFileData()"> |
| 1020 | <Param type="unsigned char *" name="data" desc="" /> |
| 1021 | </Function> |
| 1022 | <Function name="SaveFileData" retType="bool" paramCount="3" desc="Save data to file from byte array (write), returns true on success"> |
| 1023 | <Param type="const char *" name="fileName" desc="" /> |
| 1024 | <Param type="void *" name="data" desc="" /> |
| 1025 | <Param type="int" name="dataSize" desc="" /> |
| 1026 | </Function> |
| 1027 | <Function name="ExportDataAsCode" retType="bool" paramCount="3" desc="Export data to code (.h), returns true on success"> |
| 1028 | <Param type="const unsigned char *" name="data" desc="" /> |
| 1029 | <Param type="int" name="dataSize" desc="" /> |
| 1030 | <Param type="const char *" name="fileName" desc="" /> |
| 1031 | </Function> |
| 1032 | <Function name="LoadFileText" retType="char *" paramCount="1" desc="Load text data from file (read), returns a '\0' terminated string"> |
| 1033 | <Param type="const char *" name="fileName" desc="" /> |
| 1034 | </Function> |
| 1035 | <Function name="UnloadFileText" retType="void" paramCount="1" desc="Unload file text data allocated by LoadFileText()"> |
| 1036 | <Param type="char *" name="text" desc="" /> |
| 1037 | </Function> |
| 1038 | <Function name="SaveFileText" retType="bool" paramCount="2" desc="Save text data to file (write), string must be '\0' terminated, returns true on success"> |
| 1039 | <Param type="const char *" name="fileName" desc="" /> |
| 1040 | <Param type="const char *" name="text" desc="" /> |
| 1041 | </Function> |
| 1042 | <Function name="SetLoadFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data loader"> |
| 1043 | <Param type="LoadFileDataCallback" name="callback" desc="" /> |
| 1044 | </Function> |
| 1045 | <Function name="SetSaveFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data saver"> |
| 1046 | <Param type="SaveFileDataCallback" name="callback" desc="" /> |
| 1047 | </Function> |
| 1048 | <Function name="SetLoadFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data loader"> |
| 1049 | <Param type="LoadFileTextCallback" name="callback" desc="" /> |
| 1050 | </Function> |
| 1051 | <Function name="SetSaveFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data saver"> |
| 1052 | <Param type="SaveFileTextCallback" name="callback" desc="" /> |
| 1053 | </Function> |
| 1054 | <Function name="FileRename" retType="int" paramCount="2" desc="Rename file (if exists)"> |
| 1055 | <Param type="const char *" name="fileName" desc="" /> |
| 1056 | <Param type="const char *" name="fileRename" desc="" /> |
| 1057 | </Function> |
| 1058 | <Function name="FileRemove" retType="int" paramCount="1" desc="Remove file (if exists)"> |
| 1059 | <Param type="const char *" name="fileName" desc="" /> |
| 1060 | </Function> |
| 1061 | <Function name="FileCopy" retType="int" paramCount="2" desc="Copy file from one path to another, dstPath created if it doesn't exist"> |
| 1062 | <Param type="const char *" name="srcPath" desc="" /> |
| 1063 | <Param type="const char *" name="dstPath" desc="" /> |
| 1064 | </Function> |
| 1065 | <Function name="FileMove" retType="int" paramCount="2" desc="Move file from one directory to another, dstPath created if it doesn't exist"> |
| 1066 | <Param type="const char *" name="srcPath" desc="" /> |
| 1067 | <Param type="const char *" name="dstPath" desc="" /> |
| 1068 | </Function> |
| 1069 | <Function name="FileTextReplace" retType="int" paramCount="3" desc="Replace text in an existing file"> |
| 1070 | <Param type="const char *" name="fileName" desc="" /> |
| 1071 | <Param type="const char *" name="search" desc="" /> |
| 1072 | <Param type="const char *" name="replacement" desc="" /> |
| 1073 | </Function> |
| 1074 | <Function name="FileTextFindIndex" retType="int" paramCount="2" desc="Find text in existing file"> |
| 1075 | <Param type="const char *" name="fileName" desc="" /> |
| 1076 | <Param type="const char *" name="search" desc="" /> |
| 1077 | </Function> |
| 1078 | <Function name="FileExists" retType="bool" paramCount="1" desc="Check if file exists"> |
| 1079 | <Param type="const char *" name="fileName" desc="" /> |
| 1080 | </Function> |
| 1081 | <Function name="DirectoryExists" retType="bool" paramCount="1" desc="Check if a directory path exists"> |
| 1082 | <Param type="const char *" name="dirPath" desc="" /> |
| 1083 | </Function> |
| 1084 | <Function name="IsFileExtension" retType="bool" paramCount="2" desc="Check file extension (recommended include point: .png, .wav)"> |
| 1085 | <Param type="const char *" name="fileName" desc="" /> |
| 1086 | <Param type="const char *" name="ext" desc="" /> |
| 1087 | </Function> |
| 1088 | <Function name="GetFileLength" retType="int" paramCount="1" desc="Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)"> |
| 1089 | <Param type="const char *" name="fileName" desc="" /> |
| 1090 | </Function> |
| 1091 | <Function name="GetFileModTime" retType="long" paramCount="1" desc="Get file modification time (last write time)"> |
| 1092 | <Param type="const char *" name="fileName" desc="" /> |
| 1093 | </Function> |
| 1094 | <Function name="GetFileExtension" retType="const char *" paramCount="1" desc="Get pointer to extension for a filename string (includes dot: '.png')"> |
| 1095 | <Param type="const char *" name="fileName" desc="" /> |
| 1096 | </Function> |
| 1097 | <Function name="GetFileName" retType="const char *" paramCount="1" desc="Get pointer to filename for a path string"> |
| 1098 | <Param type="const char *" name="filePath" desc="" /> |
| 1099 | </Function> |
| 1100 | <Function name="GetFileNameWithoutExt" retType="const char *" paramCount="1" desc="Get filename string without extension (uses static string)"> |
| 1101 | <Param type="const char *" name="filePath" desc="" /> |
| 1102 | </Function> |
| 1103 | <Function name="GetDirectoryPath" retType="const char *" paramCount="1" desc="Get full path for a given fileName with path (uses static string)"> |
| 1104 | <Param type="const char *" name="filePath" desc="" /> |
| 1105 | </Function> |
| 1106 | <Function name="GetPrevDirectoryPath" retType="const char *" paramCount="1" desc="Get previous directory path for a given path (uses static string)"> |
| 1107 | <Param type="const char *" name="dirPath" desc="" /> |
| 1108 | </Function> |
| 1109 | <Function name="GetWorkingDirectory" retType="const char *" paramCount="0" desc="Get current working directory (uses static string)"> |
| 1110 | </Function> |
| 1111 | <Function name="GetApplicationDirectory" retType="const char *" paramCount="0" desc="Get the directory of the running application (uses static string)"> |
| 1112 | </Function> |
| 1113 | <Function name="MakeDirectory" retType="int" paramCount="1" desc="Create directories (including full path requested), returns 0 on success"> |
| 1114 | <Param type="const char *" name="dirPath" desc="" /> |
| 1115 | </Function> |
| 1116 | <Function name="ChangeDirectory" retType="bool" paramCount="1" desc="Change working directory, return true on success"> |
| 1117 | <Param type="const char *" name="dirPath" desc="" /> |
| 1118 | </Function> |
| 1119 | <Function name="IsPathFile" retType="bool" paramCount="1" desc="Check if a given path is a file or a directory"> |
| 1120 | <Param type="const char *" name="path" desc="" /> |
| 1121 | </Function> |
| 1122 | <Function name="IsFileNameValid" retType="bool" paramCount="1" desc="Check if fileName is valid for the platform/OS"> |
| 1123 | <Param type="const char *" name="fileName" desc="" /> |
| 1124 | </Function> |
| 1125 | <Function name="LoadDirectoryFiles" retType="FilePathList" paramCount="1" desc="Load directory filepaths, files and directories, no subdirs scan"> |
| 1126 | <Param type="const char *" name="dirPath" desc="" /> |
| 1127 | </Function> |
| 1128 | <Function name="LoadDirectoryFilesEx" retType="FilePathList" paramCount="3" desc="Load directory filepaths with extension filtering and subdir scan; some filters available: "*.*", "FILES*", "DIRS*""> |
| 1129 | <Param type="const char *" name="basePath" desc="" /> |
| 1130 | <Param type="const char *" name="filter" desc="" /> |
| 1131 | <Param type="bool" name="scanSubdirs" desc="" /> |
| 1132 | </Function> |
| 1133 | <Function name="UnloadDirectoryFiles" retType="void" paramCount="1" desc="Unload filepaths"> |
| 1134 | <Param type="FilePathList" name="files" desc="" /> |
| 1135 | </Function> |
| 1136 | <Function name="IsFileDropped" retType="bool" paramCount="0" desc="Check if a file has been dropped into window"> |
| 1137 | </Function> |
| 1138 | <Function name="LoadDroppedFiles" retType="FilePathList" paramCount="0" desc="Load dropped filepaths"> |
| 1139 | </Function> |
| 1140 | <Function name="UnloadDroppedFiles" retType="void" paramCount="1" desc="Unload dropped filepaths"> |
| 1141 | <Param type="FilePathList" name="files" desc="" /> |
| 1142 | </Function> |
| 1143 | <Function name="GetDirectoryFileCount" retType="unsigned int" paramCount="1" desc="Get the file count in a directory"> |
| 1144 | <Param type="const char *" name="dirPath" desc="" /> |
| 1145 | </Function> |
| 1146 | <Function name="GetDirectoryFileCountEx" retType="unsigned int" paramCount="3" desc="Get the file count in a directory with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result"> |
| 1147 | <Param type="const char *" name="basePath" desc="" /> |
| 1148 | <Param type="const char *" name="filter" desc="" /> |
| 1149 | <Param type="bool" name="scanSubdirs" desc="" /> |
| 1150 | </Function> |
| 1151 | <Function name="CompressData" retType="unsigned char *" paramCount="3" desc="Compress data (DEFLATE algorithm), memory must be MemFree()"> |
| 1152 | <Param type="const unsigned char *" name="data" desc="" /> |
| 1153 | <Param type="int" name="dataSize" desc="" /> |
| 1154 | <Param type="int *" name="compDataSize" desc="" /> |
| 1155 | </Function> |
| 1156 | <Function name="DecompressData" retType="unsigned char *" paramCount="3" desc="Decompress data (DEFLATE algorithm), memory must be MemFree()"> |
| 1157 | <Param type="const unsigned char *" name="compData" desc="" /> |
| 1158 | <Param type="int" name="compDataSize" desc="" /> |
| 1159 | <Param type="int *" name="dataSize" desc="" /> |
| 1160 | </Function> |
| 1161 | <Function name="EncodeDataBase64" retType="char *" paramCount="3" desc="Encode data to Base64 string (includes NULL terminator), memory must be MemFree()"> |
| 1162 | <Param type="const unsigned char *" name="data" desc="" /> |
| 1163 | <Param type="int" name="dataSize" desc="" /> |
| 1164 | <Param type="int *" name="outputSize" desc="" /> |
| 1165 | </Function> |
| 1166 | <Function name="DecodeDataBase64" retType="unsigned char *" paramCount="2" desc="Decode Base64 string (expected NULL terminated), memory must be MemFree()"> |
| 1167 | <Param type="const char *" name="text" desc="" /> |
| 1168 | <Param type="int *" name="outputSize" desc="" /> |
| 1169 | </Function> |
| 1170 | <Function name="ComputeCRC32" retType="unsigned int" paramCount="2" desc="Compute CRC32 hash code"> |
| 1171 | <Param type="unsigned char *" name="data" desc="" /> |
| 1172 | <Param type="int" name="dataSize" desc="" /> |
| 1173 | </Function> |
| 1174 | <Function name="ComputeMD5" retType="unsigned int *" paramCount="2" desc="Compute MD5 hash code, returns static int[4] (16 bytes)"> |
| 1175 | <Param type="unsigned char *" name="data" desc="" /> |
| 1176 | <Param type="int" name="dataSize" desc="" /> |
| 1177 | </Function> |
| 1178 | <Function name="ComputeSHA1" retType="unsigned int *" paramCount="2" desc="Compute SHA1 hash code, returns static int[5] (20 bytes)"> |
| 1179 | <Param type="unsigned char *" name="data" desc="" /> |
| 1180 | <Param type="int" name="dataSize" desc="" /> |
| 1181 | </Function> |
| 1182 | <Function name="ComputeSHA256" retType="unsigned int *" paramCount="2" desc="Compute SHA256 hash code, returns static int[8] (32 bytes)"> |
| 1183 | <Param type="unsigned char *" name="data" desc="" /> |
| 1184 | <Param type="int" name="dataSize" desc="" /> |
| 1185 | </Function> |
| 1186 | <Function name="LoadAutomationEventList" retType="AutomationEventList" paramCount="1" desc="Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS"> |
| 1187 | <Param type="const char *" name="fileName" desc="" /> |
| 1188 | </Function> |
| 1189 | <Function name="UnloadAutomationEventList" retType="void" paramCount="1" desc="Unload automation events list from file"> |
| 1190 | <Param type="AutomationEventList" name="list" desc="" /> |
| 1191 | </Function> |
| 1192 | <Function name="ExportAutomationEventList" retType="bool" paramCount="2" desc="Export automation events list as text file"> |
| 1193 | <Param type="AutomationEventList" name="list" desc="" /> |
| 1194 | <Param type="const char *" name="fileName" desc="" /> |
| 1195 | </Function> |
| 1196 | <Function name="SetAutomationEventList" retType="void" paramCount="1" desc="Set automation event list to record to"> |
| 1197 | <Param type="AutomationEventList *" name="list" desc="" /> |
| 1198 | </Function> |
| 1199 | <Function name="SetAutomationEventBaseFrame" retType="void" paramCount="1" desc="Set automation event internal base frame to start recording"> |
| 1200 | <Param type="int" name="frame" desc="" /> |
| 1201 | </Function> |
| 1202 | <Function name="StartAutomationEventRecording" retType="void" paramCount="0" desc="Start recording automation events (AutomationEventList must be set)"> |
| 1203 | </Function> |
| 1204 | <Function name="StopAutomationEventRecording" retType="void" paramCount="0" desc="Stop recording automation events"> |
| 1205 | </Function> |
| 1206 | <Function name="PlayAutomationEvent" retType="void" paramCount="1" desc="Play a recorded automation event"> |
| 1207 | <Param type="AutomationEvent" name="event" desc="" /> |
| 1208 | </Function> |
| 1209 | <Function name="IsKeyPressed" retType="bool" paramCount="1" desc="Check if a key has been pressed once"> |
| 1210 | <Param type="int" name="key" desc="" /> |
| 1211 | </Function> |
| 1212 | <Function name="IsKeyPressedRepeat" retType="bool" paramCount="1" desc="Check if a key has been pressed again"> |
| 1213 | <Param type="int" name="key" desc="" /> |
| 1214 | </Function> |
| 1215 | <Function name="IsKeyDown" retType="bool" paramCount="1" desc="Check if a key is being pressed"> |
| 1216 | <Param type="int" name="key" desc="" /> |
| 1217 | </Function> |
| 1218 | <Function name="IsKeyReleased" retType="bool" paramCount="1" desc="Check if a key has been released once"> |
| 1219 | <Param type="int" name="key" desc="" /> |
| 1220 | </Function> |
| 1221 | <Function name="IsKeyUp" retType="bool" paramCount="1" desc="Check if a key is NOT being pressed"> |
| 1222 | <Param type="int" name="key" desc="" /> |
| 1223 | </Function> |
| 1224 | <Function name="GetKeyPressed" retType="int" paramCount="0" desc="Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty"> |
| 1225 | </Function> |
| 1226 | <Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty"> |
| 1227 | </Function> |
| 1228 | <Function name="GetKeyName" retType="const char *" paramCount="1" desc="Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)"> |
| 1229 | <Param type="int" name="key" desc="" /> |
| 1230 | </Function> |
| 1231 | <Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)"> |
| 1232 | <Param type="int" name="key" desc="" /> |
| 1233 | </Function> |
| 1234 | <Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available"> |
| 1235 | <Param type="int" name="gamepad" desc="" /> |
| 1236 | </Function> |
| 1237 | <Function name="GetGamepadName" retType="const char *" paramCount="1" desc="Get gamepad internal name id"> |
| 1238 | <Param type="int" name="gamepad" desc="" /> |
| 1239 | </Function> |
| 1240 | <Function name="IsGamepadButtonPressed" retType="bool" paramCount="2" desc="Check if a gamepad button has been pressed once"> |
| 1241 | <Param type="int" name="gamepad" desc="" /> |
| 1242 | <Param type="int" name="button" desc="" /> |
| 1243 | </Function> |
| 1244 | <Function name="IsGamepadButtonDown" retType="bool" paramCount="2" desc="Check if a gamepad button is being pressed"> |
| 1245 | <Param type="int" name="gamepad" desc="" /> |
| 1246 | <Param type="int" name="button" desc="" /> |
| 1247 | </Function> |
| 1248 | <Function name="IsGamepadButtonReleased" retType="bool" paramCount="2" desc="Check if a gamepad button has been released once"> |
| 1249 | <Param type="int" name="gamepad" desc="" /> |
| 1250 | <Param type="int" name="button" desc="" /> |
| 1251 | </Function> |
| 1252 | <Function name="IsGamepadButtonUp" retType="bool" paramCount="2" desc="Check if a gamepad button is NOT being pressed"> |
| 1253 | <Param type="int" name="gamepad" desc="" /> |
| 1254 | <Param type="int" name="button" desc="" /> |
| 1255 | </Function> |
| 1256 | <Function name="GetGamepadButtonPressed" retType="int" paramCount="0" desc="Get the last gamepad button pressed"> |
| 1257 | </Function> |
| 1258 | <Function name="GetGamepadAxisCount" retType="int" paramCount="1" desc="Get axis count for a gamepad"> |
| 1259 | <Param type="int" name="gamepad" desc="" /> |
| 1260 | </Function> |
| 1261 | <Function name="GetGamepadAxisMovement" retType="float" paramCount="2" desc="Get movement value for a gamepad axis"> |
| 1262 | <Param type="int" name="gamepad" desc="" /> |
| 1263 | <Param type="int" name="axis" desc="" /> |
| 1264 | </Function> |
| 1265 | <Function name="SetGamepadMappings" retType="int" paramCount="1" desc="Set internal gamepad mappings (SDL_GameControllerDB)"> |
| 1266 | <Param type="const char *" name="mappings" desc="" /> |
| 1267 | </Function> |
| 1268 | <Function name="SetGamepadVibration" retType="void" paramCount="4" desc="Set gamepad vibration for both motors (duration in seconds)"> |
| 1269 | <Param type="int" name="gamepad" desc="" /> |
| 1270 | <Param type="float" name="leftMotor" desc="" /> |
| 1271 | <Param type="float" name="rightMotor" desc="" /> |
| 1272 | <Param type="float" name="duration" desc="" /> |
| 1273 | </Function> |
| 1274 | <Function name="IsMouseButtonPressed" retType="bool" paramCount="1" desc="Check if a mouse button has been pressed once"> |
| 1275 | <Param type="int" name="button" desc="" /> |
| 1276 | </Function> |
| 1277 | <Function name="IsMouseButtonDown" retType="bool" paramCount="1" desc="Check if a mouse button is being pressed"> |
| 1278 | <Param type="int" name="button" desc="" /> |
| 1279 | </Function> |
| 1280 | <Function name="IsMouseButtonReleased" retType="bool" paramCount="1" desc="Check if a mouse button has been released once"> |
| 1281 | <Param type="int" name="button" desc="" /> |
| 1282 | </Function> |
| 1283 | <Function name="IsMouseButtonUp" retType="bool" paramCount="1" desc="Check if a mouse button is NOT being pressed"> |
| 1284 | <Param type="int" name="button" desc="" /> |
| 1285 | </Function> |
| 1286 | <Function name="GetMouseX" retType="int" paramCount="0" desc="Get mouse position X"> |
| 1287 | </Function> |
| 1288 | <Function name="GetMouseY" retType="int" paramCount="0" desc="Get mouse position Y"> |
| 1289 | </Function> |
| 1290 | <Function name="GetMousePosition" retType="Vector2" paramCount="0" desc="Get mouse position XY"> |
| 1291 | </Function> |
| 1292 | <Function name="GetMouseDelta" retType="Vector2" paramCount="0" desc="Get mouse delta between frames"> |
| 1293 | </Function> |
| 1294 | <Function name="SetMousePosition" retType="void" paramCount="2" desc="Set mouse position XY"> |
| 1295 | <Param type="int" name="x" desc="" /> |
| 1296 | <Param type="int" name="y" desc="" /> |
| 1297 | </Function> |
| 1298 | <Function name="SetMouseOffset" retType="void" paramCount="2" desc="Set mouse offset"> |
| 1299 | <Param type="int" name="offsetX" desc="" /> |
| 1300 | <Param type="int" name="offsetY" desc="" /> |
| 1301 | </Function> |
| 1302 | <Function name="SetMouseScale" retType="void" paramCount="2" desc="Set mouse scaling"> |
| 1303 | <Param type="float" name="scaleX" desc="" /> |
| 1304 | <Param type="float" name="scaleY" desc="" /> |
| 1305 | </Function> |
| 1306 | <Function name="GetMouseWheelMove" retType="float" paramCount="0" desc="Get mouse wheel movement for X or Y, whichever is larger"> |
| 1307 | </Function> |
| 1308 | <Function name="GetMouseWheelMoveV" retType="Vector2" paramCount="0" desc="Get mouse wheel movement for both X and Y"> |
| 1309 | </Function> |
| 1310 | <Function name="SetMouseCursor" retType="void" paramCount="1" desc="Set mouse cursor"> |
| 1311 | <Param type="int" name="cursor" desc="" /> |
| 1312 | </Function> |
| 1313 | <Function name="GetTouchX" retType="int" paramCount="0" desc="Get touch position X for touch point 0 (relative to screen size)"> |
| 1314 | </Function> |
| 1315 | <Function name="GetTouchY" retType="int" paramCount="0" desc="Get touch position Y for touch point 0 (relative to screen size)"> |
| 1316 | </Function> |
| 1317 | <Function name="GetTouchPosition" retType="Vector2" paramCount="1" desc="Get touch position XY for a touch point index (relative to screen size)"> |
| 1318 | <Param type="int" name="index" desc="" /> |
| 1319 | </Function> |
| 1320 | <Function name="GetTouchPointId" retType="int" paramCount="1" desc="Get touch point identifier for given index"> |
| 1321 | <Param type="int" name="index" desc="" /> |
| 1322 | </Function> |
| 1323 | <Function name="GetTouchPointCount" retType="int" paramCount="0" desc="Get number of touch points"> |
| 1324 | </Function> |
| 1325 | <Function name="SetGesturesEnabled" retType="void" paramCount="1" desc="Enable a set of gestures using flags"> |
| 1326 | <Param type="unsigned int" name="flags" desc="" /> |
| 1327 | </Function> |
| 1328 | <Function name="IsGestureDetected" retType="bool" paramCount="1" desc="Check if a gesture have been detected"> |
| 1329 | <Param type="unsigned int" name="gesture" desc="" /> |
| 1330 | </Function> |
| 1331 | <Function name="GetGestureDetected" retType="int" paramCount="0" desc="Get latest detected gesture"> |
| 1332 | </Function> |
| 1333 | <Function name="GetGestureHoldDuration" retType="float" paramCount="0" desc="Get gesture hold time in seconds"> |
| 1334 | </Function> |
| 1335 | <Function name="GetGestureDragVector" retType="Vector2" paramCount="0" desc="Get gesture drag vector"> |
| 1336 | </Function> |
| 1337 | <Function name="GetGestureDragAngle" retType="float" paramCount="0" desc="Get gesture drag angle"> |
| 1338 | </Function> |
| 1339 | <Function name="GetGesturePinchVector" retType="Vector2" paramCount="0" desc="Get gesture pinch delta"> |
| 1340 | </Function> |
| 1341 | <Function name="GetGesturePinchAngle" retType="float" paramCount="0" desc="Get gesture pinch angle"> |
| 1342 | </Function> |
| 1343 | <Function name="UpdateCamera" retType="void" paramCount="2" desc="Update camera position for selected mode"> |
| 1344 | <Param type="Camera *" name="camera" desc="" /> |
| 1345 | <Param type="int" name="mode" desc="" /> |
| 1346 | </Function> |
| 1347 | <Function name="UpdateCameraPro" retType="void" paramCount="4" desc="Update camera movement/rotation"> |
| 1348 | <Param type="Camera *" name="camera" desc="" /> |
| 1349 | <Param type="Vector3" name="movement" desc="" /> |
| 1350 | <Param type="Vector3" name="rotation" desc="" /> |
| 1351 | <Param type="float" name="zoom" desc="" /> |
| 1352 | </Function> |
| 1353 | <Function name="SetShapesTexture" retType="void" paramCount="2" desc="Set texture and rectangle to be used on shapes drawing"> |
| 1354 | <Param type="Texture2D" name="texture" desc="" /> |
| 1355 | <Param type="Rectangle" name="source" desc="" /> |
| 1356 | </Function> |
| 1357 | <Function name="GetShapesTexture" retType="Texture2D" paramCount="0" desc="Get texture that is used for shapes drawing"> |
| 1358 | </Function> |
| 1359 | <Function name="GetShapesTextureRectangle" retType="Rectangle" paramCount="0" desc="Get texture source rectangle that is used for shapes drawing"> |
| 1360 | </Function> |
| 1361 | <Function name="DrawPixel" retType="void" paramCount="3" desc="Draw a pixel using geometry [Can be slow, use with care]"> |
| 1362 | <Param type="int" name="posX" desc="" /> |
| 1363 | <Param type="int" name="posY" desc="" /> |
| 1364 | <Param type="Color" name="color" desc="" /> |
| 1365 | </Function> |
| 1366 | <Function name="DrawPixelV" retType="void" paramCount="2" desc="Draw a pixel using geometry (Vector version) [Can be slow, use with care]"> |
| 1367 | <Param type="Vector2" name="position" desc="" /> |
| 1368 | <Param type="Color" name="color" desc="" /> |
| 1369 | </Function> |
| 1370 | <Function name="DrawLine" retType="void" paramCount="5" desc="Draw a line"> |
| 1371 | <Param type="int" name="startPosX" desc="" /> |
| 1372 | <Param type="int" name="startPosY" desc="" /> |
| 1373 | <Param type="int" name="endPosX" desc="" /> |
| 1374 | <Param type="int" name="endPosY" desc="" /> |
| 1375 | <Param type="Color" name="color" desc="" /> |
| 1376 | </Function> |
| 1377 | <Function name="DrawLineV" retType="void" paramCount="3" desc="Draw a line (using gl lines)"> |
| 1378 | <Param type="Vector2" name="startPos" desc="" /> |
| 1379 | <Param type="Vector2" name="endPos" desc="" /> |
| 1380 | <Param type="Color" name="color" desc="" /> |
| 1381 | </Function> |
| 1382 | <Function name="DrawLineEx" retType="void" paramCount="4" desc="Draw a line (using triangles/quads)"> |
| 1383 | <Param type="Vector2" name="startPos" desc="" /> |
| 1384 | <Param type="Vector2" name="endPos" desc="" /> |
| 1385 | <Param type="float" name="thick" desc="" /> |
| 1386 | <Param type="Color" name="color" desc="" /> |
| 1387 | </Function> |
| 1388 | <Function name="DrawLineStrip" retType="void" paramCount="3" desc="Draw lines sequence (using gl lines)"> |
| 1389 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1390 | <Param type="int" name="pointCount" desc="" /> |
| 1391 | <Param type="Color" name="color" desc="" /> |
| 1392 | </Function> |
| 1393 | <Function name="DrawLineBezier" retType="void" paramCount="4" desc="Draw line segment cubic-bezier in-out interpolation"> |
| 1394 | <Param type="Vector2" name="startPos" desc="" /> |
| 1395 | <Param type="Vector2" name="endPos" desc="" /> |
| 1396 | <Param type="float" name="thick" desc="" /> |
| 1397 | <Param type="Color" name="color" desc="" /> |
| 1398 | </Function> |
| 1399 | <Function name="DrawLineDashed" retType="void" paramCount="5" desc="Draw a dashed line"> |
| 1400 | <Param type="Vector2" name="startPos" desc="" /> |
| 1401 | <Param type="Vector2" name="endPos" desc="" /> |
| 1402 | <Param type="int" name="dashSize" desc="" /> |
| 1403 | <Param type="int" name="spaceSize" desc="" /> |
| 1404 | <Param type="Color" name="color" desc="" /> |
| 1405 | </Function> |
| 1406 | <Function name="DrawCircle" retType="void" paramCount="4" desc="Draw a color-filled circle"> |
| 1407 | <Param type="int" name="centerX" desc="" /> |
| 1408 | <Param type="int" name="centerY" desc="" /> |
| 1409 | <Param type="float" name="radius" desc="" /> |
| 1410 | <Param type="Color" name="color" desc="" /> |
| 1411 | </Function> |
| 1412 | <Function name="DrawCircleV" retType="void" paramCount="3" desc="Draw a color-filled circle (Vector version)"> |
| 1413 | <Param type="Vector2" name="center" desc="" /> |
| 1414 | <Param type="float" name="radius" desc="" /> |
| 1415 | <Param type="Color" name="color" desc="" /> |
| 1416 | </Function> |
| 1417 | <Function name="DrawCircleGradient" retType="void" paramCount="4" desc="Draw a gradient-filled circle"> |
| 1418 | <Param type="Vector2" name="center" desc="" /> |
| 1419 | <Param type="float" name="radius" desc="" /> |
| 1420 | <Param type="Color" name="inner" desc="" /> |
| 1421 | <Param type="Color" name="outer" desc="" /> |
| 1422 | </Function> |
| 1423 | <Function name="DrawCircleSector" retType="void" paramCount="6" desc="Draw a piece of a circle"> |
| 1424 | <Param type="Vector2" name="center" desc="" /> |
| 1425 | <Param type="float" name="radius" desc="" /> |
| 1426 | <Param type="float" name="startAngle" desc="" /> |
| 1427 | <Param type="float" name="endAngle" desc="" /> |
| 1428 | <Param type="int" name="segments" desc="" /> |
| 1429 | <Param type="Color" name="color" desc="" /> |
| 1430 | </Function> |
| 1431 | <Function name="DrawCircleSectorLines" retType="void" paramCount="6" desc="Draw circle sector outline"> |
| 1432 | <Param type="Vector2" name="center" desc="" /> |
| 1433 | <Param type="float" name="radius" desc="" /> |
| 1434 | <Param type="float" name="startAngle" desc="" /> |
| 1435 | <Param type="float" name="endAngle" desc="" /> |
| 1436 | <Param type="int" name="segments" desc="" /> |
| 1437 | <Param type="Color" name="color" desc="" /> |
| 1438 | </Function> |
| 1439 | <Function name="DrawCircleLines" retType="void" paramCount="4" desc="Draw circle outline"> |
| 1440 | <Param type="int" name="centerX" desc="" /> |
| 1441 | <Param type="int" name="centerY" desc="" /> |
| 1442 | <Param type="float" name="radius" desc="" /> |
| 1443 | <Param type="Color" name="color" desc="" /> |
| 1444 | </Function> |
| 1445 | <Function name="DrawCircleLinesV" retType="void" paramCount="3" desc="Draw circle outline (Vector version)"> |
| 1446 | <Param type="Vector2" name="center" desc="" /> |
| 1447 | <Param type="float" name="radius" desc="" /> |
| 1448 | <Param type="Color" name="color" desc="" /> |
| 1449 | </Function> |
| 1450 | <Function name="DrawEllipse" retType="void" paramCount="5" desc="Draw ellipse"> |
| 1451 | <Param type="int" name="centerX" desc="" /> |
| 1452 | <Param type="int" name="centerY" desc="" /> |
| 1453 | <Param type="float" name="radiusH" desc="" /> |
| 1454 | <Param type="float" name="radiusV" desc="" /> |
| 1455 | <Param type="Color" name="color" desc="" /> |
| 1456 | </Function> |
| 1457 | <Function name="DrawEllipseV" retType="void" paramCount="4" desc="Draw ellipse (Vector version)"> |
| 1458 | <Param type="Vector2" name="center" desc="" /> |
| 1459 | <Param type="float" name="radiusH" desc="" /> |
| 1460 | <Param type="float" name="radiusV" desc="" /> |
| 1461 | <Param type="Color" name="color" desc="" /> |
| 1462 | </Function> |
| 1463 | <Function name="DrawEllipseLines" retType="void" paramCount="5" desc="Draw ellipse outline"> |
| 1464 | <Param type="int" name="centerX" desc="" /> |
| 1465 | <Param type="int" name="centerY" desc="" /> |
| 1466 | <Param type="float" name="radiusH" desc="" /> |
| 1467 | <Param type="float" name="radiusV" desc="" /> |
| 1468 | <Param type="Color" name="color" desc="" /> |
| 1469 | </Function> |
| 1470 | <Function name="DrawEllipseLinesV" retType="void" paramCount="4" desc="Draw ellipse outline (Vector version)"> |
| 1471 | <Param type="Vector2" name="center" desc="" /> |
| 1472 | <Param type="float" name="radiusH" desc="" /> |
| 1473 | <Param type="float" name="radiusV" desc="" /> |
| 1474 | <Param type="Color" name="color" desc="" /> |
| 1475 | </Function> |
| 1476 | <Function name="DrawRing" retType="void" paramCount="7" desc="Draw ring"> |
| 1477 | <Param type="Vector2" name="center" desc="" /> |
| 1478 | <Param type="float" name="innerRadius" desc="" /> |
| 1479 | <Param type="float" name="outerRadius" desc="" /> |
| 1480 | <Param type="float" name="startAngle" desc="" /> |
| 1481 | <Param type="float" name="endAngle" desc="" /> |
| 1482 | <Param type="int" name="segments" desc="" /> |
| 1483 | <Param type="Color" name="color" desc="" /> |
| 1484 | </Function> |
| 1485 | <Function name="DrawRingLines" retType="void" paramCount="7" desc="Draw ring outline"> |
| 1486 | <Param type="Vector2" name="center" desc="" /> |
| 1487 | <Param type="float" name="innerRadius" desc="" /> |
| 1488 | <Param type="float" name="outerRadius" desc="" /> |
| 1489 | <Param type="float" name="startAngle" desc="" /> |
| 1490 | <Param type="float" name="endAngle" desc="" /> |
| 1491 | <Param type="int" name="segments" desc="" /> |
| 1492 | <Param type="Color" name="color" desc="" /> |
| 1493 | </Function> |
| 1494 | <Function name="DrawRectangle" retType="void" paramCount="5" desc="Draw a color-filled rectangle"> |
| 1495 | <Param type="int" name="posX" desc="" /> |
| 1496 | <Param type="int" name="posY" desc="" /> |
| 1497 | <Param type="int" name="width" desc="" /> |
| 1498 | <Param type="int" name="height" desc="" /> |
| 1499 | <Param type="Color" name="color" desc="" /> |
| 1500 | </Function> |
| 1501 | <Function name="DrawRectangleV" retType="void" paramCount="3" desc="Draw a color-filled rectangle (Vector version)"> |
| 1502 | <Param type="Vector2" name="position" desc="" /> |
| 1503 | <Param type="Vector2" name="size" desc="" /> |
| 1504 | <Param type="Color" name="color" desc="" /> |
| 1505 | </Function> |
| 1506 | <Function name="DrawRectangleRec" retType="void" paramCount="2" desc="Draw a color-filled rectangle"> |
| 1507 | <Param type="Rectangle" name="rec" desc="" /> |
| 1508 | <Param type="Color" name="color" desc="" /> |
| 1509 | </Function> |
| 1510 | <Function name="DrawRectanglePro" retType="void" paramCount="4" desc="Draw a color-filled rectangle with pro parameters"> |
| 1511 | <Param type="Rectangle" name="rec" desc="" /> |
| 1512 | <Param type="Vector2" name="origin" desc="" /> |
| 1513 | <Param type="float" name="rotation" desc="" /> |
| 1514 | <Param type="Color" name="color" desc="" /> |
| 1515 | </Function> |
| 1516 | <Function name="DrawRectangleGradientV" retType="void" paramCount="6" desc="Draw a vertical-gradient-filled rectangle"> |
| 1517 | <Param type="int" name="posX" desc="" /> |
| 1518 | <Param type="int" name="posY" desc="" /> |
| 1519 | <Param type="int" name="width" desc="" /> |
| 1520 | <Param type="int" name="height" desc="" /> |
| 1521 | <Param type="Color" name="top" desc="" /> |
| 1522 | <Param type="Color" name="bottom" desc="" /> |
| 1523 | </Function> |
| 1524 | <Function name="DrawRectangleGradientH" retType="void" paramCount="6" desc="Draw a horizontal-gradient-filled rectangle"> |
| 1525 | <Param type="int" name="posX" desc="" /> |
| 1526 | <Param type="int" name="posY" desc="" /> |
| 1527 | <Param type="int" name="width" desc="" /> |
| 1528 | <Param type="int" name="height" desc="" /> |
| 1529 | <Param type="Color" name="left" desc="" /> |
| 1530 | <Param type="Color" name="right" desc="" /> |
| 1531 | </Function> |
| 1532 | <Function name="DrawRectangleGradientEx" retType="void" paramCount="5" desc="Draw a gradient-filled rectangle with custom vertex colors"> |
| 1533 | <Param type="Rectangle" name="rec" desc="" /> |
| 1534 | <Param type="Color" name="topLeft" desc="" /> |
| 1535 | <Param type="Color" name="bottomLeft" desc="" /> |
| 1536 | <Param type="Color" name="bottomRight" desc="" /> |
| 1537 | <Param type="Color" name="topRight" desc="" /> |
| 1538 | </Function> |
| 1539 | <Function name="DrawRectangleLines" retType="void" paramCount="5" desc="Draw rectangle outline"> |
| 1540 | <Param type="int" name="posX" desc="" /> |
| 1541 | <Param type="int" name="posY" desc="" /> |
| 1542 | <Param type="int" name="width" desc="" /> |
| 1543 | <Param type="int" name="height" desc="" /> |
| 1544 | <Param type="Color" name="color" desc="" /> |
| 1545 | </Function> |
| 1546 | <Function name="DrawRectangleLinesEx" retType="void" paramCount="3" desc="Draw rectangle outline with extended parameters"> |
| 1547 | <Param type="Rectangle" name="rec" desc="" /> |
| 1548 | <Param type="float" name="lineThick" desc="" /> |
| 1549 | <Param type="Color" name="color" desc="" /> |
| 1550 | </Function> |
| 1551 | <Function name="DrawRectangleRounded" retType="void" paramCount="4" desc="Draw rectangle with rounded edges"> |
| 1552 | <Param type="Rectangle" name="rec" desc="" /> |
| 1553 | <Param type="float" name="roundness" desc="" /> |
| 1554 | <Param type="int" name="segments" desc="" /> |
| 1555 | <Param type="Color" name="color" desc="" /> |
| 1556 | </Function> |
| 1557 | <Function name="DrawRectangleRoundedLines" retType="void" paramCount="4" desc="Draw rectangle lines with rounded edges"> |
| 1558 | <Param type="Rectangle" name="rec" desc="" /> |
| 1559 | <Param type="float" name="roundness" desc="" /> |
| 1560 | <Param type="int" name="segments" desc="" /> |
| 1561 | <Param type="Color" name="color" desc="" /> |
| 1562 | </Function> |
| 1563 | <Function name="DrawRectangleRoundedLinesEx" retType="void" paramCount="5" desc="Draw rectangle with rounded edges outline"> |
| 1564 | <Param type="Rectangle" name="rec" desc="" /> |
| 1565 | <Param type="float" name="roundness" desc="" /> |
| 1566 | <Param type="int" name="segments" desc="" /> |
| 1567 | <Param type="float" name="lineThick" desc="" /> |
| 1568 | <Param type="Color" name="color" desc="" /> |
| 1569 | </Function> |
| 1570 | <Function name="DrawTriangle" retType="void" paramCount="4" desc="Draw a color-filled triangle (vertex in counter-clockwise order!)"> |
| 1571 | <Param type="Vector2" name="v1" desc="" /> |
| 1572 | <Param type="Vector2" name="v2" desc="" /> |
| 1573 | <Param type="Vector2" name="v3" desc="" /> |
| 1574 | <Param type="Color" name="color" desc="" /> |
| 1575 | </Function> |
| 1576 | <Function name="DrawTriangleLines" retType="void" paramCount="4" desc="Draw triangle outline (vertex in counter-clockwise order!)"> |
| 1577 | <Param type="Vector2" name="v1" desc="" /> |
| 1578 | <Param type="Vector2" name="v2" desc="" /> |
| 1579 | <Param type="Vector2" name="v3" desc="" /> |
| 1580 | <Param type="Color" name="color" desc="" /> |
| 1581 | </Function> |
| 1582 | <Function name="DrawTriangleFan" retType="void" paramCount="3" desc="Draw a triangle fan defined by points (first vertex is the center)"> |
| 1583 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1584 | <Param type="int" name="pointCount" desc="" /> |
| 1585 | <Param type="Color" name="color" desc="" /> |
| 1586 | </Function> |
| 1587 | <Function name="DrawTriangleStrip" retType="void" paramCount="3" desc="Draw a triangle strip defined by points"> |
| 1588 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1589 | <Param type="int" name="pointCount" desc="" /> |
| 1590 | <Param type="Color" name="color" desc="" /> |
| 1591 | </Function> |
| 1592 | <Function name="DrawPoly" retType="void" paramCount="5" desc="Draw a regular polygon (Vector version)"> |
| 1593 | <Param type="Vector2" name="center" desc="" /> |
| 1594 | <Param type="int" name="sides" desc="" /> |
| 1595 | <Param type="float" name="radius" desc="" /> |
| 1596 | <Param type="float" name="rotation" desc="" /> |
| 1597 | <Param type="Color" name="color" desc="" /> |
| 1598 | </Function> |
| 1599 | <Function name="DrawPolyLines" retType="void" paramCount="5" desc="Draw a polygon outline of n sides"> |
| 1600 | <Param type="Vector2" name="center" desc="" /> |
| 1601 | <Param type="int" name="sides" desc="" /> |
| 1602 | <Param type="float" name="radius" desc="" /> |
| 1603 | <Param type="float" name="rotation" desc="" /> |
| 1604 | <Param type="Color" name="color" desc="" /> |
| 1605 | </Function> |
| 1606 | <Function name="DrawPolyLinesEx" retType="void" paramCount="6" desc="Draw a polygon outline of n sides with extended parameters"> |
| 1607 | <Param type="Vector2" name="center" desc="" /> |
| 1608 | <Param type="int" name="sides" desc="" /> |
| 1609 | <Param type="float" name="radius" desc="" /> |
| 1610 | <Param type="float" name="rotation" desc="" /> |
| 1611 | <Param type="float" name="lineThick" desc="" /> |
| 1612 | <Param type="Color" name="color" desc="" /> |
| 1613 | </Function> |
| 1614 | <Function name="DrawSplineLinear" retType="void" paramCount="4" desc="Draw spline: Linear, minimum 2 points"> |
| 1615 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1616 | <Param type="int" name="pointCount" desc="" /> |
| 1617 | <Param type="float" name="thick" desc="" /> |
| 1618 | <Param type="Color" name="color" desc="" /> |
| 1619 | </Function> |
| 1620 | <Function name="DrawSplineBasis" retType="void" paramCount="4" desc="Draw spline: B-Spline, minimum 4 points"> |
| 1621 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1622 | <Param type="int" name="pointCount" desc="" /> |
| 1623 | <Param type="float" name="thick" desc="" /> |
| 1624 | <Param type="Color" name="color" desc="" /> |
| 1625 | </Function> |
| 1626 | <Function name="DrawSplineCatmullRom" retType="void" paramCount="4" desc="Draw spline: Catmull-Rom, minimum 4 points"> |
| 1627 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1628 | <Param type="int" name="pointCount" desc="" /> |
| 1629 | <Param type="float" name="thick" desc="" /> |
| 1630 | <Param type="Color" name="color" desc="" /> |
| 1631 | </Function> |
| 1632 | <Function name="DrawSplineBezierQuadratic" retType="void" paramCount="4" desc="Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]"> |
| 1633 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1634 | <Param type="int" name="pointCount" desc="" /> |
| 1635 | <Param type="float" name="thick" desc="" /> |
| 1636 | <Param type="Color" name="color" desc="" /> |
| 1637 | </Function> |
| 1638 | <Function name="DrawSplineBezierCubic" retType="void" paramCount="4" desc="Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]"> |
| 1639 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1640 | <Param type="int" name="pointCount" desc="" /> |
| 1641 | <Param type="float" name="thick" desc="" /> |
| 1642 | <Param type="Color" name="color" desc="" /> |
| 1643 | </Function> |
| 1644 | <Function name="DrawSplineSegmentLinear" retType="void" paramCount="4" desc="Draw spline segment: Linear, 2 points"> |
| 1645 | <Param type="Vector2" name="p1" desc="" /> |
| 1646 | <Param type="Vector2" name="p2" desc="" /> |
| 1647 | <Param type="float" name="thick" desc="" /> |
| 1648 | <Param type="Color" name="color" desc="" /> |
| 1649 | </Function> |
| 1650 | <Function name="DrawSplineSegmentBasis" retType="void" paramCount="6" desc="Draw spline segment: B-Spline, 4 points"> |
| 1651 | <Param type="Vector2" name="p1" desc="" /> |
| 1652 | <Param type="Vector2" name="p2" desc="" /> |
| 1653 | <Param type="Vector2" name="p3" desc="" /> |
| 1654 | <Param type="Vector2" name="p4" desc="" /> |
| 1655 | <Param type="float" name="thick" desc="" /> |
| 1656 | <Param type="Color" name="color" desc="" /> |
| 1657 | </Function> |
| 1658 | <Function name="DrawSplineSegmentCatmullRom" retType="void" paramCount="6" desc="Draw spline segment: Catmull-Rom, 4 points"> |
| 1659 | <Param type="Vector2" name="p1" desc="" /> |
| 1660 | <Param type="Vector2" name="p2" desc="" /> |
| 1661 | <Param type="Vector2" name="p3" desc="" /> |
| 1662 | <Param type="Vector2" name="p4" desc="" /> |
| 1663 | <Param type="float" name="thick" desc="" /> |
| 1664 | <Param type="Color" name="color" desc="" /> |
| 1665 | </Function> |
| 1666 | <Function name="DrawSplineSegmentBezierQuadratic" retType="void" paramCount="5" desc="Draw spline segment: Quadratic Bezier, 2 points, 1 control point"> |
| 1667 | <Param type="Vector2" name="p1" desc="" /> |
| 1668 | <Param type="Vector2" name="c2" desc="" /> |
| 1669 | <Param type="Vector2" name="p3" desc="" /> |
| 1670 | <Param type="float" name="thick" desc="" /> |
| 1671 | <Param type="Color" name="color" desc="" /> |
| 1672 | </Function> |
| 1673 | <Function name="DrawSplineSegmentBezierCubic" retType="void" paramCount="6" desc="Draw spline segment: Cubic Bezier, 2 points, 2 control points"> |
| 1674 | <Param type="Vector2" name="p1" desc="" /> |
| 1675 | <Param type="Vector2" name="c2" desc="" /> |
| 1676 | <Param type="Vector2" name="c3" desc="" /> |
| 1677 | <Param type="Vector2" name="p4" desc="" /> |
| 1678 | <Param type="float" name="thick" desc="" /> |
| 1679 | <Param type="Color" name="color" desc="" /> |
| 1680 | </Function> |
| 1681 | <Function name="GetSplinePointLinear" retType="Vector2" paramCount="3" desc="Get (evaluate) spline point: Linear"> |
| 1682 | <Param type="Vector2" name="startPos" desc="" /> |
| 1683 | <Param type="Vector2" name="endPos" desc="" /> |
| 1684 | <Param type="float" name="t" desc="" /> |
| 1685 | </Function> |
| 1686 | <Function name="GetSplinePointBasis" retType="Vector2" paramCount="5" desc="Get (evaluate) spline point: B-Spline"> |
| 1687 | <Param type="Vector2" name="p1" desc="" /> |
| 1688 | <Param type="Vector2" name="p2" desc="" /> |
| 1689 | <Param type="Vector2" name="p3" desc="" /> |
| 1690 | <Param type="Vector2" name="p4" desc="" /> |
| 1691 | <Param type="float" name="t" desc="" /> |
| 1692 | </Function> |
| 1693 | <Function name="GetSplinePointCatmullRom" retType="Vector2" paramCount="5" desc="Get (evaluate) spline point: Catmull-Rom"> |
| 1694 | <Param type="Vector2" name="p1" desc="" /> |
| 1695 | <Param type="Vector2" name="p2" desc="" /> |
| 1696 | <Param type="Vector2" name="p3" desc="" /> |
| 1697 | <Param type="Vector2" name="p4" desc="" /> |
| 1698 | <Param type="float" name="t" desc="" /> |
| 1699 | </Function> |
| 1700 | <Function name="GetSplinePointBezierQuad" retType="Vector2" paramCount="4" desc="Get (evaluate) spline point: Quadratic Bezier"> |
| 1701 | <Param type="Vector2" name="p1" desc="" /> |
| 1702 | <Param type="Vector2" name="c2" desc="" /> |
| 1703 | <Param type="Vector2" name="p3" desc="" /> |
| 1704 | <Param type="float" name="t" desc="" /> |
| 1705 | </Function> |
| 1706 | <Function name="GetSplinePointBezierCubic" retType="Vector2" paramCount="5" desc="Get (evaluate) spline point: Cubic Bezier"> |
| 1707 | <Param type="Vector2" name="p1" desc="" /> |
| 1708 | <Param type="Vector2" name="c2" desc="" /> |
| 1709 | <Param type="Vector2" name="c3" desc="" /> |
| 1710 | <Param type="Vector2" name="p4" desc="" /> |
| 1711 | <Param type="float" name="t" desc="" /> |
| 1712 | </Function> |
| 1713 | <Function name="CheckCollisionRecs" retType="bool" paramCount="2" desc="Check collision between two rectangles"> |
| 1714 | <Param type="Rectangle" name="rec1" desc="" /> |
| 1715 | <Param type="Rectangle" name="rec2" desc="" /> |
| 1716 | </Function> |
| 1717 | <Function name="CheckCollisionCircles" retType="bool" paramCount="4" desc="Check collision between two circles"> |
| 1718 | <Param type="Vector2" name="center1" desc="" /> |
| 1719 | <Param type="float" name="radius1" desc="" /> |
| 1720 | <Param type="Vector2" name="center2" desc="" /> |
| 1721 | <Param type="float" name="radius2" desc="" /> |
| 1722 | </Function> |
| 1723 | <Function name="CheckCollisionCircleRec" retType="bool" paramCount="3" desc="Check collision between circle and rectangle"> |
| 1724 | <Param type="Vector2" name="center" desc="" /> |
| 1725 | <Param type="float" name="radius" desc="" /> |
| 1726 | <Param type="Rectangle" name="rec" desc="" /> |
| 1727 | </Function> |
| 1728 | <Function name="CheckCollisionCircleLine" retType="bool" paramCount="4" desc="Check if circle collides with a line created betweeen two points [p1] and [p2]"> |
| 1729 | <Param type="Vector2" name="center" desc="" /> |
| 1730 | <Param type="float" name="radius" desc="" /> |
| 1731 | <Param type="Vector2" name="p1" desc="" /> |
| 1732 | <Param type="Vector2" name="p2" desc="" /> |
| 1733 | </Function> |
| 1734 | <Function name="CheckCollisionPointRec" retType="bool" paramCount="2" desc="Check if point is inside rectangle"> |
| 1735 | <Param type="Vector2" name="point" desc="" /> |
| 1736 | <Param type="Rectangle" name="rec" desc="" /> |
| 1737 | </Function> |
| 1738 | <Function name="CheckCollisionPointCircle" retType="bool" paramCount="3" desc="Check if point is inside circle"> |
| 1739 | <Param type="Vector2" name="point" desc="" /> |
| 1740 | <Param type="Vector2" name="center" desc="" /> |
| 1741 | <Param type="float" name="radius" desc="" /> |
| 1742 | </Function> |
| 1743 | <Function name="CheckCollisionPointTriangle" retType="bool" paramCount="4" desc="Check if point is inside a triangle"> |
| 1744 | <Param type="Vector2" name="point" desc="" /> |
| 1745 | <Param type="Vector2" name="p1" desc="" /> |
| 1746 | <Param type="Vector2" name="p2" desc="" /> |
| 1747 | <Param type="Vector2" name="p3" desc="" /> |
| 1748 | </Function> |
| 1749 | <Function name="CheckCollisionPointLine" retType="bool" paramCount="4" desc="Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]"> |
| 1750 | <Param type="Vector2" name="point" desc="" /> |
| 1751 | <Param type="Vector2" name="p1" desc="" /> |
| 1752 | <Param type="Vector2" name="p2" desc="" /> |
| 1753 | <Param type="int" name="threshold" desc="" /> |
| 1754 | </Function> |
| 1755 | <Function name="CheckCollisionPointPoly" retType="bool" paramCount="3" desc="Check if point is within a polygon described by array of vertices"> |
| 1756 | <Param type="Vector2" name="point" desc="" /> |
| 1757 | <Param type="const Vector2 *" name="points" desc="" /> |
| 1758 | <Param type="int" name="pointCount" desc="" /> |
| 1759 | </Function> |
| 1760 | <Function name="CheckCollisionLines" retType="bool" paramCount="5" desc="Check the collision between two lines defined by two points each, returns collision point by reference"> |
| 1761 | <Param type="Vector2" name="startPos1" desc="" /> |
| 1762 | <Param type="Vector2" name="endPos1" desc="" /> |
| 1763 | <Param type="Vector2" name="startPos2" desc="" /> |
| 1764 | <Param type="Vector2" name="endPos2" desc="" /> |
| 1765 | <Param type="Vector2 *" name="collisionPoint" desc="" /> |
| 1766 | </Function> |
| 1767 | <Function name="GetCollisionRec" retType="Rectangle" paramCount="2" desc="Get collision rectangle for two rectangles collision"> |
| 1768 | <Param type="Rectangle" name="rec1" desc="" /> |
| 1769 | <Param type="Rectangle" name="rec2" desc="" /> |
| 1770 | </Function> |
| 1771 | <Function name="LoadImage" retType="Image" paramCount="1" desc="Load image from file into CPU memory (RAM)"> |
| 1772 | <Param type="const char *" name="fileName" desc="" /> |
| 1773 | </Function> |
| 1774 | <Function name="LoadImageRaw" retType="Image" paramCount="5" desc="Load image from RAW file data"> |
| 1775 | <Param type="const char *" name="fileName" desc="" /> |
| 1776 | <Param type="int" name="width" desc="" /> |
| 1777 | <Param type="int" name="height" desc="" /> |
| 1778 | <Param type="int" name="format" desc="" /> |
| 1779 | <Param type="int" name="headerSize" desc="" /> |
| 1780 | </Function> |
| 1781 | <Function name="LoadImageAnim" retType="Image" paramCount="2" desc="Load image sequence from file (frames appended to image.data)"> |
| 1782 | <Param type="const char *" name="fileName" desc="" /> |
| 1783 | <Param type="int *" name="frames" desc="" /> |
| 1784 | </Function> |
| 1785 | <Function name="LoadImageAnimFromMemory" retType="Image" paramCount="4" desc="Load image sequence from memory buffer"> |
| 1786 | <Param type="const char *" name="fileType" desc="" /> |
| 1787 | <Param type="const unsigned char *" name="fileData" desc="" /> |
| 1788 | <Param type="int" name="dataSize" desc="" /> |
| 1789 | <Param type="int *" name="frames" desc="" /> |
| 1790 | </Function> |
| 1791 | <Function name="LoadImageFromMemory" retType="Image" paramCount="3" desc="Load image from memory buffer, fileType refers to extension: i.e. '.png'"> |
| 1792 | <Param type="const char *" name="fileType" desc="" /> |
| 1793 | <Param type="const unsigned char *" name="fileData" desc="" /> |
| 1794 | <Param type="int" name="dataSize" desc="" /> |
| 1795 | </Function> |
| 1796 | <Function name="LoadImageFromTexture" retType="Image" paramCount="1" desc="Load image from GPU texture data"> |
| 1797 | <Param type="Texture2D" name="texture" desc="" /> |
| 1798 | </Function> |
| 1799 | <Function name="LoadImageFromScreen" retType="Image" paramCount="0" desc="Load image from screen buffer and (screenshot)"> |
| 1800 | </Function> |
| 1801 | <Function name="IsImageValid" retType="bool" paramCount="1" desc="Check if an image is valid (data and parameters)"> |
| 1802 | <Param type="Image" name="image" desc="" /> |
| 1803 | </Function> |
| 1804 | <Function name="UnloadImage" retType="void" paramCount="1" desc="Unload image from CPU memory (RAM)"> |
| 1805 | <Param type="Image" name="image" desc="" /> |
| 1806 | </Function> |
| 1807 | <Function name="ExportImage" retType="bool" paramCount="2" desc="Export image data to file, returns true on success"> |
| 1808 | <Param type="Image" name="image" desc="" /> |
| 1809 | <Param type="const char *" name="fileName" desc="" /> |
| 1810 | </Function> |
| 1811 | <Function name="ExportImageToMemory" retType="unsigned char *" paramCount="3" desc="Export image to memory buffer, memory must be MemFree()"> |
| 1812 | <Param type="Image" name="image" desc="" /> |
| 1813 | <Param type="const char *" name="fileType" desc="" /> |
| 1814 | <Param type="int *" name="fileSize" desc="" /> |
| 1815 | </Function> |
| 1816 | <Function name="ExportImageAsCode" retType="bool" paramCount="2" desc="Export image as code file defining an array of bytes, returns true on success"> |
| 1817 | <Param type="Image" name="image" desc="" /> |
| 1818 | <Param type="const char *" name="fileName" desc="" /> |
| 1819 | </Function> |
| 1820 | <Function name="GenImageColor" retType="Image" paramCount="3" desc="Generate image: plain color"> |
| 1821 | <Param type="int" name="width" desc="" /> |
| 1822 | <Param type="int" name="height" desc="" /> |
| 1823 | <Param type="Color" name="color" desc="" /> |
| 1824 | </Function> |
| 1825 | <Function name="GenImageGradientLinear" retType="Image" paramCount="5" desc="Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient"> |
| 1826 | <Param type="int" name="width" desc="" /> |
| 1827 | <Param type="int" name="height" desc="" /> |
| 1828 | <Param type="int" name="direction" desc="" /> |
| 1829 | <Param type="Color" name="start" desc="" /> |
| 1830 | <Param type="Color" name="end" desc="" /> |
| 1831 | </Function> |
| 1832 | <Function name="GenImageGradientRadial" retType="Image" paramCount="5" desc="Generate image: radial gradient"> |
| 1833 | <Param type="int" name="width" desc="" /> |
| 1834 | <Param type="int" name="height" desc="" /> |
| 1835 | <Param type="float" name="density" desc="" /> |
| 1836 | <Param type="Color" name="inner" desc="" /> |
| 1837 | <Param type="Color" name="outer" desc="" /> |
| 1838 | </Function> |
| 1839 | <Function name="GenImageGradientSquare" retType="Image" paramCount="5" desc="Generate image: square gradient"> |
| 1840 | <Param type="int" name="width" desc="" /> |
| 1841 | <Param type="int" name="height" desc="" /> |
| 1842 | <Param type="float" name="density" desc="" /> |
| 1843 | <Param type="Color" name="inner" desc="" /> |
| 1844 | <Param type="Color" name="outer" desc="" /> |
| 1845 | </Function> |
| 1846 | <Function name="GenImageChecked" retType="Image" paramCount="6" desc="Generate image: checked"> |
| 1847 | <Param type="int" name="width" desc="" /> |
| 1848 | <Param type="int" name="height" desc="" /> |
| 1849 | <Param type="int" name="checksX" desc="" /> |
| 1850 | <Param type="int" name="checksY" desc="" /> |
| 1851 | <Param type="Color" name="col1" desc="" /> |
| 1852 | <Param type="Color" name="col2" desc="" /> |
| 1853 | </Function> |
| 1854 | <Function name="GenImageWhiteNoise" retType="Image" paramCount="3" desc="Generate image: white noise"> |
| 1855 | <Param type="int" name="width" desc="" /> |
| 1856 | <Param type="int" name="height" desc="" /> |
| 1857 | <Param type="float" name="factor" desc="" /> |
| 1858 | </Function> |
| 1859 | <Function name="GenImagePerlinNoise" retType="Image" paramCount="5" desc="Generate image: perlin noise"> |
| 1860 | <Param type="int" name="width" desc="" /> |
| 1861 | <Param type="int" name="height" desc="" /> |
| 1862 | <Param type="int" name="offsetX" desc="" /> |
| 1863 | <Param type="int" name="offsetY" desc="" /> |
| 1864 | <Param type="float" name="scale" desc="" /> |
| 1865 | </Function> |
| 1866 | <Function name="GenImageCellular" retType="Image" paramCount="3" desc="Generate image: cellular algorithm, bigger tileSize means bigger cells"> |
| 1867 | <Param type="int" name="width" desc="" /> |
| 1868 | <Param type="int" name="height" desc="" /> |
| 1869 | <Param type="int" name="tileSize" desc="" /> |
| 1870 | </Function> |
| 1871 | <Function name="GenImageText" retType="Image" paramCount="3" desc="Generate image: grayscale image from text data"> |
| 1872 | <Param type="int" name="width" desc="" /> |
| 1873 | <Param type="int" name="height" desc="" /> |
| 1874 | <Param type="const char *" name="text" desc="" /> |
| 1875 | </Function> |
| 1876 | <Function name="ImageCopy" retType="Image" paramCount="1" desc="Create an image duplicate (useful for transformations)"> |
| 1877 | <Param type="Image" name="image" desc="" /> |
| 1878 | </Function> |
| 1879 | <Function name="ImageFromImage" retType="Image" paramCount="2" desc="Create an image from another image piece"> |
| 1880 | <Param type="Image" name="image" desc="" /> |
| 1881 | <Param type="Rectangle" name="rec" desc="" /> |
| 1882 | </Function> |
| 1883 | <Function name="ImageFromChannel" retType="Image" paramCount="2" desc="Create an image from a selected channel of another image (GRAYSCALE)"> |
| 1884 | <Param type="Image" name="image" desc="" /> |
| 1885 | <Param type="int" name="selectedChannel" desc="" /> |
| 1886 | </Function> |
| 1887 | <Function name="ImageText" retType="Image" paramCount="3" desc="Create an image from text (default font)"> |
| 1888 | <Param type="const char *" name="text" desc="" /> |
| 1889 | <Param type="int" name="fontSize" desc="" /> |
| 1890 | <Param type="Color" name="color" desc="" /> |
| 1891 | </Function> |
| 1892 | <Function name="ImageTextEx" retType="Image" paramCount="5" desc="Create an image from text (custom sprite font)"> |
| 1893 | <Param type="Font" name="font" desc="" /> |
| 1894 | <Param type="const char *" name="text" desc="" /> |
| 1895 | <Param type="float" name="fontSize" desc="" /> |
| 1896 | <Param type="float" name="spacing" desc="" /> |
| 1897 | <Param type="Color" name="tint" desc="" /> |
| 1898 | </Function> |
| 1899 | <Function name="ImageFormat" retType="void" paramCount="2" desc="Convert image data to desired format"> |
| 1900 | <Param type="Image *" name="image" desc="" /> |
| 1901 | <Param type="int" name="newFormat" desc="" /> |
| 1902 | </Function> |
| 1903 | <Function name="ImageToPOT" retType="void" paramCount="2" desc="Convert image to POT (power-of-two)"> |
| 1904 | <Param type="Image *" name="image" desc="" /> |
| 1905 | <Param type="Color" name="fill" desc="" /> |
| 1906 | </Function> |
| 1907 | <Function name="ImageCrop" retType="void" paramCount="2" desc="Crop an image to a defined rectangle"> |
| 1908 | <Param type="Image *" name="image" desc="" /> |
| 1909 | <Param type="Rectangle" name="crop" desc="" /> |
| 1910 | </Function> |
| 1911 | <Function name="ImageAlphaCrop" retType="void" paramCount="2" desc="Crop image depending on alpha value"> |
| 1912 | <Param type="Image *" name="image" desc="" /> |
| 1913 | <Param type="float" name="threshold" desc="" /> |
| 1914 | </Function> |
| 1915 | <Function name="ImageAlphaClear" retType="void" paramCount="3" desc="Clear alpha channel to desired color"> |
| 1916 | <Param type="Image *" name="image" desc="" /> |
| 1917 | <Param type="Color" name="color" desc="" /> |
| 1918 | <Param type="float" name="threshold" desc="" /> |
| 1919 | </Function> |
| 1920 | <Function name="ImageAlphaMask" retType="void" paramCount="2" desc="Apply alpha mask to image"> |
| 1921 | <Param type="Image *" name="image" desc="" /> |
| 1922 | <Param type="Image" name="alphaMask" desc="" /> |
| 1923 | </Function> |
| 1924 | <Function name="ImageAlphaPremultiply" retType="void" paramCount="1" desc="Premultiply alpha channel"> |
| 1925 | <Param type="Image *" name="image" desc="" /> |
| 1926 | </Function> |
| 1927 | <Function name="ImageBlurGaussian" retType="void" paramCount="2" desc="Apply Gaussian blur using a box blur approximation"> |
| 1928 | <Param type="Image *" name="image" desc="" /> |
| 1929 | <Param type="int" name="blurSize" desc="" /> |
| 1930 | </Function> |
| 1931 | <Function name="ImageKernelConvolution" retType="void" paramCount="3" desc="Apply custom square convolution kernel to image"> |
| 1932 | <Param type="Image *" name="image" desc="" /> |
| 1933 | <Param type="const float *" name="kernel" desc="" /> |
| 1934 | <Param type="int" name="kernelSize" desc="" /> |
| 1935 | </Function> |
| 1936 | <Function name="ImageResize" retType="void" paramCount="3" desc="Resize image (Bicubic scaling algorithm)"> |
| 1937 | <Param type="Image *" name="image" desc="" /> |
| 1938 | <Param type="int" name="newWidth" desc="" /> |
| 1939 | <Param type="int" name="newHeight" desc="" /> |
| 1940 | </Function> |
| 1941 | <Function name="ImageResizeNN" retType="void" paramCount="3" desc="Resize image (Nearest-Neighbor scaling algorithm)"> |
| 1942 | <Param type="Image *" name="image" desc="" /> |
| 1943 | <Param type="int" name="newWidth" desc="" /> |
| 1944 | <Param type="int" name="newHeight" desc="" /> |
| 1945 | </Function> |
| 1946 | <Function name="ImageResizeCanvas" retType="void" paramCount="6" desc="Resize canvas and fill with color"> |
| 1947 | <Param type="Image *" name="image" desc="" /> |
| 1948 | <Param type="int" name="newWidth" desc="" /> |
| 1949 | <Param type="int" name="newHeight" desc="" /> |
| 1950 | <Param type="int" name="offsetX" desc="" /> |
| 1951 | <Param type="int" name="offsetY" desc="" /> |
| 1952 | <Param type="Color" name="fill" desc="" /> |
| 1953 | </Function> |
| 1954 | <Function name="ImageMipmaps" retType="void" paramCount="1" desc="Compute all mipmap levels for a provided image"> |
| 1955 | <Param type="Image *" name="image" desc="" /> |
| 1956 | </Function> |
| 1957 | <Function name="ImageDither" retType="void" paramCount="5" desc="Dither image data to 16bpp or lower (Floyd-Steinberg dithering)"> |
| 1958 | <Param type="Image *" name="image" desc="" /> |
| 1959 | <Param type="int" name="rBpp" desc="" /> |
| 1960 | <Param type="int" name="gBpp" desc="" /> |
| 1961 | <Param type="int" name="bBpp" desc="" /> |
| 1962 | <Param type="int" name="aBpp" desc="" /> |
| 1963 | </Function> |
| 1964 | <Function name="ImageFlipVertical" retType="void" paramCount="1" desc="Flip image vertically"> |
| 1965 | <Param type="Image *" name="image" desc="" /> |
| 1966 | </Function> |
| 1967 | <Function name="ImageFlipHorizontal" retType="void" paramCount="1" desc="Flip image horizontally"> |
| 1968 | <Param type="Image *" name="image" desc="" /> |
| 1969 | </Function> |
| 1970 | <Function name="ImageRotate" retType="void" paramCount="2" desc="Rotate image by input angle in degrees (-359 to 359)"> |
| 1971 | <Param type="Image *" name="image" desc="" /> |
| 1972 | <Param type="int" name="degrees" desc="" /> |
| 1973 | </Function> |
| 1974 | <Function name="ImageRotateCW" retType="void" paramCount="1" desc="Rotate image clockwise 90deg"> |
| 1975 | <Param type="Image *" name="image" desc="" /> |
| 1976 | </Function> |
| 1977 | <Function name="ImageRotateCCW" retType="void" paramCount="1" desc="Rotate image counter-clockwise 90deg"> |
| 1978 | <Param type="Image *" name="image" desc="" /> |
| 1979 | </Function> |
| 1980 | <Function name="ImageColorTint" retType="void" paramCount="2" desc="Modify image color: tint"> |
| 1981 | <Param type="Image *" name="image" desc="" /> |
| 1982 | <Param type="Color" name="color" desc="" /> |
| 1983 | </Function> |
| 1984 | <Function name="ImageColorInvert" retType="void" paramCount="1" desc="Modify image color: invert"> |
| 1985 | <Param type="Image *" name="image" desc="" /> |
| 1986 | </Function> |
| 1987 | <Function name="ImageColorGrayscale" retType="void" paramCount="1" desc="Modify image color: grayscale"> |
| 1988 | <Param type="Image *" name="image" desc="" /> |
| 1989 | </Function> |
| 1990 | <Function name="ImageColorContrast" retType="void" paramCount="2" desc="Modify image color: contrast (-100 to 100)"> |
| 1991 | <Param type="Image *" name="image" desc="" /> |
| 1992 | <Param type="float" name="contrast" desc="" /> |
| 1993 | </Function> |
| 1994 | <Function name="ImageColorBrightness" retType="void" paramCount="2" desc="Modify image color: brightness (-255 to 255)"> |
| 1995 | <Param type="Image *" name="image" desc="" /> |
| 1996 | <Param type="int" name="brightness" desc="" /> |
| 1997 | </Function> |
| 1998 | <Function name="ImageColorReplace" retType="void" paramCount="3" desc="Modify image color: replace color"> |
| 1999 | <Param type="Image *" name="image" desc="" /> |
| 2000 | <Param type="Color" name="color" desc="" /> |
| 2001 | <Param type="Color" name="replace" desc="" /> |
| 2002 | </Function> |
| 2003 | <Function name="LoadImageColors" retType="Color *" paramCount="1" desc="Load color data from image as a Color array (RGBA - 32bit)"> |
| 2004 | <Param type="Image" name="image" desc="" /> |
| 2005 | </Function> |
| 2006 | <Function name="LoadImagePalette" retType="Color *" paramCount="3" desc="Load colors palette from image as a Color array (RGBA - 32bit)"> |
| 2007 | <Param type="Image" name="image" desc="" /> |
| 2008 | <Param type="int" name="maxPaletteSize" desc="" /> |
| 2009 | <Param type="int *" name="colorCount" desc="" /> |
| 2010 | </Function> |
| 2011 | <Function name="UnloadImageColors" retType="void" paramCount="1" desc="Unload color data loaded with LoadImageColors()"> |
| 2012 | <Param type="Color *" name="colors" desc="" /> |
| 2013 | </Function> |
| 2014 | <Function name="UnloadImagePalette" retType="void" paramCount="1" desc="Unload colors palette loaded with LoadImagePalette()"> |
| 2015 | <Param type="Color *" name="colors" desc="" /> |
| 2016 | </Function> |
| 2017 | <Function name="GetImageAlphaBorder" retType="Rectangle" paramCount="2" desc="Get image alpha border rectangle"> |
| 2018 | <Param type="Image" name="image" desc="" /> |
| 2019 | <Param type="float" name="threshold" desc="" /> |
| 2020 | </Function> |
| 2021 | <Function name="GetImageColor" retType="Color" paramCount="3" desc="Get image pixel color at (x, y) position"> |
| 2022 | <Param type="Image" name="image" desc="" /> |
| 2023 | <Param type="int" name="x" desc="" /> |
| 2024 | <Param type="int" name="y" desc="" /> |
| 2025 | </Function> |
| 2026 | <Function name="ImageClearBackground" retType="void" paramCount="2" desc="Clear image background with given color"> |
| 2027 | <Param type="Image *" name="dst" desc="" /> |
| 2028 | <Param type="Color" name="color" desc="" /> |
| 2029 | </Function> |
| 2030 | <Function name="ImageDrawPixel" retType="void" paramCount="4" desc="Draw pixel within an image"> |
| 2031 | <Param type="Image *" name="dst" desc="" /> |
| 2032 | <Param type="int" name="posX" desc="" /> |
| 2033 | <Param type="int" name="posY" desc="" /> |
| 2034 | <Param type="Color" name="color" desc="" /> |
| 2035 | </Function> |
| 2036 | <Function name="ImageDrawPixelV" retType="void" paramCount="3" desc="Draw pixel within an image (Vector version)"> |
| 2037 | <Param type="Image *" name="dst" desc="" /> |
| 2038 | <Param type="Vector2" name="position" desc="" /> |
| 2039 | <Param type="Color" name="color" desc="" /> |
| 2040 | </Function> |
| 2041 | <Function name="ImageDrawLine" retType="void" paramCount="6" desc="Draw line within an image"> |
| 2042 | <Param type="Image *" name="dst" desc="" /> |
| 2043 | <Param type="int" name="startPosX" desc="" /> |
| 2044 | <Param type="int" name="startPosY" desc="" /> |
| 2045 | <Param type="int" name="endPosX" desc="" /> |
| 2046 | <Param type="int" name="endPosY" desc="" /> |
| 2047 | <Param type="Color" name="color" desc="" /> |
| 2048 | </Function> |
| 2049 | <Function name="ImageDrawLineV" retType="void" paramCount="4" desc="Draw line within an image (Vector version)"> |
| 2050 | <Param type="Image *" name="dst" desc="" /> |
| 2051 | <Param type="Vector2" name="start" desc="" /> |
| 2052 | <Param type="Vector2" name="end" desc="" /> |
| 2053 | <Param type="Color" name="color" desc="" /> |
| 2054 | </Function> |
| 2055 | <Function name="ImageDrawLineEx" retType="void" paramCount="5" desc="Draw a line defining thickness within an image"> |
| 2056 | <Param type="Image *" name="dst" desc="" /> |
| 2057 | <Param type="Vector2" name="start" desc="" /> |
| 2058 | <Param type="Vector2" name="end" desc="" /> |
| 2059 | <Param type="int" name="thick" desc="" /> |
| 2060 | <Param type="Color" name="color" desc="" /> |
| 2061 | </Function> |
| 2062 | <Function name="ImageDrawCircle" retType="void" paramCount="5" desc="Draw a filled circle within an image"> |
| 2063 | <Param type="Image *" name="dst" desc="" /> |
| 2064 | <Param type="int" name="centerX" desc="" /> |
| 2065 | <Param type="int" name="centerY" desc="" /> |
| 2066 | <Param type="int" name="radius" desc="" /> |
| 2067 | <Param type="Color" name="color" desc="" /> |
| 2068 | </Function> |
| 2069 | <Function name="ImageDrawCircleV" retType="void" paramCount="4" desc="Draw a filled circle within an image (Vector version)"> |
| 2070 | <Param type="Image *" name="dst" desc="" /> |
| 2071 | <Param type="Vector2" name="center" desc="" /> |
| 2072 | <Param type="int" name="radius" desc="" /> |
| 2073 | <Param type="Color" name="color" desc="" /> |
| 2074 | </Function> |
| 2075 | <Function name="ImageDrawCircleLines" retType="void" paramCount="5" desc="Draw circle outline within an image"> |
| 2076 | <Param type="Image *" name="dst" desc="" /> |
| 2077 | <Param type="int" name="centerX" desc="" /> |
| 2078 | <Param type="int" name="centerY" desc="" /> |
| 2079 | <Param type="int" name="radius" desc="" /> |
| 2080 | <Param type="Color" name="color" desc="" /> |
| 2081 | </Function> |
| 2082 | <Function name="ImageDrawCircleLinesV" retType="void" paramCount="4" desc="Draw circle outline within an image (Vector version)"> |
| 2083 | <Param type="Image *" name="dst" desc="" /> |
| 2084 | <Param type="Vector2" name="center" desc="" /> |
| 2085 | <Param type="int" name="radius" desc="" /> |
| 2086 | <Param type="Color" name="color" desc="" /> |
| 2087 | </Function> |
| 2088 | <Function name="ImageDrawRectangle" retType="void" paramCount="6" desc="Draw rectangle within an image"> |
| 2089 | <Param type="Image *" name="dst" desc="" /> |
| 2090 | <Param type="int" name="posX" desc="" /> |
| 2091 | <Param type="int" name="posY" desc="" /> |
| 2092 | <Param type="int" name="width" desc="" /> |
| 2093 | <Param type="int" name="height" desc="" /> |
| 2094 | <Param type="Color" name="color" desc="" /> |
| 2095 | </Function> |
| 2096 | <Function name="ImageDrawRectangleV" retType="void" paramCount="4" desc="Draw rectangle within an image (Vector version)"> |
| 2097 | <Param type="Image *" name="dst" desc="" /> |
| 2098 | <Param type="Vector2" name="position" desc="" /> |
| 2099 | <Param type="Vector2" name="size" desc="" /> |
| 2100 | <Param type="Color" name="color" desc="" /> |
| 2101 | </Function> |
| 2102 | <Function name="ImageDrawRectangleRec" retType="void" paramCount="3" desc="Draw rectangle within an image"> |
| 2103 | <Param type="Image *" name="dst" desc="" /> |
| 2104 | <Param type="Rectangle" name="rec" desc="" /> |
| 2105 | <Param type="Color" name="color" desc="" /> |
| 2106 | </Function> |
| 2107 | <Function name="ImageDrawRectangleLines" retType="void" paramCount="4" desc="Draw rectangle lines within an image"> |
| 2108 | <Param type="Image *" name="dst" desc="" /> |
| 2109 | <Param type="Rectangle" name="rec" desc="" /> |
| 2110 | <Param type="int" name="thick" desc="" /> |
| 2111 | <Param type="Color" name="color" desc="" /> |
| 2112 | </Function> |
| 2113 | <Function name="ImageDrawTriangle" retType="void" paramCount="5" desc="Draw triangle within an image"> |
| 2114 | <Param type="Image *" name="dst" desc="" /> |
| 2115 | <Param type="Vector2" name="v1" desc="" /> |
| 2116 | <Param type="Vector2" name="v2" desc="" /> |
| 2117 | <Param type="Vector2" name="v3" desc="" /> |
| 2118 | <Param type="Color" name="color" desc="" /> |
| 2119 | </Function> |
| 2120 | <Function name="ImageDrawTriangleEx" retType="void" paramCount="7" desc="Draw triangle with interpolated colors within an image"> |
| 2121 | <Param type="Image *" name="dst" desc="" /> |
| 2122 | <Param type="Vector2" name="v1" desc="" /> |
| 2123 | <Param type="Vector2" name="v2" desc="" /> |
| 2124 | <Param type="Vector2" name="v3" desc="" /> |
| 2125 | <Param type="Color" name="c1" desc="" /> |
| 2126 | <Param type="Color" name="c2" desc="" /> |
| 2127 | <Param type="Color" name="c3" desc="" /> |
| 2128 | </Function> |
| 2129 | <Function name="ImageDrawTriangleLines" retType="void" paramCount="5" desc="Draw triangle outline within an image"> |
| 2130 | <Param type="Image *" name="dst" desc="" /> |
| 2131 | <Param type="Vector2" name="v1" desc="" /> |
| 2132 | <Param type="Vector2" name="v2" desc="" /> |
| 2133 | <Param type="Vector2" name="v3" desc="" /> |
| 2134 | <Param type="Color" name="color" desc="" /> |
| 2135 | </Function> |
| 2136 | <Function name="ImageDrawTriangleFan" retType="void" paramCount="4" desc="Draw a triangle fan defined by points within an image (first vertex is the center)"> |
| 2137 | <Param type="Image *" name="dst" desc="" /> |
| 2138 | <Param type="const Vector2 *" name="points" desc="" /> |
| 2139 | <Param type="int" name="pointCount" desc="" /> |
| 2140 | <Param type="Color" name="color" desc="" /> |
| 2141 | </Function> |
| 2142 | <Function name="ImageDrawTriangleStrip" retType="void" paramCount="4" desc="Draw a triangle strip defined by points within an image"> |
| 2143 | <Param type="Image *" name="dst" desc="" /> |
| 2144 | <Param type="const Vector2 *" name="points" desc="" /> |
| 2145 | <Param type="int" name="pointCount" desc="" /> |
| 2146 | <Param type="Color" name="color" desc="" /> |
| 2147 | </Function> |
| 2148 | <Function name="ImageDraw" retType="void" paramCount="5" desc="Draw a source image within a destination image (tint applied to source)"> |
| 2149 | <Param type="Image *" name="dst" desc="" /> |
| 2150 | <Param type="Image" name="src" desc="" /> |
| 2151 | <Param type="Rectangle" name="srcRec" desc="" /> |
| 2152 | <Param type="Rectangle" name="dstRec" desc="" /> |
| 2153 | <Param type="Color" name="tint" desc="" /> |
| 2154 | </Function> |
| 2155 | <Function name="ImageDrawText" retType="void" paramCount="6" desc="Draw text (using default font) within an image (destination)"> |
| 2156 | <Param type="Image *" name="dst" desc="" /> |
| 2157 | <Param type="const char *" name="text" desc="" /> |
| 2158 | <Param type="int" name="posX" desc="" /> |
| 2159 | <Param type="int" name="posY" desc="" /> |
| 2160 | <Param type="int" name="fontSize" desc="" /> |
| 2161 | <Param type="Color" name="color" desc="" /> |
| 2162 | </Function> |
| 2163 | <Function name="ImageDrawTextEx" retType="void" paramCount="7" desc="Draw text (custom sprite font) within an image (destination)"> |
| 2164 | <Param type="Image *" name="dst" desc="" /> |
| 2165 | <Param type="Font" name="font" desc="" /> |
| 2166 | <Param type="const char *" name="text" desc="" /> |
| 2167 | <Param type="Vector2" name="position" desc="" /> |
| 2168 | <Param type="float" name="fontSize" desc="" /> |
| 2169 | <Param type="float" name="spacing" desc="" /> |
| 2170 | <Param type="Color" name="tint" desc="" /> |
| 2171 | </Function> |
| 2172 | <Function name="LoadTexture" retType="Texture2D" paramCount="1" desc="Load texture from file into GPU memory (VRAM)"> |
| 2173 | <Param type="const char *" name="fileName" desc="" /> |
| 2174 | </Function> |
| 2175 | <Function name="LoadTextureFromImage" retType="Texture2D" paramCount="1" desc="Load texture from image data"> |
| 2176 | <Param type="Image" name="image" desc="" /> |
| 2177 | </Function> |
| 2178 | <Function name="LoadTextureCubemap" retType="TextureCubemap" paramCount="2" desc="Load cubemap from image, multiple image cubemap layouts supported"> |
| 2179 | <Param type="Image" name="image" desc="" /> |
| 2180 | <Param type="int" name="layout" desc="" /> |
| 2181 | </Function> |
| 2182 | <Function name="LoadRenderTexture" retType="RenderTexture2D" paramCount="2" desc="Load texture for rendering (framebuffer)"> |
| 2183 | <Param type="int" name="width" desc="" /> |
| 2184 | <Param type="int" name="height" desc="" /> |
| 2185 | </Function> |
| 2186 | <Function name="IsTextureValid" retType="bool" paramCount="1" desc="Check if a texture is valid (loaded in GPU)"> |
| 2187 | <Param type="Texture2D" name="texture" desc="" /> |
| 2188 | </Function> |
| 2189 | <Function name="UnloadTexture" retType="void" paramCount="1" desc="Unload texture from GPU memory (VRAM)"> |
| 2190 | <Param type="Texture2D" name="texture" desc="" /> |
| 2191 | </Function> |
| 2192 | <Function name="IsRenderTextureValid" retType="bool" paramCount="1" desc="Check if a render texture is valid (loaded in GPU)"> |
| 2193 | <Param type="RenderTexture2D" name="target" desc="" /> |
| 2194 | </Function> |
| 2195 | <Function name="UnloadRenderTexture" retType="void" paramCount="1" desc="Unload render texture from GPU memory (VRAM)"> |
| 2196 | <Param type="RenderTexture2D" name="target" desc="" /> |
| 2197 | </Function> |
| 2198 | <Function name="UpdateTexture" retType="void" paramCount="2" desc="Update GPU texture with new data (pixels should be able to fill texture)"> |
| 2199 | <Param type="Texture2D" name="texture" desc="" /> |
| 2200 | <Param type="const void *" name="pixels" desc="" /> |
| 2201 | </Function> |
| 2202 | <Function name="UpdateTextureRec" retType="void" paramCount="3" desc="Update GPU texture rectangle with new data (pixels and rec should fit in texture)"> |
| 2203 | <Param type="Texture2D" name="texture" desc="" /> |
| 2204 | <Param type="Rectangle" name="rec" desc="" /> |
| 2205 | <Param type="const void *" name="pixels" desc="" /> |
| 2206 | </Function> |
| 2207 | <Function name="GenTextureMipmaps" retType="void" paramCount="1" desc="Generate GPU mipmaps for a texture"> |
| 2208 | <Param type="Texture2D *" name="texture" desc="" /> |
| 2209 | </Function> |
| 2210 | <Function name="SetTextureFilter" retType="void" paramCount="2" desc="Set texture scaling filter mode"> |
| 2211 | <Param type="Texture2D" name="texture" desc="" /> |
| 2212 | <Param type="int" name="filter" desc="" /> |
| 2213 | </Function> |
| 2214 | <Function name="SetTextureWrap" retType="void" paramCount="2" desc="Set texture wrapping mode"> |
| 2215 | <Param type="Texture2D" name="texture" desc="" /> |
| 2216 | <Param type="int" name="wrap" desc="" /> |
| 2217 | </Function> |
| 2218 | <Function name="DrawTexture" retType="void" paramCount="4" desc="Draw a Texture2D"> |
| 2219 | <Param type="Texture2D" name="texture" desc="" /> |
| 2220 | <Param type="int" name="posX" desc="" /> |
| 2221 | <Param type="int" name="posY" desc="" /> |
| 2222 | <Param type="Color" name="tint" desc="" /> |
| 2223 | </Function> |
| 2224 | <Function name="DrawTextureV" retType="void" paramCount="3" desc="Draw a Texture2D with position defined as Vector2"> |
| 2225 | <Param type="Texture2D" name="texture" desc="" /> |
| 2226 | <Param type="Vector2" name="position" desc="" /> |
| 2227 | <Param type="Color" name="tint" desc="" /> |
| 2228 | </Function> |
| 2229 | <Function name="DrawTextureEx" retType="void" paramCount="5" desc="Draw a Texture2D with extended parameters"> |
| 2230 | <Param type="Texture2D" name="texture" desc="" /> |
| 2231 | <Param type="Vector2" name="position" desc="" /> |
| 2232 | <Param type="float" name="rotation" desc="" /> |
| 2233 | <Param type="float" name="scale" desc="" /> |
| 2234 | <Param type="Color" name="tint" desc="" /> |
| 2235 | </Function> |
| 2236 | <Function name="DrawTextureRec" retType="void" paramCount="4" desc="Draw a part of a texture defined by a rectangle"> |
| 2237 | <Param type="Texture2D" name="texture" desc="" /> |
| 2238 | <Param type="Rectangle" name="source" desc="" /> |
| 2239 | <Param type="Vector2" name="position" desc="" /> |
| 2240 | <Param type="Color" name="tint" desc="" /> |
| 2241 | </Function> |
| 2242 | <Function name="DrawTexturePro" retType="void" paramCount="6" desc="Draw a part of a texture defined by a rectangle with 'pro' parameters"> |
| 2243 | <Param type="Texture2D" name="texture" desc="" /> |
| 2244 | <Param type="Rectangle" name="source" desc="" /> |
| 2245 | <Param type="Rectangle" name="dest" desc="" /> |
| 2246 | <Param type="Vector2" name="origin" desc="" /> |
| 2247 | <Param type="float" name="rotation" desc="" /> |
| 2248 | <Param type="Color" name="tint" desc="" /> |
| 2249 | </Function> |
| 2250 | <Function name="DrawTextureNPatch" retType="void" paramCount="6" desc="Draws a texture (or part of it) that stretches or shrinks nicely"> |
| 2251 | <Param type="Texture2D" name="texture" desc="" /> |
| 2252 | <Param type="NPatchInfo" name="nPatchInfo" desc="" /> |
| 2253 | <Param type="Rectangle" name="dest" desc="" /> |
| 2254 | <Param type="Vector2" name="origin" desc="" /> |
| 2255 | <Param type="float" name="rotation" desc="" /> |
| 2256 | <Param type="Color" name="tint" desc="" /> |
| 2257 | </Function> |
| 2258 | <Function name="ColorIsEqual" retType="bool" paramCount="2" desc="Check if two colors are equal"> |
| 2259 | <Param type="Color" name="col1" desc="" /> |
| 2260 | <Param type="Color" name="col2" desc="" /> |
| 2261 | </Function> |
| 2262 | <Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f"> |
| 2263 | <Param type="Color" name="color" desc="" /> |
| 2264 | <Param type="float" name="alpha" desc="" /> |
| 2265 | </Function> |
| 2266 | <Function name="ColorToInt" retType="int" paramCount="1" desc="Get hexadecimal value for a Color (0xRRGGBBAA)"> |
| 2267 | <Param type="Color" name="color" desc="" /> |
| 2268 | </Function> |
| 2269 | <Function name="ColorNormalize" retType="Vector4" paramCount="1" desc="Get Color normalized as float [0..1]"> |
| 2270 | <Param type="Color" name="color" desc="" /> |
| 2271 | </Function> |
| 2272 | <Function name="ColorFromNormalized" retType="Color" paramCount="1" desc="Get Color from normalized values [0..1]"> |
| 2273 | <Param type="Vector4" name="normalized" desc="" /> |
| 2274 | </Function> |
| 2275 | <Function name="ColorToHSV" retType="Vector3" paramCount="1" desc="Get HSV values for a Color, hue [0..360], saturation/value [0..1]"> |
| 2276 | <Param type="Color" name="color" desc="" /> |
| 2277 | </Function> |
| 2278 | <Function name="ColorFromHSV" retType="Color" paramCount="3" desc="Get a Color from HSV values, hue [0..360], saturation/value [0..1]"> |
| 2279 | <Param type="float" name="hue" desc="" /> |
| 2280 | <Param type="float" name="saturation" desc="" /> |
| 2281 | <Param type="float" name="value" desc="" /> |
| 2282 | </Function> |
| 2283 | <Function name="ColorTint" retType="Color" paramCount="2" desc="Get color multiplied with another color"> |
| 2284 | <Param type="Color" name="color" desc="" /> |
| 2285 | <Param type="Color" name="tint" desc="" /> |
| 2286 | </Function> |
| 2287 | <Function name="ColorBrightness" retType="Color" paramCount="2" desc="Get color with brightness correction, brightness factor goes from -1.0f to 1.0f"> |
| 2288 | <Param type="Color" name="color" desc="" /> |
| 2289 | <Param type="float" name="factor" desc="" /> |
| 2290 | </Function> |
| 2291 | <Function name="ColorContrast" retType="Color" paramCount="2" desc="Get color with contrast correction, contrast values between -1.0f and 1.0f"> |
| 2292 | <Param type="Color" name="color" desc="" /> |
| 2293 | <Param type="float" name="contrast" desc="" /> |
| 2294 | </Function> |
| 2295 | <Function name="ColorAlpha" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f"> |
| 2296 | <Param type="Color" name="color" desc="" /> |
| 2297 | <Param type="float" name="alpha" desc="" /> |
| 2298 | </Function> |
| 2299 | <Function name="ColorAlphaBlend" retType="Color" paramCount="3" desc="Get src alpha-blended into dst color with tint"> |
| 2300 | <Param type="Color" name="dst" desc="" /> |
| 2301 | <Param type="Color" name="src" desc="" /> |
| 2302 | <Param type="Color" name="tint" desc="" /> |
| 2303 | </Function> |
| 2304 | <Function name="ColorLerp" retType="Color" paramCount="3" desc="Get color lerp interpolation between two colors, factor [0.0f..1.0f]"> |
| 2305 | <Param type="Color" name="color1" desc="" /> |
| 2306 | <Param type="Color" name="color2" desc="" /> |
| 2307 | <Param type="float" name="factor" desc="" /> |
| 2308 | </Function> |
| 2309 | <Function name="GetColor" retType="Color" paramCount="1" desc="Get Color structure from hexadecimal value"> |
| 2310 | <Param type="unsigned int" name="hexValue" desc="" /> |
| 2311 | </Function> |
| 2312 | <Function name="GetPixelColor" retType="Color" paramCount="2" desc="Get Color from a source pixel pointer of certain format"> |
| 2313 | <Param type="void *" name="srcPtr" desc="" /> |
| 2314 | <Param type="int" name="format" desc="" /> |
| 2315 | </Function> |
| 2316 | <Function name="SetPixelColor" retType="void" paramCount="3" desc="Set color formatted into destination pixel pointer"> |
| 2317 | <Param type="void *" name="dstPtr" desc="" /> |
| 2318 | <Param type="Color" name="color" desc="" /> |
| 2319 | <Param type="int" name="format" desc="" /> |
| 2320 | </Function> |
| 2321 | <Function name="GetPixelDataSize" retType="int" paramCount="3" desc="Get pixel data size in bytes for certain format"> |
| 2322 | <Param type="int" name="width" desc="" /> |
| 2323 | <Param type="int" name="height" desc="" /> |
| 2324 | <Param type="int" name="format" desc="" /> |
| 2325 | </Function> |
| 2326 | <Function name="GetFontDefault" retType="Font" paramCount="0" desc="Get the default Font"> |
| 2327 | </Function> |
| 2328 | <Function name="LoadFont" retType="Font" paramCount="1" desc="Load font from file into GPU memory (VRAM)"> |
| 2329 | <Param type="const char *" name="fileName" desc="" /> |
| 2330 | </Function> |
| 2331 | <Function name="LoadFontEx" retType="Font" paramCount="4" desc="Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height"> |
| 2332 | <Param type="const char *" name="fileName" desc="" /> |
| 2333 | <Param type="int" name="fontSize" desc="" /> |
| 2334 | <Param type="const int *" name="codepoints" desc="" /> |
| 2335 | <Param type="int" name="codepointCount" desc="" /> |
| 2336 | </Function> |
| 2337 | <Function name="LoadFontFromImage" retType="Font" paramCount="3" desc="Load font from Image (XNA style)"> |
| 2338 | <Param type="Image" name="image" desc="" /> |
| 2339 | <Param type="Color" name="key" desc="" /> |
| 2340 | <Param type="int" name="firstChar" desc="" /> |
| 2341 | </Function> |
| 2342 | <Function name="LoadFontFromMemory" retType="Font" paramCount="6" desc="Load font from memory buffer, fileType refers to extension: i.e. '.ttf'"> |
| 2343 | <Param type="const char *" name="fileType" desc="" /> |
| 2344 | <Param type="const unsigned char *" name="fileData" desc="" /> |
| 2345 | <Param type="int" name="dataSize" desc="" /> |
| 2346 | <Param type="int" name="fontSize" desc="" /> |
| 2347 | <Param type="const int *" name="codepoints" desc="" /> |
| 2348 | <Param type="int" name="codepointCount" desc="" /> |
| 2349 | </Function> |
| 2350 | <Function name="IsFontValid" retType="bool" paramCount="1" desc="Check if a font is valid (font data loaded, WARNING: GPU texture not checked)"> |
| 2351 | <Param type="Font" name="font" desc="" /> |
| 2352 | </Function> |
| 2353 | <Function name="LoadFontData" retType="GlyphInfo *" paramCount="7" desc="Load font data for further use"> |
| 2354 | <Param type="const unsigned char *" name="fileData" desc="" /> |
| 2355 | <Param type="int" name="dataSize" desc="" /> |
| 2356 | <Param type="int" name="fontSize" desc="" /> |
| 2357 | <Param type="const int *" name="codepoints" desc="" /> |
| 2358 | <Param type="int" name="codepointCount" desc="" /> |
| 2359 | <Param type="int" name="type" desc="" /> |
| 2360 | <Param type="int *" name="glyphCount" desc="" /> |
| 2361 | </Function> |
| 2362 | <Function name="GenImageFontAtlas" retType="Image" paramCount="6" desc="Generate image font atlas using chars info"> |
| 2363 | <Param type="const GlyphInfo *" name="glyphs" desc="" /> |
| 2364 | <Param type="Rectangle **" name="glyphRecs" desc="" /> |
| 2365 | <Param type="int" name="glyphCount" desc="" /> |
| 2366 | <Param type="int" name="fontSize" desc="" /> |
| 2367 | <Param type="int" name="padding" desc="" /> |
| 2368 | <Param type="int" name="packMethod" desc="" /> |
| 2369 | </Function> |
| 2370 | <Function name="UnloadFontData" retType="void" paramCount="2" desc="Unload font chars info data (RAM)"> |
| 2371 | <Param type="GlyphInfo *" name="glyphs" desc="" /> |
| 2372 | <Param type="int" name="glyphCount" desc="" /> |
| 2373 | </Function> |
| 2374 | <Function name="UnloadFont" retType="void" paramCount="1" desc="Unload font from GPU memory (VRAM)"> |
| 2375 | <Param type="Font" name="font" desc="" /> |
| 2376 | </Function> |
| 2377 | <Function name="ExportFontAsCode" retType="bool" paramCount="2" desc="Export font as code file, returns true on success"> |
| 2378 | <Param type="Font" name="font" desc="" /> |
| 2379 | <Param type="const char *" name="fileName" desc="" /> |
| 2380 | </Function> |
| 2381 | <Function name="DrawFPS" retType="void" paramCount="2" desc="Draw current FPS"> |
| 2382 | <Param type="int" name="posX" desc="" /> |
| 2383 | <Param type="int" name="posY" desc="" /> |
| 2384 | </Function> |
| 2385 | <Function name="DrawText" retType="void" paramCount="5" desc="Draw text (using default font)"> |
| 2386 | <Param type="const char *" name="text" desc="" /> |
| 2387 | <Param type="int" name="posX" desc="" /> |
| 2388 | <Param type="int" name="posY" desc="" /> |
| 2389 | <Param type="int" name="fontSize" desc="" /> |
| 2390 | <Param type="Color" name="color" desc="" /> |
| 2391 | </Function> |
| 2392 | <Function name="DrawTextEx" retType="void" paramCount="6" desc="Draw text using font and additional parameters"> |
| 2393 | <Param type="Font" name="font" desc="" /> |
| 2394 | <Param type="const char *" name="text" desc="" /> |
| 2395 | <Param type="Vector2" name="position" desc="" /> |
| 2396 | <Param type="float" name="fontSize" desc="" /> |
| 2397 | <Param type="float" name="spacing" desc="" /> |
| 2398 | <Param type="Color" name="tint" desc="" /> |
| 2399 | </Function> |
| 2400 | <Function name="DrawTextPro" retType="void" paramCount="8" desc="Draw text using Font and pro parameters (rotation)"> |
| 2401 | <Param type="Font" name="font" desc="" /> |
| 2402 | <Param type="const char *" name="text" desc="" /> |
| 2403 | <Param type="Vector2" name="position" desc="" /> |
| 2404 | <Param type="Vector2" name="origin" desc="" /> |
| 2405 | <Param type="float" name="rotation" desc="" /> |
| 2406 | <Param type="float" name="fontSize" desc="" /> |
| 2407 | <Param type="float" name="spacing" desc="" /> |
| 2408 | <Param type="Color" name="tint" desc="" /> |
| 2409 | </Function> |
| 2410 | <Function name="DrawTextCodepoint" retType="void" paramCount="5" desc="Draw one character (codepoint)"> |
| 2411 | <Param type="Font" name="font" desc="" /> |
| 2412 | <Param type="int" name="codepoint" desc="" /> |
| 2413 | <Param type="Vector2" name="position" desc="" /> |
| 2414 | <Param type="float" name="fontSize" desc="" /> |
| 2415 | <Param type="Color" name="tint" desc="" /> |
| 2416 | </Function> |
| 2417 | <Function name="DrawTextCodepoints" retType="void" paramCount="7" desc="Draw multiple character (codepoint)"> |
| 2418 | <Param type="Font" name="font" desc="" /> |
| 2419 | <Param type="const int *" name="codepoints" desc="" /> |
| 2420 | <Param type="int" name="codepointCount" desc="" /> |
| 2421 | <Param type="Vector2" name="position" desc="" /> |
| 2422 | <Param type="float" name="fontSize" desc="" /> |
| 2423 | <Param type="float" name="spacing" desc="" /> |
| 2424 | <Param type="Color" name="tint" desc="" /> |
| 2425 | </Function> |
| 2426 | <Function name="SetTextLineSpacing" retType="void" paramCount="1" desc="Set vertical line spacing when drawing with line-breaks"> |
| 2427 | <Param type="int" name="spacing" desc="" /> |
| 2428 | </Function> |
| 2429 | <Function name="MeasureText" retType="int" paramCount="2" desc="Measure string width for default font"> |
| 2430 | <Param type="const char *" name="text" desc="" /> |
| 2431 | <Param type="int" name="fontSize" desc="" /> |
| 2432 | </Function> |
| 2433 | <Function name="MeasureTextEx" retType="Vector2" paramCount="4" desc="Measure string size for Font"> |
| 2434 | <Param type="Font" name="font" desc="" /> |
| 2435 | <Param type="const char *" name="text" desc="" /> |
| 2436 | <Param type="float" name="fontSize" desc="" /> |
| 2437 | <Param type="float" name="spacing" desc="" /> |
| 2438 | </Function> |
| 2439 | <Function name="MeasureTextCodepoints" retType="Vector2" paramCount="5" desc="Measure string size for an existing array of codepoints for Font"> |
| 2440 | <Param type="Font" name="font" desc="" /> |
| 2441 | <Param type="const int *" name="codepoints" desc="" /> |
| 2442 | <Param type="int" name="length" desc="" /> |
| 2443 | <Param type="float" name="fontSize" desc="" /> |
| 2444 | <Param type="float" name="spacing" desc="" /> |
| 2445 | </Function> |
| 2446 | <Function name="GetGlyphIndex" retType="int" paramCount="2" desc="Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found"> |
| 2447 | <Param type="Font" name="font" desc="" /> |
| 2448 | <Param type="int" name="codepoint" desc="" /> |
| 2449 | </Function> |
| 2450 | <Function name="GetGlyphInfo" retType="GlyphInfo" paramCount="2" desc="Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found"> |
| 2451 | <Param type="Font" name="font" desc="" /> |
| 2452 | <Param type="int" name="codepoint" desc="" /> |
| 2453 | </Function> |
| 2454 | <Function name="GetGlyphAtlasRec" retType="Rectangle" paramCount="2" desc="Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found"> |
| 2455 | <Param type="Font" name="font" desc="" /> |
| 2456 | <Param type="int" name="codepoint" desc="" /> |
| 2457 | </Function> |
| 2458 | <Function name="LoadUTF8" retType="char *" paramCount="2" desc="Load UTF-8 text encoded from codepoints array"> |
| 2459 | <Param type="const int *" name="codepoints" desc="" /> |
| 2460 | <Param type="int" name="length" desc="" /> |
| 2461 | </Function> |
| 2462 | <Function name="UnloadUTF8" retType="void" paramCount="1" desc="Unload UTF-8 text encoded from codepoints array"> |
| 2463 | <Param type="char *" name="text" desc="" /> |
| 2464 | </Function> |
| 2465 | <Function name="LoadCodepoints" retType="int *" paramCount="2" desc="Load all codepoints from a UTF-8 text string, codepoints count returned by parameter"> |
| 2466 | <Param type="const char *" name="text" desc="" /> |
| 2467 | <Param type="int *" name="count" desc="" /> |
| 2468 | </Function> |
| 2469 | <Function name="UnloadCodepoints" retType="void" paramCount="1" desc="Unload codepoints data from memory"> |
| 2470 | <Param type="int *" name="codepoints" desc="" /> |
| 2471 | </Function> |
| 2472 | <Function name="GetCodepointCount" retType="int" paramCount="1" desc="Get total number of codepoints in a UTF-8 encoded string"> |
| 2473 | <Param type="const char *" name="text" desc="" /> |
| 2474 | </Function> |
| 2475 | <Function name="GetCodepoint" retType="int" paramCount="2" desc="Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"> |
| 2476 | <Param type="const char *" name="text" desc="" /> |
| 2477 | <Param type="int *" name="codepointSize" desc="" /> |
| 2478 | </Function> |
| 2479 | <Function name="GetCodepointNext" retType="int" paramCount="2" desc="Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"> |
| 2480 | <Param type="const char *" name="text" desc="" /> |
| 2481 | <Param type="int *" name="codepointSize" desc="" /> |
| 2482 | </Function> |
| 2483 | <Function name="GetCodepointPrevious" retType="int" paramCount="2" desc="Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"> |
| 2484 | <Param type="const char *" name="text" desc="" /> |
| 2485 | <Param type="int *" name="codepointSize" desc="" /> |
| 2486 | </Function> |
| 2487 | <Function name="CodepointToUTF8" retType="const char *" paramCount="2" desc="Encode one codepoint into UTF-8 byte array (array length returned as parameter)"> |
| 2488 | <Param type="int" name="codepoint" desc="" /> |
| 2489 | <Param type="int *" name="utf8Size" desc="" /> |
| 2490 | </Function> |
| 2491 | <Function name="LoadTextLines" retType="char **" paramCount="2" desc="Load text as separate lines ('\n')"> |
| 2492 | <Param type="const char *" name="text" desc="" /> |
| 2493 | <Param type="int *" name="count" desc="" /> |
| 2494 | </Function> |
| 2495 | <Function name="UnloadTextLines" retType="void" paramCount="2" desc="Unload text lines"> |
| 2496 | <Param type="char **" name="text" desc="" /> |
| 2497 | <Param type="int" name="lineCount" desc="" /> |
| 2498 | </Function> |
| 2499 | <Function name="TextCopy" retType="int" paramCount="2" desc="Copy one string to another, returns bytes copied"> |
| 2500 | <Param type="char *" name="dst" desc="" /> |
| 2501 | <Param type="const char *" name="src" desc="" /> |
| 2502 | </Function> |
| 2503 | <Function name="TextIsEqual" retType="bool" paramCount="2" desc="Check if two text string are equal"> |
| 2504 | <Param type="const char *" name="text1" desc="" /> |
| 2505 | <Param type="const char *" name="text2" desc="" /> |
| 2506 | </Function> |
| 2507 | <Function name="TextLength" retType="unsigned int" paramCount="1" desc="Get text length, checks for '\0' ending"> |
| 2508 | <Param type="const char *" name="text" desc="" /> |
| 2509 | </Function> |
| 2510 | <Function name="TextFormat" retType="const char *" paramCount="2" desc="Text formatting with variables (sprintf() style)"> |
| 2511 | <Param type="const char *" name="text" desc="" /> |
| 2512 | <Param type="..." name="args" desc="" /> |
| 2513 | </Function> |
| 2514 | <Function name="TextSubtext" retType="const char *" paramCount="3" desc="Get a piece of a text string"> |
| 2515 | <Param type="const char *" name="text" desc="" /> |
| 2516 | <Param type="int" name="position" desc="" /> |
| 2517 | <Param type="int" name="length" desc="" /> |
| 2518 | </Function> |
| 2519 | <Function name="TextRemoveSpaces" retType="const char *" paramCount="1" desc="Remove text spaces, concat words"> |
| 2520 | <Param type="const char *" name="text" desc="" /> |
| 2521 | </Function> |
| 2522 | <Function name="GetTextBetween" retType="char *" paramCount="3" desc="Get text between two strings"> |
| 2523 | <Param type="const char *" name="text" desc="" /> |
| 2524 | <Param type="const char *" name="begin" desc="" /> |
| 2525 | <Param type="const char *" name="end" desc="" /> |
| 2526 | </Function> |
| 2527 | <Function name="TextReplace" retType="char *" paramCount="3" desc="Replace text string with new string"> |
| 2528 | <Param type="const char *" name="text" desc="" /> |
| 2529 | <Param type="const char *" name="search" desc="" /> |
| 2530 | <Param type="const char *" name="replacement" desc="" /> |
| 2531 | </Function> |
| 2532 | <Function name="TextReplaceAlloc" retType="char *" paramCount="3" desc="Replace text string with new string, memory must be MemFree()"> |
| 2533 | <Param type="const char *" name="text" desc="" /> |
| 2534 | <Param type="const char *" name="search" desc="" /> |
| 2535 | <Param type="const char *" name="replacement" desc="" /> |
| 2536 | </Function> |
| 2537 | <Function name="TextReplaceBetween" retType="char *" paramCount="4" desc="Replace text between two specific strings"> |
| 2538 | <Param type="const char *" name="text" desc="" /> |
| 2539 | <Param type="const char *" name="begin" desc="" /> |
| 2540 | <Param type="const char *" name="end" desc="" /> |
| 2541 | <Param type="const char *" name="replacement" desc="" /> |
| 2542 | </Function> |
| 2543 | <Function name="TextReplaceBetweenAlloc" retType="char *" paramCount="4" desc="Replace text between two specific strings, memory must be MemFree()"> |
| 2544 | <Param type="const char *" name="text" desc="" /> |
| 2545 | <Param type="const char *" name="begin" desc="" /> |
| 2546 | <Param type="const char *" name="end" desc="" /> |
| 2547 | <Param type="const char *" name="replacement" desc="" /> |
| 2548 | </Function> |
| 2549 | <Function name="TextInsert" retType="char *" paramCount="3" desc="Insert text in a defined byte position"> |
| 2550 | <Param type="const char *" name="text" desc="" /> |
| 2551 | <Param type="const char *" name="insert" desc="" /> |
| 2552 | <Param type="int" name="position" desc="" /> |
| 2553 | </Function> |
| 2554 | <Function name="TextInsertAlloc" retType="char *" paramCount="3" desc="Insert text in a defined byte position, memory must be MemFree()"> |
| 2555 | <Param type="const char *" name="text" desc="" /> |
| 2556 | <Param type="const char *" name="insert" desc="" /> |
| 2557 | <Param type="int" name="position" desc="" /> |
| 2558 | </Function> |
| 2559 | <Function name="TextJoin" retType="char *" paramCount="3" desc="Join text strings with delimiter"> |
| 2560 | <Param type="char **" name="textList" desc="" /> |
| 2561 | <Param type="int" name="count" desc="" /> |
| 2562 | <Param type="const char *" name="delimiter" desc="" /> |
| 2563 | </Function> |
| 2564 | <Function name="TextSplit" retType="char **" paramCount="3" desc="Split text into multiple strings, using MAX_TEXTSPLIT_COUNT static strings"> |
| 2565 | <Param type="const char *" name="text" desc="" /> |
| 2566 | <Param type="char" name="delimiter" desc="" /> |
| 2567 | <Param type="int *" name="count" desc="" /> |
| 2568 | </Function> |
| 2569 | <Function name="TextAppend" retType="void" paramCount="3" desc="Append text at specific position and move cursor"> |
| 2570 | <Param type="char *" name="text" desc="" /> |
| 2571 | <Param type="const char *" name="append" desc="" /> |
| 2572 | <Param type="int *" name="position" desc="" /> |
| 2573 | </Function> |
| 2574 | <Function name="TextFindIndex" retType="int" paramCount="2" desc="Find first text occurrence within a string, -1 if not found"> |
| 2575 | <Param type="const char *" name="text" desc="" /> |
| 2576 | <Param type="const char *" name="search" desc="" /> |
| 2577 | </Function> |
| 2578 | <Function name="TextToUpper" retType="char *" paramCount="1" desc="Get upper case version of provided string"> |
| 2579 | <Param type="const char *" name="text" desc="" /> |
| 2580 | </Function> |
| 2581 | <Function name="TextToLower" retType="char *" paramCount="1" desc="Get lower case version of provided string"> |
| 2582 | <Param type="const char *" name="text" desc="" /> |
| 2583 | </Function> |
| 2584 | <Function name="TextToPascal" retType="char *" paramCount="1" desc="Get Pascal case notation version of provided string"> |
| 2585 | <Param type="const char *" name="text" desc="" /> |
| 2586 | </Function> |
| 2587 | <Function name="TextToSnake" retType="char *" paramCount="1" desc="Get Snake case notation version of provided string"> |
| 2588 | <Param type="const char *" name="text" desc="" /> |
| 2589 | </Function> |
| 2590 | <Function name="TextToCamel" retType="char *" paramCount="1" desc="Get Camel case notation version of provided string"> |
| 2591 | <Param type="const char *" name="text" desc="" /> |
| 2592 | </Function> |
| 2593 | <Function name="TextToInteger" retType="int" paramCount="1" desc="Get integer value from text"> |
| 2594 | <Param type="const char *" name="text" desc="" /> |
| 2595 | </Function> |
| 2596 | <Function name="TextToFloat" retType="float" paramCount="1" desc="Get float value from text"> |
| 2597 | <Param type="const char *" name="text" desc="" /> |
| 2598 | </Function> |
| 2599 | <Function name="DrawLine3D" retType="void" paramCount="3" desc="Draw a line in 3D world space"> |
| 2600 | <Param type="Vector3" name="startPos" desc="" /> |
| 2601 | <Param type="Vector3" name="endPos" desc="" /> |
| 2602 | <Param type="Color" name="color" desc="" /> |
| 2603 | </Function> |
| 2604 | <Function name="DrawPoint3D" retType="void" paramCount="2" desc="Draw a point in 3D space, actually a small line"> |
| 2605 | <Param type="Vector3" name="position" desc="" /> |
| 2606 | <Param type="Color" name="color" desc="" /> |
| 2607 | </Function> |
| 2608 | <Function name="DrawCircle3D" retType="void" paramCount="5" desc="Draw a circle in 3D world space"> |
| 2609 | <Param type="Vector3" name="center" desc="" /> |
| 2610 | <Param type="float" name="radius" desc="" /> |
| 2611 | <Param type="Vector3" name="rotationAxis" desc="" /> |
| 2612 | <Param type="float" name="rotationAngle" desc="" /> |
| 2613 | <Param type="Color" name="color" desc="" /> |
| 2614 | </Function> |
| 2615 | <Function name="DrawTriangle3D" retType="void" paramCount="4" desc="Draw a color-filled triangle (vertex in counter-clockwise order!)"> |
| 2616 | <Param type="Vector3" name="v1" desc="" /> |
| 2617 | <Param type="Vector3" name="v2" desc="" /> |
| 2618 | <Param type="Vector3" name="v3" desc="" /> |
| 2619 | <Param type="Color" name="color" desc="" /> |
| 2620 | </Function> |
| 2621 | <Function name="DrawTriangleStrip3D" retType="void" paramCount="3" desc="Draw a triangle strip defined by points"> |
| 2622 | <Param type="const Vector3 *" name="points" desc="" /> |
| 2623 | <Param type="int" name="pointCount" desc="" /> |
| 2624 | <Param type="Color" name="color" desc="" /> |
| 2625 | </Function> |
| 2626 | <Function name="DrawCube" retType="void" paramCount="5" desc="Draw cube"> |
| 2627 | <Param type="Vector3" name="position" desc="" /> |
| 2628 | <Param type="float" name="width" desc="" /> |
| 2629 | <Param type="float" name="height" desc="" /> |
| 2630 | <Param type="float" name="length" desc="" /> |
| 2631 | <Param type="Color" name="color" desc="" /> |
| 2632 | </Function> |
| 2633 | <Function name="DrawCubeV" retType="void" paramCount="3" desc="Draw cube (Vector version)"> |
| 2634 | <Param type="Vector3" name="position" desc="" /> |
| 2635 | <Param type="Vector3" name="size" desc="" /> |
| 2636 | <Param type="Color" name="color" desc="" /> |
| 2637 | </Function> |
| 2638 | <Function name="DrawCubeWires" retType="void" paramCount="5" desc="Draw cube wires"> |
| 2639 | <Param type="Vector3" name="position" desc="" /> |
| 2640 | <Param type="float" name="width" desc="" /> |
| 2641 | <Param type="float" name="height" desc="" /> |
| 2642 | <Param type="float" name="length" desc="" /> |
| 2643 | <Param type="Color" name="color" desc="" /> |
| 2644 | </Function> |
| 2645 | <Function name="DrawCubeWiresV" retType="void" paramCount="3" desc="Draw cube wires (Vector version)"> |
| 2646 | <Param type="Vector3" name="position" desc="" /> |
| 2647 | <Param type="Vector3" name="size" desc="" /> |
| 2648 | <Param type="Color" name="color" desc="" /> |
| 2649 | </Function> |
| 2650 | <Function name="DrawSphere" retType="void" paramCount="3" desc="Draw sphere"> |
| 2651 | <Param type="Vector3" name="centerPos" desc="" /> |
| 2652 | <Param type="float" name="radius" desc="" /> |
| 2653 | <Param type="Color" name="color" desc="" /> |
| 2654 | </Function> |
| 2655 | <Function name="DrawSphereEx" retType="void" paramCount="5" desc="Draw sphere with extended parameters"> |
| 2656 | <Param type="Vector3" name="centerPos" desc="" /> |
| 2657 | <Param type="float" name="radius" desc="" /> |
| 2658 | <Param type="int" name="rings" desc="" /> |
| 2659 | <Param type="int" name="slices" desc="" /> |
| 2660 | <Param type="Color" name="color" desc="" /> |
| 2661 | </Function> |
| 2662 | <Function name="DrawSphereWires" retType="void" paramCount="5" desc="Draw sphere wires"> |
| 2663 | <Param type="Vector3" name="centerPos" desc="" /> |
| 2664 | <Param type="float" name="radius" desc="" /> |
| 2665 | <Param type="int" name="rings" desc="" /> |
| 2666 | <Param type="int" name="slices" desc="" /> |
| 2667 | <Param type="Color" name="color" desc="" /> |
| 2668 | </Function> |
| 2669 | <Function name="DrawCylinder" retType="void" paramCount="6" desc="Draw a cylinder/cone"> |
| 2670 | <Param type="Vector3" name="position" desc="" /> |
| 2671 | <Param type="float" name="radiusTop" desc="" /> |
| 2672 | <Param type="float" name="radiusBottom" desc="" /> |
| 2673 | <Param type="float" name="height" desc="" /> |
| 2674 | <Param type="int" name="slices" desc="" /> |
| 2675 | <Param type="Color" name="color" desc="" /> |
| 2676 | </Function> |
| 2677 | <Function name="DrawCylinderEx" retType="void" paramCount="6" desc="Draw a cylinder with base at startPos and top at endPos"> |
| 2678 | <Param type="Vector3" name="startPos" desc="" /> |
| 2679 | <Param type="Vector3" name="endPos" desc="" /> |
| 2680 | <Param type="float" name="startRadius" desc="" /> |
| 2681 | <Param type="float" name="endRadius" desc="" /> |
| 2682 | <Param type="int" name="sides" desc="" /> |
| 2683 | <Param type="Color" name="color" desc="" /> |
| 2684 | </Function> |
| 2685 | <Function name="DrawCylinderWires" retType="void" paramCount="6" desc="Draw a cylinder/cone wires"> |
| 2686 | <Param type="Vector3" name="position" desc="" /> |
| 2687 | <Param type="float" name="radiusTop" desc="" /> |
| 2688 | <Param type="float" name="radiusBottom" desc="" /> |
| 2689 | <Param type="float" name="height" desc="" /> |
| 2690 | <Param type="int" name="slices" desc="" /> |
| 2691 | <Param type="Color" name="color" desc="" /> |
| 2692 | </Function> |
| 2693 | <Function name="DrawCylinderWiresEx" retType="void" paramCount="6" desc="Draw a cylinder wires with base at startPos and top at endPos"> |
| 2694 | <Param type="Vector3" name="startPos" desc="" /> |
| 2695 | <Param type="Vector3" name="endPos" desc="" /> |
| 2696 | <Param type="float" name="startRadius" desc="" /> |
| 2697 | <Param type="float" name="endRadius" desc="" /> |
| 2698 | <Param type="int" name="sides" desc="" /> |
| 2699 | <Param type="Color" name="color" desc="" /> |
| 2700 | </Function> |
| 2701 | <Function name="DrawCapsule" retType="void" paramCount="6" desc="Draw a capsule with the center of its sphere caps at startPos and endPos"> |
| 2702 | <Param type="Vector3" name="startPos" desc="" /> |
| 2703 | <Param type="Vector3" name="endPos" desc="" /> |
| 2704 | <Param type="float" name="radius" desc="" /> |
| 2705 | <Param type="int" name="slices" desc="" /> |
| 2706 | <Param type="int" name="rings" desc="" /> |
| 2707 | <Param type="Color" name="color" desc="" /> |
| 2708 | </Function> |
| 2709 | <Function name="DrawCapsuleWires" retType="void" paramCount="6" desc="Draw capsule wireframe with the center of its sphere caps at startPos and endPos"> |
| 2710 | <Param type="Vector3" name="startPos" desc="" /> |
| 2711 | <Param type="Vector3" name="endPos" desc="" /> |
| 2712 | <Param type="float" name="radius" desc="" /> |
| 2713 | <Param type="int" name="slices" desc="" /> |
| 2714 | <Param type="int" name="rings" desc="" /> |
| 2715 | <Param type="Color" name="color" desc="" /> |
| 2716 | </Function> |
| 2717 | <Function name="DrawPlane" retType="void" paramCount="3" desc="Draw a plane XZ"> |
| 2718 | <Param type="Vector3" name="centerPos" desc="" /> |
| 2719 | <Param type="Vector2" name="size" desc="" /> |
| 2720 | <Param type="Color" name="color" desc="" /> |
| 2721 | </Function> |
| 2722 | <Function name="DrawRay" retType="void" paramCount="2" desc="Draw a ray line"> |
| 2723 | <Param type="Ray" name="ray" desc="" /> |
| 2724 | <Param type="Color" name="color" desc="" /> |
| 2725 | </Function> |
| 2726 | <Function name="DrawGrid" retType="void" paramCount="2" desc="Draw a grid (centered at (0, 0, 0))"> |
| 2727 | <Param type="int" name="slices" desc="" /> |
| 2728 | <Param type="float" name="spacing" desc="" /> |
| 2729 | </Function> |
| 2730 | <Function name="LoadModel" retType="Model" paramCount="1" desc="Load model from files (meshes and materials)"> |
| 2731 | <Param type="const char *" name="fileName" desc="" /> |
| 2732 | </Function> |
| 2733 | <Function name="LoadModelFromMesh" retType="Model" paramCount="1" desc="Load model from generated mesh (default material)"> |
| 2734 | <Param type="Mesh" name="mesh" desc="" /> |
| 2735 | </Function> |
| 2736 | <Function name="IsModelValid" retType="bool" paramCount="1" desc="Check if a model is valid (loaded in GPU, VAO/VBOs)"> |
| 2737 | <Param type="Model" name="model" desc="" /> |
| 2738 | </Function> |
| 2739 | <Function name="UnloadModel" retType="void" paramCount="1" desc="Unload model (including meshes) from memory (RAM and/or VRAM)"> |
| 2740 | <Param type="Model" name="model" desc="" /> |
| 2741 | </Function> |
| 2742 | <Function name="GetModelBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute model bounding box limits (considers all meshes)"> |
| 2743 | <Param type="Model" name="model" desc="" /> |
| 2744 | </Function> |
| 2745 | <Function name="DrawModel" retType="void" paramCount="4" desc="Draw a model (with texture if set)"> |
| 2746 | <Param type="Model" name="model" desc="" /> |
| 2747 | <Param type="Vector3" name="position" desc="" /> |
| 2748 | <Param type="float" name="scale" desc="" /> |
| 2749 | <Param type="Color" name="tint" desc="" /> |
| 2750 | </Function> |
| 2751 | <Function name="DrawModelEx" retType="void" paramCount="6" desc="Draw a model with extended parameters"> |
| 2752 | <Param type="Model" name="model" desc="" /> |
| 2753 | <Param type="Vector3" name="position" desc="" /> |
| 2754 | <Param type="Vector3" name="rotationAxis" desc="" /> |
| 2755 | <Param type="float" name="rotationAngle" desc="" /> |
| 2756 | <Param type="Vector3" name="scale" desc="" /> |
| 2757 | <Param type="Color" name="tint" desc="" /> |
| 2758 | </Function> |
| 2759 | <Function name="DrawModelWires" retType="void" paramCount="4" desc="Draw a model wires (with texture if set)"> |
| 2760 | <Param type="Model" name="model" desc="" /> |
| 2761 | <Param type="Vector3" name="position" desc="" /> |
| 2762 | <Param type="float" name="scale" desc="" /> |
| 2763 | <Param type="Color" name="tint" desc="" /> |
| 2764 | </Function> |
| 2765 | <Function name="DrawModelWiresEx" retType="void" paramCount="6" desc="Draw a model wires (with texture if set) with extended parameters"> |
| 2766 | <Param type="Model" name="model" desc="" /> |
| 2767 | <Param type="Vector3" name="position" desc="" /> |
| 2768 | <Param type="Vector3" name="rotationAxis" desc="" /> |
| 2769 | <Param type="float" name="rotationAngle" desc="" /> |
| 2770 | <Param type="Vector3" name="scale" desc="" /> |
| 2771 | <Param type="Color" name="tint" desc="" /> |
| 2772 | </Function> |
| 2773 | <Function name="DrawBoundingBox" retType="void" paramCount="2" desc="Draw bounding box (wires)"> |
| 2774 | <Param type="BoundingBox" name="box" desc="" /> |
| 2775 | <Param type="Color" name="color" desc="" /> |
| 2776 | </Function> |
| 2777 | <Function name="DrawBillboard" retType="void" paramCount="5" desc="Draw a billboard texture"> |
| 2778 | <Param type="Camera" name="camera" desc="" /> |
| 2779 | <Param type="Texture2D" name="texture" desc="" /> |
| 2780 | <Param type="Vector3" name="position" desc="" /> |
| 2781 | <Param type="float" name="scale" desc="" /> |
| 2782 | <Param type="Color" name="tint" desc="" /> |
| 2783 | </Function> |
| 2784 | <Function name="DrawBillboardRec" retType="void" paramCount="6" desc="Draw a billboard texture defined by source"> |
| 2785 | <Param type="Camera" name="camera" desc="" /> |
| 2786 | <Param type="Texture2D" name="texture" desc="" /> |
| 2787 | <Param type="Rectangle" name="source" desc="" /> |
| 2788 | <Param type="Vector3" name="position" desc="" /> |
| 2789 | <Param type="Vector2" name="size" desc="" /> |
| 2790 | <Param type="Color" name="tint" desc="" /> |
| 2791 | </Function> |
| 2792 | <Function name="DrawBillboardPro" retType="void" paramCount="9" desc="Draw a billboard texture defined by source and rotation"> |
| 2793 | <Param type="Camera" name="camera" desc="" /> |
| 2794 | <Param type="Texture2D" name="texture" desc="" /> |
| 2795 | <Param type="Rectangle" name="source" desc="" /> |
| 2796 | <Param type="Vector3" name="position" desc="" /> |
| 2797 | <Param type="Vector3" name="up" desc="" /> |
| 2798 | <Param type="Vector2" name="size" desc="" /> |
| 2799 | <Param type="Vector2" name="origin" desc="" /> |
| 2800 | <Param type="float" name="rotation" desc="" /> |
| 2801 | <Param type="Color" name="tint" desc="" /> |
| 2802 | </Function> |
| 2803 | <Function name="UploadMesh" retType="void" paramCount="2" desc="Upload mesh vertex data in GPU and provide VAO/VBO ids"> |
| 2804 | <Param type="Mesh *" name="mesh" desc="" /> |
| 2805 | <Param type="bool" name="dynamic" desc="" /> |
| 2806 | </Function> |
| 2807 | <Function name="UpdateMeshBuffer" retType="void" paramCount="5" desc="Update mesh vertex data in GPU for a specific buffer index"> |
| 2808 | <Param type="Mesh" name="mesh" desc="" /> |
| 2809 | <Param type="int" name="index" desc="" /> |
| 2810 | <Param type="const void *" name="data" desc="" /> |
| 2811 | <Param type="int" name="dataSize" desc="" /> |
| 2812 | <Param type="int" name="offset" desc="" /> |
| 2813 | </Function> |
| 2814 | <Function name="UnloadMesh" retType="void" paramCount="1" desc="Unload mesh data from CPU and GPU"> |
| 2815 | <Param type="Mesh" name="mesh" desc="" /> |
| 2816 | </Function> |
| 2817 | <Function name="DrawMesh" retType="void" paramCount="3" desc="Draw a 3d mesh with material and transform"> |
| 2818 | <Param type="Mesh" name="mesh" desc="" /> |
| 2819 | <Param type="Material" name="material" desc="" /> |
| 2820 | <Param type="Matrix" name="transform" desc="" /> |
| 2821 | </Function> |
| 2822 | <Function name="DrawMeshInstanced" retType="void" paramCount="4" desc="Draw multiple mesh instances with material and different transforms"> |
| 2823 | <Param type="Mesh" name="mesh" desc="" /> |
| 2824 | <Param type="Material" name="material" desc="" /> |
| 2825 | <Param type="const Matrix *" name="transforms" desc="" /> |
| 2826 | <Param type="int" name="instances" desc="" /> |
| 2827 | </Function> |
| 2828 | <Function name="GetMeshBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute mesh bounding box limits"> |
| 2829 | <Param type="Mesh" name="mesh" desc="" /> |
| 2830 | </Function> |
| 2831 | <Function name="GenMeshTangents" retType="void" paramCount="1" desc="Compute mesh tangents"> |
| 2832 | <Param type="Mesh *" name="mesh" desc="" /> |
| 2833 | </Function> |
| 2834 | <Function name="ExportMesh" retType="bool" paramCount="2" desc="Export mesh data to file, returns true on success"> |
| 2835 | <Param type="Mesh" name="mesh" desc="" /> |
| 2836 | <Param type="const char *" name="fileName" desc="" /> |
| 2837 | </Function> |
| 2838 | <Function name="ExportMeshAsCode" retType="bool" paramCount="2" desc="Export mesh as code file (.h) defining multiple arrays of vertex attributes"> |
| 2839 | <Param type="Mesh" name="mesh" desc="" /> |
| 2840 | <Param type="const char *" name="fileName" desc="" /> |
| 2841 | </Function> |
| 2842 | <Function name="GenMeshPoly" retType="Mesh" paramCount="2" desc="Generate polygonal mesh"> |
| 2843 | <Param type="int" name="sides" desc="" /> |
| 2844 | <Param type="float" name="radius" desc="" /> |
| 2845 | </Function> |
| 2846 | <Function name="GenMeshPlane" retType="Mesh" paramCount="4" desc="Generate plane mesh (with subdivisions)"> |
| 2847 | <Param type="float" name="width" desc="" /> |
| 2848 | <Param type="float" name="length" desc="" /> |
| 2849 | <Param type="int" name="resX" desc="" /> |
| 2850 | <Param type="int" name="resZ" desc="" /> |
| 2851 | </Function> |
| 2852 | <Function name="GenMeshCube" retType="Mesh" paramCount="3" desc="Generate cuboid mesh"> |
| 2853 | <Param type="float" name="width" desc="" /> |
| 2854 | <Param type="float" name="height" desc="" /> |
| 2855 | <Param type="float" name="length" desc="" /> |
| 2856 | </Function> |
| 2857 | <Function name="GenMeshSphere" retType="Mesh" paramCount="3" desc="Generate sphere mesh (standard sphere)"> |
| 2858 | <Param type="float" name="radius" desc="" /> |
| 2859 | <Param type="int" name="rings" desc="" /> |
| 2860 | <Param type="int" name="slices" desc="" /> |
| 2861 | </Function> |
| 2862 | <Function name="GenMeshHemiSphere" retType="Mesh" paramCount="3" desc="Generate half-sphere mesh (no bottom cap)"> |
| 2863 | <Param type="float" name="radius" desc="" /> |
| 2864 | <Param type="int" name="rings" desc="" /> |
| 2865 | <Param type="int" name="slices" desc="" /> |
| 2866 | </Function> |
| 2867 | <Function name="GenMeshCylinder" retType="Mesh" paramCount="3" desc="Generate cylinder mesh"> |
| 2868 | <Param type="float" name="radius" desc="" /> |
| 2869 | <Param type="float" name="height" desc="" /> |
| 2870 | <Param type="int" name="slices" desc="" /> |
| 2871 | </Function> |
| 2872 | <Function name="GenMeshCone" retType="Mesh" paramCount="3" desc="Generate cone/pyramid mesh"> |
| 2873 | <Param type="float" name="radius" desc="" /> |
| 2874 | <Param type="float" name="height" desc="" /> |
| 2875 | <Param type="int" name="slices" desc="" /> |
| 2876 | </Function> |
| 2877 | <Function name="GenMeshTorus" retType="Mesh" paramCount="4" desc="Generate torus mesh"> |
| 2878 | <Param type="float" name="radius" desc="" /> |
| 2879 | <Param type="float" name="size" desc="" /> |
| 2880 | <Param type="int" name="radSeg" desc="" /> |
| 2881 | <Param type="int" name="sides" desc="" /> |
| 2882 | </Function> |
| 2883 | <Function name="GenMeshKnot" retType="Mesh" paramCount="4" desc="Generate trefoil knot mesh"> |
| 2884 | <Param type="float" name="radius" desc="" /> |
| 2885 | <Param type="float" name="size" desc="" /> |
| 2886 | <Param type="int" name="radSeg" desc="" /> |
| 2887 | <Param type="int" name="sides" desc="" /> |
| 2888 | </Function> |
| 2889 | <Function name="GenMeshHeightmap" retType="Mesh" paramCount="2" desc="Generate heightmap mesh from image data"> |
| 2890 | <Param type="Image" name="heightmap" desc="" /> |
| 2891 | <Param type="Vector3" name="size" desc="" /> |
| 2892 | </Function> |
| 2893 | <Function name="GenMeshCubicmap" retType="Mesh" paramCount="2" desc="Generate cubes-based map mesh from image data"> |
| 2894 | <Param type="Image" name="cubicmap" desc="" /> |
| 2895 | <Param type="Vector3" name="cubeSize" desc="" /> |
| 2896 | </Function> |
| 2897 | <Function name="LoadMaterials" retType="Material *" paramCount="2" desc="Load materials from model file"> |
| 2898 | <Param type="const char *" name="fileName" desc="" /> |
| 2899 | <Param type="int *" name="materialCount" desc="" /> |
| 2900 | </Function> |
| 2901 | <Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"> |
| 2902 | </Function> |
| 2903 | <Function name="IsMaterialValid" retType="bool" paramCount="1" desc="Check if a material is valid (shader assigned, map textures loaded in GPU)"> |
| 2904 | <Param type="Material" name="material" desc="" /> |
| 2905 | </Function> |
| 2906 | <Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)"> |
| 2907 | <Param type="Material" name="material" desc="" /> |
| 2908 | </Function> |
| 2909 | <Function name="SetMaterialTexture" retType="void" paramCount="3" desc="Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)"> |
| 2910 | <Param type="Material *" name="material" desc="" /> |
| 2911 | <Param type="int" name="mapType" desc="" /> |
| 2912 | <Param type="Texture2D" name="texture" desc="" /> |
| 2913 | </Function> |
| 2914 | <Function name="SetModelMeshMaterial" retType="void" paramCount="3" desc="Set material for a mesh"> |
| 2915 | <Param type="Model *" name="model" desc="" /> |
| 2916 | <Param type="int" name="meshId" desc="" /> |
| 2917 | <Param type="int" name="materialId" desc="" /> |
| 2918 | </Function> |
| 2919 | <Function name="LoadModelAnimations" retType="ModelAnimation *" paramCount="2" desc="Load model animations from file"> |
| 2920 | <Param type="const char *" name="fileName" desc="" /> |
| 2921 | <Param type="int *" name="animCount" desc="" /> |
| 2922 | </Function> |
| 2923 | <Function name="UpdateModelAnimation" retType="void" paramCount="3" desc="Update model animation pose (vertex buffers and bone matrices)"> |
| 2924 | <Param type="Model" name="model" desc="" /> |
| 2925 | <Param type="ModelAnimation" name="anim" desc="" /> |
| 2926 | <Param type="float" name="frame" desc="" /> |
| 2927 | </Function> |
| 2928 | <Function name="UpdateModelAnimationEx" retType="void" paramCount="6" desc="Update model animation pose, blending two animations"> |
| 2929 | <Param type="Model" name="model" desc="" /> |
| 2930 | <Param type="ModelAnimation" name="animA" desc="" /> |
| 2931 | <Param type="float" name="frameA" desc="" /> |
| 2932 | <Param type="ModelAnimation" name="animB" desc="" /> |
| 2933 | <Param type="float" name="frameB" desc="" /> |
| 2934 | <Param type="float" name="blend" desc="" /> |
| 2935 | </Function> |
| 2936 | <Function name="UnloadModelAnimations" retType="void" paramCount="2" desc="Unload animation array data"> |
| 2937 | <Param type="ModelAnimation *" name="animations" desc="" /> |
| 2938 | <Param type="int" name="animCount" desc="" /> |
| 2939 | </Function> |
| 2940 | <Function name="IsModelAnimationValid" retType="bool" paramCount="2" desc="Check model animation skeleton match"> |
| 2941 | <Param type="Model" name="model" desc="" /> |
| 2942 | <Param type="ModelAnimation" name="anim" desc="" /> |
| 2943 | </Function> |
| 2944 | <Function name="CheckCollisionSpheres" retType="bool" paramCount="4" desc="Check collision between two spheres"> |
| 2945 | <Param type="Vector3" name="center1" desc="" /> |
| 2946 | <Param type="float" name="radius1" desc="" /> |
| 2947 | <Param type="Vector3" name="center2" desc="" /> |
| 2948 | <Param type="float" name="radius2" desc="" /> |
| 2949 | </Function> |
| 2950 | <Function name="CheckCollisionBoxes" retType="bool" paramCount="2" desc="Check collision between two bounding boxes"> |
| 2951 | <Param type="BoundingBox" name="box1" desc="" /> |
| 2952 | <Param type="BoundingBox" name="box2" desc="" /> |
| 2953 | </Function> |
| 2954 | <Function name="CheckCollisionBoxSphere" retType="bool" paramCount="3" desc="Check collision between box and sphere"> |
| 2955 | <Param type="BoundingBox" name="box" desc="" /> |
| 2956 | <Param type="Vector3" name="center" desc="" /> |
| 2957 | <Param type="float" name="radius" desc="" /> |
| 2958 | </Function> |
| 2959 | <Function name="GetRayCollisionSphere" retType="RayCollision" paramCount="3" desc="Get collision info between ray and sphere"> |
| 2960 | <Param type="Ray" name="ray" desc="" /> |
| 2961 | <Param type="Vector3" name="center" desc="" /> |
| 2962 | <Param type="float" name="radius" desc="" /> |
| 2963 | </Function> |
| 2964 | <Function name="GetRayCollisionBox" retType="RayCollision" paramCount="2" desc="Get collision info between ray and box"> |
| 2965 | <Param type="Ray" name="ray" desc="" /> |
| 2966 | <Param type="BoundingBox" name="box" desc="" /> |
| 2967 | </Function> |
| 2968 | <Function name="GetRayCollisionMesh" retType="RayCollision" paramCount="3" desc="Get collision info between ray and mesh"> |
| 2969 | <Param type="Ray" name="ray" desc="" /> |
| 2970 | <Param type="Mesh" name="mesh" desc="" /> |
| 2971 | <Param type="Matrix" name="transform" desc="" /> |
| 2972 | </Function> |
| 2973 | <Function name="GetRayCollisionTriangle" retType="RayCollision" paramCount="4" desc="Get collision info between ray and triangle"> |
| 2974 | <Param type="Ray" name="ray" desc="" /> |
| 2975 | <Param type="Vector3" name="p1" desc="" /> |
| 2976 | <Param type="Vector3" name="p2" desc="" /> |
| 2977 | <Param type="Vector3" name="p3" desc="" /> |
| 2978 | </Function> |
| 2979 | <Function name="GetRayCollisionQuad" retType="RayCollision" paramCount="5" desc="Get collision info between ray and quad"> |
| 2980 | <Param type="Ray" name="ray" desc="" /> |
| 2981 | <Param type="Vector3" name="p1" desc="" /> |
| 2982 | <Param type="Vector3" name="p2" desc="" /> |
| 2983 | <Param type="Vector3" name="p3" desc="" /> |
| 2984 | <Param type="Vector3" name="p4" desc="" /> |
| 2985 | </Function> |
| 2986 | <Function name="InitAudioDevice" retType="void" paramCount="0" desc="Initialize audio device and context"> |
| 2987 | </Function> |
| 2988 | <Function name="CloseAudioDevice" retType="void" paramCount="0" desc="Close the audio device and context"> |
| 2989 | </Function> |
| 2990 | <Function name="IsAudioDeviceReady" retType="bool" paramCount="0" desc="Check if audio device has been initialized successfully"> |
| 2991 | </Function> |
| 2992 | <Function name="SetMasterVolume" retType="void" paramCount="1" desc="Set master volume (listener)"> |
| 2993 | <Param type="float" name="volume" desc="" /> |
| 2994 | </Function> |
| 2995 | <Function name="GetMasterVolume" retType="float" paramCount="0" desc="Get master volume (listener)"> |
| 2996 | </Function> |
| 2997 | <Function name="LoadWave" retType="Wave" paramCount="1" desc="Load wave data from file"> |
| 2998 | <Param type="const char *" name="fileName" desc="" /> |
| 2999 | </Function> |
| 3000 | <Function name="LoadWaveFromMemory" retType="Wave" paramCount="3" desc="Load wave from memory buffer, fileType refers to extension: i.e. '.wav'"> |
| 3001 | <Param type="const char *" name="fileType" desc="" /> |
| 3002 | <Param type="const unsigned char *" name="fileData" desc="" /> |
| 3003 | <Param type="int" name="dataSize" desc="" /> |
| 3004 | </Function> |
| 3005 | <Function name="IsWaveValid" retType="bool" paramCount="1" desc="Checks if wave data is valid (data loaded and parameters)"> |
| 3006 | <Param type="Wave" name="wave" desc="" /> |
| 3007 | </Function> |
| 3008 | <Function name="LoadSound" retType="Sound" paramCount="1" desc="Load sound from file"> |
| 3009 | <Param type="const char *" name="fileName" desc="" /> |
| 3010 | </Function> |
| 3011 | <Function name="LoadSoundFromWave" retType="Sound" paramCount="1" desc="Load sound from wave data"> |
| 3012 | <Param type="Wave" name="wave" desc="" /> |
| 3013 | </Function> |
| 3014 | <Function name="LoadSoundAlias" retType="Sound" paramCount="1" desc="Create a new sound that shares the same sample data as the source sound, does not own the sound data"> |
| 3015 | <Param type="Sound" name="source" desc="" /> |
| 3016 | </Function> |
| 3017 | <Function name="IsSoundValid" retType="bool" paramCount="1" desc="Checks if a sound is valid (data loaded and buffers initialized)"> |
| 3018 | <Param type="Sound" name="sound" desc="" /> |
| 3019 | </Function> |
| 3020 | <Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data (default data format: 32 bit float, stereo)"> |
| 3021 | <Param type="Sound" name="sound" desc="" /> |
| 3022 | <Param type="const void *" name="data" desc="" /> |
| 3023 | <Param type="int" name="sampleCount" desc="" /> |
| 3024 | </Function> |
| 3025 | <Function name="UnloadWave" retType="void" paramCount="1" desc="Unload wave data"> |
| 3026 | <Param type="Wave" name="wave" desc="" /> |
| 3027 | </Function> |
| 3028 | <Function name="UnloadSound" retType="void" paramCount="1" desc="Unload sound"> |
| 3029 | <Param type="Sound" name="sound" desc="" /> |
| 3030 | </Function> |
| 3031 | <Function name="UnloadSoundAlias" retType="void" paramCount="1" desc="Unload a sound alias (does not deallocate sample data)"> |
| 3032 | <Param type="Sound" name="alias" desc="" /> |
| 3033 | </Function> |
| 3034 | <Function name="ExportWave" retType="bool" paramCount="2" desc="Export wave data to file, returns true on success"> |
| 3035 | <Param type="Wave" name="wave" desc="" /> |
| 3036 | <Param type="const char *" name="fileName" desc="" /> |
| 3037 | </Function> |
| 3038 | <Function name="ExportWaveAsCode" retType="bool" paramCount="2" desc="Export wave sample data to code (.h), returns true on success"> |
| 3039 | <Param type="Wave" name="wave" desc="" /> |
| 3040 | <Param type="const char *" name="fileName" desc="" /> |
| 3041 | </Function> |
| 3042 | <Function name="PlaySound" retType="void" paramCount="1" desc="Play a sound"> |
| 3043 | <Param type="Sound" name="sound" desc="" /> |
| 3044 | </Function> |
| 3045 | <Function name="StopSound" retType="void" paramCount="1" desc="Stop playing a sound"> |
| 3046 | <Param type="Sound" name="sound" desc="" /> |
| 3047 | </Function> |
| 3048 | <Function name="PauseSound" retType="void" paramCount="1" desc="Pause a sound"> |
| 3049 | <Param type="Sound" name="sound" desc="" /> |
| 3050 | </Function> |
| 3051 | <Function name="ResumeSound" retType="void" paramCount="1" desc="Resume a paused sound"> |
| 3052 | <Param type="Sound" name="sound" desc="" /> |
| 3053 | </Function> |
| 3054 | <Function name="IsSoundPlaying" retType="bool" paramCount="1" desc="Check if a sound is currently playing"> |
| 3055 | <Param type="Sound" name="sound" desc="" /> |
| 3056 | </Function> |
| 3057 | <Function name="SetSoundVolume" retType="void" paramCount="2" desc="Set volume for a sound (1.0 is max level)"> |
| 3058 | <Param type="Sound" name="sound" desc="" /> |
| 3059 | <Param type="float" name="volume" desc="" /> |
| 3060 | </Function> |
| 3061 | <Function name="SetSoundPitch" retType="void" paramCount="2" desc="Set pitch for a sound (1.0 is base level)"> |
| 3062 | <Param type="Sound" name="sound" desc="" /> |
| 3063 | <Param type="float" name="pitch" desc="" /> |
| 3064 | </Function> |
| 3065 | <Function name="SetSoundPan" retType="void" paramCount="2" desc="Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)"> |
| 3066 | <Param type="Sound" name="sound" desc="" /> |
| 3067 | <Param type="float" name="pan" desc="" /> |
| 3068 | </Function> |
| 3069 | <Function name="WaveCopy" retType="Wave" paramCount="1" desc="Copy a wave to a new wave"> |
| 3070 | <Param type="Wave" name="wave" desc="" /> |
| 3071 | </Function> |
| 3072 | <Function name="WaveCrop" retType="void" paramCount="3" desc="Crop a wave to defined frames range"> |
| 3073 | <Param type="Wave *" name="wave" desc="" /> |
| 3074 | <Param type="int" name="initFrame" desc="" /> |
| 3075 | <Param type="int" name="finalFrame" desc="" /> |
| 3076 | </Function> |
| 3077 | <Function name="WaveFormat" retType="void" paramCount="4" desc="Convert wave data to desired format"> |
| 3078 | <Param type="Wave *" name="wave" desc="" /> |
| 3079 | <Param type="int" name="sampleRate" desc="" /> |
| 3080 | <Param type="int" name="sampleSize" desc="" /> |
| 3081 | <Param type="int" name="channels" desc="" /> |
| 3082 | </Function> |
| 3083 | <Function name="LoadWaveSamples" retType="float *" paramCount="1" desc="Load samples data from wave as a 32bit float data array"> |
| 3084 | <Param type="Wave" name="wave" desc="" /> |
| 3085 | </Function> |
| 3086 | <Function name="UnloadWaveSamples" retType="void" paramCount="1" desc="Unload samples data loaded with LoadWaveSamples()"> |
| 3087 | <Param type="float *" name="samples" desc="" /> |
| 3088 | </Function> |
| 3089 | <Function name="LoadMusicStream" retType="Music" paramCount="1" desc="Load music stream from file"> |
| 3090 | <Param type="const char *" name="fileName" desc="" /> |
| 3091 | </Function> |
| 3092 | <Function name="LoadMusicStreamFromMemory" retType="Music" paramCount="3" desc="Load music stream from data"> |
| 3093 | <Param type="const char *" name="fileType" desc="" /> |
| 3094 | <Param type="const unsigned char *" name="data" desc="" /> |
| 3095 | <Param type="int" name="dataSize" desc="" /> |
| 3096 | </Function> |
| 3097 | <Function name="IsMusicValid" retType="bool" paramCount="1" desc="Checks if a music stream is valid (context and buffers initialized)"> |
| 3098 | <Param type="Music" name="music" desc="" /> |
| 3099 | </Function> |
| 3100 | <Function name="UnloadMusicStream" retType="void" paramCount="1" desc="Unload music stream"> |
| 3101 | <Param type="Music" name="music" desc="" /> |
| 3102 | </Function> |
| 3103 | <Function name="PlayMusicStream" retType="void" paramCount="1" desc="Start music playing"> |
| 3104 | <Param type="Music" name="music" desc="" /> |
| 3105 | </Function> |
| 3106 | <Function name="IsMusicStreamPlaying" retType="bool" paramCount="1" desc="Check if music is playing"> |
| 3107 | <Param type="Music" name="music" desc="" /> |
| 3108 | </Function> |
| 3109 | <Function name="UpdateMusicStream" retType="void" paramCount="1" desc="Updates buffers for music streaming"> |
| 3110 | <Param type="Music" name="music" desc="" /> |
| 3111 | </Function> |
| 3112 | <Function name="StopMusicStream" retType="void" paramCount="1" desc="Stop music playing"> |
| 3113 | <Param type="Music" name="music" desc="" /> |
| 3114 | </Function> |
| 3115 | <Function name="PauseMusicStream" retType="void" paramCount="1" desc="Pause music playing"> |
| 3116 | <Param type="Music" name="music" desc="" /> |
| 3117 | </Function> |
| 3118 | <Function name="ResumeMusicStream" retType="void" paramCount="1" desc="Resume playing paused music"> |
| 3119 | <Param type="Music" name="music" desc="" /> |
| 3120 | </Function> |
| 3121 | <Function name="SeekMusicStream" retType="void" paramCount="2" desc="Seek music to a position (in seconds)"> |
| 3122 | <Param type="Music" name="music" desc="" /> |
| 3123 | <Param type="float" name="position" desc="" /> |
| 3124 | </Function> |
| 3125 | <Function name="SetMusicVolume" retType="void" paramCount="2" desc="Set volume for music (1.0 is max level)"> |
| 3126 | <Param type="Music" name="music" desc="" /> |
| 3127 | <Param type="float" name="volume" desc="" /> |
| 3128 | </Function> |
| 3129 | <Function name="SetMusicPitch" retType="void" paramCount="2" desc="Set pitch for a music (1.0 is base level)"> |
| 3130 | <Param type="Music" name="music" desc="" /> |
| 3131 | <Param type="float" name="pitch" desc="" /> |
| 3132 | </Function> |
| 3133 | <Function name="SetMusicPan" retType="void" paramCount="2" desc="Set pan for a music (-1.0 left, 0.0 center, 1.0 right)"> |
| 3134 | <Param type="Music" name="music" desc="" /> |
| 3135 | <Param type="float" name="pan" desc="" /> |
| 3136 | </Function> |
| 3137 | <Function name="GetMusicTimeLength" retType="float" paramCount="1" desc="Get music time length (in seconds)"> |
| 3138 | <Param type="Music" name="music" desc="" /> |
| 3139 | </Function> |
| 3140 | <Function name="GetMusicTimePlayed" retType="float" paramCount="1" desc="Get current music time played (in seconds)"> |
| 3141 | <Param type="Music" name="music" desc="" /> |
| 3142 | </Function> |
| 3143 | <Function name="LoadAudioStream" retType="AudioStream" paramCount="3" desc="Load audio stream (to stream raw audio pcm data)"> |
| 3144 | <Param type="unsigned int" name="sampleRate" desc="" /> |
| 3145 | <Param type="unsigned int" name="sampleSize" desc="" /> |
| 3146 | <Param type="unsigned int" name="channels" desc="" /> |
| 3147 | </Function> |
| 3148 | <Function name="IsAudioStreamValid" retType="bool" paramCount="1" desc="Checks if an audio stream is valid (buffers initialized)"> |
| 3149 | <Param type="AudioStream" name="stream" desc="" /> |
| 3150 | </Function> |
| 3151 | <Function name="UnloadAudioStream" retType="void" paramCount="1" desc="Unload audio stream and free memory"> |
| 3152 | <Param type="AudioStream" name="stream" desc="" /> |
| 3153 | </Function> |
| 3154 | <Function name="UpdateAudioStream" retType="void" paramCount="3" desc="Update audio stream buffers with data"> |
| 3155 | <Param type="AudioStream" name="stream" desc="" /> |
| 3156 | <Param type="const void *" name="data" desc="" /> |
| 3157 | <Param type="int" name="frameCount" desc="" /> |
| 3158 | </Function> |
| 3159 | <Function name="IsAudioStreamProcessed" retType="bool" paramCount="1" desc="Check if any audio stream buffers requires refill"> |
| 3160 | <Param type="AudioStream" name="stream" desc="" /> |
| 3161 | </Function> |
| 3162 | <Function name="PlayAudioStream" retType="void" paramCount="1" desc="Play audio stream"> |
| 3163 | <Param type="AudioStream" name="stream" desc="" /> |
| 3164 | </Function> |
| 3165 | <Function name="PauseAudioStream" retType="void" paramCount="1" desc="Pause audio stream"> |
| 3166 | <Param type="AudioStream" name="stream" desc="" /> |
| 3167 | </Function> |
| 3168 | <Function name="ResumeAudioStream" retType="void" paramCount="1" desc="Resume audio stream"> |
| 3169 | <Param type="AudioStream" name="stream" desc="" /> |
| 3170 | </Function> |
| 3171 | <Function name="IsAudioStreamPlaying" retType="bool" paramCount="1" desc="Check if audio stream is playing"> |
| 3172 | <Param type="AudioStream" name="stream" desc="" /> |
| 3173 | </Function> |
| 3174 | <Function name="StopAudioStream" retType="void" paramCount="1" desc="Stop audio stream"> |
| 3175 | <Param type="AudioStream" name="stream" desc="" /> |
| 3176 | </Function> |
| 3177 | <Function name="SetAudioStreamVolume" retType="void" paramCount="2" desc="Set volume for audio stream (1.0 is max level)"> |
| 3178 | <Param type="AudioStream" name="stream" desc="" /> |
| 3179 | <Param type="float" name="volume" desc="" /> |
| 3180 | </Function> |
| 3181 | <Function name="SetAudioStreamPitch" retType="void" paramCount="2" desc="Set pitch for audio stream (1.0 is base level)"> |
| 3182 | <Param type="AudioStream" name="stream" desc="" /> |
| 3183 | <Param type="float" name="pitch" desc="" /> |
| 3184 | </Function> |
| 3185 | <Function name="SetAudioStreamPan" retType="void" paramCount="2" desc="Set pan for audio stream (-1.0 to 1.0 range, 0.0 is centered)"> |
| 3186 | <Param type="AudioStream" name="stream" desc="" /> |
| 3187 | <Param type="float" name="pan" desc="" /> |
| 3188 | </Function> |
| 3189 | <Function name="SetAudioStreamBufferSizeDefault" retType="void" paramCount="1" desc="Default size for new audio streams"> |
| 3190 | <Param type="int" name="size" desc="" /> |
| 3191 | </Function> |
| 3192 | <Function name="SetAudioStreamCallback" retType="void" paramCount="2" desc="Audio thread callback to request new data"> |
| 3193 | <Param type="AudioStream" name="stream" desc="" /> |
| 3194 | <Param type="AudioCallback" name="callback" desc="" /> |
| 3195 | </Function> |
| 3196 | <Function name="AttachAudioStreamProcessor" retType="void" paramCount="2" desc="Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo)"> |
| 3197 | <Param type="AudioStream" name="stream" desc="" /> |
| 3198 | <Param type="AudioCallback" name="processor" desc="" /> |
| 3199 | </Function> |
| 3200 | <Function name="DetachAudioStreamProcessor" retType="void" paramCount="2" desc="Detach audio stream processor from stream"> |
| 3201 | <Param type="AudioStream" name="stream" desc="" /> |
| 3202 | <Param type="AudioCallback" name="processor" desc="" /> |
| 3203 | </Function> |
| 3204 | <Function name="AttachAudioMixedProcessor" retType="void" paramCount="1" desc="Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)"> |
| 3205 | <Param type="AudioCallback" name="processor" desc="" /> |
| 3206 | </Function> |
| 3207 | <Function name="DetachAudioMixedProcessor" retType="void" paramCount="1" desc="Detach audio stream processor from the entire audio pipeline"> |
| 3208 | <Param type="AudioCallback" name="processor" desc="" /> |
| 3209 | </Function> |
| 3210 | </Functions> |
| 3211 | </raylibAPI> |