| 1 | { |
| 2 | "defines": [ |
| 3 | { |
| 4 | "name": "RAYLIB_H", |
| 5 | "type": "GUARD", |
| 6 | "value": "", |
| 7 | "description": "" |
| 8 | }, |
| 9 | { |
| 10 | "name": "RAYLIB_VERSION_MAJOR", |
| 11 | "type": "INT", |
| 12 | "value": 6, |
| 13 | "description": "" |
| 14 | }, |
| 15 | { |
| 16 | "name": "RAYLIB_VERSION_MINOR", |
| 17 | "type": "INT", |
| 18 | "value": 0, |
| 19 | "description": "" |
| 20 | }, |
| 21 | { |
| 22 | "name": "RAYLIB_VERSION_PATCH", |
| 23 | "type": "INT", |
| 24 | "value": 0, |
| 25 | "description": "" |
| 26 | }, |
| 27 | { |
| 28 | "name": "RAYLIB_VERSION", |
| 29 | "type": "STRING", |
| 30 | "value": "6.0", |
| 31 | "description": "" |
| 32 | }, |
| 33 | { |
| 34 | "name": "__declspec(x)", |
| 35 | "type": "MACRO", |
| 36 | "value": "__attribute__((x))", |
| 37 | "description": "" |
| 38 | }, |
| 39 | { |
| 40 | "name": "RLAPI", |
| 41 | "type": "UNKNOWN", |
| 42 | "value": "__declspec(dllexport)", |
| 43 | "description": "Building the library as a Win32 shared library (.dll)" |
| 44 | }, |
| 45 | { |
| 46 | "name": "PI", |
| 47 | "type": "FLOAT", |
| 48 | "value": 3.14159265358979323846, |
| 49 | "description": "" |
| 50 | }, |
| 51 | { |
| 52 | "name": "DEG2RAD", |
| 53 | "type": "FLOAT_MATH", |
| 54 | "value": "(PI/180.0f)", |
| 55 | "description": "" |
| 56 | }, |
| 57 | { |
| 58 | "name": "RAD2DEG", |
| 59 | "type": "FLOAT_MATH", |
| 60 | "value": "(180.0f/PI)", |
| 61 | "description": "" |
| 62 | }, |
| 63 | { |
| 64 | "name": "RL_MALLOC(sz)", |
| 65 | "type": "MACRO", |
| 66 | "value": "malloc(sz)", |
| 67 | "description": "" |
| 68 | }, |
| 69 | { |
| 70 | "name": "RL_CALLOC(n,sz)", |
| 71 | "type": "MACRO", |
| 72 | "value": "calloc(n,sz)", |
| 73 | "description": "" |
| 74 | }, |
| 75 | { |
| 76 | "name": "RL_REALLOC(ptr,sz)", |
| 77 | "type": "MACRO", |
| 78 | "value": "realloc(ptr,sz)", |
| 79 | "description": "" |
| 80 | }, |
| 81 | { |
| 82 | "name": "RL_FREE(ptr)", |
| 83 | "type": "MACRO", |
| 84 | "value": "free(ptr)", |
| 85 | "description": "" |
| 86 | }, |
| 87 | { |
| 88 | "name": "CLITERAL(type)", |
| 89 | "type": "MACRO", |
| 90 | "value": "type", |
| 91 | "description": "" |
| 92 | }, |
| 93 | { |
| 94 | "name": "RL_COLOR_TYPE", |
| 95 | "type": "GUARD", |
| 96 | "value": "", |
| 97 | "description": "" |
| 98 | }, |
| 99 | { |
| 100 | "name": "RL_RECTANGLE_TYPE", |
| 101 | "type": "GUARD", |
| 102 | "value": "", |
| 103 | "description": "" |
| 104 | }, |
| 105 | { |
| 106 | "name": "RL_VECTOR2_TYPE", |
| 107 | "type": "GUARD", |
| 108 | "value": "", |
| 109 | "description": "" |
| 110 | }, |
| 111 | { |
| 112 | "name": "RL_VECTOR3_TYPE", |
| 113 | "type": "GUARD", |
| 114 | "value": "", |
| 115 | "description": "" |
| 116 | }, |
| 117 | { |
| 118 | "name": "RL_VECTOR4_TYPE", |
| 119 | "type": "GUARD", |
| 120 | "value": "", |
| 121 | "description": "" |
| 122 | }, |
| 123 | { |
| 124 | "name": "RL_QUATERNION_TYPE", |
| 125 | "type": "GUARD", |
| 126 | "value": "", |
| 127 | "description": "" |
| 128 | }, |
| 129 | { |
| 130 | "name": "RL_MATRIX_TYPE", |
| 131 | "type": "GUARD", |
| 132 | "value": "", |
| 133 | "description": "" |
| 134 | }, |
| 135 | { |
| 136 | "name": "LIGHTGRAY", |
| 137 | "type": "COLOR", |
| 138 | "value": "CLITERAL(Color){ 200, 200, 200, 255 }", |
| 139 | "description": "Light Gray" |
| 140 | }, |
| 141 | { |
| 142 | "name": "GRAY", |
| 143 | "type": "COLOR", |
| 144 | "value": "CLITERAL(Color){ 130, 130, 130, 255 }", |
| 145 | "description": "Gray" |
| 146 | }, |
| 147 | { |
| 148 | "name": "DARKGRAY", |
| 149 | "type": "COLOR", |
| 150 | "value": "CLITERAL(Color){ 80, 80, 80, 255 }", |
| 151 | "description": "Dark Gray" |
| 152 | }, |
| 153 | { |
| 154 | "name": "YELLOW", |
| 155 | "type": "COLOR", |
| 156 | "value": "CLITERAL(Color){ 253, 249, 0, 255 }", |
| 157 | "description": "Yellow" |
| 158 | }, |
| 159 | { |
| 160 | "name": "GOLD", |
| 161 | "type": "COLOR", |
| 162 | "value": "CLITERAL(Color){ 255, 203, 0, 255 }", |
| 163 | "description": "Gold" |
| 164 | }, |
| 165 | { |
| 166 | "name": "ORANGE", |
| 167 | "type": "COLOR", |
| 168 | "value": "CLITERAL(Color){ 255, 161, 0, 255 }", |
| 169 | "description": "Orange" |
| 170 | }, |
| 171 | { |
| 172 | "name": "PINK", |
| 173 | "type": "COLOR", |
| 174 | "value": "CLITERAL(Color){ 255, 109, 194, 255 }", |
| 175 | "description": "Pink" |
| 176 | }, |
| 177 | { |
| 178 | "name": "RED", |
| 179 | "type": "COLOR", |
| 180 | "value": "CLITERAL(Color){ 230, 41, 55, 255 }", |
| 181 | "description": "Red" |
| 182 | }, |
| 183 | { |
| 184 | "name": "MAROON", |
| 185 | "type": "COLOR", |
| 186 | "value": "CLITERAL(Color){ 190, 33, 55, 255 }", |
| 187 | "description": "Maroon" |
| 188 | }, |
| 189 | { |
| 190 | "name": "GREEN", |
| 191 | "type": "COLOR", |
| 192 | "value": "CLITERAL(Color){ 0, 228, 48, 255 }", |
| 193 | "description": "Green" |
| 194 | }, |
| 195 | { |
| 196 | "name": "LIME", |
| 197 | "type": "COLOR", |
| 198 | "value": "CLITERAL(Color){ 0, 158, 47, 255 }", |
| 199 | "description": "Lime" |
| 200 | }, |
| 201 | { |
| 202 | "name": "DARKGREEN", |
| 203 | "type": "COLOR", |
| 204 | "value": "CLITERAL(Color){ 0, 117, 44, 255 }", |
| 205 | "description": "Dark Green" |
| 206 | }, |
| 207 | { |
| 208 | "name": "SKYBLUE", |
| 209 | "type": "COLOR", |
| 210 | "value": "CLITERAL(Color){ 102, 191, 255, 255 }", |
| 211 | "description": "Sky Blue" |
| 212 | }, |
| 213 | { |
| 214 | "name": "BLUE", |
| 215 | "type": "COLOR", |
| 216 | "value": "CLITERAL(Color){ 0, 121, 241, 255 }", |
| 217 | "description": "Blue" |
| 218 | }, |
| 219 | { |
| 220 | "name": "DARKBLUE", |
| 221 | "type": "COLOR", |
| 222 | "value": "CLITERAL(Color){ 0, 82, 172, 255 }", |
| 223 | "description": "Dark Blue" |
| 224 | }, |
| 225 | { |
| 226 | "name": "PURPLE", |
| 227 | "type": "COLOR", |
| 228 | "value": "CLITERAL(Color){ 200, 122, 255, 255 }", |
| 229 | "description": "Purple" |
| 230 | }, |
| 231 | { |
| 232 | "name": "VIOLET", |
| 233 | "type": "COLOR", |
| 234 | "value": "CLITERAL(Color){ 135, 60, 190, 255 }", |
| 235 | "description": "Violet" |
| 236 | }, |
| 237 | { |
| 238 | "name": "DARKPURPLE", |
| 239 | "type": "COLOR", |
| 240 | "value": "CLITERAL(Color){ 112, 31, 126, 255 }", |
| 241 | "description": "Dark Purple" |
| 242 | }, |
| 243 | { |
| 244 | "name": "BEIGE", |
| 245 | "type": "COLOR", |
| 246 | "value": "CLITERAL(Color){ 211, 176, 131, 255 }", |
| 247 | "description": "Beige" |
| 248 | }, |
| 249 | { |
| 250 | "name": "BROWN", |
| 251 | "type": "COLOR", |
| 252 | "value": "CLITERAL(Color){ 127, 106, 79, 255 }", |
| 253 | "description": "Brown" |
| 254 | }, |
| 255 | { |
| 256 | "name": "DARKBROWN", |
| 257 | "type": "COLOR", |
| 258 | "value": "CLITERAL(Color){ 76, 63, 47, 255 }", |
| 259 | "description": "Dark Brown" |
| 260 | }, |
| 261 | { |
| 262 | "name": "WHITE", |
| 263 | "type": "COLOR", |
| 264 | "value": "CLITERAL(Color){ 255, 255, 255, 255 }", |
| 265 | "description": "White" |
| 266 | }, |
| 267 | { |
| 268 | "name": "BLACK", |
| 269 | "type": "COLOR", |
| 270 | "value": "CLITERAL(Color){ 0, 0, 0, 255 }", |
| 271 | "description": "Black" |
| 272 | }, |
| 273 | { |
| 274 | "name": "BLANK", |
| 275 | "type": "COLOR", |
| 276 | "value": "CLITERAL(Color){ 0, 0, 0, 0 }", |
| 277 | "description": "Blank (Transparent)" |
| 278 | }, |
| 279 | { |
| 280 | "name": "MAGENTA", |
| 281 | "type": "COLOR", |
| 282 | "value": "CLITERAL(Color){ 255, 0, 255, 255 }", |
| 283 | "description": "Magenta" |
| 284 | }, |
| 285 | { |
| 286 | "name": "RAYWHITE", |
| 287 | "type": "COLOR", |
| 288 | "value": "CLITERAL(Color){ 245, 245, 245, 255 }", |
| 289 | "description": "My own White (raylib logo)" |
| 290 | }, |
| 291 | { |
| 292 | "name": "RL_BOOL_TYPE", |
| 293 | "type": "GUARD", |
| 294 | "value": "", |
| 295 | "description": "" |
| 296 | }, |
| 297 | { |
| 298 | "name": "MOUSE_LEFT_BUTTON", |
| 299 | "type": "UNKNOWN", |
| 300 | "value": "MOUSE_BUTTON_LEFT", |
| 301 | "description": "" |
| 302 | }, |
| 303 | { |
| 304 | "name": "MOUSE_RIGHT_BUTTON", |
| 305 | "type": "UNKNOWN", |
| 306 | "value": "MOUSE_BUTTON_RIGHT", |
| 307 | "description": "" |
| 308 | }, |
| 309 | { |
| 310 | "name": "MOUSE_MIDDLE_BUTTON", |
| 311 | "type": "UNKNOWN", |
| 312 | "value": "MOUSE_BUTTON_MIDDLE", |
| 313 | "description": "" |
| 314 | }, |
| 315 | { |
| 316 | "name": "MATERIAL_MAP_DIFFUSE", |
| 317 | "type": "UNKNOWN", |
| 318 | "value": "MATERIAL_MAP_ALBEDO", |
| 319 | "description": "" |
| 320 | }, |
| 321 | { |
| 322 | "name": "MATERIAL_MAP_SPECULAR", |
| 323 | "type": "UNKNOWN", |
| 324 | "value": "MATERIAL_MAP_METALNESS", |
| 325 | "description": "" |
| 326 | }, |
| 327 | { |
| 328 | "name": "SHADER_LOC_MAP_DIFFUSE", |
| 329 | "type": "UNKNOWN", |
| 330 | "value": "SHADER_LOC_MAP_ALBEDO", |
| 331 | "description": "" |
| 332 | }, |
| 333 | { |
| 334 | "name": "SHADER_LOC_MAP_SPECULAR", |
| 335 | "type": "UNKNOWN", |
| 336 | "value": "SHADER_LOC_MAP_METALNESS", |
| 337 | "description": "" |
| 338 | }, |
| 339 | { |
| 340 | "name": "GetMouseRay", |
| 341 | "type": "UNKNOWN", |
| 342 | "value": "GetScreenToWorldRay", |
| 343 | "description": "Compatibility hack for previous raylib versions" |
| 344 | } |
| 345 | ], |
| 346 | "structs": [ |
| 347 | { |
| 348 | "name": "Vector2", |
| 349 | "description": "Vector2, 2 components", |
| 350 | "fields": [ |
| 351 | { |
| 352 | "type": "float", |
| 353 | "name": "x", |
| 354 | "description": "Vector x component" |
| 355 | }, |
| 356 | { |
| 357 | "type": "float", |
| 358 | "name": "y", |
| 359 | "description": "Vector y component" |
| 360 | } |
| 361 | ] |
| 362 | }, |
| 363 | { |
| 364 | "name": "Vector3", |
| 365 | "description": "Vector3, 3 components", |
| 366 | "fields": [ |
| 367 | { |
| 368 | "type": "float", |
| 369 | "name": "x", |
| 370 | "description": "Vector x component" |
| 371 | }, |
| 372 | { |
| 373 | "type": "float", |
| 374 | "name": "y", |
| 375 | "description": "Vector y component" |
| 376 | }, |
| 377 | { |
| 378 | "type": "float", |
| 379 | "name": "z", |
| 380 | "description": "Vector z component" |
| 381 | } |
| 382 | ] |
| 383 | }, |
| 384 | { |
| 385 | "name": "Vector4", |
| 386 | "description": "Vector4, 4 components", |
| 387 | "fields": [ |
| 388 | { |
| 389 | "type": "float", |
| 390 | "name": "x", |
| 391 | "description": "Vector x component" |
| 392 | }, |
| 393 | { |
| 394 | "type": "float", |
| 395 | "name": "y", |
| 396 | "description": "Vector y component" |
| 397 | }, |
| 398 | { |
| 399 | "type": "float", |
| 400 | "name": "z", |
| 401 | "description": "Vector z component" |
| 402 | }, |
| 403 | { |
| 404 | "type": "float", |
| 405 | "name": "w", |
| 406 | "description": "Vector w component" |
| 407 | } |
| 408 | ] |
| 409 | }, |
| 410 | { |
| 411 | "name": "Matrix", |
| 412 | "description": "Matrix, 4x4 components, column major, OpenGL style, right-handed", |
| 413 | "fields": [ |
| 414 | { |
| 415 | "type": "float", |
| 416 | "name": "m0", |
| 417 | "description": "Matrix first row (4 components)" |
| 418 | }, |
| 419 | { |
| 420 | "type": "float", |
| 421 | "name": "m4", |
| 422 | "description": "Matrix first row (4 components)" |
| 423 | }, |
| 424 | { |
| 425 | "type": "float", |
| 426 | "name": "m8", |
| 427 | "description": "Matrix first row (4 components)" |
| 428 | }, |
| 429 | { |
| 430 | "type": "float", |
| 431 | "name": "m12", |
| 432 | "description": "Matrix first row (4 components)" |
| 433 | }, |
| 434 | { |
| 435 | "type": "float", |
| 436 | "name": "m1", |
| 437 | "description": "Matrix second row (4 components)" |
| 438 | }, |
| 439 | { |
| 440 | "type": "float", |
| 441 | "name": "m5", |
| 442 | "description": "Matrix second row (4 components)" |
| 443 | }, |
| 444 | { |
| 445 | "type": "float", |
| 446 | "name": "m9", |
| 447 | "description": "Matrix second row (4 components)" |
| 448 | }, |
| 449 | { |
| 450 | "type": "float", |
| 451 | "name": "m13", |
| 452 | "description": "Matrix second row (4 components)" |
| 453 | }, |
| 454 | { |
| 455 | "type": "float", |
| 456 | "name": "m2", |
| 457 | "description": "Matrix third row (4 components)" |
| 458 | }, |
| 459 | { |
| 460 | "type": "float", |
| 461 | "name": "m6", |
| 462 | "description": "Matrix third row (4 components)" |
| 463 | }, |
| 464 | { |
| 465 | "type": "float", |
| 466 | "name": "m10", |
| 467 | "description": "Matrix third row (4 components)" |
| 468 | }, |
| 469 | { |
| 470 | "type": "float", |
| 471 | "name": "m14", |
| 472 | "description": "Matrix third row (4 components)" |
| 473 | }, |
| 474 | { |
| 475 | "type": "float", |
| 476 | "name": "m3", |
| 477 | "description": "Matrix fourth row (4 components)" |
| 478 | }, |
| 479 | { |
| 480 | "type": "float", |
| 481 | "name": "m7", |
| 482 | "description": "Matrix fourth row (4 components)" |
| 483 | }, |
| 484 | { |
| 485 | "type": "float", |
| 486 | "name": "m11", |
| 487 | "description": "Matrix fourth row (4 components)" |
| 488 | }, |
| 489 | { |
| 490 | "type": "float", |
| 491 | "name": "m15", |
| 492 | "description": "Matrix fourth row (4 components)" |
| 493 | } |
| 494 | ] |
| 495 | }, |
| 496 | { |
| 497 | "name": "Color", |
| 498 | "description": "Color, 4 components, R8G8B8A8 (32bit)", |
| 499 | "fields": [ |
| 500 | { |
| 501 | "type": "unsigned char", |
| 502 | "name": "r", |
| 503 | "description": "Color red value" |
| 504 | }, |
| 505 | { |
| 506 | "type": "unsigned char", |
| 507 | "name": "g", |
| 508 | "description": "Color green value" |
| 509 | }, |
| 510 | { |
| 511 | "type": "unsigned char", |
| 512 | "name": "b", |
| 513 | "description": "Color blue value" |
| 514 | }, |
| 515 | { |
| 516 | "type": "unsigned char", |
| 517 | "name": "a", |
| 518 | "description": "Color alpha value" |
| 519 | } |
| 520 | ] |
| 521 | }, |
| 522 | { |
| 523 | "name": "Rectangle", |
| 524 | "description": "Rectangle, 4 components", |
| 525 | "fields": [ |
| 526 | { |
| 527 | "type": "float", |
| 528 | "name": "x", |
| 529 | "description": "Rectangle top-left corner position x" |
| 530 | }, |
| 531 | { |
| 532 | "type": "float", |
| 533 | "name": "y", |
| 534 | "description": "Rectangle top-left corner position y" |
| 535 | }, |
| 536 | { |
| 537 | "type": "float", |
| 538 | "name": "width", |
| 539 | "description": "Rectangle width" |
| 540 | }, |
| 541 | { |
| 542 | "type": "float", |
| 543 | "name": "height", |
| 544 | "description": "Rectangle height" |
| 545 | } |
| 546 | ] |
| 547 | }, |
| 548 | { |
| 549 | "name": "Image", |
| 550 | "description": "Image, pixel data stored in CPU memory (RAM)", |
| 551 | "fields": [ |
| 552 | { |
| 553 | "type": "void *", |
| 554 | "name": "data", |
| 555 | "description": "Image raw data" |
| 556 | }, |
| 557 | { |
| 558 | "type": "int", |
| 559 | "name": "width", |
| 560 | "description": "Image base width" |
| 561 | }, |
| 562 | { |
| 563 | "type": "int", |
| 564 | "name": "height", |
| 565 | "description": "Image base height" |
| 566 | }, |
| 567 | { |
| 568 | "type": "int", |
| 569 | "name": "mipmaps", |
| 570 | "description": "Mipmap levels, 1 by default" |
| 571 | }, |
| 572 | { |
| 573 | "type": "int", |
| 574 | "name": "format", |
| 575 | "description": "Data format (PixelFormat type)" |
| 576 | } |
| 577 | ] |
| 578 | }, |
| 579 | { |
| 580 | "name": "Texture", |
| 581 | "description": "Texture, tex data stored in GPU memory (VRAM)", |
| 582 | "fields": [ |
| 583 | { |
| 584 | "type": "unsigned int", |
| 585 | "name": "id", |
| 586 | "description": "OpenGL texture id" |
| 587 | }, |
| 588 | { |
| 589 | "type": "int", |
| 590 | "name": "width", |
| 591 | "description": "Texture base width" |
| 592 | }, |
| 593 | { |
| 594 | "type": "int", |
| 595 | "name": "height", |
| 596 | "description": "Texture base height" |
| 597 | }, |
| 598 | { |
| 599 | "type": "int", |
| 600 | "name": "mipmaps", |
| 601 | "description": "Mipmap levels, 1 by default" |
| 602 | }, |
| 603 | { |
| 604 | "type": "int", |
| 605 | "name": "format", |
| 606 | "description": "Data format (PixelFormat type)" |
| 607 | } |
| 608 | ] |
| 609 | }, |
| 610 | { |
| 611 | "name": "RenderTexture", |
| 612 | "description": "RenderTexture, fbo for texture rendering", |
| 613 | "fields": [ |
| 614 | { |
| 615 | "type": "unsigned int", |
| 616 | "name": "id", |
| 617 | "description": "OpenGL framebuffer object id" |
| 618 | }, |
| 619 | { |
| 620 | "type": "Texture", |
| 621 | "name": "texture", |
| 622 | "description": "Color buffer attachment texture" |
| 623 | }, |
| 624 | { |
| 625 | "type": "Texture", |
| 626 | "name": "depth", |
| 627 | "description": "Depth buffer attachment texture" |
| 628 | } |
| 629 | ] |
| 630 | }, |
| 631 | { |
| 632 | "name": "NPatchInfo", |
| 633 | "description": "NPatchInfo, n-patch layout info", |
| 634 | "fields": [ |
| 635 | { |
| 636 | "type": "Rectangle", |
| 637 | "name": "source", |
| 638 | "description": "Texture source rectangle" |
| 639 | }, |
| 640 | { |
| 641 | "type": "int", |
| 642 | "name": "left", |
| 643 | "description": "Left border offset" |
| 644 | }, |
| 645 | { |
| 646 | "type": "int", |
| 647 | "name": "top", |
| 648 | "description": "Top border offset" |
| 649 | }, |
| 650 | { |
| 651 | "type": "int", |
| 652 | "name": "right", |
| 653 | "description": "Right border offset" |
| 654 | }, |
| 655 | { |
| 656 | "type": "int", |
| 657 | "name": "bottom", |
| 658 | "description": "Bottom border offset" |
| 659 | }, |
| 660 | { |
| 661 | "type": "int", |
| 662 | "name": "layout", |
| 663 | "description": "Layout of the n-patch: 3x3, 1x3 or 3x1" |
| 664 | } |
| 665 | ] |
| 666 | }, |
| 667 | { |
| 668 | "name": "GlyphInfo", |
| 669 | "description": "GlyphInfo, font characters glyphs info", |
| 670 | "fields": [ |
| 671 | { |
| 672 | "type": "int", |
| 673 | "name": "value", |
| 674 | "description": "Character value (Unicode)" |
| 675 | }, |
| 676 | { |
| 677 | "type": "int", |
| 678 | "name": "offsetX", |
| 679 | "description": "Character offset X when drawing" |
| 680 | }, |
| 681 | { |
| 682 | "type": "int", |
| 683 | "name": "offsetY", |
| 684 | "description": "Character offset Y when drawing" |
| 685 | }, |
| 686 | { |
| 687 | "type": "int", |
| 688 | "name": "advanceX", |
| 689 | "description": "Character advance position X" |
| 690 | }, |
| 691 | { |
| 692 | "type": "Image", |
| 693 | "name": "image", |
| 694 | "description": "Character image data" |
| 695 | } |
| 696 | ] |
| 697 | }, |
| 698 | { |
| 699 | "name": "Font", |
| 700 | "description": "Font, font texture and GlyphInfo array data", |
| 701 | "fields": [ |
| 702 | { |
| 703 | "type": "int", |
| 704 | "name": "baseSize", |
| 705 | "description": "Base size (default chars height)" |
| 706 | }, |
| 707 | { |
| 708 | "type": "int", |
| 709 | "name": "glyphCount", |
| 710 | "description": "Number of glyph characters" |
| 711 | }, |
| 712 | { |
| 713 | "type": "int", |
| 714 | "name": "glyphPadding", |
| 715 | "description": "Padding around the glyph characters" |
| 716 | }, |
| 717 | { |
| 718 | "type": "Texture2D", |
| 719 | "name": "texture", |
| 720 | "description": "Texture atlas containing the glyphs" |
| 721 | }, |
| 722 | { |
| 723 | "type": "Rectangle *", |
| 724 | "name": "recs", |
| 725 | "description": "Rectangles in texture for the glyphs" |
| 726 | }, |
| 727 | { |
| 728 | "type": "GlyphInfo *", |
| 729 | "name": "glyphs", |
| 730 | "description": "Glyphs info data" |
| 731 | } |
| 732 | ] |
| 733 | }, |
| 734 | { |
| 735 | "name": "Camera3D", |
| 736 | "description": "Camera, defines position/orientation in 3d space", |
| 737 | "fields": [ |
| 738 | { |
| 739 | "type": "Vector3", |
| 740 | "name": "position", |
| 741 | "description": "Camera position" |
| 742 | }, |
| 743 | { |
| 744 | "type": "Vector3", |
| 745 | "name": "target", |
| 746 | "description": "Camera target it looks-at" |
| 747 | }, |
| 748 | { |
| 749 | "type": "Vector3", |
| 750 | "name": "up", |
| 751 | "description": "Camera up vector (rotation over its axis)" |
| 752 | }, |
| 753 | { |
| 754 | "type": "float", |
| 755 | "name": "fovy", |
| 756 | "description": "Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic" |
| 757 | }, |
| 758 | { |
| 759 | "type": "int", |
| 760 | "name": "projection", |
| 761 | "description": "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" |
| 762 | } |
| 763 | ] |
| 764 | }, |
| 765 | { |
| 766 | "name": "Camera2D", |
| 767 | "description": "Camera2D, defines position/orientation in 2d space", |
| 768 | "fields": [ |
| 769 | { |
| 770 | "type": "Vector2", |
| 771 | "name": "offset", |
| 772 | "description": "Camera offset (screen space offset from window origin)" |
| 773 | }, |
| 774 | { |
| 775 | "type": "Vector2", |
| 776 | "name": "target", |
| 777 | "description": "Camera target (world space target point that is mapped to screen space offset)" |
| 778 | }, |
| 779 | { |
| 780 | "type": "float", |
| 781 | "name": "rotation", |
| 782 | "description": "Camera rotation in degrees (pivots around target)" |
| 783 | }, |
| 784 | { |
| 785 | "type": "float", |
| 786 | "name": "zoom", |
| 787 | "description": "Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale" |
| 788 | } |
| 789 | ] |
| 790 | }, |
| 791 | { |
| 792 | "name": "Mesh", |
| 793 | "description": "Mesh, vertex data and vao/vbo", |
| 794 | "fields": [ |
| 795 | { |
| 796 | "type": "int", |
| 797 | "name": "vertexCount", |
| 798 | "description": "Number of vertices stored in arrays" |
| 799 | }, |
| 800 | { |
| 801 | "type": "int", |
| 802 | "name": "triangleCount", |
| 803 | "description": "Number of triangles stored (indexed or not)" |
| 804 | }, |
| 805 | { |
| 806 | "type": "float *", |
| 807 | "name": "vertices", |
| 808 | "description": "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)" |
| 809 | }, |
| 810 | { |
| 811 | "type": "float *", |
| 812 | "name": "texcoords", |
| 813 | "description": "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)" |
| 814 | }, |
| 815 | { |
| 816 | "type": "float *", |
| 817 | "name": "texcoords2", |
| 818 | "description": "Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" |
| 819 | }, |
| 820 | { |
| 821 | "type": "float *", |
| 822 | "name": "normals", |
| 823 | "description": "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)" |
| 824 | }, |
| 825 | { |
| 826 | "type": "float *", |
| 827 | "name": "tangents", |
| 828 | "description": "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)" |
| 829 | }, |
| 830 | { |
| 831 | "type": "unsigned char *", |
| 832 | "name": "colors", |
| 833 | "description": "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)" |
| 834 | }, |
| 835 | { |
| 836 | "type": "unsigned short *", |
| 837 | "name": "indices", |
| 838 | "description": "Vertex indices (in case vertex data comes indexed)" |
| 839 | }, |
| 840 | { |
| 841 | "type": "int", |
| 842 | "name": "boneCount", |
| 843 | "description": "Number of bones (MAX: 256 bones)" |
| 844 | }, |
| 845 | { |
| 846 | "type": "unsigned char *", |
| 847 | "name": "boneIndices", |
| 848 | "description": "Vertex bone indices, up to 4 bones influence by vertex (skinning) (shader-location = 6)" |
| 849 | }, |
| 850 | { |
| 851 | "type": "float *", |
| 852 | "name": "boneWeights", |
| 853 | "description": "Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)" |
| 854 | }, |
| 855 | { |
| 856 | "type": "float *", |
| 857 | "name": "animVertices", |
| 858 | "description": "Animated vertex positions (after bones transformations)" |
| 859 | }, |
| 860 | { |
| 861 | "type": "float *", |
| 862 | "name": "animNormals", |
| 863 | "description": "Animated normals (after bones transformations)" |
| 864 | }, |
| 865 | { |
| 866 | "type": "unsigned int", |
| 867 | "name": "vaoId", |
| 868 | "description": "OpenGL Vertex Array Object id" |
| 869 | }, |
| 870 | { |
| 871 | "type": "unsigned int *", |
| 872 | "name": "vboId", |
| 873 | "description": "OpenGL Vertex Buffer Objects id (default vertex data)" |
| 874 | } |
| 875 | ] |
| 876 | }, |
| 877 | { |
| 878 | "name": "Shader", |
| 879 | "description": "Shader", |
| 880 | "fields": [ |
| 881 | { |
| 882 | "type": "unsigned int", |
| 883 | "name": "id", |
| 884 | "description": "Shader program id" |
| 885 | }, |
| 886 | { |
| 887 | "type": "int *", |
| 888 | "name": "locs", |
| 889 | "description": "Shader locations array (RL_MAX_SHADER_LOCATIONS)" |
| 890 | } |
| 891 | ] |
| 892 | }, |
| 893 | { |
| 894 | "name": "MaterialMap", |
| 895 | "description": "MaterialMap", |
| 896 | "fields": [ |
| 897 | { |
| 898 | "type": "Texture2D", |
| 899 | "name": "texture", |
| 900 | "description": "Material map texture" |
| 901 | }, |
| 902 | { |
| 903 | "type": "Color", |
| 904 | "name": "color", |
| 905 | "description": "Material map color" |
| 906 | }, |
| 907 | { |
| 908 | "type": "float", |
| 909 | "name": "value", |
| 910 | "description": "Material map value" |
| 911 | } |
| 912 | ] |
| 913 | }, |
| 914 | { |
| 915 | "name": "Material", |
| 916 | "description": "Material, includes shader and maps", |
| 917 | "fields": [ |
| 918 | { |
| 919 | "type": "Shader", |
| 920 | "name": "shader", |
| 921 | "description": "Material shader" |
| 922 | }, |
| 923 | { |
| 924 | "type": "MaterialMap *", |
| 925 | "name": "maps", |
| 926 | "description": "Material maps array (MAX_MATERIAL_MAPS)" |
| 927 | }, |
| 928 | { |
| 929 | "type": "float[4]", |
| 930 | "name": "params", |
| 931 | "description": "Material generic parameters (if required)" |
| 932 | } |
| 933 | ] |
| 934 | }, |
| 935 | { |
| 936 | "name": "Transform", |
| 937 | "description": "Transform, vertex transformation data", |
| 938 | "fields": [ |
| 939 | { |
| 940 | "type": "Vector3", |
| 941 | "name": "translation", |
| 942 | "description": "Translation" |
| 943 | }, |
| 944 | { |
| 945 | "type": "Quaternion", |
| 946 | "name": "rotation", |
| 947 | "description": "Rotation" |
| 948 | }, |
| 949 | { |
| 950 | "type": "Vector3", |
| 951 | "name": "scale", |
| 952 | "description": "Scale" |
| 953 | } |
| 954 | ] |
| 955 | }, |
| 956 | { |
| 957 | "name": "BoneInfo", |
| 958 | "description": "Bone, skeletal animation bone", |
| 959 | "fields": [ |
| 960 | { |
| 961 | "type": "char[32]", |
| 962 | "name": "name", |
| 963 | "description": "Bone name" |
| 964 | }, |
| 965 | { |
| 966 | "type": "int", |
| 967 | "name": "parent", |
| 968 | "description": "Bone parent" |
| 969 | } |
| 970 | ] |
| 971 | }, |
| 972 | { |
| 973 | "name": "ModelSkeleton", |
| 974 | "description": "Skeleton, animation bones hierarchy", |
| 975 | "fields": [ |
| 976 | { |
| 977 | "type": "int", |
| 978 | "name": "boneCount", |
| 979 | "description": "Number of bones" |
| 980 | }, |
| 981 | { |
| 982 | "type": "BoneInfo *", |
| 983 | "name": "bones", |
| 984 | "description": "Bones information (skeleton)" |
| 985 | }, |
| 986 | { |
| 987 | "type": "ModelAnimPose", |
| 988 | "name": "bindPose", |
| 989 | "description": "Bones base transformation (Transform[])" |
| 990 | } |
| 991 | ] |
| 992 | }, |
| 993 | { |
| 994 | "name": "Model", |
| 995 | "description": "Model, meshes, materials and animation data", |
| 996 | "fields": [ |
| 997 | { |
| 998 | "type": "Matrix", |
| 999 | "name": "transform", |
| 1000 | "description": "Local transform matrix" |
| 1001 | }, |
| 1002 | { |
| 1003 | "type": "int", |
| 1004 | "name": "meshCount", |
| 1005 | "description": "Number of meshes" |
| 1006 | }, |
| 1007 | { |
| 1008 | "type": "int", |
| 1009 | "name": "materialCount", |
| 1010 | "description": "Number of materials" |
| 1011 | }, |
| 1012 | { |
| 1013 | "type": "Mesh *", |
| 1014 | "name": "meshes", |
| 1015 | "description": "Meshes array" |
| 1016 | }, |
| 1017 | { |
| 1018 | "type": "Material *", |
| 1019 | "name": "materials", |
| 1020 | "description": "Materials array" |
| 1021 | }, |
| 1022 | { |
| 1023 | "type": "int *", |
| 1024 | "name": "meshMaterial", |
| 1025 | "description": "Mesh material number" |
| 1026 | }, |
| 1027 | { |
| 1028 | "type": "ModelSkeleton", |
| 1029 | "name": "skeleton", |
| 1030 | "description": "Skeleton for animation" |
| 1031 | }, |
| 1032 | { |
| 1033 | "type": "ModelAnimPose", |
| 1034 | "name": "currentPose", |
| 1035 | "description": "Current animation pose (Transform[])" |
| 1036 | }, |
| 1037 | { |
| 1038 | "type": "Matrix *", |
| 1039 | "name": "boneMatrices", |
| 1040 | "description": "Bones animated transformation matrices" |
| 1041 | } |
| 1042 | ] |
| 1043 | }, |
| 1044 | { |
| 1045 | "name": "ModelAnimation", |
| 1046 | "description": "ModelAnimation, contains a full animation sequence", |
| 1047 | "fields": [ |
| 1048 | { |
| 1049 | "type": "char[32]", |
| 1050 | "name": "name", |
| 1051 | "description": "Animation name" |
| 1052 | }, |
| 1053 | { |
| 1054 | "type": "int", |
| 1055 | "name": "boneCount", |
| 1056 | "description": "Number of bones (per pose)" |
| 1057 | }, |
| 1058 | { |
| 1059 | "type": "int", |
| 1060 | "name": "keyframeCount", |
| 1061 | "description": "Number of animation key frames" |
| 1062 | }, |
| 1063 | { |
| 1064 | "type": "ModelAnimPose *", |
| 1065 | "name": "keyframePoses", |
| 1066 | "description": "Animation sequence keyframe poses [keyframe][pose]" |
| 1067 | } |
| 1068 | ] |
| 1069 | }, |
| 1070 | { |
| 1071 | "name": "Ray", |
| 1072 | "description": "Ray, ray for raycasting", |
| 1073 | "fields": [ |
| 1074 | { |
| 1075 | "type": "Vector3", |
| 1076 | "name": "position", |
| 1077 | "description": "Ray position (origin)" |
| 1078 | }, |
| 1079 | { |
| 1080 | "type": "Vector3", |
| 1081 | "name": "direction", |
| 1082 | "description": "Ray direction (normalized)" |
| 1083 | } |
| 1084 | ] |
| 1085 | }, |
| 1086 | { |
| 1087 | "name": "RayCollision", |
| 1088 | "description": "RayCollision, ray hit information", |
| 1089 | "fields": [ |
| 1090 | { |
| 1091 | "type": "bool", |
| 1092 | "name": "hit", |
| 1093 | "description": "Did the ray hit something?" |
| 1094 | }, |
| 1095 | { |
| 1096 | "type": "float", |
| 1097 | "name": "distance", |
| 1098 | "description": "Distance to the nearest hit" |
| 1099 | }, |
| 1100 | { |
| 1101 | "type": "Vector3", |
| 1102 | "name": "point", |
| 1103 | "description": "Point of the nearest hit" |
| 1104 | }, |
| 1105 | { |
| 1106 | "type": "Vector3", |
| 1107 | "name": "normal", |
| 1108 | "description": "Surface normal of hit" |
| 1109 | } |
| 1110 | ] |
| 1111 | }, |
| 1112 | { |
| 1113 | "name": "BoundingBox", |
| 1114 | "description": "BoundingBox", |
| 1115 | "fields": [ |
| 1116 | { |
| 1117 | "type": "Vector3", |
| 1118 | "name": "min", |
| 1119 | "description": "Minimum vertex box-corner" |
| 1120 | }, |
| 1121 | { |
| 1122 | "type": "Vector3", |
| 1123 | "name": "max", |
| 1124 | "description": "Maximum vertex box-corner" |
| 1125 | } |
| 1126 | ] |
| 1127 | }, |
| 1128 | { |
| 1129 | "name": "Wave", |
| 1130 | "description": "Wave, audio wave data", |
| 1131 | "fields": [ |
| 1132 | { |
| 1133 | "type": "unsigned int", |
| 1134 | "name": "frameCount", |
| 1135 | "description": "Total number of frames (considering channels)" |
| 1136 | }, |
| 1137 | { |
| 1138 | "type": "unsigned int", |
| 1139 | "name": "sampleRate", |
| 1140 | "description": "Frequency (samples per second)" |
| 1141 | }, |
| 1142 | { |
| 1143 | "type": "unsigned int", |
| 1144 | "name": "sampleSize", |
| 1145 | "description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)" |
| 1146 | }, |
| 1147 | { |
| 1148 | "type": "unsigned int", |
| 1149 | "name": "channels", |
| 1150 | "description": "Number of channels (1-mono, 2-stereo, ...)" |
| 1151 | }, |
| 1152 | { |
| 1153 | "type": "void *", |
| 1154 | "name": "data", |
| 1155 | "description": "Buffer data pointer" |
| 1156 | } |
| 1157 | ] |
| 1158 | }, |
| 1159 | { |
| 1160 | "name": "AudioStream", |
| 1161 | "description": "AudioStream, custom audio stream", |
| 1162 | "fields": [ |
| 1163 | { |
| 1164 | "type": "rAudioBuffer *", |
| 1165 | "name": "buffer", |
| 1166 | "description": "Pointer to internal data used by the audio system" |
| 1167 | }, |
| 1168 | { |
| 1169 | "type": "rAudioProcessor *", |
| 1170 | "name": "processor", |
| 1171 | "description": "Pointer to internal data processor, useful for audio effects" |
| 1172 | }, |
| 1173 | { |
| 1174 | "type": "unsigned int", |
| 1175 | "name": "sampleRate", |
| 1176 | "description": "Frequency (samples per second)" |
| 1177 | }, |
| 1178 | { |
| 1179 | "type": "unsigned int", |
| 1180 | "name": "sampleSize", |
| 1181 | "description": "Bit depth (bits per sample): 8, 16, 32 (24 not supported)" |
| 1182 | }, |
| 1183 | { |
| 1184 | "type": "unsigned int", |
| 1185 | "name": "channels", |
| 1186 | "description": "Number of channels (1-mono, 2-stereo, ...)" |
| 1187 | } |
| 1188 | ] |
| 1189 | }, |
| 1190 | { |
| 1191 | "name": "Sound", |
| 1192 | "description": "Sound", |
| 1193 | "fields": [ |
| 1194 | { |
| 1195 | "type": "AudioStream", |
| 1196 | "name": "stream", |
| 1197 | "description": "Audio stream" |
| 1198 | }, |
| 1199 | { |
| 1200 | "type": "unsigned int", |
| 1201 | "name": "frameCount", |
| 1202 | "description": "Total number of frames (considering channels)" |
| 1203 | } |
| 1204 | ] |
| 1205 | }, |
| 1206 | { |
| 1207 | "name": "Music", |
| 1208 | "description": "Music, audio stream, anything longer than ~10 seconds should be streamed", |
| 1209 | "fields": [ |
| 1210 | { |
| 1211 | "type": "AudioStream", |
| 1212 | "name": "stream", |
| 1213 | "description": "Audio stream" |
| 1214 | }, |
| 1215 | { |
| 1216 | "type": "unsigned int", |
| 1217 | "name": "frameCount", |
| 1218 | "description": "Total number of frames (considering channels)" |
| 1219 | }, |
| 1220 | { |
| 1221 | "type": "bool", |
| 1222 | "name": "looping", |
| 1223 | "description": "Music looping enable" |
| 1224 | }, |
| 1225 | { |
| 1226 | "type": "int", |
| 1227 | "name": "ctxType", |
| 1228 | "description": "Type of music context (audio filetype)" |
| 1229 | }, |
| 1230 | { |
| 1231 | "type": "void *", |
| 1232 | "name": "ctxData", |
| 1233 | "description": "Audio context data, depends on type" |
| 1234 | } |
| 1235 | ] |
| 1236 | }, |
| 1237 | { |
| 1238 | "name": "VrDeviceInfo", |
| 1239 | "description": "VrDeviceInfo, Head-Mounted-Display device parameters", |
| 1240 | "fields": [ |
| 1241 | { |
| 1242 | "type": "int", |
| 1243 | "name": "hResolution", |
| 1244 | "description": "Horizontal resolution in pixels" |
| 1245 | }, |
| 1246 | { |
| 1247 | "type": "int", |
| 1248 | "name": "vResolution", |
| 1249 | "description": "Vertical resolution in pixels" |
| 1250 | }, |
| 1251 | { |
| 1252 | "type": "float", |
| 1253 | "name": "hScreenSize", |
| 1254 | "description": "Horizontal size in meters" |
| 1255 | }, |
| 1256 | { |
| 1257 | "type": "float", |
| 1258 | "name": "vScreenSize", |
| 1259 | "description": "Vertical size in meters" |
| 1260 | }, |
| 1261 | { |
| 1262 | "type": "float", |
| 1263 | "name": "eyeToScreenDistance", |
| 1264 | "description": "Distance between eye and display in meters" |
| 1265 | }, |
| 1266 | { |
| 1267 | "type": "float", |
| 1268 | "name": "lensSeparationDistance", |
| 1269 | "description": "Lens separation distance in meters" |
| 1270 | }, |
| 1271 | { |
| 1272 | "type": "float", |
| 1273 | "name": "interpupillaryDistance", |
| 1274 | "description": "IPD (distance between pupils) in meters" |
| 1275 | }, |
| 1276 | { |
| 1277 | "type": "float[4]", |
| 1278 | "name": "lensDistortionValues", |
| 1279 | "description": "Lens distortion constant parameters" |
| 1280 | }, |
| 1281 | { |
| 1282 | "type": "float[4]", |
| 1283 | "name": "chromaAbCorrection", |
| 1284 | "description": "Chromatic aberration correction parameters" |
| 1285 | } |
| 1286 | ] |
| 1287 | }, |
| 1288 | { |
| 1289 | "name": "VrStereoConfig", |
| 1290 | "description": "VrStereoConfig, VR stereo rendering configuration for simulator", |
| 1291 | "fields": [ |
| 1292 | { |
| 1293 | "type": "Matrix[2]", |
| 1294 | "name": "projection", |
| 1295 | "description": "VR projection matrices (per eye)" |
| 1296 | }, |
| 1297 | { |
| 1298 | "type": "Matrix[2]", |
| 1299 | "name": "viewOffset", |
| 1300 | "description": "VR view offset matrices (per eye)" |
| 1301 | }, |
| 1302 | { |
| 1303 | "type": "float[2]", |
| 1304 | "name": "leftLensCenter", |
| 1305 | "description": "VR left lens center" |
| 1306 | }, |
| 1307 | { |
| 1308 | "type": "float[2]", |
| 1309 | "name": "rightLensCenter", |
| 1310 | "description": "VR right lens center" |
| 1311 | }, |
| 1312 | { |
| 1313 | "type": "float[2]", |
| 1314 | "name": "leftScreenCenter", |
| 1315 | "description": "VR left screen center" |
| 1316 | }, |
| 1317 | { |
| 1318 | "type": "float[2]", |
| 1319 | "name": "rightScreenCenter", |
| 1320 | "description": "VR right screen center" |
| 1321 | }, |
| 1322 | { |
| 1323 | "type": "float[2]", |
| 1324 | "name": "scale", |
| 1325 | "description": "VR distortion scale" |
| 1326 | }, |
| 1327 | { |
| 1328 | "type": "float[2]", |
| 1329 | "name": "scaleIn", |
| 1330 | "description": "VR distortion scale in" |
| 1331 | } |
| 1332 | ] |
| 1333 | }, |
| 1334 | { |
| 1335 | "name": "FilePathList", |
| 1336 | "description": "File path list", |
| 1337 | "fields": [ |
| 1338 | { |
| 1339 | "type": "unsigned int", |
| 1340 | "name": "count", |
| 1341 | "description": "Filepaths entries count" |
| 1342 | }, |
| 1343 | { |
| 1344 | "type": "char **", |
| 1345 | "name": "paths", |
| 1346 | "description": "Filepaths entries" |
| 1347 | } |
| 1348 | ] |
| 1349 | }, |
| 1350 | { |
| 1351 | "name": "AutomationEvent", |
| 1352 | "description": "Automation event", |
| 1353 | "fields": [ |
| 1354 | { |
| 1355 | "type": "unsigned int", |
| 1356 | "name": "frame", |
| 1357 | "description": "Event frame" |
| 1358 | }, |
| 1359 | { |
| 1360 | "type": "unsigned int", |
| 1361 | "name": "type", |
| 1362 | "description": "Event type (AutomationEventType)" |
| 1363 | }, |
| 1364 | { |
| 1365 | "type": "int[4]", |
| 1366 | "name": "params", |
| 1367 | "description": "Event parameters (if required)" |
| 1368 | } |
| 1369 | ] |
| 1370 | }, |
| 1371 | { |
| 1372 | "name": "AutomationEventList", |
| 1373 | "description": "Automation event list", |
| 1374 | "fields": [ |
| 1375 | { |
| 1376 | "type": "unsigned int", |
| 1377 | "name": "capacity", |
| 1378 | "description": "Events max entries (MAX_AUTOMATION_EVENTS)" |
| 1379 | }, |
| 1380 | { |
| 1381 | "type": "unsigned int", |
| 1382 | "name": "count", |
| 1383 | "description": "Events entries count" |
| 1384 | }, |
| 1385 | { |
| 1386 | "type": "AutomationEvent *", |
| 1387 | "name": "events", |
| 1388 | "description": "Events entries" |
| 1389 | } |
| 1390 | ] |
| 1391 | } |
| 1392 | ], |
| 1393 | "aliases": [ |
| 1394 | { |
| 1395 | "type": "Vector4", |
| 1396 | "name": "Quaternion", |
| 1397 | "description": "Quaternion, 4 components (Vector4 alias)" |
| 1398 | }, |
| 1399 | { |
| 1400 | "type": "Texture", |
| 1401 | "name": "Texture2D", |
| 1402 | "description": "Texture2D, same as Texture" |
| 1403 | }, |
| 1404 | { |
| 1405 | "type": "Texture", |
| 1406 | "name": "TextureCubemap", |
| 1407 | "description": "TextureCubemap, same as Texture" |
| 1408 | }, |
| 1409 | { |
| 1410 | "type": "RenderTexture", |
| 1411 | "name": "RenderTexture2D", |
| 1412 | "description": "RenderTexture2D, same as RenderTexture" |
| 1413 | }, |
| 1414 | { |
| 1415 | "type": "Camera3D", |
| 1416 | "name": "Camera", |
| 1417 | "description": "Camera type fallback, defaults to Camera3D" |
| 1418 | }, |
| 1419 | { |
| 1420 | "type": "Transform", |
| 1421 | "name": "*ModelAnimPose", |
| 1422 | "description": "Anim pose, an array of Transform[]" |
| 1423 | } |
| 1424 | ], |
| 1425 | "enums": [ |
| 1426 | { |
| 1427 | "name": "ConfigFlags", |
| 1428 | "description": "System/Window config flags", |
| 1429 | "values": [ |
| 1430 | { |
| 1431 | "name": "FLAG_VSYNC_HINT", |
| 1432 | "value": 64, |
| 1433 | "description": "Set to try enabling V-Sync on GPU" |
| 1434 | }, |
| 1435 | { |
| 1436 | "name": "FLAG_FULLSCREEN_MODE", |
| 1437 | "value": 2, |
| 1438 | "description": "Set to run program in fullscreen" |
| 1439 | }, |
| 1440 | { |
| 1441 | "name": "FLAG_WINDOW_RESIZABLE", |
| 1442 | "value": 4, |
| 1443 | "description": "Set to allow resizable window" |
| 1444 | }, |
| 1445 | { |
| 1446 | "name": "FLAG_WINDOW_UNDECORATED", |
| 1447 | "value": 8, |
| 1448 | "description": "Set to disable window decoration (frame and buttons)" |
| 1449 | }, |
| 1450 | { |
| 1451 | "name": "FLAG_WINDOW_HIDDEN", |
| 1452 | "value": 128, |
| 1453 | "description": "Set to hide window" |
| 1454 | }, |
| 1455 | { |
| 1456 | "name": "FLAG_WINDOW_MINIMIZED", |
| 1457 | "value": 512, |
| 1458 | "description": "Set to minimize window (iconify)" |
| 1459 | }, |
| 1460 | { |
| 1461 | "name": "FLAG_WINDOW_MAXIMIZED", |
| 1462 | "value": 1024, |
| 1463 | "description": "Set to maximize window (expanded to monitor)" |
| 1464 | }, |
| 1465 | { |
| 1466 | "name": "FLAG_WINDOW_UNFOCUSED", |
| 1467 | "value": 2048, |
| 1468 | "description": "Set to window non focused" |
| 1469 | }, |
| 1470 | { |
| 1471 | "name": "FLAG_WINDOW_TOPMOST", |
| 1472 | "value": 4096, |
| 1473 | "description": "Set to window always on top" |
| 1474 | }, |
| 1475 | { |
| 1476 | "name": "FLAG_WINDOW_ALWAYS_RUN", |
| 1477 | "value": 256, |
| 1478 | "description": "Set to allow windows running while minimized" |
| 1479 | }, |
| 1480 | { |
| 1481 | "name": "FLAG_WINDOW_TRANSPARENT", |
| 1482 | "value": 16, |
| 1483 | "description": "Set to allow transparent framebuffer" |
| 1484 | }, |
| 1485 | { |
| 1486 | "name": "FLAG_WINDOW_HIGHDPI", |
| 1487 | "value": 8192, |
| 1488 | "description": "Set to support HighDPI" |
| 1489 | }, |
| 1490 | { |
| 1491 | "name": "FLAG_WINDOW_MOUSE_PASSTHROUGH", |
| 1492 | "value": 16384, |
| 1493 | "description": "Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED" |
| 1494 | }, |
| 1495 | { |
| 1496 | "name": "FLAG_BORDERLESS_WINDOWED_MODE", |
| 1497 | "value": 32768, |
| 1498 | "description": "Set to run program in borderless windowed mode" |
| 1499 | }, |
| 1500 | { |
| 1501 | "name": "FLAG_MSAA_4X_HINT", |
| 1502 | "value": 32, |
| 1503 | "description": "Set to try enabling MSAA 4X" |
| 1504 | }, |
| 1505 | { |
| 1506 | "name": "FLAG_INTERLACED_HINT", |
| 1507 | "value": 65536, |
| 1508 | "description": "Set to try enabling interlaced video format (for V3D)" |
| 1509 | } |
| 1510 | ] |
| 1511 | }, |
| 1512 | { |
| 1513 | "name": "TraceLogLevel", |
| 1514 | "description": "Trace log level", |
| 1515 | "values": [ |
| 1516 | { |
| 1517 | "name": "LOG_ALL", |
| 1518 | "value": 0, |
| 1519 | "description": "Display all logs" |
| 1520 | }, |
| 1521 | { |
| 1522 | "name": "LOG_TRACE", |
| 1523 | "value": 1, |
| 1524 | "description": "Trace logging, intended for internal use only" |
| 1525 | }, |
| 1526 | { |
| 1527 | "name": "LOG_DEBUG", |
| 1528 | "value": 2, |
| 1529 | "description": "Debug logging, used for internal debugging, it should be disabled on release builds" |
| 1530 | }, |
| 1531 | { |
| 1532 | "name": "LOG_INFO", |
| 1533 | "value": 3, |
| 1534 | "description": "Info logging, used for program execution info" |
| 1535 | }, |
| 1536 | { |
| 1537 | "name": "LOG_WARNING", |
| 1538 | "value": 4, |
| 1539 | "description": "Warning logging, used on recoverable failures" |
| 1540 | }, |
| 1541 | { |
| 1542 | "name": "LOG_ERROR", |
| 1543 | "value": 5, |
| 1544 | "description": "Error logging, used on unrecoverable failures" |
| 1545 | }, |
| 1546 | { |
| 1547 | "name": "LOG_FATAL", |
| 1548 | "value": 6, |
| 1549 | "description": "Fatal logging, used to abort program: exit(EXIT_FAILURE)" |
| 1550 | }, |
| 1551 | { |
| 1552 | "name": "LOG_NONE", |
| 1553 | "value": 7, |
| 1554 | "description": "Disable logging" |
| 1555 | } |
| 1556 | ] |
| 1557 | }, |
| 1558 | { |
| 1559 | "name": "KeyboardKey", |
| 1560 | "description": "Keyboard keys (US keyboard layout)", |
| 1561 | "values": [ |
| 1562 | { |
| 1563 | "name": "KEY_NULL", |
| 1564 | "value": 0, |
| 1565 | "description": "Key: NULL, used for no key pressed" |
| 1566 | }, |
| 1567 | { |
| 1568 | "name": "KEY_APOSTROPHE", |
| 1569 | "value": 39, |
| 1570 | "description": "Key: '" |
| 1571 | }, |
| 1572 | { |
| 1573 | "name": "KEY_COMMA", |
| 1574 | "value": 44, |
| 1575 | "description": "Key: ," |
| 1576 | }, |
| 1577 | { |
| 1578 | "name": "KEY_MINUS", |
| 1579 | "value": 45, |
| 1580 | "description": "Key: -" |
| 1581 | }, |
| 1582 | { |
| 1583 | "name": "KEY_PERIOD", |
| 1584 | "value": 46, |
| 1585 | "description": "Key: ." |
| 1586 | }, |
| 1587 | { |
| 1588 | "name": "KEY_SLASH", |
| 1589 | "value": 47, |
| 1590 | "description": "Key: /" |
| 1591 | }, |
| 1592 | { |
| 1593 | "name": "KEY_ZERO", |
| 1594 | "value": 48, |
| 1595 | "description": "Key: 0" |
| 1596 | }, |
| 1597 | { |
| 1598 | "name": "KEY_ONE", |
| 1599 | "value": 49, |
| 1600 | "description": "Key: 1" |
| 1601 | }, |
| 1602 | { |
| 1603 | "name": "KEY_TWO", |
| 1604 | "value": 50, |
| 1605 | "description": "Key: 2" |
| 1606 | }, |
| 1607 | { |
| 1608 | "name": "KEY_THREE", |
| 1609 | "value": 51, |
| 1610 | "description": "Key: 3" |
| 1611 | }, |
| 1612 | { |
| 1613 | "name": "KEY_FOUR", |
| 1614 | "value": 52, |
| 1615 | "description": "Key: 4" |
| 1616 | }, |
| 1617 | { |
| 1618 | "name": "KEY_FIVE", |
| 1619 | "value": 53, |
| 1620 | "description": "Key: 5" |
| 1621 | }, |
| 1622 | { |
| 1623 | "name": "KEY_SIX", |
| 1624 | "value": 54, |
| 1625 | "description": "Key: 6" |
| 1626 | }, |
| 1627 | { |
| 1628 | "name": "KEY_SEVEN", |
| 1629 | "value": 55, |
| 1630 | "description": "Key: 7" |
| 1631 | }, |
| 1632 | { |
| 1633 | "name": "KEY_EIGHT", |
| 1634 | "value": 56, |
| 1635 | "description": "Key: 8" |
| 1636 | }, |
| 1637 | { |
| 1638 | "name": "KEY_NINE", |
| 1639 | "value": 57, |
| 1640 | "description": "Key: 9" |
| 1641 | }, |
| 1642 | { |
| 1643 | "name": "KEY_SEMICOLON", |
| 1644 | "value": 59, |
| 1645 | "description": "Key: ;" |
| 1646 | }, |
| 1647 | { |
| 1648 | "name": "KEY_EQUAL", |
| 1649 | "value": 61, |
| 1650 | "description": "Key: =" |
| 1651 | }, |
| 1652 | { |
| 1653 | "name": "KEY_A", |
| 1654 | "value": 65, |
| 1655 | "description": "Key: A | a" |
| 1656 | }, |
| 1657 | { |
| 1658 | "name": "KEY_B", |
| 1659 | "value": 66, |
| 1660 | "description": "Key: B | b" |
| 1661 | }, |
| 1662 | { |
| 1663 | "name": "KEY_C", |
| 1664 | "value": 67, |
| 1665 | "description": "Key: C | c" |
| 1666 | }, |
| 1667 | { |
| 1668 | "name": "KEY_D", |
| 1669 | "value": 68, |
| 1670 | "description": "Key: D | d" |
| 1671 | }, |
| 1672 | { |
| 1673 | "name": "KEY_E", |
| 1674 | "value": 69, |
| 1675 | "description": "Key: E | e" |
| 1676 | }, |
| 1677 | { |
| 1678 | "name": "KEY_F", |
| 1679 | "value": 70, |
| 1680 | "description": "Key: F | f" |
| 1681 | }, |
| 1682 | { |
| 1683 | "name": "KEY_G", |
| 1684 | "value": 71, |
| 1685 | "description": "Key: G | g" |
| 1686 | }, |
| 1687 | { |
| 1688 | "name": "KEY_H", |
| 1689 | "value": 72, |
| 1690 | "description": "Key: H | h" |
| 1691 | }, |
| 1692 | { |
| 1693 | "name": "KEY_I", |
| 1694 | "value": 73, |
| 1695 | "description": "Key: I | i" |
| 1696 | }, |
| 1697 | { |
| 1698 | "name": "KEY_J", |
| 1699 | "value": 74, |
| 1700 | "description": "Key: J | j" |
| 1701 | }, |
| 1702 | { |
| 1703 | "name": "KEY_K", |
| 1704 | "value": 75, |
| 1705 | "description": "Key: K | k" |
| 1706 | }, |
| 1707 | { |
| 1708 | "name": "KEY_L", |
| 1709 | "value": 76, |
| 1710 | "description": "Key: L | l" |
| 1711 | }, |
| 1712 | { |
| 1713 | "name": "KEY_M", |
| 1714 | "value": 77, |
| 1715 | "description": "Key: M | m" |
| 1716 | }, |
| 1717 | { |
| 1718 | "name": "KEY_N", |
| 1719 | "value": 78, |
| 1720 | "description": "Key: N | n" |
| 1721 | }, |
| 1722 | { |
| 1723 | "name": "KEY_O", |
| 1724 | "value": 79, |
| 1725 | "description": "Key: O | o" |
| 1726 | }, |
| 1727 | { |
| 1728 | "name": "KEY_P", |
| 1729 | "value": 80, |
| 1730 | "description": "Key: P | p" |
| 1731 | }, |
| 1732 | { |
| 1733 | "name": "KEY_Q", |
| 1734 | "value": 81, |
| 1735 | "description": "Key: Q | q" |
| 1736 | }, |
| 1737 | { |
| 1738 | "name": "KEY_R", |
| 1739 | "value": 82, |
| 1740 | "description": "Key: R | r" |
| 1741 | }, |
| 1742 | { |
| 1743 | "name": "KEY_S", |
| 1744 | "value": 83, |
| 1745 | "description": "Key: S | s" |
| 1746 | }, |
| 1747 | { |
| 1748 | "name": "KEY_T", |
| 1749 | "value": 84, |
| 1750 | "description": "Key: T | t" |
| 1751 | }, |
| 1752 | { |
| 1753 | "name": "KEY_U", |
| 1754 | "value": 85, |
| 1755 | "description": "Key: U | u" |
| 1756 | }, |
| 1757 | { |
| 1758 | "name": "KEY_V", |
| 1759 | "value": 86, |
| 1760 | "description": "Key: V | v" |
| 1761 | }, |
| 1762 | { |
| 1763 | "name": "KEY_W", |
| 1764 | "value": 87, |
| 1765 | "description": "Key: W | w" |
| 1766 | }, |
| 1767 | { |
| 1768 | "name": "KEY_X", |
| 1769 | "value": 88, |
| 1770 | "description": "Key: X | x" |
| 1771 | }, |
| 1772 | { |
| 1773 | "name": "KEY_Y", |
| 1774 | "value": 89, |
| 1775 | "description": "Key: Y | y" |
| 1776 | }, |
| 1777 | { |
| 1778 | "name": "KEY_Z", |
| 1779 | "value": 90, |
| 1780 | "description": "Key: Z | z" |
| 1781 | }, |
| 1782 | { |
| 1783 | "name": "KEY_LEFT_BRACKET", |
| 1784 | "value": 91, |
| 1785 | "description": "Key: [" |
| 1786 | }, |
| 1787 | { |
| 1788 | "name": "KEY_BACKSLASH", |
| 1789 | "value": 92, |
| 1790 | "description": "Key: '\\'" |
| 1791 | }, |
| 1792 | { |
| 1793 | "name": "KEY_RIGHT_BRACKET", |
| 1794 | "value": 93, |
| 1795 | "description": "Key: ]" |
| 1796 | }, |
| 1797 | { |
| 1798 | "name": "KEY_GRAVE", |
| 1799 | "value": 96, |
| 1800 | "description": "Key: `" |
| 1801 | }, |
| 1802 | { |
| 1803 | "name": "KEY_SPACE", |
| 1804 | "value": 32, |
| 1805 | "description": "Key: Space" |
| 1806 | }, |
| 1807 | { |
| 1808 | "name": "KEY_ESCAPE", |
| 1809 | "value": 256, |
| 1810 | "description": "Key: Esc" |
| 1811 | }, |
| 1812 | { |
| 1813 | "name": "KEY_ENTER", |
| 1814 | "value": 257, |
| 1815 | "description": "Key: Enter" |
| 1816 | }, |
| 1817 | { |
| 1818 | "name": "KEY_TAB", |
| 1819 | "value": 258, |
| 1820 | "description": "Key: Tab" |
| 1821 | }, |
| 1822 | { |
| 1823 | "name": "KEY_BACKSPACE", |
| 1824 | "value": 259, |
| 1825 | "description": "Key: Backspace" |
| 1826 | }, |
| 1827 | { |
| 1828 | "name": "KEY_INSERT", |
| 1829 | "value": 260, |
| 1830 | "description": "Key: Ins" |
| 1831 | }, |
| 1832 | { |
| 1833 | "name": "KEY_DELETE", |
| 1834 | "value": 261, |
| 1835 | "description": "Key: Del" |
| 1836 | }, |
| 1837 | { |
| 1838 | "name": "KEY_RIGHT", |
| 1839 | "value": 262, |
| 1840 | "description": "Key: Cursor right" |
| 1841 | }, |
| 1842 | { |
| 1843 | "name": "KEY_LEFT", |
| 1844 | "value": 263, |
| 1845 | "description": "Key: Cursor left" |
| 1846 | }, |
| 1847 | { |
| 1848 | "name": "KEY_DOWN", |
| 1849 | "value": 264, |
| 1850 | "description": "Key: Cursor down" |
| 1851 | }, |
| 1852 | { |
| 1853 | "name": "KEY_UP", |
| 1854 | "value": 265, |
| 1855 | "description": "Key: Cursor up" |
| 1856 | }, |
| 1857 | { |
| 1858 | "name": "KEY_PAGE_UP", |
| 1859 | "value": 266, |
| 1860 | "description": "Key: Page up" |
| 1861 | }, |
| 1862 | { |
| 1863 | "name": "KEY_PAGE_DOWN", |
| 1864 | "value": 267, |
| 1865 | "description": "Key: Page down" |
| 1866 | }, |
| 1867 | { |
| 1868 | "name": "KEY_HOME", |
| 1869 | "value": 268, |
| 1870 | "description": "Key: Home" |
| 1871 | }, |
| 1872 | { |
| 1873 | "name": "KEY_END", |
| 1874 | "value": 269, |
| 1875 | "description": "Key: End" |
| 1876 | }, |
| 1877 | { |
| 1878 | "name": "KEY_CAPS_LOCK", |
| 1879 | "value": 280, |
| 1880 | "description": "Key: Caps lock" |
| 1881 | }, |
| 1882 | { |
| 1883 | "name": "KEY_SCROLL_LOCK", |
| 1884 | "value": 281, |
| 1885 | "description": "Key: Scroll down" |
| 1886 | }, |
| 1887 | { |
| 1888 | "name": "KEY_NUM_LOCK", |
| 1889 | "value": 282, |
| 1890 | "description": "Key: Num lock" |
| 1891 | }, |
| 1892 | { |
| 1893 | "name": "KEY_PRINT_SCREEN", |
| 1894 | "value": 283, |
| 1895 | "description": "Key: Print screen" |
| 1896 | }, |
| 1897 | { |
| 1898 | "name": "KEY_PAUSE", |
| 1899 | "value": 284, |
| 1900 | "description": "Key: Pause" |
| 1901 | }, |
| 1902 | { |
| 1903 | "name": "KEY_F1", |
| 1904 | "value": 290, |
| 1905 | "description": "Key: F1" |
| 1906 | }, |
| 1907 | { |
| 1908 | "name": "KEY_F2", |
| 1909 | "value": 291, |
| 1910 | "description": "Key: F2" |
| 1911 | }, |
| 1912 | { |
| 1913 | "name": "KEY_F3", |
| 1914 | "value": 292, |
| 1915 | "description": "Key: F3" |
| 1916 | }, |
| 1917 | { |
| 1918 | "name": "KEY_F4", |
| 1919 | "value": 293, |
| 1920 | "description": "Key: F4" |
| 1921 | }, |
| 1922 | { |
| 1923 | "name": "KEY_F5", |
| 1924 | "value": 294, |
| 1925 | "description": "Key: F5" |
| 1926 | }, |
| 1927 | { |
| 1928 | "name": "KEY_F6", |
| 1929 | "value": 295, |
| 1930 | "description": "Key: F6" |
| 1931 | }, |
| 1932 | { |
| 1933 | "name": "KEY_F7", |
| 1934 | "value": 296, |
| 1935 | "description": "Key: F7" |
| 1936 | }, |
| 1937 | { |
| 1938 | "name": "KEY_F8", |
| 1939 | "value": 297, |
| 1940 | "description": "Key: F8" |
| 1941 | }, |
| 1942 | { |
| 1943 | "name": "KEY_F9", |
| 1944 | "value": 298, |
| 1945 | "description": "Key: F9" |
| 1946 | }, |
| 1947 | { |
| 1948 | "name": "KEY_F10", |
| 1949 | "value": 299, |
| 1950 | "description": "Key: F10" |
| 1951 | }, |
| 1952 | { |
| 1953 | "name": "KEY_F11", |
| 1954 | "value": 300, |
| 1955 | "description": "Key: F11" |
| 1956 | }, |
| 1957 | { |
| 1958 | "name": "KEY_F12", |
| 1959 | "value": 301, |
| 1960 | "description": "Key: F12" |
| 1961 | }, |
| 1962 | { |
| 1963 | "name": "KEY_LEFT_SHIFT", |
| 1964 | "value": 340, |
| 1965 | "description": "Key: Shift left" |
| 1966 | }, |
| 1967 | { |
| 1968 | "name": "KEY_LEFT_CONTROL", |
| 1969 | "value": 341, |
| 1970 | "description": "Key: Control left" |
| 1971 | }, |
| 1972 | { |
| 1973 | "name": "KEY_LEFT_ALT", |
| 1974 | "value": 342, |
| 1975 | "description": "Key: Alt left" |
| 1976 | }, |
| 1977 | { |
| 1978 | "name": "KEY_LEFT_SUPER", |
| 1979 | "value": 343, |
| 1980 | "description": "Key: Super left" |
| 1981 | }, |
| 1982 | { |
| 1983 | "name": "KEY_RIGHT_SHIFT", |
| 1984 | "value": 344, |
| 1985 | "description": "Key: Shift right" |
| 1986 | }, |
| 1987 | { |
| 1988 | "name": "KEY_RIGHT_CONTROL", |
| 1989 | "value": 345, |
| 1990 | "description": "Key: Control right" |
| 1991 | }, |
| 1992 | { |
| 1993 | "name": "KEY_RIGHT_ALT", |
| 1994 | "value": 346, |
| 1995 | "description": "Key: Alt right" |
| 1996 | }, |
| 1997 | { |
| 1998 | "name": "KEY_RIGHT_SUPER", |
| 1999 | "value": 347, |
| 2000 | "description": "Key: Super right" |
| 2001 | }, |
| 2002 | { |
| 2003 | "name": "KEY_KB_MENU", |
| 2004 | "value": 348, |
| 2005 | "description": "Key: KB menu" |
| 2006 | }, |
| 2007 | { |
| 2008 | "name": "KEY_KP_0", |
| 2009 | "value": 320, |
| 2010 | "description": "Key: Keypad 0" |
| 2011 | }, |
| 2012 | { |
| 2013 | "name": "KEY_KP_1", |
| 2014 | "value": 321, |
| 2015 | "description": "Key: Keypad 1" |
| 2016 | }, |
| 2017 | { |
| 2018 | "name": "KEY_KP_2", |
| 2019 | "value": 322, |
| 2020 | "description": "Key: Keypad 2" |
| 2021 | }, |
| 2022 | { |
| 2023 | "name": "KEY_KP_3", |
| 2024 | "value": 323, |
| 2025 | "description": "Key: Keypad 3" |
| 2026 | }, |
| 2027 | { |
| 2028 | "name": "KEY_KP_4", |
| 2029 | "value": 324, |
| 2030 | "description": "Key: Keypad 4" |
| 2031 | }, |
| 2032 | { |
| 2033 | "name": "KEY_KP_5", |
| 2034 | "value": 325, |
| 2035 | "description": "Key: Keypad 5" |
| 2036 | }, |
| 2037 | { |
| 2038 | "name": "KEY_KP_6", |
| 2039 | "value": 326, |
| 2040 | "description": "Key: Keypad 6" |
| 2041 | }, |
| 2042 | { |
| 2043 | "name": "KEY_KP_7", |
| 2044 | "value": 327, |
| 2045 | "description": "Key: Keypad 7" |
| 2046 | }, |
| 2047 | { |
| 2048 | "name": "KEY_KP_8", |
| 2049 | "value": 328, |
| 2050 | "description": "Key: Keypad 8" |
| 2051 | }, |
| 2052 | { |
| 2053 | "name": "KEY_KP_9", |
| 2054 | "value": 329, |
| 2055 | "description": "Key: Keypad 9" |
| 2056 | }, |
| 2057 | { |
| 2058 | "name": "KEY_KP_DECIMAL", |
| 2059 | "value": 330, |
| 2060 | "description": "Key: Keypad ." |
| 2061 | }, |
| 2062 | { |
| 2063 | "name": "KEY_KP_DIVIDE", |
| 2064 | "value": 331, |
| 2065 | "description": "Key: Keypad /" |
| 2066 | }, |
| 2067 | { |
| 2068 | "name": "KEY_KP_MULTIPLY", |
| 2069 | "value": 332, |
| 2070 | "description": "Key: Keypad *" |
| 2071 | }, |
| 2072 | { |
| 2073 | "name": "KEY_KP_SUBTRACT", |
| 2074 | "value": 333, |
| 2075 | "description": "Key: Keypad -" |
| 2076 | }, |
| 2077 | { |
| 2078 | "name": "KEY_KP_ADD", |
| 2079 | "value": 334, |
| 2080 | "description": "Key: Keypad +" |
| 2081 | }, |
| 2082 | { |
| 2083 | "name": "KEY_KP_ENTER", |
| 2084 | "value": 335, |
| 2085 | "description": "Key: Keypad Enter" |
| 2086 | }, |
| 2087 | { |
| 2088 | "name": "KEY_KP_EQUAL", |
| 2089 | "value": 336, |
| 2090 | "description": "Key: Keypad =" |
| 2091 | }, |
| 2092 | { |
| 2093 | "name": "KEY_BACK", |
| 2094 | "value": 4, |
| 2095 | "description": "Key: Android back button" |
| 2096 | }, |
| 2097 | { |
| 2098 | "name": "KEY_MENU", |
| 2099 | "value": 5, |
| 2100 | "description": "Key: Android menu button" |
| 2101 | }, |
| 2102 | { |
| 2103 | "name": "KEY_VOLUME_UP", |
| 2104 | "value": 24, |
| 2105 | "description": "Key: Android volume up button" |
| 2106 | }, |
| 2107 | { |
| 2108 | "name": "KEY_VOLUME_DOWN", |
| 2109 | "value": 25, |
| 2110 | "description": "Key: Android volume down button" |
| 2111 | } |
| 2112 | ] |
| 2113 | }, |
| 2114 | { |
| 2115 | "name": "MouseButton", |
| 2116 | "description": "Mouse buttons", |
| 2117 | "values": [ |
| 2118 | { |
| 2119 | "name": "MOUSE_BUTTON_LEFT", |
| 2120 | "value": 0, |
| 2121 | "description": "Mouse button left" |
| 2122 | }, |
| 2123 | { |
| 2124 | "name": "MOUSE_BUTTON_RIGHT", |
| 2125 | "value": 1, |
| 2126 | "description": "Mouse button right" |
| 2127 | }, |
| 2128 | { |
| 2129 | "name": "MOUSE_BUTTON_MIDDLE", |
| 2130 | "value": 2, |
| 2131 | "description": "Mouse button middle (pressed wheel)" |
| 2132 | }, |
| 2133 | { |
| 2134 | "name": "MOUSE_BUTTON_SIDE", |
| 2135 | "value": 3, |
| 2136 | "description": "Mouse button side (advanced mouse device)" |
| 2137 | }, |
| 2138 | { |
| 2139 | "name": "MOUSE_BUTTON_EXTRA", |
| 2140 | "value": 4, |
| 2141 | "description": "Mouse button extra (advanced mouse device)" |
| 2142 | }, |
| 2143 | { |
| 2144 | "name": "MOUSE_BUTTON_FORWARD", |
| 2145 | "value": 5, |
| 2146 | "description": "Mouse button forward (advanced mouse device)" |
| 2147 | }, |
| 2148 | { |
| 2149 | "name": "MOUSE_BUTTON_BACK", |
| 2150 | "value": 6, |
| 2151 | "description": "Mouse button back (advanced mouse device)" |
| 2152 | } |
| 2153 | ] |
| 2154 | }, |
| 2155 | { |
| 2156 | "name": "MouseCursor", |
| 2157 | "description": "Mouse cursor", |
| 2158 | "values": [ |
| 2159 | { |
| 2160 | "name": "MOUSE_CURSOR_DEFAULT", |
| 2161 | "value": 0, |
| 2162 | "description": "Default pointer shape" |
| 2163 | }, |
| 2164 | { |
| 2165 | "name": "MOUSE_CURSOR_ARROW", |
| 2166 | "value": 1, |
| 2167 | "description": "Arrow shape" |
| 2168 | }, |
| 2169 | { |
| 2170 | "name": "MOUSE_CURSOR_IBEAM", |
| 2171 | "value": 2, |
| 2172 | "description": "Text writing cursor shape" |
| 2173 | }, |
| 2174 | { |
| 2175 | "name": "MOUSE_CURSOR_CROSSHAIR", |
| 2176 | "value": 3, |
| 2177 | "description": "Cross shape" |
| 2178 | }, |
| 2179 | { |
| 2180 | "name": "MOUSE_CURSOR_POINTING_HAND", |
| 2181 | "value": 4, |
| 2182 | "description": "Pointing hand cursor" |
| 2183 | }, |
| 2184 | { |
| 2185 | "name": "MOUSE_CURSOR_RESIZE_EW", |
| 2186 | "value": 5, |
| 2187 | "description": "Horizontal resize/move arrow shape" |
| 2188 | }, |
| 2189 | { |
| 2190 | "name": "MOUSE_CURSOR_RESIZE_NS", |
| 2191 | "value": 6, |
| 2192 | "description": "Vertical resize/move arrow shape" |
| 2193 | }, |
| 2194 | { |
| 2195 | "name": "MOUSE_CURSOR_RESIZE_NWSE", |
| 2196 | "value": 7, |
| 2197 | "description": "Top-left to bottom-right diagonal resize/move arrow shape" |
| 2198 | }, |
| 2199 | { |
| 2200 | "name": "MOUSE_CURSOR_RESIZE_NESW", |
| 2201 | "value": 8, |
| 2202 | "description": "The top-right to bottom-left diagonal resize/move arrow shape" |
| 2203 | }, |
| 2204 | { |
| 2205 | "name": "MOUSE_CURSOR_RESIZE_ALL", |
| 2206 | "value": 9, |
| 2207 | "description": "The omnidirectional resize/move cursor shape" |
| 2208 | }, |
| 2209 | { |
| 2210 | "name": "MOUSE_CURSOR_NOT_ALLOWED", |
| 2211 | "value": 10, |
| 2212 | "description": "The operation-not-allowed shape" |
| 2213 | } |
| 2214 | ] |
| 2215 | }, |
| 2216 | { |
| 2217 | "name": "GamepadButton", |
| 2218 | "description": "Gamepad buttons", |
| 2219 | "values": [ |
| 2220 | { |
| 2221 | "name": "GAMEPAD_BUTTON_UNKNOWN", |
| 2222 | "value": 0, |
| 2223 | "description": "Unknown button, for error checking" |
| 2224 | }, |
| 2225 | { |
| 2226 | "name": "GAMEPAD_BUTTON_LEFT_FACE_UP", |
| 2227 | "value": 1, |
| 2228 | "description": "Gamepad left DPAD up button" |
| 2229 | }, |
| 2230 | { |
| 2231 | "name": "GAMEPAD_BUTTON_LEFT_FACE_RIGHT", |
| 2232 | "value": 2, |
| 2233 | "description": "Gamepad left DPAD right button" |
| 2234 | }, |
| 2235 | { |
| 2236 | "name": "GAMEPAD_BUTTON_LEFT_FACE_DOWN", |
| 2237 | "value": 3, |
| 2238 | "description": "Gamepad left DPAD down button" |
| 2239 | }, |
| 2240 | { |
| 2241 | "name": "GAMEPAD_BUTTON_LEFT_FACE_LEFT", |
| 2242 | "value": 4, |
| 2243 | "description": "Gamepad left DPAD left button" |
| 2244 | }, |
| 2245 | { |
| 2246 | "name": "GAMEPAD_BUTTON_RIGHT_FACE_UP", |
| 2247 | "value": 5, |
| 2248 | "description": "Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" |
| 2249 | }, |
| 2250 | { |
| 2251 | "name": "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT", |
| 2252 | "value": 6, |
| 2253 | "description": "Gamepad right button right (i.e. PS3: Circle, Xbox: B)" |
| 2254 | }, |
| 2255 | { |
| 2256 | "name": "GAMEPAD_BUTTON_RIGHT_FACE_DOWN", |
| 2257 | "value": 7, |
| 2258 | "description": "Gamepad right button down (i.e. PS3: Cross, Xbox: A)" |
| 2259 | }, |
| 2260 | { |
| 2261 | "name": "GAMEPAD_BUTTON_RIGHT_FACE_LEFT", |
| 2262 | "value": 8, |
| 2263 | "description": "Gamepad right button left (i.e. PS3: Square, Xbox: X)" |
| 2264 | }, |
| 2265 | { |
| 2266 | "name": "GAMEPAD_BUTTON_LEFT_TRIGGER_1", |
| 2267 | "value": 9, |
| 2268 | "description": "Gamepad top/back trigger left (first), it could be a trailing button" |
| 2269 | }, |
| 2270 | { |
| 2271 | "name": "GAMEPAD_BUTTON_LEFT_TRIGGER_2", |
| 2272 | "value": 10, |
| 2273 | "description": "Gamepad top/back trigger left (second), it could be a trailing button" |
| 2274 | }, |
| 2275 | { |
| 2276 | "name": "GAMEPAD_BUTTON_RIGHT_TRIGGER_1", |
| 2277 | "value": 11, |
| 2278 | "description": "Gamepad top/back trigger right (first), it could be a trailing button" |
| 2279 | }, |
| 2280 | { |
| 2281 | "name": "GAMEPAD_BUTTON_RIGHT_TRIGGER_2", |
| 2282 | "value": 12, |
| 2283 | "description": "Gamepad top/back trigger right (second), it could be a trailing button" |
| 2284 | }, |
| 2285 | { |
| 2286 | "name": "GAMEPAD_BUTTON_MIDDLE_LEFT", |
| 2287 | "value": 13, |
| 2288 | "description": "Gamepad center buttons, left one (i.e. PS3: Select)" |
| 2289 | }, |
| 2290 | { |
| 2291 | "name": "GAMEPAD_BUTTON_MIDDLE", |
| 2292 | "value": 14, |
| 2293 | "description": "Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)" |
| 2294 | }, |
| 2295 | { |
| 2296 | "name": "GAMEPAD_BUTTON_MIDDLE_RIGHT", |
| 2297 | "value": 15, |
| 2298 | "description": "Gamepad center buttons, right one (i.e. PS3: Start)" |
| 2299 | }, |
| 2300 | { |
| 2301 | "name": "GAMEPAD_BUTTON_LEFT_THUMB", |
| 2302 | "value": 16, |
| 2303 | "description": "Gamepad joystick pressed button left" |
| 2304 | }, |
| 2305 | { |
| 2306 | "name": "GAMEPAD_BUTTON_RIGHT_THUMB", |
| 2307 | "value": 17, |
| 2308 | "description": "Gamepad joystick pressed button right" |
| 2309 | } |
| 2310 | ] |
| 2311 | }, |
| 2312 | { |
| 2313 | "name": "GamepadAxis", |
| 2314 | "description": "Gamepad axes", |
| 2315 | "values": [ |
| 2316 | { |
| 2317 | "name": "GAMEPAD_AXIS_LEFT_X", |
| 2318 | "value": 0, |
| 2319 | "description": "Gamepad left stick X axis" |
| 2320 | }, |
| 2321 | { |
| 2322 | "name": "GAMEPAD_AXIS_LEFT_Y", |
| 2323 | "value": 1, |
| 2324 | "description": "Gamepad left stick Y axis" |
| 2325 | }, |
| 2326 | { |
| 2327 | "name": "GAMEPAD_AXIS_RIGHT_X", |
| 2328 | "value": 2, |
| 2329 | "description": "Gamepad right stick X axis" |
| 2330 | }, |
| 2331 | { |
| 2332 | "name": "GAMEPAD_AXIS_RIGHT_Y", |
| 2333 | "value": 3, |
| 2334 | "description": "Gamepad right stick Y axis" |
| 2335 | }, |
| 2336 | { |
| 2337 | "name": "GAMEPAD_AXIS_LEFT_TRIGGER", |
| 2338 | "value": 4, |
| 2339 | "description": "Gamepad back trigger left, pressure level: [1..-1]" |
| 2340 | }, |
| 2341 | { |
| 2342 | "name": "GAMEPAD_AXIS_RIGHT_TRIGGER", |
| 2343 | "value": 5, |
| 2344 | "description": "Gamepad back trigger right, pressure level: [1..-1]" |
| 2345 | } |
| 2346 | ] |
| 2347 | }, |
| 2348 | { |
| 2349 | "name": "MaterialMapIndex", |
| 2350 | "description": "Material map index", |
| 2351 | "values": [ |
| 2352 | { |
| 2353 | "name": "MATERIAL_MAP_ALBEDO", |
| 2354 | "value": 0, |
| 2355 | "description": "Albedo material (same as: MATERIAL_MAP_DIFFUSE)" |
| 2356 | }, |
| 2357 | { |
| 2358 | "name": "MATERIAL_MAP_METALNESS", |
| 2359 | "value": 1, |
| 2360 | "description": "Metalness material (same as: MATERIAL_MAP_SPECULAR)" |
| 2361 | }, |
| 2362 | { |
| 2363 | "name": "MATERIAL_MAP_NORMAL", |
| 2364 | "value": 2, |
| 2365 | "description": "Normal material" |
| 2366 | }, |
| 2367 | { |
| 2368 | "name": "MATERIAL_MAP_ROUGHNESS", |
| 2369 | "value": 3, |
| 2370 | "description": "Roughness material" |
| 2371 | }, |
| 2372 | { |
| 2373 | "name": "MATERIAL_MAP_OCCLUSION", |
| 2374 | "value": 4, |
| 2375 | "description": "Ambient occlusion material" |
| 2376 | }, |
| 2377 | { |
| 2378 | "name": "MATERIAL_MAP_EMISSION", |
| 2379 | "value": 5, |
| 2380 | "description": "Emission material" |
| 2381 | }, |
| 2382 | { |
| 2383 | "name": "MATERIAL_MAP_HEIGHT", |
| 2384 | "value": 6, |
| 2385 | "description": "Heightmap material" |
| 2386 | }, |
| 2387 | { |
| 2388 | "name": "MATERIAL_MAP_CUBEMAP", |
| 2389 | "value": 7, |
| 2390 | "description": "Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" |
| 2391 | }, |
| 2392 | { |
| 2393 | "name": "MATERIAL_MAP_IRRADIANCE", |
| 2394 | "value": 8, |
| 2395 | "description": "Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" |
| 2396 | }, |
| 2397 | { |
| 2398 | "name": "MATERIAL_MAP_PREFILTER", |
| 2399 | "value": 9, |
| 2400 | "description": "Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" |
| 2401 | }, |
| 2402 | { |
| 2403 | "name": "MATERIAL_MAP_BRDF", |
| 2404 | "value": 10, |
| 2405 | "description": "Brdf material" |
| 2406 | } |
| 2407 | ] |
| 2408 | }, |
| 2409 | { |
| 2410 | "name": "ShaderLocationIndex", |
| 2411 | "description": "Shader location index", |
| 2412 | "values": [ |
| 2413 | { |
| 2414 | "name": "SHADER_LOC_VERTEX_POSITION", |
| 2415 | "value": 0, |
| 2416 | "description": "Shader location: vertex attribute: position" |
| 2417 | }, |
| 2418 | { |
| 2419 | "name": "SHADER_LOC_VERTEX_TEXCOORD01", |
| 2420 | "value": 1, |
| 2421 | "description": "Shader location: vertex attribute: texcoord01" |
| 2422 | }, |
| 2423 | { |
| 2424 | "name": "SHADER_LOC_VERTEX_TEXCOORD02", |
| 2425 | "value": 2, |
| 2426 | "description": "Shader location: vertex attribute: texcoord02" |
| 2427 | }, |
| 2428 | { |
| 2429 | "name": "SHADER_LOC_VERTEX_NORMAL", |
| 2430 | "value": 3, |
| 2431 | "description": "Shader location: vertex attribute: normal" |
| 2432 | }, |
| 2433 | { |
| 2434 | "name": "SHADER_LOC_VERTEX_TANGENT", |
| 2435 | "value": 4, |
| 2436 | "description": "Shader location: vertex attribute: tangent" |
| 2437 | }, |
| 2438 | { |
| 2439 | "name": "SHADER_LOC_VERTEX_COLOR", |
| 2440 | "value": 5, |
| 2441 | "description": "Shader location: vertex attribute: color" |
| 2442 | }, |
| 2443 | { |
| 2444 | "name": "SHADER_LOC_MATRIX_MVP", |
| 2445 | "value": 6, |
| 2446 | "description": "Shader location: matrix uniform: model-view-projection" |
| 2447 | }, |
| 2448 | { |
| 2449 | "name": "SHADER_LOC_MATRIX_VIEW", |
| 2450 | "value": 7, |
| 2451 | "description": "Shader location: matrix uniform: view (camera transform)" |
| 2452 | }, |
| 2453 | { |
| 2454 | "name": "SHADER_LOC_MATRIX_PROJECTION", |
| 2455 | "value": 8, |
| 2456 | "description": "Shader location: matrix uniform: projection" |
| 2457 | }, |
| 2458 | { |
| 2459 | "name": "SHADER_LOC_MATRIX_MODEL", |
| 2460 | "value": 9, |
| 2461 | "description": "Shader location: matrix uniform: model (transform)" |
| 2462 | }, |
| 2463 | { |
| 2464 | "name": "SHADER_LOC_MATRIX_NORMAL", |
| 2465 | "value": 10, |
| 2466 | "description": "Shader location: matrix uniform: normal" |
| 2467 | }, |
| 2468 | { |
| 2469 | "name": "SHADER_LOC_VECTOR_VIEW", |
| 2470 | "value": 11, |
| 2471 | "description": "Shader location: vector uniform: view" |
| 2472 | }, |
| 2473 | { |
| 2474 | "name": "SHADER_LOC_COLOR_DIFFUSE", |
| 2475 | "value": 12, |
| 2476 | "description": "Shader location: vector uniform: diffuse color" |
| 2477 | }, |
| 2478 | { |
| 2479 | "name": "SHADER_LOC_COLOR_SPECULAR", |
| 2480 | "value": 13, |
| 2481 | "description": "Shader location: vector uniform: specular color" |
| 2482 | }, |
| 2483 | { |
| 2484 | "name": "SHADER_LOC_COLOR_AMBIENT", |
| 2485 | "value": 14, |
| 2486 | "description": "Shader location: vector uniform: ambient color" |
| 2487 | }, |
| 2488 | { |
| 2489 | "name": "SHADER_LOC_MAP_ALBEDO", |
| 2490 | "value": 15, |
| 2491 | "description": "Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)" |
| 2492 | }, |
| 2493 | { |
| 2494 | "name": "SHADER_LOC_MAP_METALNESS", |
| 2495 | "value": 16, |
| 2496 | "description": "Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)" |
| 2497 | }, |
| 2498 | { |
| 2499 | "name": "SHADER_LOC_MAP_NORMAL", |
| 2500 | "value": 17, |
| 2501 | "description": "Shader location: sampler2d texture: normal" |
| 2502 | }, |
| 2503 | { |
| 2504 | "name": "SHADER_LOC_MAP_ROUGHNESS", |
| 2505 | "value": 18, |
| 2506 | "description": "Shader location: sampler2d texture: roughness" |
| 2507 | }, |
| 2508 | { |
| 2509 | "name": "SHADER_LOC_MAP_OCCLUSION", |
| 2510 | "value": 19, |
| 2511 | "description": "Shader location: sampler2d texture: occlusion" |
| 2512 | }, |
| 2513 | { |
| 2514 | "name": "SHADER_LOC_MAP_EMISSION", |
| 2515 | "value": 20, |
| 2516 | "description": "Shader location: sampler2d texture: emission" |
| 2517 | }, |
| 2518 | { |
| 2519 | "name": "SHADER_LOC_MAP_HEIGHT", |
| 2520 | "value": 21, |
| 2521 | "description": "Shader location: sampler2d texture: heightmap" |
| 2522 | }, |
| 2523 | { |
| 2524 | "name": "SHADER_LOC_MAP_CUBEMAP", |
| 2525 | "value": 22, |
| 2526 | "description": "Shader location: samplerCube texture: cubemap" |
| 2527 | }, |
| 2528 | { |
| 2529 | "name": "SHADER_LOC_MAP_IRRADIANCE", |
| 2530 | "value": 23, |
| 2531 | "description": "Shader location: samplerCube texture: irradiance" |
| 2532 | }, |
| 2533 | { |
| 2534 | "name": "SHADER_LOC_MAP_PREFILTER", |
| 2535 | "value": 24, |
| 2536 | "description": "Shader location: samplerCube texture: prefilter" |
| 2537 | }, |
| 2538 | { |
| 2539 | "name": "SHADER_LOC_MAP_BRDF", |
| 2540 | "value": 25, |
| 2541 | "description": "Shader location: sampler2d texture: brdf" |
| 2542 | }, |
| 2543 | { |
| 2544 | "name": "SHADER_LOC_VERTEX_BONEIDS", |
| 2545 | "value": 26, |
| 2546 | "description": "Shader location: vertex attribute: bone indices" |
| 2547 | }, |
| 2548 | { |
| 2549 | "name": "SHADER_LOC_VERTEX_BONEWEIGHTS", |
| 2550 | "value": 27, |
| 2551 | "description": "Shader location: vertex attribute: bone weights" |
| 2552 | }, |
| 2553 | { |
| 2554 | "name": "SHADER_LOC_MATRIX_BONETRANSFORMS", |
| 2555 | "value": 28, |
| 2556 | "description": "Shader location: matrix attribute: bone transforms (animation)" |
| 2557 | }, |
| 2558 | { |
| 2559 | "name": "SHADER_LOC_VERTEX_INSTANCETRANSFORM", |
| 2560 | "value": 29, |
| 2561 | "description": "Shader location: vertex attribute: instance transforms" |
| 2562 | } |
| 2563 | ] |
| 2564 | }, |
| 2565 | { |
| 2566 | "name": "ShaderUniformDataType", |
| 2567 | "description": "Shader uniform data type", |
| 2568 | "values": [ |
| 2569 | { |
| 2570 | "name": "SHADER_UNIFORM_FLOAT", |
| 2571 | "value": 0, |
| 2572 | "description": "Shader uniform type: float" |
| 2573 | }, |
| 2574 | { |
| 2575 | "name": "SHADER_UNIFORM_VEC2", |
| 2576 | "value": 1, |
| 2577 | "description": "Shader uniform type: vec2 (2 float)" |
| 2578 | }, |
| 2579 | { |
| 2580 | "name": "SHADER_UNIFORM_VEC3", |
| 2581 | "value": 2, |
| 2582 | "description": "Shader uniform type: vec3 (3 float)" |
| 2583 | }, |
| 2584 | { |
| 2585 | "name": "SHADER_UNIFORM_VEC4", |
| 2586 | "value": 3, |
| 2587 | "description": "Shader uniform type: vec4 (4 float)" |
| 2588 | }, |
| 2589 | { |
| 2590 | "name": "SHADER_UNIFORM_INT", |
| 2591 | "value": 4, |
| 2592 | "description": "Shader uniform type: int" |
| 2593 | }, |
| 2594 | { |
| 2595 | "name": "SHADER_UNIFORM_IVEC2", |
| 2596 | "value": 5, |
| 2597 | "description": "Shader uniform type: ivec2 (2 int)" |
| 2598 | }, |
| 2599 | { |
| 2600 | "name": "SHADER_UNIFORM_IVEC3", |
| 2601 | "value": 6, |
| 2602 | "description": "Shader uniform type: ivec3 (3 int)" |
| 2603 | }, |
| 2604 | { |
| 2605 | "name": "SHADER_UNIFORM_IVEC4", |
| 2606 | "value": 7, |
| 2607 | "description": "Shader uniform type: ivec4 (4 int)" |
| 2608 | }, |
| 2609 | { |
| 2610 | "name": "SHADER_UNIFORM_UINT", |
| 2611 | "value": 8, |
| 2612 | "description": "Shader uniform type: unsigned int" |
| 2613 | }, |
| 2614 | { |
| 2615 | "name": "SHADER_UNIFORM_UIVEC2", |
| 2616 | "value": 9, |
| 2617 | "description": "Shader uniform type: uivec2 (2 unsigned int)" |
| 2618 | }, |
| 2619 | { |
| 2620 | "name": "SHADER_UNIFORM_UIVEC3", |
| 2621 | "value": 10, |
| 2622 | "description": "Shader uniform type: uivec3 (3 unsigned int)" |
| 2623 | }, |
| 2624 | { |
| 2625 | "name": "SHADER_UNIFORM_UIVEC4", |
| 2626 | "value": 11, |
| 2627 | "description": "Shader uniform type: uivec4 (4 unsigned int)" |
| 2628 | }, |
| 2629 | { |
| 2630 | "name": "SHADER_UNIFORM_SAMPLER2D", |
| 2631 | "value": 12, |
| 2632 | "description": "Shader uniform type: sampler2d" |
| 2633 | } |
| 2634 | ] |
| 2635 | }, |
| 2636 | { |
| 2637 | "name": "ShaderAttributeDataType", |
| 2638 | "description": "Shader attribute data types", |
| 2639 | "values": [ |
| 2640 | { |
| 2641 | "name": "SHADER_ATTRIB_FLOAT", |
| 2642 | "value": 0, |
| 2643 | "description": "Shader attribute type: float" |
| 2644 | }, |
| 2645 | { |
| 2646 | "name": "SHADER_ATTRIB_VEC2", |
| 2647 | "value": 1, |
| 2648 | "description": "Shader attribute type: vec2 (2 float)" |
| 2649 | }, |
| 2650 | { |
| 2651 | "name": "SHADER_ATTRIB_VEC3", |
| 2652 | "value": 2, |
| 2653 | "description": "Shader attribute type: vec3 (3 float)" |
| 2654 | }, |
| 2655 | { |
| 2656 | "name": "SHADER_ATTRIB_VEC4", |
| 2657 | "value": 3, |
| 2658 | "description": "Shader attribute type: vec4 (4 float)" |
| 2659 | } |
| 2660 | ] |
| 2661 | }, |
| 2662 | { |
| 2663 | "name": "PixelFormat", |
| 2664 | "description": "Pixel formats", |
| 2665 | "values": [ |
| 2666 | { |
| 2667 | "name": "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE", |
| 2668 | "value": 1, |
| 2669 | "description": "8 bit per pixel (no alpha)" |
| 2670 | }, |
| 2671 | { |
| 2672 | "name": "PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA", |
| 2673 | "value": 2, |
| 2674 | "description": "8*2 bpp (2 channels)" |
| 2675 | }, |
| 2676 | { |
| 2677 | "name": "PIXELFORMAT_UNCOMPRESSED_R5G6B5", |
| 2678 | "value": 3, |
| 2679 | "description": "16 bpp" |
| 2680 | }, |
| 2681 | { |
| 2682 | "name": "PIXELFORMAT_UNCOMPRESSED_R8G8B8", |
| 2683 | "value": 4, |
| 2684 | "description": "24 bpp" |
| 2685 | }, |
| 2686 | { |
| 2687 | "name": "PIXELFORMAT_UNCOMPRESSED_R5G5B5A1", |
| 2688 | "value": 5, |
| 2689 | "description": "16 bpp (1 bit alpha)" |
| 2690 | }, |
| 2691 | { |
| 2692 | "name": "PIXELFORMAT_UNCOMPRESSED_R4G4B4A4", |
| 2693 | "value": 6, |
| 2694 | "description": "16 bpp (4 bit alpha)" |
| 2695 | }, |
| 2696 | { |
| 2697 | "name": "PIXELFORMAT_UNCOMPRESSED_R8G8B8A8", |
| 2698 | "value": 7, |
| 2699 | "description": "32 bpp" |
| 2700 | }, |
| 2701 | { |
| 2702 | "name": "PIXELFORMAT_UNCOMPRESSED_R32", |
| 2703 | "value": 8, |
| 2704 | "description": "32 bpp (1 channel - float)" |
| 2705 | }, |
| 2706 | { |
| 2707 | "name": "PIXELFORMAT_UNCOMPRESSED_R32G32B32", |
| 2708 | "value": 9, |
| 2709 | "description": "32*3 bpp (3 channels - float)" |
| 2710 | }, |
| 2711 | { |
| 2712 | "name": "PIXELFORMAT_UNCOMPRESSED_R32G32B32A32", |
| 2713 | "value": 10, |
| 2714 | "description": "32*4 bpp (4 channels - float)" |
| 2715 | }, |
| 2716 | { |
| 2717 | "name": "PIXELFORMAT_UNCOMPRESSED_R16", |
| 2718 | "value": 11, |
| 2719 | "description": "16 bpp (1 channel - half float)" |
| 2720 | }, |
| 2721 | { |
| 2722 | "name": "PIXELFORMAT_UNCOMPRESSED_R16G16B16", |
| 2723 | "value": 12, |
| 2724 | "description": "16*3 bpp (3 channels - half float)" |
| 2725 | }, |
| 2726 | { |
| 2727 | "name": "PIXELFORMAT_UNCOMPRESSED_R16G16B16A16", |
| 2728 | "value": 13, |
| 2729 | "description": "16*4 bpp (4 channels - half float)" |
| 2730 | }, |
| 2731 | { |
| 2732 | "name": "PIXELFORMAT_COMPRESSED_DXT1_RGB", |
| 2733 | "value": 14, |
| 2734 | "description": "4 bpp (no alpha)" |
| 2735 | }, |
| 2736 | { |
| 2737 | "name": "PIXELFORMAT_COMPRESSED_DXT1_RGBA", |
| 2738 | "value": 15, |
| 2739 | "description": "4 bpp (1 bit alpha)" |
| 2740 | }, |
| 2741 | { |
| 2742 | "name": "PIXELFORMAT_COMPRESSED_DXT3_RGBA", |
| 2743 | "value": 16, |
| 2744 | "description": "8 bpp" |
| 2745 | }, |
| 2746 | { |
| 2747 | "name": "PIXELFORMAT_COMPRESSED_DXT5_RGBA", |
| 2748 | "value": 17, |
| 2749 | "description": "8 bpp" |
| 2750 | }, |
| 2751 | { |
| 2752 | "name": "PIXELFORMAT_COMPRESSED_ETC1_RGB", |
| 2753 | "value": 18, |
| 2754 | "description": "4 bpp" |
| 2755 | }, |
| 2756 | { |
| 2757 | "name": "PIXELFORMAT_COMPRESSED_ETC2_RGB", |
| 2758 | "value": 19, |
| 2759 | "description": "4 bpp" |
| 2760 | }, |
| 2761 | { |
| 2762 | "name": "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA", |
| 2763 | "value": 20, |
| 2764 | "description": "8 bpp" |
| 2765 | }, |
| 2766 | { |
| 2767 | "name": "PIXELFORMAT_COMPRESSED_PVRT_RGB", |
| 2768 | "value": 21, |
| 2769 | "description": "4 bpp" |
| 2770 | }, |
| 2771 | { |
| 2772 | "name": "PIXELFORMAT_COMPRESSED_PVRT_RGBA", |
| 2773 | "value": 22, |
| 2774 | "description": "4 bpp" |
| 2775 | }, |
| 2776 | { |
| 2777 | "name": "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA", |
| 2778 | "value": 23, |
| 2779 | "description": "8 bpp" |
| 2780 | }, |
| 2781 | { |
| 2782 | "name": "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA", |
| 2783 | "value": 24, |
| 2784 | "description": "2 bpp" |
| 2785 | } |
| 2786 | ] |
| 2787 | }, |
| 2788 | { |
| 2789 | "name": "TextureFilter", |
| 2790 | "description": "Texture parameters: filter mode", |
| 2791 | "values": [ |
| 2792 | { |
| 2793 | "name": "TEXTURE_FILTER_POINT", |
| 2794 | "value": 0, |
| 2795 | "description": "No filter, pixel approximation" |
| 2796 | }, |
| 2797 | { |
| 2798 | "name": "TEXTURE_FILTER_BILINEAR", |
| 2799 | "value": 1, |
| 2800 | "description": "Linear filtering" |
| 2801 | }, |
| 2802 | { |
| 2803 | "name": "TEXTURE_FILTER_TRILINEAR", |
| 2804 | "value": 2, |
| 2805 | "description": "Trilinear filtering (linear with mipmaps)" |
| 2806 | }, |
| 2807 | { |
| 2808 | "name": "TEXTURE_FILTER_ANISOTROPIC_4X", |
| 2809 | "value": 3, |
| 2810 | "description": "Anisotropic filtering 4x" |
| 2811 | }, |
| 2812 | { |
| 2813 | "name": "TEXTURE_FILTER_ANISOTROPIC_8X", |
| 2814 | "value": 4, |
| 2815 | "description": "Anisotropic filtering 8x" |
| 2816 | }, |
| 2817 | { |
| 2818 | "name": "TEXTURE_FILTER_ANISOTROPIC_16X", |
| 2819 | "value": 5, |
| 2820 | "description": "Anisotropic filtering 16x" |
| 2821 | } |
| 2822 | ] |
| 2823 | }, |
| 2824 | { |
| 2825 | "name": "TextureWrap", |
| 2826 | "description": "Texture parameters: wrap mode", |
| 2827 | "values": [ |
| 2828 | { |
| 2829 | "name": "TEXTURE_WRAP_REPEAT", |
| 2830 | "value": 0, |
| 2831 | "description": "Repeats texture in tiled mode" |
| 2832 | }, |
| 2833 | { |
| 2834 | "name": "TEXTURE_WRAP_CLAMP", |
| 2835 | "value": 1, |
| 2836 | "description": "Clamps texture to edge pixel in tiled mode" |
| 2837 | }, |
| 2838 | { |
| 2839 | "name": "TEXTURE_WRAP_MIRROR_REPEAT", |
| 2840 | "value": 2, |
| 2841 | "description": "Mirrors and repeats the texture in tiled mode" |
| 2842 | }, |
| 2843 | { |
| 2844 | "name": "TEXTURE_WRAP_MIRROR_CLAMP", |
| 2845 | "value": 3, |
| 2846 | "description": "Mirrors and clamps to border the texture in tiled mode" |
| 2847 | } |
| 2848 | ] |
| 2849 | }, |
| 2850 | { |
| 2851 | "name": "CubemapLayout", |
| 2852 | "description": "Cubemap layouts", |
| 2853 | "values": [ |
| 2854 | { |
| 2855 | "name": "CUBEMAP_LAYOUT_AUTO_DETECT", |
| 2856 | "value": 0, |
| 2857 | "description": "Automatically detect layout type" |
| 2858 | }, |
| 2859 | { |
| 2860 | "name": "CUBEMAP_LAYOUT_LINE_VERTICAL", |
| 2861 | "value": 1, |
| 2862 | "description": "Layout is defined by a vertical line with faces" |
| 2863 | }, |
| 2864 | { |
| 2865 | "name": "CUBEMAP_LAYOUT_LINE_HORIZONTAL", |
| 2866 | "value": 2, |
| 2867 | "description": "Layout is defined by a horizontal line with faces" |
| 2868 | }, |
| 2869 | { |
| 2870 | "name": "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR", |
| 2871 | "value": 3, |
| 2872 | "description": "Layout is defined by a 3x4 cross with cubemap faces" |
| 2873 | }, |
| 2874 | { |
| 2875 | "name": "CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE", |
| 2876 | "value": 4, |
| 2877 | "description": "Layout is defined by a 4x3 cross with cubemap faces" |
| 2878 | } |
| 2879 | ] |
| 2880 | }, |
| 2881 | { |
| 2882 | "name": "FontType", |
| 2883 | "description": "Font type, defines generation method", |
| 2884 | "values": [ |
| 2885 | { |
| 2886 | "name": "FONT_DEFAULT", |
| 2887 | "value": 0, |
| 2888 | "description": "Default font generation, anti-aliased" |
| 2889 | }, |
| 2890 | { |
| 2891 | "name": "FONT_BITMAP", |
| 2892 | "value": 1, |
| 2893 | "description": "Bitmap font generation, no anti-aliasing" |
| 2894 | }, |
| 2895 | { |
| 2896 | "name": "FONT_SDF", |
| 2897 | "value": 2, |
| 2898 | "description": "SDF font generation, requires external shader" |
| 2899 | } |
| 2900 | ] |
| 2901 | }, |
| 2902 | { |
| 2903 | "name": "BlendMode", |
| 2904 | "description": "Color blending modes (pre-defined)", |
| 2905 | "values": [ |
| 2906 | { |
| 2907 | "name": "BLEND_ALPHA", |
| 2908 | "value": 0, |
| 2909 | "description": "Blend textures considering alpha (default)" |
| 2910 | }, |
| 2911 | { |
| 2912 | "name": "BLEND_ADDITIVE", |
| 2913 | "value": 1, |
| 2914 | "description": "Blend textures adding colors" |
| 2915 | }, |
| 2916 | { |
| 2917 | "name": "BLEND_MULTIPLIED", |
| 2918 | "value": 2, |
| 2919 | "description": "Blend textures multiplying colors" |
| 2920 | }, |
| 2921 | { |
| 2922 | "name": "BLEND_ADD_COLORS", |
| 2923 | "value": 3, |
| 2924 | "description": "Blend textures adding colors (alternative)" |
| 2925 | }, |
| 2926 | { |
| 2927 | "name": "BLEND_SUBTRACT_COLORS", |
| 2928 | "value": 4, |
| 2929 | "description": "Blend textures subtracting colors (alternative)" |
| 2930 | }, |
| 2931 | { |
| 2932 | "name": "BLEND_ALPHA_PREMULTIPLY", |
| 2933 | "value": 5, |
| 2934 | "description": "Blend premultiplied textures considering alpha" |
| 2935 | }, |
| 2936 | { |
| 2937 | "name": "BLEND_CUSTOM", |
| 2938 | "value": 6, |
| 2939 | "description": "Blend textures using custom src/dst factors (use rlSetBlendFactors())" |
| 2940 | }, |
| 2941 | { |
| 2942 | "name": "BLEND_CUSTOM_SEPARATE", |
| 2943 | "value": 7, |
| 2944 | "description": "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendFactorsSeparate())" |
| 2945 | } |
| 2946 | ] |
| 2947 | }, |
| 2948 | { |
| 2949 | "name": "Gesture", |
| 2950 | "description": "Gesture", |
| 2951 | "values": [ |
| 2952 | { |
| 2953 | "name": "GESTURE_NONE", |
| 2954 | "value": 0, |
| 2955 | "description": "No gesture" |
| 2956 | }, |
| 2957 | { |
| 2958 | "name": "GESTURE_TAP", |
| 2959 | "value": 1, |
| 2960 | "description": "Tap gesture" |
| 2961 | }, |
| 2962 | { |
| 2963 | "name": "GESTURE_DOUBLETAP", |
| 2964 | "value": 2, |
| 2965 | "description": "Double tap gesture" |
| 2966 | }, |
| 2967 | { |
| 2968 | "name": "GESTURE_HOLD", |
| 2969 | "value": 4, |
| 2970 | "description": "Hold gesture" |
| 2971 | }, |
| 2972 | { |
| 2973 | "name": "GESTURE_DRAG", |
| 2974 | "value": 8, |
| 2975 | "description": "Drag gesture" |
| 2976 | }, |
| 2977 | { |
| 2978 | "name": "GESTURE_SWIPE_RIGHT", |
| 2979 | "value": 16, |
| 2980 | "description": "Swipe right gesture" |
| 2981 | }, |
| 2982 | { |
| 2983 | "name": "GESTURE_SWIPE_LEFT", |
| 2984 | "value": 32, |
| 2985 | "description": "Swipe left gesture" |
| 2986 | }, |
| 2987 | { |
| 2988 | "name": "GESTURE_SWIPE_UP", |
| 2989 | "value": 64, |
| 2990 | "description": "Swipe up gesture" |
| 2991 | }, |
| 2992 | { |
| 2993 | "name": "GESTURE_SWIPE_DOWN", |
| 2994 | "value": 128, |
| 2995 | "description": "Swipe down gesture" |
| 2996 | }, |
| 2997 | { |
| 2998 | "name": "GESTURE_PINCH_IN", |
| 2999 | "value": 256, |
| 3000 | "description": "Pinch in gesture" |
| 3001 | }, |
| 3002 | { |
| 3003 | "name": "GESTURE_PINCH_OUT", |
| 3004 | "value": 512, |
| 3005 | "description": "Pinch out gesture" |
| 3006 | } |
| 3007 | ] |
| 3008 | }, |
| 3009 | { |
| 3010 | "name": "CameraMode", |
| 3011 | "description": "Camera system modes", |
| 3012 | "values": [ |
| 3013 | { |
| 3014 | "name": "CAMERA_CUSTOM", |
| 3015 | "value": 0, |
| 3016 | "description": "Camera custom, controlled by user (UpdateCamera() does nothing)" |
| 3017 | }, |
| 3018 | { |
| 3019 | "name": "CAMERA_FREE", |
| 3020 | "value": 1, |
| 3021 | "description": "Camera free mode" |
| 3022 | }, |
| 3023 | { |
| 3024 | "name": "CAMERA_ORBITAL", |
| 3025 | "value": 2, |
| 3026 | "description": "Camera orbital, around target, zoom supported" |
| 3027 | }, |
| 3028 | { |
| 3029 | "name": "CAMERA_FIRST_PERSON", |
| 3030 | "value": 3, |
| 3031 | "description": "Camera first person" |
| 3032 | }, |
| 3033 | { |
| 3034 | "name": "CAMERA_THIRD_PERSON", |
| 3035 | "value": 4, |
| 3036 | "description": "Camera third person" |
| 3037 | } |
| 3038 | ] |
| 3039 | }, |
| 3040 | { |
| 3041 | "name": "CameraProjection", |
| 3042 | "description": "Camera projection", |
| 3043 | "values": [ |
| 3044 | { |
| 3045 | "name": "CAMERA_PERSPECTIVE", |
| 3046 | "value": 0, |
| 3047 | "description": "Perspective projection" |
| 3048 | }, |
| 3049 | { |
| 3050 | "name": "CAMERA_ORTHOGRAPHIC", |
| 3051 | "value": 1, |
| 3052 | "description": "Orthographic projection" |
| 3053 | } |
| 3054 | ] |
| 3055 | }, |
| 3056 | { |
| 3057 | "name": "NPatchLayout", |
| 3058 | "description": "N-patch layout", |
| 3059 | "values": [ |
| 3060 | { |
| 3061 | "name": "NPATCH_NINE_PATCH", |
| 3062 | "value": 0, |
| 3063 | "description": "Npatch layout: 3x3 tiles" |
| 3064 | }, |
| 3065 | { |
| 3066 | "name": "NPATCH_THREE_PATCH_VERTICAL", |
| 3067 | "value": 1, |
| 3068 | "description": "Npatch layout: 1x3 tiles" |
| 3069 | }, |
| 3070 | { |
| 3071 | "name": "NPATCH_THREE_PATCH_HORIZONTAL", |
| 3072 | "value": 2, |
| 3073 | "description": "Npatch layout: 3x1 tiles" |
| 3074 | } |
| 3075 | ] |
| 3076 | } |
| 3077 | ], |
| 3078 | "callbacks": [ |
| 3079 | { |
| 3080 | "name": "TraceLogCallback", |
| 3081 | "description": "Logging: Redirect trace log messages", |
| 3082 | "returnType": "void", |
| 3083 | "params": [ |
| 3084 | { |
| 3085 | "type": "int", |
| 3086 | "name": "logLevel" |
| 3087 | }, |
| 3088 | { |
| 3089 | "type": "const char *", |
| 3090 | "name": "text" |
| 3091 | }, |
| 3092 | { |
| 3093 | "type": "va_list", |
| 3094 | "name": "args" |
| 3095 | } |
| 3096 | ] |
| 3097 | }, |
| 3098 | { |
| 3099 | "name": "LoadFileDataCallback", |
| 3100 | "description": "FileIO: Load binary data", |
| 3101 | "returnType": "unsigned char *", |
| 3102 | "params": [ |
| 3103 | { |
| 3104 | "type": "const char *", |
| 3105 | "name": "fileName" |
| 3106 | }, |
| 3107 | { |
| 3108 | "type": "int *", |
| 3109 | "name": "dataSize" |
| 3110 | } |
| 3111 | ] |
| 3112 | }, |
| 3113 | { |
| 3114 | "name": "SaveFileDataCallback", |
| 3115 | "description": "FileIO: Save binary data", |
| 3116 | "returnType": "bool", |
| 3117 | "params": [ |
| 3118 | { |
| 3119 | "type": "const char *", |
| 3120 | "name": "fileName" |
| 3121 | }, |
| 3122 | { |
| 3123 | "type": "void *", |
| 3124 | "name": "data" |
| 3125 | }, |
| 3126 | { |
| 3127 | "type": "int", |
| 3128 | "name": "dataSize" |
| 3129 | } |
| 3130 | ] |
| 3131 | }, |
| 3132 | { |
| 3133 | "name": "LoadFileTextCallback", |
| 3134 | "description": "FileIO: Load text data", |
| 3135 | "returnType": "char *", |
| 3136 | "params": [ |
| 3137 | { |
| 3138 | "type": "const char *", |
| 3139 | "name": "fileName" |
| 3140 | } |
| 3141 | ] |
| 3142 | }, |
| 3143 | { |
| 3144 | "name": "SaveFileTextCallback", |
| 3145 | "description": "FileIO: Save text data", |
| 3146 | "returnType": "bool", |
| 3147 | "params": [ |
| 3148 | { |
| 3149 | "type": "const char *", |
| 3150 | "name": "fileName" |
| 3151 | }, |
| 3152 | { |
| 3153 | "type": "const char *", |
| 3154 | "name": "text" |
| 3155 | } |
| 3156 | ] |
| 3157 | }, |
| 3158 | { |
| 3159 | "name": "AudioCallback", |
| 3160 | "description": "", |
| 3161 | "returnType": "void", |
| 3162 | "params": [ |
| 3163 | { |
| 3164 | "type": "void *", |
| 3165 | "name": "bufferData" |
| 3166 | }, |
| 3167 | { |
| 3168 | "type": "unsigned int", |
| 3169 | "name": "frames" |
| 3170 | } |
| 3171 | ] |
| 3172 | } |
| 3173 | ], |
| 3174 | "functions": [ |
| 3175 | { |
| 3176 | "name": "InitWindow", |
| 3177 | "description": "Initialize window and OpenGL context", |
| 3178 | "returnType": "void", |
| 3179 | "params": [ |
| 3180 | { |
| 3181 | "type": "int", |
| 3182 | "name": "width" |
| 3183 | }, |
| 3184 | { |
| 3185 | "type": "int", |
| 3186 | "name": "height" |
| 3187 | }, |
| 3188 | { |
| 3189 | "type": "const char *", |
| 3190 | "name": "title" |
| 3191 | } |
| 3192 | ] |
| 3193 | }, |
| 3194 | { |
| 3195 | "name": "CloseWindow", |
| 3196 | "description": "Close window and unload OpenGL context", |
| 3197 | "returnType": "void" |
| 3198 | }, |
| 3199 | { |
| 3200 | "name": "WindowShouldClose", |
| 3201 | "description": "Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)", |
| 3202 | "returnType": "bool" |
| 3203 | }, |
| 3204 | { |
| 3205 | "name": "IsWindowReady", |
| 3206 | "description": "Check if window has been initialized successfully", |
| 3207 | "returnType": "bool" |
| 3208 | }, |
| 3209 | { |
| 3210 | "name": "IsWindowFullscreen", |
| 3211 | "description": "Check if window is currently fullscreen", |
| 3212 | "returnType": "bool" |
| 3213 | }, |
| 3214 | { |
| 3215 | "name": "IsWindowHidden", |
| 3216 | "description": "Check if window is currently hidden", |
| 3217 | "returnType": "bool" |
| 3218 | }, |
| 3219 | { |
| 3220 | "name": "IsWindowMinimized", |
| 3221 | "description": "Check if window is currently minimized", |
| 3222 | "returnType": "bool" |
| 3223 | }, |
| 3224 | { |
| 3225 | "name": "IsWindowMaximized", |
| 3226 | "description": "Check if window is currently maximized", |
| 3227 | "returnType": "bool" |
| 3228 | }, |
| 3229 | { |
| 3230 | "name": "IsWindowFocused", |
| 3231 | "description": "Check if window is currently focused", |
| 3232 | "returnType": "bool" |
| 3233 | }, |
| 3234 | { |
| 3235 | "name": "IsWindowResized", |
| 3236 | "description": "Check if window has been resized last frame", |
| 3237 | "returnType": "bool" |
| 3238 | }, |
| 3239 | { |
| 3240 | "name": "IsWindowState", |
| 3241 | "description": "Check if one specific window flag is enabled", |
| 3242 | "returnType": "bool", |
| 3243 | "params": [ |
| 3244 | { |
| 3245 | "type": "unsigned int", |
| 3246 | "name": "flag" |
| 3247 | } |
| 3248 | ] |
| 3249 | }, |
| 3250 | { |
| 3251 | "name": "SetWindowState", |
| 3252 | "description": "Set window configuration state using flags", |
| 3253 | "returnType": "void", |
| 3254 | "params": [ |
| 3255 | { |
| 3256 | "type": "unsigned int", |
| 3257 | "name": "flags" |
| 3258 | } |
| 3259 | ] |
| 3260 | }, |
| 3261 | { |
| 3262 | "name": "ClearWindowState", |
| 3263 | "description": "Clear window configuration state flags", |
| 3264 | "returnType": "void", |
| 3265 | "params": [ |
| 3266 | { |
| 3267 | "type": "unsigned int", |
| 3268 | "name": "flags" |
| 3269 | } |
| 3270 | ] |
| 3271 | }, |
| 3272 | { |
| 3273 | "name": "ToggleFullscreen", |
| 3274 | "description": "Toggle window state: fullscreen/windowed, resizes monitor to match window resolution", |
| 3275 | "returnType": "void" |
| 3276 | }, |
| 3277 | { |
| 3278 | "name": "ToggleBorderlessWindowed", |
| 3279 | "description": "Toggle window state: borderless windowed, resizes window to match monitor resolution", |
| 3280 | "returnType": "void" |
| 3281 | }, |
| 3282 | { |
| 3283 | "name": "MaximizeWindow", |
| 3284 | "description": "Set window state: maximized, if resizable", |
| 3285 | "returnType": "void" |
| 3286 | }, |
| 3287 | { |
| 3288 | "name": "MinimizeWindow", |
| 3289 | "description": "Set window state: minimized, if resizable", |
| 3290 | "returnType": "void" |
| 3291 | }, |
| 3292 | { |
| 3293 | "name": "RestoreWindow", |
| 3294 | "description": "Restore window from being minimized/maximized", |
| 3295 | "returnType": "void" |
| 3296 | }, |
| 3297 | { |
| 3298 | "name": "SetWindowIcon", |
| 3299 | "description": "Set icon for window (single image, RGBA 32bit)", |
| 3300 | "returnType": "void", |
| 3301 | "params": [ |
| 3302 | { |
| 3303 | "type": "Image", |
| 3304 | "name": "image" |
| 3305 | } |
| 3306 | ] |
| 3307 | }, |
| 3308 | { |
| 3309 | "name": "SetWindowIcons", |
| 3310 | "description": "Set icon for window (multiple images, RGBA 32bit)", |
| 3311 | "returnType": "void", |
| 3312 | "params": [ |
| 3313 | { |
| 3314 | "type": "Image *", |
| 3315 | "name": "images" |
| 3316 | }, |
| 3317 | { |
| 3318 | "type": "int", |
| 3319 | "name": "count" |
| 3320 | } |
| 3321 | ] |
| 3322 | }, |
| 3323 | { |
| 3324 | "name": "SetWindowTitle", |
| 3325 | "description": "Set title for window", |
| 3326 | "returnType": "void", |
| 3327 | "params": [ |
| 3328 | { |
| 3329 | "type": "const char *", |
| 3330 | "name": "title" |
| 3331 | } |
| 3332 | ] |
| 3333 | }, |
| 3334 | { |
| 3335 | "name": "SetWindowPosition", |
| 3336 | "description": "Set window position on screen", |
| 3337 | "returnType": "void", |
| 3338 | "params": [ |
| 3339 | { |
| 3340 | "type": "int", |
| 3341 | "name": "x" |
| 3342 | }, |
| 3343 | { |
| 3344 | "type": "int", |
| 3345 | "name": "y" |
| 3346 | } |
| 3347 | ] |
| 3348 | }, |
| 3349 | { |
| 3350 | "name": "SetWindowMonitor", |
| 3351 | "description": "Set monitor for the current window", |
| 3352 | "returnType": "void", |
| 3353 | "params": [ |
| 3354 | { |
| 3355 | "type": "int", |
| 3356 | "name": "monitor" |
| 3357 | } |
| 3358 | ] |
| 3359 | }, |
| 3360 | { |
| 3361 | "name": "SetWindowMinSize", |
| 3362 | "description": "Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)", |
| 3363 | "returnType": "void", |
| 3364 | "params": [ |
| 3365 | { |
| 3366 | "type": "int", |
| 3367 | "name": "width" |
| 3368 | }, |
| 3369 | { |
| 3370 | "type": "int", |
| 3371 | "name": "height" |
| 3372 | } |
| 3373 | ] |
| 3374 | }, |
| 3375 | { |
| 3376 | "name": "SetWindowMaxSize", |
| 3377 | "description": "Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)", |
| 3378 | "returnType": "void", |
| 3379 | "params": [ |
| 3380 | { |
| 3381 | "type": "int", |
| 3382 | "name": "width" |
| 3383 | }, |
| 3384 | { |
| 3385 | "type": "int", |
| 3386 | "name": "height" |
| 3387 | } |
| 3388 | ] |
| 3389 | }, |
| 3390 | { |
| 3391 | "name": "SetWindowSize", |
| 3392 | "description": "Set window dimensions", |
| 3393 | "returnType": "void", |
| 3394 | "params": [ |
| 3395 | { |
| 3396 | "type": "int", |
| 3397 | "name": "width" |
| 3398 | }, |
| 3399 | { |
| 3400 | "type": "int", |
| 3401 | "name": "height" |
| 3402 | } |
| 3403 | ] |
| 3404 | }, |
| 3405 | { |
| 3406 | "name": "SetWindowOpacity", |
| 3407 | "description": "Set window opacity [0.0f..1.0f]", |
| 3408 | "returnType": "void", |
| 3409 | "params": [ |
| 3410 | { |
| 3411 | "type": "float", |
| 3412 | "name": "opacity" |
| 3413 | } |
| 3414 | ] |
| 3415 | }, |
| 3416 | { |
| 3417 | "name": "SetWindowFocused", |
| 3418 | "description": "Set window focused", |
| 3419 | "returnType": "void" |
| 3420 | }, |
| 3421 | { |
| 3422 | "name": "GetWindowHandle", |
| 3423 | "description": "Get native window handle", |
| 3424 | "returnType": "void *" |
| 3425 | }, |
| 3426 | { |
| 3427 | "name": "GetScreenWidth", |
| 3428 | "description": "Get current screen width", |
| 3429 | "returnType": "int" |
| 3430 | }, |
| 3431 | { |
| 3432 | "name": "GetScreenHeight", |
| 3433 | "description": "Get current screen height", |
| 3434 | "returnType": "int" |
| 3435 | }, |
| 3436 | { |
| 3437 | "name": "GetRenderWidth", |
| 3438 | "description": "Get current render width (it considers HiDPI)", |
| 3439 | "returnType": "int" |
| 3440 | }, |
| 3441 | { |
| 3442 | "name": "GetRenderHeight", |
| 3443 | "description": "Get current render height (it considers HiDPI)", |
| 3444 | "returnType": "int" |
| 3445 | }, |
| 3446 | { |
| 3447 | "name": "GetMonitorCount", |
| 3448 | "description": "Get number of connected monitors", |
| 3449 | "returnType": "int" |
| 3450 | }, |
| 3451 | { |
| 3452 | "name": "GetCurrentMonitor", |
| 3453 | "description": "Get current monitor where window is placed", |
| 3454 | "returnType": "int" |
| 3455 | }, |
| 3456 | { |
| 3457 | "name": "GetMonitorPosition", |
| 3458 | "description": "Get specified monitor position", |
| 3459 | "returnType": "Vector2", |
| 3460 | "params": [ |
| 3461 | { |
| 3462 | "type": "int", |
| 3463 | "name": "monitor" |
| 3464 | } |
| 3465 | ] |
| 3466 | }, |
| 3467 | { |
| 3468 | "name": "GetMonitorWidth", |
| 3469 | "description": "Get specified monitor width (current video mode used by monitor)", |
| 3470 | "returnType": "int", |
| 3471 | "params": [ |
| 3472 | { |
| 3473 | "type": "int", |
| 3474 | "name": "monitor" |
| 3475 | } |
| 3476 | ] |
| 3477 | }, |
| 3478 | { |
| 3479 | "name": "GetMonitorHeight", |
| 3480 | "description": "Get specified monitor height (current video mode used by monitor)", |
| 3481 | "returnType": "int", |
| 3482 | "params": [ |
| 3483 | { |
| 3484 | "type": "int", |
| 3485 | "name": "monitor" |
| 3486 | } |
| 3487 | ] |
| 3488 | }, |
| 3489 | { |
| 3490 | "name": "GetMonitorPhysicalWidth", |
| 3491 | "description": "Get specified monitor physical width in millimetres", |
| 3492 | "returnType": "int", |
| 3493 | "params": [ |
| 3494 | { |
| 3495 | "type": "int", |
| 3496 | "name": "monitor" |
| 3497 | } |
| 3498 | ] |
| 3499 | }, |
| 3500 | { |
| 3501 | "name": "GetMonitorPhysicalHeight", |
| 3502 | "description": "Get specified monitor physical height in millimetres", |
| 3503 | "returnType": "int", |
| 3504 | "params": [ |
| 3505 | { |
| 3506 | "type": "int", |
| 3507 | "name": "monitor" |
| 3508 | } |
| 3509 | ] |
| 3510 | }, |
| 3511 | { |
| 3512 | "name": "GetMonitorRefreshRate", |
| 3513 | "description": "Get specified monitor refresh rate", |
| 3514 | "returnType": "int", |
| 3515 | "params": [ |
| 3516 | { |
| 3517 | "type": "int", |
| 3518 | "name": "monitor" |
| 3519 | } |
| 3520 | ] |
| 3521 | }, |
| 3522 | { |
| 3523 | "name": "GetWindowPosition", |
| 3524 | "description": "Get window position XY on monitor", |
| 3525 | "returnType": "Vector2" |
| 3526 | }, |
| 3527 | { |
| 3528 | "name": "GetWindowScaleDPI", |
| 3529 | "description": "Get window scale DPI factor", |
| 3530 | "returnType": "Vector2" |
| 3531 | }, |
| 3532 | { |
| 3533 | "name": "GetMonitorName", |
| 3534 | "description": "Get the human-readable, UTF-8 encoded name of the specified monitor", |
| 3535 | "returnType": "const char *", |
| 3536 | "params": [ |
| 3537 | { |
| 3538 | "type": "int", |
| 3539 | "name": "monitor" |
| 3540 | } |
| 3541 | ] |
| 3542 | }, |
| 3543 | { |
| 3544 | "name": "SetClipboardText", |
| 3545 | "description": "Set clipboard text content", |
| 3546 | "returnType": "void", |
| 3547 | "params": [ |
| 3548 | { |
| 3549 | "type": "const char *", |
| 3550 | "name": "text" |
| 3551 | } |
| 3552 | ] |
| 3553 | }, |
| 3554 | { |
| 3555 | "name": "GetClipboardText", |
| 3556 | "description": "Get clipboard text content", |
| 3557 | "returnType": "const char *" |
| 3558 | }, |
| 3559 | { |
| 3560 | "name": "GetClipboardImage", |
| 3561 | "description": "Get clipboard image content", |
| 3562 | "returnType": "Image" |
| 3563 | }, |
| 3564 | { |
| 3565 | "name": "EnableEventWaiting", |
| 3566 | "description": "Enable waiting for events on EndDrawing(), no automatic event polling", |
| 3567 | "returnType": "void" |
| 3568 | }, |
| 3569 | { |
| 3570 | "name": "DisableEventWaiting", |
| 3571 | "description": "Disable waiting for events on EndDrawing(), automatic events polling", |
| 3572 | "returnType": "void" |
| 3573 | }, |
| 3574 | { |
| 3575 | "name": "ShowCursor", |
| 3576 | "description": "Shows cursor", |
| 3577 | "returnType": "void" |
| 3578 | }, |
| 3579 | { |
| 3580 | "name": "HideCursor", |
| 3581 | "description": "Hides cursor", |
| 3582 | "returnType": "void" |
| 3583 | }, |
| 3584 | { |
| 3585 | "name": "IsCursorHidden", |
| 3586 | "description": "Check if cursor is not visible", |
| 3587 | "returnType": "bool" |
| 3588 | }, |
| 3589 | { |
| 3590 | "name": "EnableCursor", |
| 3591 | "description": "Enables cursor (unlock cursor)", |
| 3592 | "returnType": "void" |
| 3593 | }, |
| 3594 | { |
| 3595 | "name": "DisableCursor", |
| 3596 | "description": "Disables cursor (lock cursor)", |
| 3597 | "returnType": "void" |
| 3598 | }, |
| 3599 | { |
| 3600 | "name": "IsCursorOnScreen", |
| 3601 | "description": "Check if cursor is on the screen", |
| 3602 | "returnType": "bool" |
| 3603 | }, |
| 3604 | { |
| 3605 | "name": "ClearBackground", |
| 3606 | "description": "Set background color (framebuffer clear color)", |
| 3607 | "returnType": "void", |
| 3608 | "params": [ |
| 3609 | { |
| 3610 | "type": "Color", |
| 3611 | "name": "color" |
| 3612 | } |
| 3613 | ] |
| 3614 | }, |
| 3615 | { |
| 3616 | "name": "BeginDrawing", |
| 3617 | "description": "Setup canvas (framebuffer) to start drawing", |
| 3618 | "returnType": "void" |
| 3619 | }, |
| 3620 | { |
| 3621 | "name": "EndDrawing", |
| 3622 | "description": "End canvas drawing and swap buffers (double buffering)", |
| 3623 | "returnType": "void" |
| 3624 | }, |
| 3625 | { |
| 3626 | "name": "BeginMode2D", |
| 3627 | "description": "Begin 2D mode with custom camera (2D)", |
| 3628 | "returnType": "void", |
| 3629 | "params": [ |
| 3630 | { |
| 3631 | "type": "Camera2D", |
| 3632 | "name": "camera" |
| 3633 | } |
| 3634 | ] |
| 3635 | }, |
| 3636 | { |
| 3637 | "name": "EndMode2D", |
| 3638 | "description": "Ends 2D mode with custom camera", |
| 3639 | "returnType": "void" |
| 3640 | }, |
| 3641 | { |
| 3642 | "name": "BeginMode3D", |
| 3643 | "description": "Begin 3D mode with custom camera (3D)", |
| 3644 | "returnType": "void", |
| 3645 | "params": [ |
| 3646 | { |
| 3647 | "type": "Camera3D", |
| 3648 | "name": "camera" |
| 3649 | } |
| 3650 | ] |
| 3651 | }, |
| 3652 | { |
| 3653 | "name": "EndMode3D", |
| 3654 | "description": "Ends 3D mode and returns to default 2D orthographic mode", |
| 3655 | "returnType": "void" |
| 3656 | }, |
| 3657 | { |
| 3658 | "name": "BeginTextureMode", |
| 3659 | "description": "Begin drawing to render texture", |
| 3660 | "returnType": "void", |
| 3661 | "params": [ |
| 3662 | { |
| 3663 | "type": "RenderTexture2D", |
| 3664 | "name": "target" |
| 3665 | } |
| 3666 | ] |
| 3667 | }, |
| 3668 | { |
| 3669 | "name": "EndTextureMode", |
| 3670 | "description": "Ends drawing to render texture", |
| 3671 | "returnType": "void" |
| 3672 | }, |
| 3673 | { |
| 3674 | "name": "BeginShaderMode", |
| 3675 | "description": "Begin custom shader drawing", |
| 3676 | "returnType": "void", |
| 3677 | "params": [ |
| 3678 | { |
| 3679 | "type": "Shader", |
| 3680 | "name": "shader" |
| 3681 | } |
| 3682 | ] |
| 3683 | }, |
| 3684 | { |
| 3685 | "name": "EndShaderMode", |
| 3686 | "description": "End custom shader drawing (use default shader)", |
| 3687 | "returnType": "void" |
| 3688 | }, |
| 3689 | { |
| 3690 | "name": "BeginBlendMode", |
| 3691 | "description": "Begin blending mode (alpha, additive, multiplied, subtract, custom)", |
| 3692 | "returnType": "void", |
| 3693 | "params": [ |
| 3694 | { |
| 3695 | "type": "int", |
| 3696 | "name": "mode" |
| 3697 | } |
| 3698 | ] |
| 3699 | }, |
| 3700 | { |
| 3701 | "name": "EndBlendMode", |
| 3702 | "description": "End blending mode (reset to default: alpha blending)", |
| 3703 | "returnType": "void" |
| 3704 | }, |
| 3705 | { |
| 3706 | "name": "BeginScissorMode", |
| 3707 | "description": "Begin scissor mode (define screen area for following drawing)", |
| 3708 | "returnType": "void", |
| 3709 | "params": [ |
| 3710 | { |
| 3711 | "type": "int", |
| 3712 | "name": "x" |
| 3713 | }, |
| 3714 | { |
| 3715 | "type": "int", |
| 3716 | "name": "y" |
| 3717 | }, |
| 3718 | { |
| 3719 | "type": "int", |
| 3720 | "name": "width" |
| 3721 | }, |
| 3722 | { |
| 3723 | "type": "int", |
| 3724 | "name": "height" |
| 3725 | } |
| 3726 | ] |
| 3727 | }, |
| 3728 | { |
| 3729 | "name": "EndScissorMode", |
| 3730 | "description": "End scissor mode", |
| 3731 | "returnType": "void" |
| 3732 | }, |
| 3733 | { |
| 3734 | "name": "BeginVrStereoMode", |
| 3735 | "description": "Begin stereo rendering (requires VR simulator)", |
| 3736 | "returnType": "void", |
| 3737 | "params": [ |
| 3738 | { |
| 3739 | "type": "VrStereoConfig", |
| 3740 | "name": "config" |
| 3741 | } |
| 3742 | ] |
| 3743 | }, |
| 3744 | { |
| 3745 | "name": "EndVrStereoMode", |
| 3746 | "description": "End stereo rendering (requires VR simulator)", |
| 3747 | "returnType": "void" |
| 3748 | }, |
| 3749 | { |
| 3750 | "name": "LoadVrStereoConfig", |
| 3751 | "description": "Load VR stereo config for VR simulator device parameters", |
| 3752 | "returnType": "VrStereoConfig", |
| 3753 | "params": [ |
| 3754 | { |
| 3755 | "type": "VrDeviceInfo", |
| 3756 | "name": "device" |
| 3757 | } |
| 3758 | ] |
| 3759 | }, |
| 3760 | { |
| 3761 | "name": "UnloadVrStereoConfig", |
| 3762 | "description": "Unload VR stereo config", |
| 3763 | "returnType": "void", |
| 3764 | "params": [ |
| 3765 | { |
| 3766 | "type": "VrStereoConfig", |
| 3767 | "name": "config" |
| 3768 | } |
| 3769 | ] |
| 3770 | }, |
| 3771 | { |
| 3772 | "name": "LoadShader", |
| 3773 | "description": "Load shader from files and bind default locations", |
| 3774 | "returnType": "Shader", |
| 3775 | "params": [ |
| 3776 | { |
| 3777 | "type": "const char *", |
| 3778 | "name": "vsFileName" |
| 3779 | }, |
| 3780 | { |
| 3781 | "type": "const char *", |
| 3782 | "name": "fsFileName" |
| 3783 | } |
| 3784 | ] |
| 3785 | }, |
| 3786 | { |
| 3787 | "name": "LoadShaderFromMemory", |
| 3788 | "description": "Load shader from code strings and bind default locations", |
| 3789 | "returnType": "Shader", |
| 3790 | "params": [ |
| 3791 | { |
| 3792 | "type": "const char *", |
| 3793 | "name": "vsCode" |
| 3794 | }, |
| 3795 | { |
| 3796 | "type": "const char *", |
| 3797 | "name": "fsCode" |
| 3798 | } |
| 3799 | ] |
| 3800 | }, |
| 3801 | { |
| 3802 | "name": "IsShaderValid", |
| 3803 | "description": "Check if a shader is valid (loaded on GPU)", |
| 3804 | "returnType": "bool", |
| 3805 | "params": [ |
| 3806 | { |
| 3807 | "type": "Shader", |
| 3808 | "name": "shader" |
| 3809 | } |
| 3810 | ] |
| 3811 | }, |
| 3812 | { |
| 3813 | "name": "GetShaderLocation", |
| 3814 | "description": "Get shader uniform location", |
| 3815 | "returnType": "int", |
| 3816 | "params": [ |
| 3817 | { |
| 3818 | "type": "Shader", |
| 3819 | "name": "shader" |
| 3820 | }, |
| 3821 | { |
| 3822 | "type": "const char *", |
| 3823 | "name": "uniformName" |
| 3824 | } |
| 3825 | ] |
| 3826 | }, |
| 3827 | { |
| 3828 | "name": "GetShaderLocationAttrib", |
| 3829 | "description": "Get shader attribute location", |
| 3830 | "returnType": "int", |
| 3831 | "params": [ |
| 3832 | { |
| 3833 | "type": "Shader", |
| 3834 | "name": "shader" |
| 3835 | }, |
| 3836 | { |
| 3837 | "type": "const char *", |
| 3838 | "name": "attribName" |
| 3839 | } |
| 3840 | ] |
| 3841 | }, |
| 3842 | { |
| 3843 | "name": "SetShaderValue", |
| 3844 | "description": "Set shader uniform value", |
| 3845 | "returnType": "void", |
| 3846 | "params": [ |
| 3847 | { |
| 3848 | "type": "Shader", |
| 3849 | "name": "shader" |
| 3850 | }, |
| 3851 | { |
| 3852 | "type": "int", |
| 3853 | "name": "locIndex" |
| 3854 | }, |
| 3855 | { |
| 3856 | "type": "const void *", |
| 3857 | "name": "value" |
| 3858 | }, |
| 3859 | { |
| 3860 | "type": "int", |
| 3861 | "name": "uniformType" |
| 3862 | } |
| 3863 | ] |
| 3864 | }, |
| 3865 | { |
| 3866 | "name": "SetShaderValueV", |
| 3867 | "description": "Set shader uniform value vector", |
| 3868 | "returnType": "void", |
| 3869 | "params": [ |
| 3870 | { |
| 3871 | "type": "Shader", |
| 3872 | "name": "shader" |
| 3873 | }, |
| 3874 | { |
| 3875 | "type": "int", |
| 3876 | "name": "locIndex" |
| 3877 | }, |
| 3878 | { |
| 3879 | "type": "const void *", |
| 3880 | "name": "value" |
| 3881 | }, |
| 3882 | { |
| 3883 | "type": "int", |
| 3884 | "name": "uniformType" |
| 3885 | }, |
| 3886 | { |
| 3887 | "type": "int", |
| 3888 | "name": "count" |
| 3889 | } |
| 3890 | ] |
| 3891 | }, |
| 3892 | { |
| 3893 | "name": "SetShaderValueMatrix", |
| 3894 | "description": "Set shader uniform value (matrix 4x4)", |
| 3895 | "returnType": "void", |
| 3896 | "params": [ |
| 3897 | { |
| 3898 | "type": "Shader", |
| 3899 | "name": "shader" |
| 3900 | }, |
| 3901 | { |
| 3902 | "type": "int", |
| 3903 | "name": "locIndex" |
| 3904 | }, |
| 3905 | { |
| 3906 | "type": "Matrix", |
| 3907 | "name": "mat" |
| 3908 | } |
| 3909 | ] |
| 3910 | }, |
| 3911 | { |
| 3912 | "name": "SetShaderValueTexture", |
| 3913 | "description": "Set shader uniform value and bind the texture (sampler2d)", |
| 3914 | "returnType": "void", |
| 3915 | "params": [ |
| 3916 | { |
| 3917 | "type": "Shader", |
| 3918 | "name": "shader" |
| 3919 | }, |
| 3920 | { |
| 3921 | "type": "int", |
| 3922 | "name": "locIndex" |
| 3923 | }, |
| 3924 | { |
| 3925 | "type": "Texture2D", |
| 3926 | "name": "texture" |
| 3927 | } |
| 3928 | ] |
| 3929 | }, |
| 3930 | { |
| 3931 | "name": "UnloadShader", |
| 3932 | "description": "Unload shader from GPU memory (VRAM)", |
| 3933 | "returnType": "void", |
| 3934 | "params": [ |
| 3935 | { |
| 3936 | "type": "Shader", |
| 3937 | "name": "shader" |
| 3938 | } |
| 3939 | ] |
| 3940 | }, |
| 3941 | { |
| 3942 | "name": "GetScreenToWorldRay", |
| 3943 | "description": "Get a ray trace from screen position (i.e mouse)", |
| 3944 | "returnType": "Ray", |
| 3945 | "params": [ |
| 3946 | { |
| 3947 | "type": "Vector2", |
| 3948 | "name": "position" |
| 3949 | }, |
| 3950 | { |
| 3951 | "type": "Camera", |
| 3952 | "name": "camera" |
| 3953 | } |
| 3954 | ] |
| 3955 | }, |
| 3956 | { |
| 3957 | "name": "GetScreenToWorldRayEx", |
| 3958 | "description": "Get a ray trace from screen position (i.e mouse) in a viewport", |
| 3959 | "returnType": "Ray", |
| 3960 | "params": [ |
| 3961 | { |
| 3962 | "type": "Vector2", |
| 3963 | "name": "position" |
| 3964 | }, |
| 3965 | { |
| 3966 | "type": "Camera", |
| 3967 | "name": "camera" |
| 3968 | }, |
| 3969 | { |
| 3970 | "type": "int", |
| 3971 | "name": "width" |
| 3972 | }, |
| 3973 | { |
| 3974 | "type": "int", |
| 3975 | "name": "height" |
| 3976 | } |
| 3977 | ] |
| 3978 | }, |
| 3979 | { |
| 3980 | "name": "GetWorldToScreen", |
| 3981 | "description": "Get the screen space position for a 3d world space position", |
| 3982 | "returnType": "Vector2", |
| 3983 | "params": [ |
| 3984 | { |
| 3985 | "type": "Vector3", |
| 3986 | "name": "position" |
| 3987 | }, |
| 3988 | { |
| 3989 | "type": "Camera", |
| 3990 | "name": "camera" |
| 3991 | } |
| 3992 | ] |
| 3993 | }, |
| 3994 | { |
| 3995 | "name": "GetWorldToScreenEx", |
| 3996 | "description": "Get size position for a 3d world space position", |
| 3997 | "returnType": "Vector2", |
| 3998 | "params": [ |
| 3999 | { |
| 4000 | "type": "Vector3", |
| 4001 | "name": "position" |
| 4002 | }, |
| 4003 | { |
| 4004 | "type": "Camera", |
| 4005 | "name": "camera" |
| 4006 | }, |
| 4007 | { |
| 4008 | "type": "int", |
| 4009 | "name": "width" |
| 4010 | }, |
| 4011 | { |
| 4012 | "type": "int", |
| 4013 | "name": "height" |
| 4014 | } |
| 4015 | ] |
| 4016 | }, |
| 4017 | { |
| 4018 | "name": "GetWorldToScreen2D", |
| 4019 | "description": "Get the screen space position for a 2d camera world space position", |
| 4020 | "returnType": "Vector2", |
| 4021 | "params": [ |
| 4022 | { |
| 4023 | "type": "Vector2", |
| 4024 | "name": "position" |
| 4025 | }, |
| 4026 | { |
| 4027 | "type": "Camera2D", |
| 4028 | "name": "camera" |
| 4029 | } |
| 4030 | ] |
| 4031 | }, |
| 4032 | { |
| 4033 | "name": "GetScreenToWorld2D", |
| 4034 | "description": "Get the world space position for a 2d camera screen space position", |
| 4035 | "returnType": "Vector2", |
| 4036 | "params": [ |
| 4037 | { |
| 4038 | "type": "Vector2", |
| 4039 | "name": "position" |
| 4040 | }, |
| 4041 | { |
| 4042 | "type": "Camera2D", |
| 4043 | "name": "camera" |
| 4044 | } |
| 4045 | ] |
| 4046 | }, |
| 4047 | { |
| 4048 | "name": "GetCameraMatrix", |
| 4049 | "description": "Get camera transform matrix (view matrix)", |
| 4050 | "returnType": "Matrix", |
| 4051 | "params": [ |
| 4052 | { |
| 4053 | "type": "Camera", |
| 4054 | "name": "camera" |
| 4055 | } |
| 4056 | ] |
| 4057 | }, |
| 4058 | { |
| 4059 | "name": "GetCameraMatrix2D", |
| 4060 | "description": "Get camera 2d transform matrix", |
| 4061 | "returnType": "Matrix", |
| 4062 | "params": [ |
| 4063 | { |
| 4064 | "type": "Camera2D", |
| 4065 | "name": "camera" |
| 4066 | } |
| 4067 | ] |
| 4068 | }, |
| 4069 | { |
| 4070 | "name": "SetTargetFPS", |
| 4071 | "description": "Set target FPS (maximum)", |
| 4072 | "returnType": "void", |
| 4073 | "params": [ |
| 4074 | { |
| 4075 | "type": "int", |
| 4076 | "name": "fps" |
| 4077 | } |
| 4078 | ] |
| 4079 | }, |
| 4080 | { |
| 4081 | "name": "GetFrameTime", |
| 4082 | "description": "Get time in seconds for last frame drawn (delta time)", |
| 4083 | "returnType": "float" |
| 4084 | }, |
| 4085 | { |
| 4086 | "name": "GetTime", |
| 4087 | "description": "Get elapsed time in seconds since InitWindow()", |
| 4088 | "returnType": "double" |
| 4089 | }, |
| 4090 | { |
| 4091 | "name": "GetFPS", |
| 4092 | "description": "Get current FPS", |
| 4093 | "returnType": "int" |
| 4094 | }, |
| 4095 | { |
| 4096 | "name": "SwapScreenBuffer", |
| 4097 | "description": "Swap back buffer with front buffer (screen drawing)", |
| 4098 | "returnType": "void" |
| 4099 | }, |
| 4100 | { |
| 4101 | "name": "PollInputEvents", |
| 4102 | "description": "Register all input events", |
| 4103 | "returnType": "void" |
| 4104 | }, |
| 4105 | { |
| 4106 | "name": "WaitTime", |
| 4107 | "description": "Wait for some time (halt program execution)", |
| 4108 | "returnType": "void", |
| 4109 | "params": [ |
| 4110 | { |
| 4111 | "type": "double", |
| 4112 | "name": "seconds" |
| 4113 | } |
| 4114 | ] |
| 4115 | }, |
| 4116 | { |
| 4117 | "name": "SetRandomSeed", |
| 4118 | "description": "Set the seed for the random number generator", |
| 4119 | "returnType": "void", |
| 4120 | "params": [ |
| 4121 | { |
| 4122 | "type": "unsigned int", |
| 4123 | "name": "seed" |
| 4124 | } |
| 4125 | ] |
| 4126 | }, |
| 4127 | { |
| 4128 | "name": "GetRandomValue", |
| 4129 | "description": "Get a random value between min and max (both included)", |
| 4130 | "returnType": "int", |
| 4131 | "params": [ |
| 4132 | { |
| 4133 | "type": "int", |
| 4134 | "name": "min" |
| 4135 | }, |
| 4136 | { |
| 4137 | "type": "int", |
| 4138 | "name": "max" |
| 4139 | } |
| 4140 | ] |
| 4141 | }, |
| 4142 | { |
| 4143 | "name": "LoadRandomSequence", |
| 4144 | "description": "Load random values sequence, no values repeated", |
| 4145 | "returnType": "int *", |
| 4146 | "params": [ |
| 4147 | { |
| 4148 | "type": "unsigned int", |
| 4149 | "name": "count" |
| 4150 | }, |
| 4151 | { |
| 4152 | "type": "int", |
| 4153 | "name": "min" |
| 4154 | }, |
| 4155 | { |
| 4156 | "type": "int", |
| 4157 | "name": "max" |
| 4158 | } |
| 4159 | ] |
| 4160 | }, |
| 4161 | { |
| 4162 | "name": "UnloadRandomSequence", |
| 4163 | "description": "Unload random values sequence", |
| 4164 | "returnType": "void", |
| 4165 | "params": [ |
| 4166 | { |
| 4167 | "type": "int *", |
| 4168 | "name": "sequence" |
| 4169 | } |
| 4170 | ] |
| 4171 | }, |
| 4172 | { |
| 4173 | "name": "TakeScreenshot", |
| 4174 | "description": "Takes a screenshot of current screen (filename extension defines format)", |
| 4175 | "returnType": "void", |
| 4176 | "params": [ |
| 4177 | { |
| 4178 | "type": "const char *", |
| 4179 | "name": "fileName" |
| 4180 | } |
| 4181 | ] |
| 4182 | }, |
| 4183 | { |
| 4184 | "name": "SetConfigFlags", |
| 4185 | "description": "Setup init configuration flags (view FLAGS)", |
| 4186 | "returnType": "void", |
| 4187 | "params": [ |
| 4188 | { |
| 4189 | "type": "unsigned int", |
| 4190 | "name": "flags" |
| 4191 | } |
| 4192 | ] |
| 4193 | }, |
| 4194 | { |
| 4195 | "name": "OpenURL", |
| 4196 | "description": "Open URL with default system browser (if available)", |
| 4197 | "returnType": "void", |
| 4198 | "params": [ |
| 4199 | { |
| 4200 | "type": "const char *", |
| 4201 | "name": "url" |
| 4202 | } |
| 4203 | ] |
| 4204 | }, |
| 4205 | { |
| 4206 | "name": "SetTraceLogLevel", |
| 4207 | "description": "Set the current threshold (minimum) log level", |
| 4208 | "returnType": "void", |
| 4209 | "params": [ |
| 4210 | { |
| 4211 | "type": "int", |
| 4212 | "name": "logLevel" |
| 4213 | } |
| 4214 | ] |
| 4215 | }, |
| 4216 | { |
| 4217 | "name": "TraceLog", |
| 4218 | "description": "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)", |
| 4219 | "returnType": "void", |
| 4220 | "params": [ |
| 4221 | { |
| 4222 | "type": "int", |
| 4223 | "name": "logLevel" |
| 4224 | }, |
| 4225 | { |
| 4226 | "type": "const char *", |
| 4227 | "name": "text" |
| 4228 | }, |
| 4229 | { |
| 4230 | "type": "...", |
| 4231 | "name": "args" |
| 4232 | } |
| 4233 | ] |
| 4234 | }, |
| 4235 | { |
| 4236 | "name": "SetTraceLogCallback", |
| 4237 | "description": "Set custom trace log", |
| 4238 | "returnType": "void", |
| 4239 | "params": [ |
| 4240 | { |
| 4241 | "type": "TraceLogCallback", |
| 4242 | "name": "callback" |
| 4243 | } |
| 4244 | ] |
| 4245 | }, |
| 4246 | { |
| 4247 | "name": "MemAlloc", |
| 4248 | "description": "Internal memory allocator", |
| 4249 | "returnType": "void *", |
| 4250 | "params": [ |
| 4251 | { |
| 4252 | "type": "unsigned int", |
| 4253 | "name": "size" |
| 4254 | } |
| 4255 | ] |
| 4256 | }, |
| 4257 | { |
| 4258 | "name": "MemRealloc", |
| 4259 | "description": "Internal memory reallocator", |
| 4260 | "returnType": "void *", |
| 4261 | "params": [ |
| 4262 | { |
| 4263 | "type": "void *", |
| 4264 | "name": "ptr" |
| 4265 | }, |
| 4266 | { |
| 4267 | "type": "unsigned int", |
| 4268 | "name": "size" |
| 4269 | } |
| 4270 | ] |
| 4271 | }, |
| 4272 | { |
| 4273 | "name": "MemFree", |
| 4274 | "description": "Internal memory free", |
| 4275 | "returnType": "void", |
| 4276 | "params": [ |
| 4277 | { |
| 4278 | "type": "void *", |
| 4279 | "name": "ptr" |
| 4280 | } |
| 4281 | ] |
| 4282 | }, |
| 4283 | { |
| 4284 | "name": "LoadFileData", |
| 4285 | "description": "Load file data as byte array (read)", |
| 4286 | "returnType": "unsigned char *", |
| 4287 | "params": [ |
| 4288 | { |
| 4289 | "type": "const char *", |
| 4290 | "name": "fileName" |
| 4291 | }, |
| 4292 | { |
| 4293 | "type": "int *", |
| 4294 | "name": "dataSize" |
| 4295 | } |
| 4296 | ] |
| 4297 | }, |
| 4298 | { |
| 4299 | "name": "UnloadFileData", |
| 4300 | "description": "Unload file data allocated by LoadFileData()", |
| 4301 | "returnType": "void", |
| 4302 | "params": [ |
| 4303 | { |
| 4304 | "type": "unsigned char *", |
| 4305 | "name": "data" |
| 4306 | } |
| 4307 | ] |
| 4308 | }, |
| 4309 | { |
| 4310 | "name": "SaveFileData", |
| 4311 | "description": "Save data to file from byte array (write), returns true on success", |
| 4312 | "returnType": "bool", |
| 4313 | "params": [ |
| 4314 | { |
| 4315 | "type": "const char *", |
| 4316 | "name": "fileName" |
| 4317 | }, |
| 4318 | { |
| 4319 | "type": "void *", |
| 4320 | "name": "data" |
| 4321 | }, |
| 4322 | { |
| 4323 | "type": "int", |
| 4324 | "name": "dataSize" |
| 4325 | } |
| 4326 | ] |
| 4327 | }, |
| 4328 | { |
| 4329 | "name": "ExportDataAsCode", |
| 4330 | "description": "Export data to code (.h), returns true on success", |
| 4331 | "returnType": "bool", |
| 4332 | "params": [ |
| 4333 | { |
| 4334 | "type": "const unsigned char *", |
| 4335 | "name": "data" |
| 4336 | }, |
| 4337 | { |
| 4338 | "type": "int", |
| 4339 | "name": "dataSize" |
| 4340 | }, |
| 4341 | { |
| 4342 | "type": "const char *", |
| 4343 | "name": "fileName" |
| 4344 | } |
| 4345 | ] |
| 4346 | }, |
| 4347 | { |
| 4348 | "name": "LoadFileText", |
| 4349 | "description": "Load text data from file (read), returns a '\\0' terminated string", |
| 4350 | "returnType": "char *", |
| 4351 | "params": [ |
| 4352 | { |
| 4353 | "type": "const char *", |
| 4354 | "name": "fileName" |
| 4355 | } |
| 4356 | ] |
| 4357 | }, |
| 4358 | { |
| 4359 | "name": "UnloadFileText", |
| 4360 | "description": "Unload file text data allocated by LoadFileText()", |
| 4361 | "returnType": "void", |
| 4362 | "params": [ |
| 4363 | { |
| 4364 | "type": "char *", |
| 4365 | "name": "text" |
| 4366 | } |
| 4367 | ] |
| 4368 | }, |
| 4369 | { |
| 4370 | "name": "SaveFileText", |
| 4371 | "description": "Save text data to file (write), string must be '\\0' terminated, returns true on success", |
| 4372 | "returnType": "bool", |
| 4373 | "params": [ |
| 4374 | { |
| 4375 | "type": "const char *", |
| 4376 | "name": "fileName" |
| 4377 | }, |
| 4378 | { |
| 4379 | "type": "const char *", |
| 4380 | "name": "text" |
| 4381 | } |
| 4382 | ] |
| 4383 | }, |
| 4384 | { |
| 4385 | "name": "SetLoadFileDataCallback", |
| 4386 | "description": "Set custom file binary data loader", |
| 4387 | "returnType": "void", |
| 4388 | "params": [ |
| 4389 | { |
| 4390 | "type": "LoadFileDataCallback", |
| 4391 | "name": "callback" |
| 4392 | } |
| 4393 | ] |
| 4394 | }, |
| 4395 | { |
| 4396 | "name": "SetSaveFileDataCallback", |
| 4397 | "description": "Set custom file binary data saver", |
| 4398 | "returnType": "void", |
| 4399 | "params": [ |
| 4400 | { |
| 4401 | "type": "SaveFileDataCallback", |
| 4402 | "name": "callback" |
| 4403 | } |
| 4404 | ] |
| 4405 | }, |
| 4406 | { |
| 4407 | "name": "SetLoadFileTextCallback", |
| 4408 | "description": "Set custom file text data loader", |
| 4409 | "returnType": "void", |
| 4410 | "params": [ |
| 4411 | { |
| 4412 | "type": "LoadFileTextCallback", |
| 4413 | "name": "callback" |
| 4414 | } |
| 4415 | ] |
| 4416 | }, |
| 4417 | { |
| 4418 | "name": "SetSaveFileTextCallback", |
| 4419 | "description": "Set custom file text data saver", |
| 4420 | "returnType": "void", |
| 4421 | "params": [ |
| 4422 | { |
| 4423 | "type": "SaveFileTextCallback", |
| 4424 | "name": "callback" |
| 4425 | } |
| 4426 | ] |
| 4427 | }, |
| 4428 | { |
| 4429 | "name": "FileRename", |
| 4430 | "description": "Rename file (if exists)", |
| 4431 | "returnType": "int", |
| 4432 | "params": [ |
| 4433 | { |
| 4434 | "type": "const char *", |
| 4435 | "name": "fileName" |
| 4436 | }, |
| 4437 | { |
| 4438 | "type": "const char *", |
| 4439 | "name": "fileRename" |
| 4440 | } |
| 4441 | ] |
| 4442 | }, |
| 4443 | { |
| 4444 | "name": "FileRemove", |
| 4445 | "description": "Remove file (if exists)", |
| 4446 | "returnType": "int", |
| 4447 | "params": [ |
| 4448 | { |
| 4449 | "type": "const char *", |
| 4450 | "name": "fileName" |
| 4451 | } |
| 4452 | ] |
| 4453 | }, |
| 4454 | { |
| 4455 | "name": "FileCopy", |
| 4456 | "description": "Copy file from one path to another, dstPath created if it doesn't exist", |
| 4457 | "returnType": "int", |
| 4458 | "params": [ |
| 4459 | { |
| 4460 | "type": "const char *", |
| 4461 | "name": "srcPath" |
| 4462 | }, |
| 4463 | { |
| 4464 | "type": "const char *", |
| 4465 | "name": "dstPath" |
| 4466 | } |
| 4467 | ] |
| 4468 | }, |
| 4469 | { |
| 4470 | "name": "FileMove", |
| 4471 | "description": "Move file from one directory to another, dstPath created if it doesn't exist", |
| 4472 | "returnType": "int", |
| 4473 | "params": [ |
| 4474 | { |
| 4475 | "type": "const char *", |
| 4476 | "name": "srcPath" |
| 4477 | }, |
| 4478 | { |
| 4479 | "type": "const char *", |
| 4480 | "name": "dstPath" |
| 4481 | } |
| 4482 | ] |
| 4483 | }, |
| 4484 | { |
| 4485 | "name": "FileTextReplace", |
| 4486 | "description": "Replace text in an existing file", |
| 4487 | "returnType": "int", |
| 4488 | "params": [ |
| 4489 | { |
| 4490 | "type": "const char *", |
| 4491 | "name": "fileName" |
| 4492 | }, |
| 4493 | { |
| 4494 | "type": "const char *", |
| 4495 | "name": "search" |
| 4496 | }, |
| 4497 | { |
| 4498 | "type": "const char *", |
| 4499 | "name": "replacement" |
| 4500 | } |
| 4501 | ] |
| 4502 | }, |
| 4503 | { |
| 4504 | "name": "FileTextFindIndex", |
| 4505 | "description": "Find text in existing file", |
| 4506 | "returnType": "int", |
| 4507 | "params": [ |
| 4508 | { |
| 4509 | "type": "const char *", |
| 4510 | "name": "fileName" |
| 4511 | }, |
| 4512 | { |
| 4513 | "type": "const char *", |
| 4514 | "name": "search" |
| 4515 | } |
| 4516 | ] |
| 4517 | }, |
| 4518 | { |
| 4519 | "name": "FileExists", |
| 4520 | "description": "Check if file exists", |
| 4521 | "returnType": "bool", |
| 4522 | "params": [ |
| 4523 | { |
| 4524 | "type": "const char *", |
| 4525 | "name": "fileName" |
| 4526 | } |
| 4527 | ] |
| 4528 | }, |
| 4529 | { |
| 4530 | "name": "DirectoryExists", |
| 4531 | "description": "Check if a directory path exists", |
| 4532 | "returnType": "bool", |
| 4533 | "params": [ |
| 4534 | { |
| 4535 | "type": "const char *", |
| 4536 | "name": "dirPath" |
| 4537 | } |
| 4538 | ] |
| 4539 | }, |
| 4540 | { |
| 4541 | "name": "IsFileExtension", |
| 4542 | "description": "Check file extension (recommended include point: .png, .wav)", |
| 4543 | "returnType": "bool", |
| 4544 | "params": [ |
| 4545 | { |
| 4546 | "type": "const char *", |
| 4547 | "name": "fileName" |
| 4548 | }, |
| 4549 | { |
| 4550 | "type": "const char *", |
| 4551 | "name": "ext" |
| 4552 | } |
| 4553 | ] |
| 4554 | }, |
| 4555 | { |
| 4556 | "name": "GetFileLength", |
| 4557 | "description": "Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)", |
| 4558 | "returnType": "int", |
| 4559 | "params": [ |
| 4560 | { |
| 4561 | "type": "const char *", |
| 4562 | "name": "fileName" |
| 4563 | } |
| 4564 | ] |
| 4565 | }, |
| 4566 | { |
| 4567 | "name": "GetFileModTime", |
| 4568 | "description": "Get file modification time (last write time)", |
| 4569 | "returnType": "long", |
| 4570 | "params": [ |
| 4571 | { |
| 4572 | "type": "const char *", |
| 4573 | "name": "fileName" |
| 4574 | } |
| 4575 | ] |
| 4576 | }, |
| 4577 | { |
| 4578 | "name": "GetFileExtension", |
| 4579 | "description": "Get pointer to extension for a filename string (includes dot: '.png')", |
| 4580 | "returnType": "const char *", |
| 4581 | "params": [ |
| 4582 | { |
| 4583 | "type": "const char *", |
| 4584 | "name": "fileName" |
| 4585 | } |
| 4586 | ] |
| 4587 | }, |
| 4588 | { |
| 4589 | "name": "GetFileName", |
| 4590 | "description": "Get pointer to filename for a path string", |
| 4591 | "returnType": "const char *", |
| 4592 | "params": [ |
| 4593 | { |
| 4594 | "type": "const char *", |
| 4595 | "name": "filePath" |
| 4596 | } |
| 4597 | ] |
| 4598 | }, |
| 4599 | { |
| 4600 | "name": "GetFileNameWithoutExt", |
| 4601 | "description": "Get filename string without extension (uses static string)", |
| 4602 | "returnType": "const char *", |
| 4603 | "params": [ |
| 4604 | { |
| 4605 | "type": "const char *", |
| 4606 | "name": "filePath" |
| 4607 | } |
| 4608 | ] |
| 4609 | }, |
| 4610 | { |
| 4611 | "name": "GetDirectoryPath", |
| 4612 | "description": "Get full path for a given fileName with path (uses static string)", |
| 4613 | "returnType": "const char *", |
| 4614 | "params": [ |
| 4615 | { |
| 4616 | "type": "const char *", |
| 4617 | "name": "filePath" |
| 4618 | } |
| 4619 | ] |
| 4620 | }, |
| 4621 | { |
| 4622 | "name": "GetPrevDirectoryPath", |
| 4623 | "description": "Get previous directory path for a given path (uses static string)", |
| 4624 | "returnType": "const char *", |
| 4625 | "params": [ |
| 4626 | { |
| 4627 | "type": "const char *", |
| 4628 | "name": "dirPath" |
| 4629 | } |
| 4630 | ] |
| 4631 | }, |
| 4632 | { |
| 4633 | "name": "GetWorkingDirectory", |
| 4634 | "description": "Get current working directory (uses static string)", |
| 4635 | "returnType": "const char *" |
| 4636 | }, |
| 4637 | { |
| 4638 | "name": "GetApplicationDirectory", |
| 4639 | "description": "Get the directory of the running application (uses static string)", |
| 4640 | "returnType": "const char *" |
| 4641 | }, |
| 4642 | { |
| 4643 | "name": "MakeDirectory", |
| 4644 | "description": "Create directories (including full path requested), returns 0 on success", |
| 4645 | "returnType": "int", |
| 4646 | "params": [ |
| 4647 | { |
| 4648 | "type": "const char *", |
| 4649 | "name": "dirPath" |
| 4650 | } |
| 4651 | ] |
| 4652 | }, |
| 4653 | { |
| 4654 | "name": "ChangeDirectory", |
| 4655 | "description": "Change working directory, return true on success", |
| 4656 | "returnType": "bool", |
| 4657 | "params": [ |
| 4658 | { |
| 4659 | "type": "const char *", |
| 4660 | "name": "dirPath" |
| 4661 | } |
| 4662 | ] |
| 4663 | }, |
| 4664 | { |
| 4665 | "name": "IsPathFile", |
| 4666 | "description": "Check if a given path is a file or a directory", |
| 4667 | "returnType": "bool", |
| 4668 | "params": [ |
| 4669 | { |
| 4670 | "type": "const char *", |
| 4671 | "name": "path" |
| 4672 | } |
| 4673 | ] |
| 4674 | }, |
| 4675 | { |
| 4676 | "name": "IsFileNameValid", |
| 4677 | "description": "Check if fileName is valid for the platform/OS", |
| 4678 | "returnType": "bool", |
| 4679 | "params": [ |
| 4680 | { |
| 4681 | "type": "const char *", |
| 4682 | "name": "fileName" |
| 4683 | } |
| 4684 | ] |
| 4685 | }, |
| 4686 | { |
| 4687 | "name": "LoadDirectoryFiles", |
| 4688 | "description": "Load directory filepaths, files and directories, no subdirs scan", |
| 4689 | "returnType": "FilePathList", |
| 4690 | "params": [ |
| 4691 | { |
| 4692 | "type": "const char *", |
| 4693 | "name": "dirPath" |
| 4694 | } |
| 4695 | ] |
| 4696 | }, |
| 4697 | { |
| 4698 | "name": "LoadDirectoryFilesEx", |
| 4699 | "description": "Load directory filepaths with extension filtering and subdir scan; some filters available: "*.*", "FILES*", "DIRS*"", |
| 4700 | "returnType": "FilePathList", |
| 4701 | "params": [ |
| 4702 | { |
| 4703 | "type": "const char *", |
| 4704 | "name": "basePath" |
| 4705 | }, |
| 4706 | { |
| 4707 | "type": "const char *", |
| 4708 | "name": "filter" |
| 4709 | }, |
| 4710 | { |
| 4711 | "type": "bool", |
| 4712 | "name": "scanSubdirs" |
| 4713 | } |
| 4714 | ] |
| 4715 | }, |
| 4716 | { |
| 4717 | "name": "UnloadDirectoryFiles", |
| 4718 | "description": "Unload filepaths", |
| 4719 | "returnType": "void", |
| 4720 | "params": [ |
| 4721 | { |
| 4722 | "type": "FilePathList", |
| 4723 | "name": "files" |
| 4724 | } |
| 4725 | ] |
| 4726 | }, |
| 4727 | { |
| 4728 | "name": "IsFileDropped", |
| 4729 | "description": "Check if a file has been dropped into window", |
| 4730 | "returnType": "bool" |
| 4731 | }, |
| 4732 | { |
| 4733 | "name": "LoadDroppedFiles", |
| 4734 | "description": "Load dropped filepaths", |
| 4735 | "returnType": "FilePathList" |
| 4736 | }, |
| 4737 | { |
| 4738 | "name": "UnloadDroppedFiles", |
| 4739 | "description": "Unload dropped filepaths", |
| 4740 | "returnType": "void", |
| 4741 | "params": [ |
| 4742 | { |
| 4743 | "type": "FilePathList", |
| 4744 | "name": "files" |
| 4745 | } |
| 4746 | ] |
| 4747 | }, |
| 4748 | { |
| 4749 | "name": "GetDirectoryFileCount", |
| 4750 | "description": "Get the file count in a directory", |
| 4751 | "returnType": "unsigned int", |
| 4752 | "params": [ |
| 4753 | { |
| 4754 | "type": "const char *", |
| 4755 | "name": "dirPath" |
| 4756 | } |
| 4757 | ] |
| 4758 | }, |
| 4759 | { |
| 4760 | "name": "GetDirectoryFileCountEx", |
| 4761 | "description": "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", |
| 4762 | "returnType": "unsigned int", |
| 4763 | "params": [ |
| 4764 | { |
| 4765 | "type": "const char *", |
| 4766 | "name": "basePath" |
| 4767 | }, |
| 4768 | { |
| 4769 | "type": "const char *", |
| 4770 | "name": "filter" |
| 4771 | }, |
| 4772 | { |
| 4773 | "type": "bool", |
| 4774 | "name": "scanSubdirs" |
| 4775 | } |
| 4776 | ] |
| 4777 | }, |
| 4778 | { |
| 4779 | "name": "CompressData", |
| 4780 | "description": "Compress data (DEFLATE algorithm), memory must be MemFree()", |
| 4781 | "returnType": "unsigned char *", |
| 4782 | "params": [ |
| 4783 | { |
| 4784 | "type": "const unsigned char *", |
| 4785 | "name": "data" |
| 4786 | }, |
| 4787 | { |
| 4788 | "type": "int", |
| 4789 | "name": "dataSize" |
| 4790 | }, |
| 4791 | { |
| 4792 | "type": "int *", |
| 4793 | "name": "compDataSize" |
| 4794 | } |
| 4795 | ] |
| 4796 | }, |
| 4797 | { |
| 4798 | "name": "DecompressData", |
| 4799 | "description": "Decompress data (DEFLATE algorithm), memory must be MemFree()", |
| 4800 | "returnType": "unsigned char *", |
| 4801 | "params": [ |
| 4802 | { |
| 4803 | "type": "const unsigned char *", |
| 4804 | "name": "compData" |
| 4805 | }, |
| 4806 | { |
| 4807 | "type": "int", |
| 4808 | "name": "compDataSize" |
| 4809 | }, |
| 4810 | { |
| 4811 | "type": "int *", |
| 4812 | "name": "dataSize" |
| 4813 | } |
| 4814 | ] |
| 4815 | }, |
| 4816 | { |
| 4817 | "name": "EncodeDataBase64", |
| 4818 | "description": "Encode data to Base64 string (includes NULL terminator), memory must be MemFree()", |
| 4819 | "returnType": "char *", |
| 4820 | "params": [ |
| 4821 | { |
| 4822 | "type": "const unsigned char *", |
| 4823 | "name": "data" |
| 4824 | }, |
| 4825 | { |
| 4826 | "type": "int", |
| 4827 | "name": "dataSize" |
| 4828 | }, |
| 4829 | { |
| 4830 | "type": "int *", |
| 4831 | "name": "outputSize" |
| 4832 | } |
| 4833 | ] |
| 4834 | }, |
| 4835 | { |
| 4836 | "name": "DecodeDataBase64", |
| 4837 | "description": "Decode Base64 string (expected NULL terminated), memory must be MemFree()", |
| 4838 | "returnType": "unsigned char *", |
| 4839 | "params": [ |
| 4840 | { |
| 4841 | "type": "const char *", |
| 4842 | "name": "text" |
| 4843 | }, |
| 4844 | { |
| 4845 | "type": "int *", |
| 4846 | "name": "outputSize" |
| 4847 | } |
| 4848 | ] |
| 4849 | }, |
| 4850 | { |
| 4851 | "name": "ComputeCRC32", |
| 4852 | "description": "Compute CRC32 hash code", |
| 4853 | "returnType": "unsigned int", |
| 4854 | "params": [ |
| 4855 | { |
| 4856 | "type": "unsigned char *", |
| 4857 | "name": "data" |
| 4858 | }, |
| 4859 | { |
| 4860 | "type": "int", |
| 4861 | "name": "dataSize" |
| 4862 | } |
| 4863 | ] |
| 4864 | }, |
| 4865 | { |
| 4866 | "name": "ComputeMD5", |
| 4867 | "description": "Compute MD5 hash code, returns static int[4] (16 bytes)", |
| 4868 | "returnType": "unsigned int *", |
| 4869 | "params": [ |
| 4870 | { |
| 4871 | "type": "unsigned char *", |
| 4872 | "name": "data" |
| 4873 | }, |
| 4874 | { |
| 4875 | "type": "int", |
| 4876 | "name": "dataSize" |
| 4877 | } |
| 4878 | ] |
| 4879 | }, |
| 4880 | { |
| 4881 | "name": "ComputeSHA1", |
| 4882 | "description": "Compute SHA1 hash code, returns static int[5] (20 bytes)", |
| 4883 | "returnType": "unsigned int *", |
| 4884 | "params": [ |
| 4885 | { |
| 4886 | "type": "unsigned char *", |
| 4887 | "name": "data" |
| 4888 | }, |
| 4889 | { |
| 4890 | "type": "int", |
| 4891 | "name": "dataSize" |
| 4892 | } |
| 4893 | ] |
| 4894 | }, |
| 4895 | { |
| 4896 | "name": "ComputeSHA256", |
| 4897 | "description": "Compute SHA256 hash code, returns static int[8] (32 bytes)", |
| 4898 | "returnType": "unsigned int *", |
| 4899 | "params": [ |
| 4900 | { |
| 4901 | "type": "unsigned char *", |
| 4902 | "name": "data" |
| 4903 | }, |
| 4904 | { |
| 4905 | "type": "int", |
| 4906 | "name": "dataSize" |
| 4907 | } |
| 4908 | ] |
| 4909 | }, |
| 4910 | { |
| 4911 | "name": "LoadAutomationEventList", |
| 4912 | "description": "Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS", |
| 4913 | "returnType": "AutomationEventList", |
| 4914 | "params": [ |
| 4915 | { |
| 4916 | "type": "const char *", |
| 4917 | "name": "fileName" |
| 4918 | } |
| 4919 | ] |
| 4920 | }, |
| 4921 | { |
| 4922 | "name": "UnloadAutomationEventList", |
| 4923 | "description": "Unload automation events list from file", |
| 4924 | "returnType": "void", |
| 4925 | "params": [ |
| 4926 | { |
| 4927 | "type": "AutomationEventList", |
| 4928 | "name": "list" |
| 4929 | } |
| 4930 | ] |
| 4931 | }, |
| 4932 | { |
| 4933 | "name": "ExportAutomationEventList", |
| 4934 | "description": "Export automation events list as text file", |
| 4935 | "returnType": "bool", |
| 4936 | "params": [ |
| 4937 | { |
| 4938 | "type": "AutomationEventList", |
| 4939 | "name": "list" |
| 4940 | }, |
| 4941 | { |
| 4942 | "type": "const char *", |
| 4943 | "name": "fileName" |
| 4944 | } |
| 4945 | ] |
| 4946 | }, |
| 4947 | { |
| 4948 | "name": "SetAutomationEventList", |
| 4949 | "description": "Set automation event list to record to", |
| 4950 | "returnType": "void", |
| 4951 | "params": [ |
| 4952 | { |
| 4953 | "type": "AutomationEventList *", |
| 4954 | "name": "list" |
| 4955 | } |
| 4956 | ] |
| 4957 | }, |
| 4958 | { |
| 4959 | "name": "SetAutomationEventBaseFrame", |
| 4960 | "description": "Set automation event internal base frame to start recording", |
| 4961 | "returnType": "void", |
| 4962 | "params": [ |
| 4963 | { |
| 4964 | "type": "int", |
| 4965 | "name": "frame" |
| 4966 | } |
| 4967 | ] |
| 4968 | }, |
| 4969 | { |
| 4970 | "name": "StartAutomationEventRecording", |
| 4971 | "description": "Start recording automation events (AutomationEventList must be set)", |
| 4972 | "returnType": "void" |
| 4973 | }, |
| 4974 | { |
| 4975 | "name": "StopAutomationEventRecording", |
| 4976 | "description": "Stop recording automation events", |
| 4977 | "returnType": "void" |
| 4978 | }, |
| 4979 | { |
| 4980 | "name": "PlayAutomationEvent", |
| 4981 | "description": "Play a recorded automation event", |
| 4982 | "returnType": "void", |
| 4983 | "params": [ |
| 4984 | { |
| 4985 | "type": "AutomationEvent", |
| 4986 | "name": "event" |
| 4987 | } |
| 4988 | ] |
| 4989 | }, |
| 4990 | { |
| 4991 | "name": "IsKeyPressed", |
| 4992 | "description": "Check if a key has been pressed once", |
| 4993 | "returnType": "bool", |
| 4994 | "params": [ |
| 4995 | { |
| 4996 | "type": "int", |
| 4997 | "name": "key" |
| 4998 | } |
| 4999 | ] |
| 5000 | }, |
| 5001 | { |
| 5002 | "name": "IsKeyPressedRepeat", |
| 5003 | "description": "Check if a key has been pressed again", |
| 5004 | "returnType": "bool", |
| 5005 | "params": [ |
| 5006 | { |
| 5007 | "type": "int", |
| 5008 | "name": "key" |
| 5009 | } |
| 5010 | ] |
| 5011 | }, |
| 5012 | { |
| 5013 | "name": "IsKeyDown", |
| 5014 | "description": "Check if a key is being pressed", |
| 5015 | "returnType": "bool", |
| 5016 | "params": [ |
| 5017 | { |
| 5018 | "type": "int", |
| 5019 | "name": "key" |
| 5020 | } |
| 5021 | ] |
| 5022 | }, |
| 5023 | { |
| 5024 | "name": "IsKeyReleased", |
| 5025 | "description": "Check if a key has been released once", |
| 5026 | "returnType": "bool", |
| 5027 | "params": [ |
| 5028 | { |
| 5029 | "type": "int", |
| 5030 | "name": "key" |
| 5031 | } |
| 5032 | ] |
| 5033 | }, |
| 5034 | { |
| 5035 | "name": "IsKeyUp", |
| 5036 | "description": "Check if a key is NOT being pressed", |
| 5037 | "returnType": "bool", |
| 5038 | "params": [ |
| 5039 | { |
| 5040 | "type": "int", |
| 5041 | "name": "key" |
| 5042 | } |
| 5043 | ] |
| 5044 | }, |
| 5045 | { |
| 5046 | "name": "GetKeyPressed", |
| 5047 | "description": "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty", |
| 5048 | "returnType": "int" |
| 5049 | }, |
| 5050 | { |
| 5051 | "name": "GetCharPressed", |
| 5052 | "description": "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty", |
| 5053 | "returnType": "int" |
| 5054 | }, |
| 5055 | { |
| 5056 | "name": "GetKeyName", |
| 5057 | "description": "Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)", |
| 5058 | "returnType": "const char *", |
| 5059 | "params": [ |
| 5060 | { |
| 5061 | "type": "int", |
| 5062 | "name": "key" |
| 5063 | } |
| 5064 | ] |
| 5065 | }, |
| 5066 | { |
| 5067 | "name": "SetExitKey", |
| 5068 | "description": "Set a custom key to exit program (default is ESC)", |
| 5069 | "returnType": "void", |
| 5070 | "params": [ |
| 5071 | { |
| 5072 | "type": "int", |
| 5073 | "name": "key" |
| 5074 | } |
| 5075 | ] |
| 5076 | }, |
| 5077 | { |
| 5078 | "name": "IsGamepadAvailable", |
| 5079 | "description": "Check if a gamepad is available", |
| 5080 | "returnType": "bool", |
| 5081 | "params": [ |
| 5082 | { |
| 5083 | "type": "int", |
| 5084 | "name": "gamepad" |
| 5085 | } |
| 5086 | ] |
| 5087 | }, |
| 5088 | { |
| 5089 | "name": "GetGamepadName", |
| 5090 | "description": "Get gamepad internal name id", |
| 5091 | "returnType": "const char *", |
| 5092 | "params": [ |
| 5093 | { |
| 5094 | "type": "int", |
| 5095 | "name": "gamepad" |
| 5096 | } |
| 5097 | ] |
| 5098 | }, |
| 5099 | { |
| 5100 | "name": "IsGamepadButtonPressed", |
| 5101 | "description": "Check if a gamepad button has been pressed once", |
| 5102 | "returnType": "bool", |
| 5103 | "params": [ |
| 5104 | { |
| 5105 | "type": "int", |
| 5106 | "name": "gamepad" |
| 5107 | }, |
| 5108 | { |
| 5109 | "type": "int", |
| 5110 | "name": "button" |
| 5111 | } |
| 5112 | ] |
| 5113 | }, |
| 5114 | { |
| 5115 | "name": "IsGamepadButtonDown", |
| 5116 | "description": "Check if a gamepad button is being pressed", |
| 5117 | "returnType": "bool", |
| 5118 | "params": [ |
| 5119 | { |
| 5120 | "type": "int", |
| 5121 | "name": "gamepad" |
| 5122 | }, |
| 5123 | { |
| 5124 | "type": "int", |
| 5125 | "name": "button" |
| 5126 | } |
| 5127 | ] |
| 5128 | }, |
| 5129 | { |
| 5130 | "name": "IsGamepadButtonReleased", |
| 5131 | "description": "Check if a gamepad button has been released once", |
| 5132 | "returnType": "bool", |
| 5133 | "params": [ |
| 5134 | { |
| 5135 | "type": "int", |
| 5136 | "name": "gamepad" |
| 5137 | }, |
| 5138 | { |
| 5139 | "type": "int", |
| 5140 | "name": "button" |
| 5141 | } |
| 5142 | ] |
| 5143 | }, |
| 5144 | { |
| 5145 | "name": "IsGamepadButtonUp", |
| 5146 | "description": "Check if a gamepad button is NOT being pressed", |
| 5147 | "returnType": "bool", |
| 5148 | "params": [ |
| 5149 | { |
| 5150 | "type": "int", |
| 5151 | "name": "gamepad" |
| 5152 | }, |
| 5153 | { |
| 5154 | "type": "int", |
| 5155 | "name": "button" |
| 5156 | } |
| 5157 | ] |
| 5158 | }, |
| 5159 | { |
| 5160 | "name": "GetGamepadButtonPressed", |
| 5161 | "description": "Get the last gamepad button pressed", |
| 5162 | "returnType": "int" |
| 5163 | }, |
| 5164 | { |
| 5165 | "name": "GetGamepadAxisCount", |
| 5166 | "description": "Get axis count for a gamepad", |
| 5167 | "returnType": "int", |
| 5168 | "params": [ |
| 5169 | { |
| 5170 | "type": "int", |
| 5171 | "name": "gamepad" |
| 5172 | } |
| 5173 | ] |
| 5174 | }, |
| 5175 | { |
| 5176 | "name": "GetGamepadAxisMovement", |
| 5177 | "description": "Get movement value for a gamepad axis", |
| 5178 | "returnType": "float", |
| 5179 | "params": [ |
| 5180 | { |
| 5181 | "type": "int", |
| 5182 | "name": "gamepad" |
| 5183 | }, |
| 5184 | { |
| 5185 | "type": "int", |
| 5186 | "name": "axis" |
| 5187 | } |
| 5188 | ] |
| 5189 | }, |
| 5190 | { |
| 5191 | "name": "SetGamepadMappings", |
| 5192 | "description": "Set internal gamepad mappings (SDL_GameControllerDB)", |
| 5193 | "returnType": "int", |
| 5194 | "params": [ |
| 5195 | { |
| 5196 | "type": "const char *", |
| 5197 | "name": "mappings" |
| 5198 | } |
| 5199 | ] |
| 5200 | }, |
| 5201 | { |
| 5202 | "name": "SetGamepadVibration", |
| 5203 | "description": "Set gamepad vibration for both motors (duration in seconds)", |
| 5204 | "returnType": "void", |
| 5205 | "params": [ |
| 5206 | { |
| 5207 | "type": "int", |
| 5208 | "name": "gamepad" |
| 5209 | }, |
| 5210 | { |
| 5211 | "type": "float", |
| 5212 | "name": "leftMotor" |
| 5213 | }, |
| 5214 | { |
| 5215 | "type": "float", |
| 5216 | "name": "rightMotor" |
| 5217 | }, |
| 5218 | { |
| 5219 | "type": "float", |
| 5220 | "name": "duration" |
| 5221 | } |
| 5222 | ] |
| 5223 | }, |
| 5224 | { |
| 5225 | "name": "IsMouseButtonPressed", |
| 5226 | "description": "Check if a mouse button has been pressed once", |
| 5227 | "returnType": "bool", |
| 5228 | "params": [ |
| 5229 | { |
| 5230 | "type": "int", |
| 5231 | "name": "button" |
| 5232 | } |
| 5233 | ] |
| 5234 | }, |
| 5235 | { |
| 5236 | "name": "IsMouseButtonDown", |
| 5237 | "description": "Check if a mouse button is being pressed", |
| 5238 | "returnType": "bool", |
| 5239 | "params": [ |
| 5240 | { |
| 5241 | "type": "int", |
| 5242 | "name": "button" |
| 5243 | } |
| 5244 | ] |
| 5245 | }, |
| 5246 | { |
| 5247 | "name": "IsMouseButtonReleased", |
| 5248 | "description": "Check if a mouse button has been released once", |
| 5249 | "returnType": "bool", |
| 5250 | "params": [ |
| 5251 | { |
| 5252 | "type": "int", |
| 5253 | "name": "button" |
| 5254 | } |
| 5255 | ] |
| 5256 | }, |
| 5257 | { |
| 5258 | "name": "IsMouseButtonUp", |
| 5259 | "description": "Check if a mouse button is NOT being pressed", |
| 5260 | "returnType": "bool", |
| 5261 | "params": [ |
| 5262 | { |
| 5263 | "type": "int", |
| 5264 | "name": "button" |
| 5265 | } |
| 5266 | ] |
| 5267 | }, |
| 5268 | { |
| 5269 | "name": "GetMouseX", |
| 5270 | "description": "Get mouse position X", |
| 5271 | "returnType": "int" |
| 5272 | }, |
| 5273 | { |
| 5274 | "name": "GetMouseY", |
| 5275 | "description": "Get mouse position Y", |
| 5276 | "returnType": "int" |
| 5277 | }, |
| 5278 | { |
| 5279 | "name": "GetMousePosition", |
| 5280 | "description": "Get mouse position XY", |
| 5281 | "returnType": "Vector2" |
| 5282 | }, |
| 5283 | { |
| 5284 | "name": "GetMouseDelta", |
| 5285 | "description": "Get mouse delta between frames", |
| 5286 | "returnType": "Vector2" |
| 5287 | }, |
| 5288 | { |
| 5289 | "name": "SetMousePosition", |
| 5290 | "description": "Set mouse position XY", |
| 5291 | "returnType": "void", |
| 5292 | "params": [ |
| 5293 | { |
| 5294 | "type": "int", |
| 5295 | "name": "x" |
| 5296 | }, |
| 5297 | { |
| 5298 | "type": "int", |
| 5299 | "name": "y" |
| 5300 | } |
| 5301 | ] |
| 5302 | }, |
| 5303 | { |
| 5304 | "name": "SetMouseOffset", |
| 5305 | "description": "Set mouse offset", |
| 5306 | "returnType": "void", |
| 5307 | "params": [ |
| 5308 | { |
| 5309 | "type": "int", |
| 5310 | "name": "offsetX" |
| 5311 | }, |
| 5312 | { |
| 5313 | "type": "int", |
| 5314 | "name": "offsetY" |
| 5315 | } |
| 5316 | ] |
| 5317 | }, |
| 5318 | { |
| 5319 | "name": "SetMouseScale", |
| 5320 | "description": "Set mouse scaling", |
| 5321 | "returnType": "void", |
| 5322 | "params": [ |
| 5323 | { |
| 5324 | "type": "float", |
| 5325 | "name": "scaleX" |
| 5326 | }, |
| 5327 | { |
| 5328 | "type": "float", |
| 5329 | "name": "scaleY" |
| 5330 | } |
| 5331 | ] |
| 5332 | }, |
| 5333 | { |
| 5334 | "name": "GetMouseWheelMove", |
| 5335 | "description": "Get mouse wheel movement for X or Y, whichever is larger", |
| 5336 | "returnType": "float" |
| 5337 | }, |
| 5338 | { |
| 5339 | "name": "GetMouseWheelMoveV", |
| 5340 | "description": "Get mouse wheel movement for both X and Y", |
| 5341 | "returnType": "Vector2" |
| 5342 | }, |
| 5343 | { |
| 5344 | "name": "SetMouseCursor", |
| 5345 | "description": "Set mouse cursor", |
| 5346 | "returnType": "void", |
| 5347 | "params": [ |
| 5348 | { |
| 5349 | "type": "int", |
| 5350 | "name": "cursor" |
| 5351 | } |
| 5352 | ] |
| 5353 | }, |
| 5354 | { |
| 5355 | "name": "GetTouchX", |
| 5356 | "description": "Get touch position X for touch point 0 (relative to screen size)", |
| 5357 | "returnType": "int" |
| 5358 | }, |
| 5359 | { |
| 5360 | "name": "GetTouchY", |
| 5361 | "description": "Get touch position Y for touch point 0 (relative to screen size)", |
| 5362 | "returnType": "int" |
| 5363 | }, |
| 5364 | { |
| 5365 | "name": "GetTouchPosition", |
| 5366 | "description": "Get touch position XY for a touch point index (relative to screen size)", |
| 5367 | "returnType": "Vector2", |
| 5368 | "params": [ |
| 5369 | { |
| 5370 | "type": "int", |
| 5371 | "name": "index" |
| 5372 | } |
| 5373 | ] |
| 5374 | }, |
| 5375 | { |
| 5376 | "name": "GetTouchPointId", |
| 5377 | "description": "Get touch point identifier for given index", |
| 5378 | "returnType": "int", |
| 5379 | "params": [ |
| 5380 | { |
| 5381 | "type": "int", |
| 5382 | "name": "index" |
| 5383 | } |
| 5384 | ] |
| 5385 | }, |
| 5386 | { |
| 5387 | "name": "GetTouchPointCount", |
| 5388 | "description": "Get number of touch points", |
| 5389 | "returnType": "int" |
| 5390 | }, |
| 5391 | { |
| 5392 | "name": "SetGesturesEnabled", |
| 5393 | "description": "Enable a set of gestures using flags", |
| 5394 | "returnType": "void", |
| 5395 | "params": [ |
| 5396 | { |
| 5397 | "type": "unsigned int", |
| 5398 | "name": "flags" |
| 5399 | } |
| 5400 | ] |
| 5401 | }, |
| 5402 | { |
| 5403 | "name": "IsGestureDetected", |
| 5404 | "description": "Check if a gesture have been detected", |
| 5405 | "returnType": "bool", |
| 5406 | "params": [ |
| 5407 | { |
| 5408 | "type": "unsigned int", |
| 5409 | "name": "gesture" |
| 5410 | } |
| 5411 | ] |
| 5412 | }, |
| 5413 | { |
| 5414 | "name": "GetGestureDetected", |
| 5415 | "description": "Get latest detected gesture", |
| 5416 | "returnType": "int" |
| 5417 | }, |
| 5418 | { |
| 5419 | "name": "GetGestureHoldDuration", |
| 5420 | "description": "Get gesture hold time in seconds", |
| 5421 | "returnType": "float" |
| 5422 | }, |
| 5423 | { |
| 5424 | "name": "GetGestureDragVector", |
| 5425 | "description": "Get gesture drag vector", |
| 5426 | "returnType": "Vector2" |
| 5427 | }, |
| 5428 | { |
| 5429 | "name": "GetGestureDragAngle", |
| 5430 | "description": "Get gesture drag angle", |
| 5431 | "returnType": "float" |
| 5432 | }, |
| 5433 | { |
| 5434 | "name": "GetGesturePinchVector", |
| 5435 | "description": "Get gesture pinch delta", |
| 5436 | "returnType": "Vector2" |
| 5437 | }, |
| 5438 | { |
| 5439 | "name": "GetGesturePinchAngle", |
| 5440 | "description": "Get gesture pinch angle", |
| 5441 | "returnType": "float" |
| 5442 | }, |
| 5443 | { |
| 5444 | "name": "UpdateCamera", |
| 5445 | "description": "Update camera position for selected mode", |
| 5446 | "returnType": "void", |
| 5447 | "params": [ |
| 5448 | { |
| 5449 | "type": "Camera *", |
| 5450 | "name": "camera" |
| 5451 | }, |
| 5452 | { |
| 5453 | "type": "int", |
| 5454 | "name": "mode" |
| 5455 | } |
| 5456 | ] |
| 5457 | }, |
| 5458 | { |
| 5459 | "name": "UpdateCameraPro", |
| 5460 | "description": "Update camera movement/rotation", |
| 5461 | "returnType": "void", |
| 5462 | "params": [ |
| 5463 | { |
| 5464 | "type": "Camera *", |
| 5465 | "name": "camera" |
| 5466 | }, |
| 5467 | { |
| 5468 | "type": "Vector3", |
| 5469 | "name": "movement" |
| 5470 | }, |
| 5471 | { |
| 5472 | "type": "Vector3", |
| 5473 | "name": "rotation" |
| 5474 | }, |
| 5475 | { |
| 5476 | "type": "float", |
| 5477 | "name": "zoom" |
| 5478 | } |
| 5479 | ] |
| 5480 | }, |
| 5481 | { |
| 5482 | "name": "SetShapesTexture", |
| 5483 | "description": "Set texture and rectangle to be used on shapes drawing", |
| 5484 | "returnType": "void", |
| 5485 | "params": [ |
| 5486 | { |
| 5487 | "type": "Texture2D", |
| 5488 | "name": "texture" |
| 5489 | }, |
| 5490 | { |
| 5491 | "type": "Rectangle", |
| 5492 | "name": "source" |
| 5493 | } |
| 5494 | ] |
| 5495 | }, |
| 5496 | { |
| 5497 | "name": "GetShapesTexture", |
| 5498 | "description": "Get texture that is used for shapes drawing", |
| 5499 | "returnType": "Texture2D" |
| 5500 | }, |
| 5501 | { |
| 5502 | "name": "GetShapesTextureRectangle", |
| 5503 | "description": "Get texture source rectangle that is used for shapes drawing", |
| 5504 | "returnType": "Rectangle" |
| 5505 | }, |
| 5506 | { |
| 5507 | "name": "DrawPixel", |
| 5508 | "description": "Draw a pixel using geometry [Can be slow, use with care]", |
| 5509 | "returnType": "void", |
| 5510 | "params": [ |
| 5511 | { |
| 5512 | "type": "int", |
| 5513 | "name": "posX" |
| 5514 | }, |
| 5515 | { |
| 5516 | "type": "int", |
| 5517 | "name": "posY" |
| 5518 | }, |
| 5519 | { |
| 5520 | "type": "Color", |
| 5521 | "name": "color" |
| 5522 | } |
| 5523 | ] |
| 5524 | }, |
| 5525 | { |
| 5526 | "name": "DrawPixelV", |
| 5527 | "description": "Draw a pixel using geometry (Vector version) [Can be slow, use with care]", |
| 5528 | "returnType": "void", |
| 5529 | "params": [ |
| 5530 | { |
| 5531 | "type": "Vector2", |
| 5532 | "name": "position" |
| 5533 | }, |
| 5534 | { |
| 5535 | "type": "Color", |
| 5536 | "name": "color" |
| 5537 | } |
| 5538 | ] |
| 5539 | }, |
| 5540 | { |
| 5541 | "name": "DrawLine", |
| 5542 | "description": "Draw a line", |
| 5543 | "returnType": "void", |
| 5544 | "params": [ |
| 5545 | { |
| 5546 | "type": "int", |
| 5547 | "name": "startPosX" |
| 5548 | }, |
| 5549 | { |
| 5550 | "type": "int", |
| 5551 | "name": "startPosY" |
| 5552 | }, |
| 5553 | { |
| 5554 | "type": "int", |
| 5555 | "name": "endPosX" |
| 5556 | }, |
| 5557 | { |
| 5558 | "type": "int", |
| 5559 | "name": "endPosY" |
| 5560 | }, |
| 5561 | { |
| 5562 | "type": "Color", |
| 5563 | "name": "color" |
| 5564 | } |
| 5565 | ] |
| 5566 | }, |
| 5567 | { |
| 5568 | "name": "DrawLineV", |
| 5569 | "description": "Draw a line (using gl lines)", |
| 5570 | "returnType": "void", |
| 5571 | "params": [ |
| 5572 | { |
| 5573 | "type": "Vector2", |
| 5574 | "name": "startPos" |
| 5575 | }, |
| 5576 | { |
| 5577 | "type": "Vector2", |
| 5578 | "name": "endPos" |
| 5579 | }, |
| 5580 | { |
| 5581 | "type": "Color", |
| 5582 | "name": "color" |
| 5583 | } |
| 5584 | ] |
| 5585 | }, |
| 5586 | { |
| 5587 | "name": "DrawLineEx", |
| 5588 | "description": "Draw a line (using triangles/quads)", |
| 5589 | "returnType": "void", |
| 5590 | "params": [ |
| 5591 | { |
| 5592 | "type": "Vector2", |
| 5593 | "name": "startPos" |
| 5594 | }, |
| 5595 | { |
| 5596 | "type": "Vector2", |
| 5597 | "name": "endPos" |
| 5598 | }, |
| 5599 | { |
| 5600 | "type": "float", |
| 5601 | "name": "thick" |
| 5602 | }, |
| 5603 | { |
| 5604 | "type": "Color", |
| 5605 | "name": "color" |
| 5606 | } |
| 5607 | ] |
| 5608 | }, |
| 5609 | { |
| 5610 | "name": "DrawLineStrip", |
| 5611 | "description": "Draw lines sequence (using gl lines)", |
| 5612 | "returnType": "void", |
| 5613 | "params": [ |
| 5614 | { |
| 5615 | "type": "const Vector2 *", |
| 5616 | "name": "points" |
| 5617 | }, |
| 5618 | { |
| 5619 | "type": "int", |
| 5620 | "name": "pointCount" |
| 5621 | }, |
| 5622 | { |
| 5623 | "type": "Color", |
| 5624 | "name": "color" |
| 5625 | } |
| 5626 | ] |
| 5627 | }, |
| 5628 | { |
| 5629 | "name": "DrawLineBezier", |
| 5630 | "description": "Draw line segment cubic-bezier in-out interpolation", |
| 5631 | "returnType": "void", |
| 5632 | "params": [ |
| 5633 | { |
| 5634 | "type": "Vector2", |
| 5635 | "name": "startPos" |
| 5636 | }, |
| 5637 | { |
| 5638 | "type": "Vector2", |
| 5639 | "name": "endPos" |
| 5640 | }, |
| 5641 | { |
| 5642 | "type": "float", |
| 5643 | "name": "thick" |
| 5644 | }, |
| 5645 | { |
| 5646 | "type": "Color", |
| 5647 | "name": "color" |
| 5648 | } |
| 5649 | ] |
| 5650 | }, |
| 5651 | { |
| 5652 | "name": "DrawLineDashed", |
| 5653 | "description": "Draw a dashed line", |
| 5654 | "returnType": "void", |
| 5655 | "params": [ |
| 5656 | { |
| 5657 | "type": "Vector2", |
| 5658 | "name": "startPos" |
| 5659 | }, |
| 5660 | { |
| 5661 | "type": "Vector2", |
| 5662 | "name": "endPos" |
| 5663 | }, |
| 5664 | { |
| 5665 | "type": "int", |
| 5666 | "name": "dashSize" |
| 5667 | }, |
| 5668 | { |
| 5669 | "type": "int", |
| 5670 | "name": "spaceSize" |
| 5671 | }, |
| 5672 | { |
| 5673 | "type": "Color", |
| 5674 | "name": "color" |
| 5675 | } |
| 5676 | ] |
| 5677 | }, |
| 5678 | { |
| 5679 | "name": "DrawCircle", |
| 5680 | "description": "Draw a color-filled circle", |
| 5681 | "returnType": "void", |
| 5682 | "params": [ |
| 5683 | { |
| 5684 | "type": "int", |
| 5685 | "name": "centerX" |
| 5686 | }, |
| 5687 | { |
| 5688 | "type": "int", |
| 5689 | "name": "centerY" |
| 5690 | }, |
| 5691 | { |
| 5692 | "type": "float", |
| 5693 | "name": "radius" |
| 5694 | }, |
| 5695 | { |
| 5696 | "type": "Color", |
| 5697 | "name": "color" |
| 5698 | } |
| 5699 | ] |
| 5700 | }, |
| 5701 | { |
| 5702 | "name": "DrawCircleV", |
| 5703 | "description": "Draw a color-filled circle (Vector version)", |
| 5704 | "returnType": "void", |
| 5705 | "params": [ |
| 5706 | { |
| 5707 | "type": "Vector2", |
| 5708 | "name": "center" |
| 5709 | }, |
| 5710 | { |
| 5711 | "type": "float", |
| 5712 | "name": "radius" |
| 5713 | }, |
| 5714 | { |
| 5715 | "type": "Color", |
| 5716 | "name": "color" |
| 5717 | } |
| 5718 | ] |
| 5719 | }, |
| 5720 | { |
| 5721 | "name": "DrawCircleGradient", |
| 5722 | "description": "Draw a gradient-filled circle", |
| 5723 | "returnType": "void", |
| 5724 | "params": [ |
| 5725 | { |
| 5726 | "type": "Vector2", |
| 5727 | "name": "center" |
| 5728 | }, |
| 5729 | { |
| 5730 | "type": "float", |
| 5731 | "name": "radius" |
| 5732 | }, |
| 5733 | { |
| 5734 | "type": "Color", |
| 5735 | "name": "inner" |
| 5736 | }, |
| 5737 | { |
| 5738 | "type": "Color", |
| 5739 | "name": "outer" |
| 5740 | } |
| 5741 | ] |
| 5742 | }, |
| 5743 | { |
| 5744 | "name": "DrawCircleSector", |
| 5745 | "description": "Draw a piece of a circle", |
| 5746 | "returnType": "void", |
| 5747 | "params": [ |
| 5748 | { |
| 5749 | "type": "Vector2", |
| 5750 | "name": "center" |
| 5751 | }, |
| 5752 | { |
| 5753 | "type": "float", |
| 5754 | "name": "radius" |
| 5755 | }, |
| 5756 | { |
| 5757 | "type": "float", |
| 5758 | "name": "startAngle" |
| 5759 | }, |
| 5760 | { |
| 5761 | "type": "float", |
| 5762 | "name": "endAngle" |
| 5763 | }, |
| 5764 | { |
| 5765 | "type": "int", |
| 5766 | "name": "segments" |
| 5767 | }, |
| 5768 | { |
| 5769 | "type": "Color", |
| 5770 | "name": "color" |
| 5771 | } |
| 5772 | ] |
| 5773 | }, |
| 5774 | { |
| 5775 | "name": "DrawCircleSectorLines", |
| 5776 | "description": "Draw circle sector outline", |
| 5777 | "returnType": "void", |
| 5778 | "params": [ |
| 5779 | { |
| 5780 | "type": "Vector2", |
| 5781 | "name": "center" |
| 5782 | }, |
| 5783 | { |
| 5784 | "type": "float", |
| 5785 | "name": "radius" |
| 5786 | }, |
| 5787 | { |
| 5788 | "type": "float", |
| 5789 | "name": "startAngle" |
| 5790 | }, |
| 5791 | { |
| 5792 | "type": "float", |
| 5793 | "name": "endAngle" |
| 5794 | }, |
| 5795 | { |
| 5796 | "type": "int", |
| 5797 | "name": "segments" |
| 5798 | }, |
| 5799 | { |
| 5800 | "type": "Color", |
| 5801 | "name": "color" |
| 5802 | } |
| 5803 | ] |
| 5804 | }, |
| 5805 | { |
| 5806 | "name": "DrawCircleLines", |
| 5807 | "description": "Draw circle outline", |
| 5808 | "returnType": "void", |
| 5809 | "params": [ |
| 5810 | { |
| 5811 | "type": "int", |
| 5812 | "name": "centerX" |
| 5813 | }, |
| 5814 | { |
| 5815 | "type": "int", |
| 5816 | "name": "centerY" |
| 5817 | }, |
| 5818 | { |
| 5819 | "type": "float", |
| 5820 | "name": "radius" |
| 5821 | }, |
| 5822 | { |
| 5823 | "type": "Color", |
| 5824 | "name": "color" |
| 5825 | } |
| 5826 | ] |
| 5827 | }, |
| 5828 | { |
| 5829 | "name": "DrawCircleLinesV", |
| 5830 | "description": "Draw circle outline (Vector version)", |
| 5831 | "returnType": "void", |
| 5832 | "params": [ |
| 5833 | { |
| 5834 | "type": "Vector2", |
| 5835 | "name": "center" |
| 5836 | }, |
| 5837 | { |
| 5838 | "type": "float", |
| 5839 | "name": "radius" |
| 5840 | }, |
| 5841 | { |
| 5842 | "type": "Color", |
| 5843 | "name": "color" |
| 5844 | } |
| 5845 | ] |
| 5846 | }, |
| 5847 | { |
| 5848 | "name": "DrawEllipse", |
| 5849 | "description": "Draw ellipse", |
| 5850 | "returnType": "void", |
| 5851 | "params": [ |
| 5852 | { |
| 5853 | "type": "int", |
| 5854 | "name": "centerX" |
| 5855 | }, |
| 5856 | { |
| 5857 | "type": "int", |
| 5858 | "name": "centerY" |
| 5859 | }, |
| 5860 | { |
| 5861 | "type": "float", |
| 5862 | "name": "radiusH" |
| 5863 | }, |
| 5864 | { |
| 5865 | "type": "float", |
| 5866 | "name": "radiusV" |
| 5867 | }, |
| 5868 | { |
| 5869 | "type": "Color", |
| 5870 | "name": "color" |
| 5871 | } |
| 5872 | ] |
| 5873 | }, |
| 5874 | { |
| 5875 | "name": "DrawEllipseV", |
| 5876 | "description": "Draw ellipse (Vector version)", |
| 5877 | "returnType": "void", |
| 5878 | "params": [ |
| 5879 | { |
| 5880 | "type": "Vector2", |
| 5881 | "name": "center" |
| 5882 | }, |
| 5883 | { |
| 5884 | "type": "float", |
| 5885 | "name": "radiusH" |
| 5886 | }, |
| 5887 | { |
| 5888 | "type": "float", |
| 5889 | "name": "radiusV" |
| 5890 | }, |
| 5891 | { |
| 5892 | "type": "Color", |
| 5893 | "name": "color" |
| 5894 | } |
| 5895 | ] |
| 5896 | }, |
| 5897 | { |
| 5898 | "name": "DrawEllipseLines", |
| 5899 | "description": "Draw ellipse outline", |
| 5900 | "returnType": "void", |
| 5901 | "params": [ |
| 5902 | { |
| 5903 | "type": "int", |
| 5904 | "name": "centerX" |
| 5905 | }, |
| 5906 | { |
| 5907 | "type": "int", |
| 5908 | "name": "centerY" |
| 5909 | }, |
| 5910 | { |
| 5911 | "type": "float", |
| 5912 | "name": "radiusH" |
| 5913 | }, |
| 5914 | { |
| 5915 | "type": "float", |
| 5916 | "name": "radiusV" |
| 5917 | }, |
| 5918 | { |
| 5919 | "type": "Color", |
| 5920 | "name": "color" |
| 5921 | } |
| 5922 | ] |
| 5923 | }, |
| 5924 | { |
| 5925 | "name": "DrawEllipseLinesV", |
| 5926 | "description": "Draw ellipse outline (Vector version)", |
| 5927 | "returnType": "void", |
| 5928 | "params": [ |
| 5929 | { |
| 5930 | "type": "Vector2", |
| 5931 | "name": "center" |
| 5932 | }, |
| 5933 | { |
| 5934 | "type": "float", |
| 5935 | "name": "radiusH" |
| 5936 | }, |
| 5937 | { |
| 5938 | "type": "float", |
| 5939 | "name": "radiusV" |
| 5940 | }, |
| 5941 | { |
| 5942 | "type": "Color", |
| 5943 | "name": "color" |
| 5944 | } |
| 5945 | ] |
| 5946 | }, |
| 5947 | { |
| 5948 | "name": "DrawRing", |
| 5949 | "description": "Draw ring", |
| 5950 | "returnType": "void", |
| 5951 | "params": [ |
| 5952 | { |
| 5953 | "type": "Vector2", |
| 5954 | "name": "center" |
| 5955 | }, |
| 5956 | { |
| 5957 | "type": "float", |
| 5958 | "name": "innerRadius" |
| 5959 | }, |
| 5960 | { |
| 5961 | "type": "float", |
| 5962 | "name": "outerRadius" |
| 5963 | }, |
| 5964 | { |
| 5965 | "type": "float", |
| 5966 | "name": "startAngle" |
| 5967 | }, |
| 5968 | { |
| 5969 | "type": "float", |
| 5970 | "name": "endAngle" |
| 5971 | }, |
| 5972 | { |
| 5973 | "type": "int", |
| 5974 | "name": "segments" |
| 5975 | }, |
| 5976 | { |
| 5977 | "type": "Color", |
| 5978 | "name": "color" |
| 5979 | } |
| 5980 | ] |
| 5981 | }, |
| 5982 | { |
| 5983 | "name": "DrawRingLines", |
| 5984 | "description": "Draw ring outline", |
| 5985 | "returnType": "void", |
| 5986 | "params": [ |
| 5987 | { |
| 5988 | "type": "Vector2", |
| 5989 | "name": "center" |
| 5990 | }, |
| 5991 | { |
| 5992 | "type": "float", |
| 5993 | "name": "innerRadius" |
| 5994 | }, |
| 5995 | { |
| 5996 | "type": "float", |
| 5997 | "name": "outerRadius" |
| 5998 | }, |
| 5999 | { |
| 6000 | "type": "float", |
| 6001 | "name": "startAngle" |
| 6002 | }, |
| 6003 | { |
| 6004 | "type": "float", |
| 6005 | "name": "endAngle" |
| 6006 | }, |
| 6007 | { |
| 6008 | "type": "int", |
| 6009 | "name": "segments" |
| 6010 | }, |
| 6011 | { |
| 6012 | "type": "Color", |
| 6013 | "name": "color" |
| 6014 | } |
| 6015 | ] |
| 6016 | }, |
| 6017 | { |
| 6018 | "name": "DrawRectangle", |
| 6019 | "description": "Draw a color-filled rectangle", |
| 6020 | "returnType": "void", |
| 6021 | "params": [ |
| 6022 | { |
| 6023 | "type": "int", |
| 6024 | "name": "posX" |
| 6025 | }, |
| 6026 | { |
| 6027 | "type": "int", |
| 6028 | "name": "posY" |
| 6029 | }, |
| 6030 | { |
| 6031 | "type": "int", |
| 6032 | "name": "width" |
| 6033 | }, |
| 6034 | { |
| 6035 | "type": "int", |
| 6036 | "name": "height" |
| 6037 | }, |
| 6038 | { |
| 6039 | "type": "Color", |
| 6040 | "name": "color" |
| 6041 | } |
| 6042 | ] |
| 6043 | }, |
| 6044 | { |
| 6045 | "name": "DrawRectangleV", |
| 6046 | "description": "Draw a color-filled rectangle (Vector version)", |
| 6047 | "returnType": "void", |
| 6048 | "params": [ |
| 6049 | { |
| 6050 | "type": "Vector2", |
| 6051 | "name": "position" |
| 6052 | }, |
| 6053 | { |
| 6054 | "type": "Vector2", |
| 6055 | "name": "size" |
| 6056 | }, |
| 6057 | { |
| 6058 | "type": "Color", |
| 6059 | "name": "color" |
| 6060 | } |
| 6061 | ] |
| 6062 | }, |
| 6063 | { |
| 6064 | "name": "DrawRectangleRec", |
| 6065 | "description": "Draw a color-filled rectangle", |
| 6066 | "returnType": "void", |
| 6067 | "params": [ |
| 6068 | { |
| 6069 | "type": "Rectangle", |
| 6070 | "name": "rec" |
| 6071 | }, |
| 6072 | { |
| 6073 | "type": "Color", |
| 6074 | "name": "color" |
| 6075 | } |
| 6076 | ] |
| 6077 | }, |
| 6078 | { |
| 6079 | "name": "DrawRectanglePro", |
| 6080 | "description": "Draw a color-filled rectangle with pro parameters", |
| 6081 | "returnType": "void", |
| 6082 | "params": [ |
| 6083 | { |
| 6084 | "type": "Rectangle", |
| 6085 | "name": "rec" |
| 6086 | }, |
| 6087 | { |
| 6088 | "type": "Vector2", |
| 6089 | "name": "origin" |
| 6090 | }, |
| 6091 | { |
| 6092 | "type": "float", |
| 6093 | "name": "rotation" |
| 6094 | }, |
| 6095 | { |
| 6096 | "type": "Color", |
| 6097 | "name": "color" |
| 6098 | } |
| 6099 | ] |
| 6100 | }, |
| 6101 | { |
| 6102 | "name": "DrawRectangleGradientV", |
| 6103 | "description": "Draw a vertical-gradient-filled rectangle", |
| 6104 | "returnType": "void", |
| 6105 | "params": [ |
| 6106 | { |
| 6107 | "type": "int", |
| 6108 | "name": "posX" |
| 6109 | }, |
| 6110 | { |
| 6111 | "type": "int", |
| 6112 | "name": "posY" |
| 6113 | }, |
| 6114 | { |
| 6115 | "type": "int", |
| 6116 | "name": "width" |
| 6117 | }, |
| 6118 | { |
| 6119 | "type": "int", |
| 6120 | "name": "height" |
| 6121 | }, |
| 6122 | { |
| 6123 | "type": "Color", |
| 6124 | "name": "top" |
| 6125 | }, |
| 6126 | { |
| 6127 | "type": "Color", |
| 6128 | "name": "bottom" |
| 6129 | } |
| 6130 | ] |
| 6131 | }, |
| 6132 | { |
| 6133 | "name": "DrawRectangleGradientH", |
| 6134 | "description": "Draw a horizontal-gradient-filled rectangle", |
| 6135 | "returnType": "void", |
| 6136 | "params": [ |
| 6137 | { |
| 6138 | "type": "int", |
| 6139 | "name": "posX" |
| 6140 | }, |
| 6141 | { |
| 6142 | "type": "int", |
| 6143 | "name": "posY" |
| 6144 | }, |
| 6145 | { |
| 6146 | "type": "int", |
| 6147 | "name": "width" |
| 6148 | }, |
| 6149 | { |
| 6150 | "type": "int", |
| 6151 | "name": "height" |
| 6152 | }, |
| 6153 | { |
| 6154 | "type": "Color", |
| 6155 | "name": "left" |
| 6156 | }, |
| 6157 | { |
| 6158 | "type": "Color", |
| 6159 | "name": "right" |
| 6160 | } |
| 6161 | ] |
| 6162 | }, |
| 6163 | { |
| 6164 | "name": "DrawRectangleGradientEx", |
| 6165 | "description": "Draw a gradient-filled rectangle with custom vertex colors", |
| 6166 | "returnType": "void", |
| 6167 | "params": [ |
| 6168 | { |
| 6169 | "type": "Rectangle", |
| 6170 | "name": "rec" |
| 6171 | }, |
| 6172 | { |
| 6173 | "type": "Color", |
| 6174 | "name": "topLeft" |
| 6175 | }, |
| 6176 | { |
| 6177 | "type": "Color", |
| 6178 | "name": "bottomLeft" |
| 6179 | }, |
| 6180 | { |
| 6181 | "type": "Color", |
| 6182 | "name": "bottomRight" |
| 6183 | }, |
| 6184 | { |
| 6185 | "type": "Color", |
| 6186 | "name": "topRight" |
| 6187 | } |
| 6188 | ] |
| 6189 | }, |
| 6190 | { |
| 6191 | "name": "DrawRectangleLines", |
| 6192 | "description": "Draw rectangle outline", |
| 6193 | "returnType": "void", |
| 6194 | "params": [ |
| 6195 | { |
| 6196 | "type": "int", |
| 6197 | "name": "posX" |
| 6198 | }, |
| 6199 | { |
| 6200 | "type": "int", |
| 6201 | "name": "posY" |
| 6202 | }, |
| 6203 | { |
| 6204 | "type": "int", |
| 6205 | "name": "width" |
| 6206 | }, |
| 6207 | { |
| 6208 | "type": "int", |
| 6209 | "name": "height" |
| 6210 | }, |
| 6211 | { |
| 6212 | "type": "Color", |
| 6213 | "name": "color" |
| 6214 | } |
| 6215 | ] |
| 6216 | }, |
| 6217 | { |
| 6218 | "name": "DrawRectangleLinesEx", |
| 6219 | "description": "Draw rectangle outline with extended parameters", |
| 6220 | "returnType": "void", |
| 6221 | "params": [ |
| 6222 | { |
| 6223 | "type": "Rectangle", |
| 6224 | "name": "rec" |
| 6225 | }, |
| 6226 | { |
| 6227 | "type": "float", |
| 6228 | "name": "lineThick" |
| 6229 | }, |
| 6230 | { |
| 6231 | "type": "Color", |
| 6232 | "name": "color" |
| 6233 | } |
| 6234 | ] |
| 6235 | }, |
| 6236 | { |
| 6237 | "name": "DrawRectangleRounded", |
| 6238 | "description": "Draw rectangle with rounded edges", |
| 6239 | "returnType": "void", |
| 6240 | "params": [ |
| 6241 | { |
| 6242 | "type": "Rectangle", |
| 6243 | "name": "rec" |
| 6244 | }, |
| 6245 | { |
| 6246 | "type": "float", |
| 6247 | "name": "roundness" |
| 6248 | }, |
| 6249 | { |
| 6250 | "type": "int", |
| 6251 | "name": "segments" |
| 6252 | }, |
| 6253 | { |
| 6254 | "type": "Color", |
| 6255 | "name": "color" |
| 6256 | } |
| 6257 | ] |
| 6258 | }, |
| 6259 | { |
| 6260 | "name": "DrawRectangleRoundedLines", |
| 6261 | "description": "Draw rectangle lines with rounded edges", |
| 6262 | "returnType": "void", |
| 6263 | "params": [ |
| 6264 | { |
| 6265 | "type": "Rectangle", |
| 6266 | "name": "rec" |
| 6267 | }, |
| 6268 | { |
| 6269 | "type": "float", |
| 6270 | "name": "roundness" |
| 6271 | }, |
| 6272 | { |
| 6273 | "type": "int", |
| 6274 | "name": "segments" |
| 6275 | }, |
| 6276 | { |
| 6277 | "type": "Color", |
| 6278 | "name": "color" |
| 6279 | } |
| 6280 | ] |
| 6281 | }, |
| 6282 | { |
| 6283 | "name": "DrawRectangleRoundedLinesEx", |
| 6284 | "description": "Draw rectangle with rounded edges outline", |
| 6285 | "returnType": "void", |
| 6286 | "params": [ |
| 6287 | { |
| 6288 | "type": "Rectangle", |
| 6289 | "name": "rec" |
| 6290 | }, |
| 6291 | { |
| 6292 | "type": "float", |
| 6293 | "name": "roundness" |
| 6294 | }, |
| 6295 | { |
| 6296 | "type": "int", |
| 6297 | "name": "segments" |
| 6298 | }, |
| 6299 | { |
| 6300 | "type": "float", |
| 6301 | "name": "lineThick" |
| 6302 | }, |
| 6303 | { |
| 6304 | "type": "Color", |
| 6305 | "name": "color" |
| 6306 | } |
| 6307 | ] |
| 6308 | }, |
| 6309 | { |
| 6310 | "name": "DrawTriangle", |
| 6311 | "description": "Draw a color-filled triangle (vertex in counter-clockwise order!)", |
| 6312 | "returnType": "void", |
| 6313 | "params": [ |
| 6314 | { |
| 6315 | "type": "Vector2", |
| 6316 | "name": "v1" |
| 6317 | }, |
| 6318 | { |
| 6319 | "type": "Vector2", |
| 6320 | "name": "v2" |
| 6321 | }, |
| 6322 | { |
| 6323 | "type": "Vector2", |
| 6324 | "name": "v3" |
| 6325 | }, |
| 6326 | { |
| 6327 | "type": "Color", |
| 6328 | "name": "color" |
| 6329 | } |
| 6330 | ] |
| 6331 | }, |
| 6332 | { |
| 6333 | "name": "DrawTriangleLines", |
| 6334 | "description": "Draw triangle outline (vertex in counter-clockwise order!)", |
| 6335 | "returnType": "void", |
| 6336 | "params": [ |
| 6337 | { |
| 6338 | "type": "Vector2", |
| 6339 | "name": "v1" |
| 6340 | }, |
| 6341 | { |
| 6342 | "type": "Vector2", |
| 6343 | "name": "v2" |
| 6344 | }, |
| 6345 | { |
| 6346 | "type": "Vector2", |
| 6347 | "name": "v3" |
| 6348 | }, |
| 6349 | { |
| 6350 | "type": "Color", |
| 6351 | "name": "color" |
| 6352 | } |
| 6353 | ] |
| 6354 | }, |
| 6355 | { |
| 6356 | "name": "DrawTriangleFan", |
| 6357 | "description": "Draw a triangle fan defined by points (first vertex is the center)", |
| 6358 | "returnType": "void", |
| 6359 | "params": [ |
| 6360 | { |
| 6361 | "type": "const Vector2 *", |
| 6362 | "name": "points" |
| 6363 | }, |
| 6364 | { |
| 6365 | "type": "int", |
| 6366 | "name": "pointCount" |
| 6367 | }, |
| 6368 | { |
| 6369 | "type": "Color", |
| 6370 | "name": "color" |
| 6371 | } |
| 6372 | ] |
| 6373 | }, |
| 6374 | { |
| 6375 | "name": "DrawTriangleStrip", |
| 6376 | "description": "Draw a triangle strip defined by points", |
| 6377 | "returnType": "void", |
| 6378 | "params": [ |
| 6379 | { |
| 6380 | "type": "const Vector2 *", |
| 6381 | "name": "points" |
| 6382 | }, |
| 6383 | { |
| 6384 | "type": "int", |
| 6385 | "name": "pointCount" |
| 6386 | }, |
| 6387 | { |
| 6388 | "type": "Color", |
| 6389 | "name": "color" |
| 6390 | } |
| 6391 | ] |
| 6392 | }, |
| 6393 | { |
| 6394 | "name": "DrawPoly", |
| 6395 | "description": "Draw a regular polygon (Vector version)", |
| 6396 | "returnType": "void", |
| 6397 | "params": [ |
| 6398 | { |
| 6399 | "type": "Vector2", |
| 6400 | "name": "center" |
| 6401 | }, |
| 6402 | { |
| 6403 | "type": "int", |
| 6404 | "name": "sides" |
| 6405 | }, |
| 6406 | { |
| 6407 | "type": "float", |
| 6408 | "name": "radius" |
| 6409 | }, |
| 6410 | { |
| 6411 | "type": "float", |
| 6412 | "name": "rotation" |
| 6413 | }, |
| 6414 | { |
| 6415 | "type": "Color", |
| 6416 | "name": "color" |
| 6417 | } |
| 6418 | ] |
| 6419 | }, |
| 6420 | { |
| 6421 | "name": "DrawPolyLines", |
| 6422 | "description": "Draw a polygon outline of n sides", |
| 6423 | "returnType": "void", |
| 6424 | "params": [ |
| 6425 | { |
| 6426 | "type": "Vector2", |
| 6427 | "name": "center" |
| 6428 | }, |
| 6429 | { |
| 6430 | "type": "int", |
| 6431 | "name": "sides" |
| 6432 | }, |
| 6433 | { |
| 6434 | "type": "float", |
| 6435 | "name": "radius" |
| 6436 | }, |
| 6437 | { |
| 6438 | "type": "float", |
| 6439 | "name": "rotation" |
| 6440 | }, |
| 6441 | { |
| 6442 | "type": "Color", |
| 6443 | "name": "color" |
| 6444 | } |
| 6445 | ] |
| 6446 | }, |
| 6447 | { |
| 6448 | "name": "DrawPolyLinesEx", |
| 6449 | "description": "Draw a polygon outline of n sides with extended parameters", |
| 6450 | "returnType": "void", |
| 6451 | "params": [ |
| 6452 | { |
| 6453 | "type": "Vector2", |
| 6454 | "name": "center" |
| 6455 | }, |
| 6456 | { |
| 6457 | "type": "int", |
| 6458 | "name": "sides" |
| 6459 | }, |
| 6460 | { |
| 6461 | "type": "float", |
| 6462 | "name": "radius" |
| 6463 | }, |
| 6464 | { |
| 6465 | "type": "float", |
| 6466 | "name": "rotation" |
| 6467 | }, |
| 6468 | { |
| 6469 | "type": "float", |
| 6470 | "name": "lineThick" |
| 6471 | }, |
| 6472 | { |
| 6473 | "type": "Color", |
| 6474 | "name": "color" |
| 6475 | } |
| 6476 | ] |
| 6477 | }, |
| 6478 | { |
| 6479 | "name": "DrawSplineLinear", |
| 6480 | "description": "Draw spline: Linear, minimum 2 points", |
| 6481 | "returnType": "void", |
| 6482 | "params": [ |
| 6483 | { |
| 6484 | "type": "const Vector2 *", |
| 6485 | "name": "points" |
| 6486 | }, |
| 6487 | { |
| 6488 | "type": "int", |
| 6489 | "name": "pointCount" |
| 6490 | }, |
| 6491 | { |
| 6492 | "type": "float", |
| 6493 | "name": "thick" |
| 6494 | }, |
| 6495 | { |
| 6496 | "type": "Color", |
| 6497 | "name": "color" |
| 6498 | } |
| 6499 | ] |
| 6500 | }, |
| 6501 | { |
| 6502 | "name": "DrawSplineBasis", |
| 6503 | "description": "Draw spline: B-Spline, minimum 4 points", |
| 6504 | "returnType": "void", |
| 6505 | "params": [ |
| 6506 | { |
| 6507 | "type": "const Vector2 *", |
| 6508 | "name": "points" |
| 6509 | }, |
| 6510 | { |
| 6511 | "type": "int", |
| 6512 | "name": "pointCount" |
| 6513 | }, |
| 6514 | { |
| 6515 | "type": "float", |
| 6516 | "name": "thick" |
| 6517 | }, |
| 6518 | { |
| 6519 | "type": "Color", |
| 6520 | "name": "color" |
| 6521 | } |
| 6522 | ] |
| 6523 | }, |
| 6524 | { |
| 6525 | "name": "DrawSplineCatmullRom", |
| 6526 | "description": "Draw spline: Catmull-Rom, minimum 4 points", |
| 6527 | "returnType": "void", |
| 6528 | "params": [ |
| 6529 | { |
| 6530 | "type": "const Vector2 *", |
| 6531 | "name": "points" |
| 6532 | }, |
| 6533 | { |
| 6534 | "type": "int", |
| 6535 | "name": "pointCount" |
| 6536 | }, |
| 6537 | { |
| 6538 | "type": "float", |
| 6539 | "name": "thick" |
| 6540 | }, |
| 6541 | { |
| 6542 | "type": "Color", |
| 6543 | "name": "color" |
| 6544 | } |
| 6545 | ] |
| 6546 | }, |
| 6547 | { |
| 6548 | "name": "DrawSplineBezierQuadratic", |
| 6549 | "description": "Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]", |
| 6550 | "returnType": "void", |
| 6551 | "params": [ |
| 6552 | { |
| 6553 | "type": "const Vector2 *", |
| 6554 | "name": "points" |
| 6555 | }, |
| 6556 | { |
| 6557 | "type": "int", |
| 6558 | "name": "pointCount" |
| 6559 | }, |
| 6560 | { |
| 6561 | "type": "float", |
| 6562 | "name": "thick" |
| 6563 | }, |
| 6564 | { |
| 6565 | "type": "Color", |
| 6566 | "name": "color" |
| 6567 | } |
| 6568 | ] |
| 6569 | }, |
| 6570 | { |
| 6571 | "name": "DrawSplineBezierCubic", |
| 6572 | "description": "Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]", |
| 6573 | "returnType": "void", |
| 6574 | "params": [ |
| 6575 | { |
| 6576 | "type": "const Vector2 *", |
| 6577 | "name": "points" |
| 6578 | }, |
| 6579 | { |
| 6580 | "type": "int", |
| 6581 | "name": "pointCount" |
| 6582 | }, |
| 6583 | { |
| 6584 | "type": "float", |
| 6585 | "name": "thick" |
| 6586 | }, |
| 6587 | { |
| 6588 | "type": "Color", |
| 6589 | "name": "color" |
| 6590 | } |
| 6591 | ] |
| 6592 | }, |
| 6593 | { |
| 6594 | "name": "DrawSplineSegmentLinear", |
| 6595 | "description": "Draw spline segment: Linear, 2 points", |
| 6596 | "returnType": "void", |
| 6597 | "params": [ |
| 6598 | { |
| 6599 | "type": "Vector2", |
| 6600 | "name": "p1" |
| 6601 | }, |
| 6602 | { |
| 6603 | "type": "Vector2", |
| 6604 | "name": "p2" |
| 6605 | }, |
| 6606 | { |
| 6607 | "type": "float", |
| 6608 | "name": "thick" |
| 6609 | }, |
| 6610 | { |
| 6611 | "type": "Color", |
| 6612 | "name": "color" |
| 6613 | } |
| 6614 | ] |
| 6615 | }, |
| 6616 | { |
| 6617 | "name": "DrawSplineSegmentBasis", |
| 6618 | "description": "Draw spline segment: B-Spline, 4 points", |
| 6619 | "returnType": "void", |
| 6620 | "params": [ |
| 6621 | { |
| 6622 | "type": "Vector2", |
| 6623 | "name": "p1" |
| 6624 | }, |
| 6625 | { |
| 6626 | "type": "Vector2", |
| 6627 | "name": "p2" |
| 6628 | }, |
| 6629 | { |
| 6630 | "type": "Vector2", |
| 6631 | "name": "p3" |
| 6632 | }, |
| 6633 | { |
| 6634 | "type": "Vector2", |
| 6635 | "name": "p4" |
| 6636 | }, |
| 6637 | { |
| 6638 | "type": "float", |
| 6639 | "name": "thick" |
| 6640 | }, |
| 6641 | { |
| 6642 | "type": "Color", |
| 6643 | "name": "color" |
| 6644 | } |
| 6645 | ] |
| 6646 | }, |
| 6647 | { |
| 6648 | "name": "DrawSplineSegmentCatmullRom", |
| 6649 | "description": "Draw spline segment: Catmull-Rom, 4 points", |
| 6650 | "returnType": "void", |
| 6651 | "params": [ |
| 6652 | { |
| 6653 | "type": "Vector2", |
| 6654 | "name": "p1" |
| 6655 | }, |
| 6656 | { |
| 6657 | "type": "Vector2", |
| 6658 | "name": "p2" |
| 6659 | }, |
| 6660 | { |
| 6661 | "type": "Vector2", |
| 6662 | "name": "p3" |
| 6663 | }, |
| 6664 | { |
| 6665 | "type": "Vector2", |
| 6666 | "name": "p4" |
| 6667 | }, |
| 6668 | { |
| 6669 | "type": "float", |
| 6670 | "name": "thick" |
| 6671 | }, |
| 6672 | { |
| 6673 | "type": "Color", |
| 6674 | "name": "color" |
| 6675 | } |
| 6676 | ] |
| 6677 | }, |
| 6678 | { |
| 6679 | "name": "DrawSplineSegmentBezierQuadratic", |
| 6680 | "description": "Draw spline segment: Quadratic Bezier, 2 points, 1 control point", |
| 6681 | "returnType": "void", |
| 6682 | "params": [ |
| 6683 | { |
| 6684 | "type": "Vector2", |
| 6685 | "name": "p1" |
| 6686 | }, |
| 6687 | { |
| 6688 | "type": "Vector2", |
| 6689 | "name": "c2" |
| 6690 | }, |
| 6691 | { |
| 6692 | "type": "Vector2", |
| 6693 | "name": "p3" |
| 6694 | }, |
| 6695 | { |
| 6696 | "type": "float", |
| 6697 | "name": "thick" |
| 6698 | }, |
| 6699 | { |
| 6700 | "type": "Color", |
| 6701 | "name": "color" |
| 6702 | } |
| 6703 | ] |
| 6704 | }, |
| 6705 | { |
| 6706 | "name": "DrawSplineSegmentBezierCubic", |
| 6707 | "description": "Draw spline segment: Cubic Bezier, 2 points, 2 control points", |
| 6708 | "returnType": "void", |
| 6709 | "params": [ |
| 6710 | { |
| 6711 | "type": "Vector2", |
| 6712 | "name": "p1" |
| 6713 | }, |
| 6714 | { |
| 6715 | "type": "Vector2", |
| 6716 | "name": "c2" |
| 6717 | }, |
| 6718 | { |
| 6719 | "type": "Vector2", |
| 6720 | "name": "c3" |
| 6721 | }, |
| 6722 | { |
| 6723 | "type": "Vector2", |
| 6724 | "name": "p4" |
| 6725 | }, |
| 6726 | { |
| 6727 | "type": "float", |
| 6728 | "name": "thick" |
| 6729 | }, |
| 6730 | { |
| 6731 | "type": "Color", |
| 6732 | "name": "color" |
| 6733 | } |
| 6734 | ] |
| 6735 | }, |
| 6736 | { |
| 6737 | "name": "GetSplinePointLinear", |
| 6738 | "description": "Get (evaluate) spline point: Linear", |
| 6739 | "returnType": "Vector2", |
| 6740 | "params": [ |
| 6741 | { |
| 6742 | "type": "Vector2", |
| 6743 | "name": "startPos" |
| 6744 | }, |
| 6745 | { |
| 6746 | "type": "Vector2", |
| 6747 | "name": "endPos" |
| 6748 | }, |
| 6749 | { |
| 6750 | "type": "float", |
| 6751 | "name": "t" |
| 6752 | } |
| 6753 | ] |
| 6754 | }, |
| 6755 | { |
| 6756 | "name": "GetSplinePointBasis", |
| 6757 | "description": "Get (evaluate) spline point: B-Spline", |
| 6758 | "returnType": "Vector2", |
| 6759 | "params": [ |
| 6760 | { |
| 6761 | "type": "Vector2", |
| 6762 | "name": "p1" |
| 6763 | }, |
| 6764 | { |
| 6765 | "type": "Vector2", |
| 6766 | "name": "p2" |
| 6767 | }, |
| 6768 | { |
| 6769 | "type": "Vector2", |
| 6770 | "name": "p3" |
| 6771 | }, |
| 6772 | { |
| 6773 | "type": "Vector2", |
| 6774 | "name": "p4" |
| 6775 | }, |
| 6776 | { |
| 6777 | "type": "float", |
| 6778 | "name": "t" |
| 6779 | } |
| 6780 | ] |
| 6781 | }, |
| 6782 | { |
| 6783 | "name": "GetSplinePointCatmullRom", |
| 6784 | "description": "Get (evaluate) spline point: Catmull-Rom", |
| 6785 | "returnType": "Vector2", |
| 6786 | "params": [ |
| 6787 | { |
| 6788 | "type": "Vector2", |
| 6789 | "name": "p1" |
| 6790 | }, |
| 6791 | { |
| 6792 | "type": "Vector2", |
| 6793 | "name": "p2" |
| 6794 | }, |
| 6795 | { |
| 6796 | "type": "Vector2", |
| 6797 | "name": "p3" |
| 6798 | }, |
| 6799 | { |
| 6800 | "type": "Vector2", |
| 6801 | "name": "p4" |
| 6802 | }, |
| 6803 | { |
| 6804 | "type": "float", |
| 6805 | "name": "t" |
| 6806 | } |
| 6807 | ] |
| 6808 | }, |
| 6809 | { |
| 6810 | "name": "GetSplinePointBezierQuad", |
| 6811 | "description": "Get (evaluate) spline point: Quadratic Bezier", |
| 6812 | "returnType": "Vector2", |
| 6813 | "params": [ |
| 6814 | { |
| 6815 | "type": "Vector2", |
| 6816 | "name": "p1" |
| 6817 | }, |
| 6818 | { |
| 6819 | "type": "Vector2", |
| 6820 | "name": "c2" |
| 6821 | }, |
| 6822 | { |
| 6823 | "type": "Vector2", |
| 6824 | "name": "p3" |
| 6825 | }, |
| 6826 | { |
| 6827 | "type": "float", |
| 6828 | "name": "t" |
| 6829 | } |
| 6830 | ] |
| 6831 | }, |
| 6832 | { |
| 6833 | "name": "GetSplinePointBezierCubic", |
| 6834 | "description": "Get (evaluate) spline point: Cubic Bezier", |
| 6835 | "returnType": "Vector2", |
| 6836 | "params": [ |
| 6837 | { |
| 6838 | "type": "Vector2", |
| 6839 | "name": "p1" |
| 6840 | }, |
| 6841 | { |
| 6842 | "type": "Vector2", |
| 6843 | "name": "c2" |
| 6844 | }, |
| 6845 | { |
| 6846 | "type": "Vector2", |
| 6847 | "name": "c3" |
| 6848 | }, |
| 6849 | { |
| 6850 | "type": "Vector2", |
| 6851 | "name": "p4" |
| 6852 | }, |
| 6853 | { |
| 6854 | "type": "float", |
| 6855 | "name": "t" |
| 6856 | } |
| 6857 | ] |
| 6858 | }, |
| 6859 | { |
| 6860 | "name": "CheckCollisionRecs", |
| 6861 | "description": "Check collision between two rectangles", |
| 6862 | "returnType": "bool", |
| 6863 | "params": [ |
| 6864 | { |
| 6865 | "type": "Rectangle", |
| 6866 | "name": "rec1" |
| 6867 | }, |
| 6868 | { |
| 6869 | "type": "Rectangle", |
| 6870 | "name": "rec2" |
| 6871 | } |
| 6872 | ] |
| 6873 | }, |
| 6874 | { |
| 6875 | "name": "CheckCollisionCircles", |
| 6876 | "description": "Check collision between two circles", |
| 6877 | "returnType": "bool", |
| 6878 | "params": [ |
| 6879 | { |
| 6880 | "type": "Vector2", |
| 6881 | "name": "center1" |
| 6882 | }, |
| 6883 | { |
| 6884 | "type": "float", |
| 6885 | "name": "radius1" |
| 6886 | }, |
| 6887 | { |
| 6888 | "type": "Vector2", |
| 6889 | "name": "center2" |
| 6890 | }, |
| 6891 | { |
| 6892 | "type": "float", |
| 6893 | "name": "radius2" |
| 6894 | } |
| 6895 | ] |
| 6896 | }, |
| 6897 | { |
| 6898 | "name": "CheckCollisionCircleRec", |
| 6899 | "description": "Check collision between circle and rectangle", |
| 6900 | "returnType": "bool", |
| 6901 | "params": [ |
| 6902 | { |
| 6903 | "type": "Vector2", |
| 6904 | "name": "center" |
| 6905 | }, |
| 6906 | { |
| 6907 | "type": "float", |
| 6908 | "name": "radius" |
| 6909 | }, |
| 6910 | { |
| 6911 | "type": "Rectangle", |
| 6912 | "name": "rec" |
| 6913 | } |
| 6914 | ] |
| 6915 | }, |
| 6916 | { |
| 6917 | "name": "CheckCollisionCircleLine", |
| 6918 | "description": "Check if circle collides with a line created betweeen two points [p1] and [p2]", |
| 6919 | "returnType": "bool", |
| 6920 | "params": [ |
| 6921 | { |
| 6922 | "type": "Vector2", |
| 6923 | "name": "center" |
| 6924 | }, |
| 6925 | { |
| 6926 | "type": "float", |
| 6927 | "name": "radius" |
| 6928 | }, |
| 6929 | { |
| 6930 | "type": "Vector2", |
| 6931 | "name": "p1" |
| 6932 | }, |
| 6933 | { |
| 6934 | "type": "Vector2", |
| 6935 | "name": "p2" |
| 6936 | } |
| 6937 | ] |
| 6938 | }, |
| 6939 | { |
| 6940 | "name": "CheckCollisionPointRec", |
| 6941 | "description": "Check if point is inside rectangle", |
| 6942 | "returnType": "bool", |
| 6943 | "params": [ |
| 6944 | { |
| 6945 | "type": "Vector2", |
| 6946 | "name": "point" |
| 6947 | }, |
| 6948 | { |
| 6949 | "type": "Rectangle", |
| 6950 | "name": "rec" |
| 6951 | } |
| 6952 | ] |
| 6953 | }, |
| 6954 | { |
| 6955 | "name": "CheckCollisionPointCircle", |
| 6956 | "description": "Check if point is inside circle", |
| 6957 | "returnType": "bool", |
| 6958 | "params": [ |
| 6959 | { |
| 6960 | "type": "Vector2", |
| 6961 | "name": "point" |
| 6962 | }, |
| 6963 | { |
| 6964 | "type": "Vector2", |
| 6965 | "name": "center" |
| 6966 | }, |
| 6967 | { |
| 6968 | "type": "float", |
| 6969 | "name": "radius" |
| 6970 | } |
| 6971 | ] |
| 6972 | }, |
| 6973 | { |
| 6974 | "name": "CheckCollisionPointTriangle", |
| 6975 | "description": "Check if point is inside a triangle", |
| 6976 | "returnType": "bool", |
| 6977 | "params": [ |
| 6978 | { |
| 6979 | "type": "Vector2", |
| 6980 | "name": "point" |
| 6981 | }, |
| 6982 | { |
| 6983 | "type": "Vector2", |
| 6984 | "name": "p1" |
| 6985 | }, |
| 6986 | { |
| 6987 | "type": "Vector2", |
| 6988 | "name": "p2" |
| 6989 | }, |
| 6990 | { |
| 6991 | "type": "Vector2", |
| 6992 | "name": "p3" |
| 6993 | } |
| 6994 | ] |
| 6995 | }, |
| 6996 | { |
| 6997 | "name": "CheckCollisionPointLine", |
| 6998 | "description": "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]", |
| 6999 | "returnType": "bool", |
| 7000 | "params": [ |
| 7001 | { |
| 7002 | "type": "Vector2", |
| 7003 | "name": "point" |
| 7004 | }, |
| 7005 | { |
| 7006 | "type": "Vector2", |
| 7007 | "name": "p1" |
| 7008 | }, |
| 7009 | { |
| 7010 | "type": "Vector2", |
| 7011 | "name": "p2" |
| 7012 | }, |
| 7013 | { |
| 7014 | "type": "int", |
| 7015 | "name": "threshold" |
| 7016 | } |
| 7017 | ] |
| 7018 | }, |
| 7019 | { |
| 7020 | "name": "CheckCollisionPointPoly", |
| 7021 | "description": "Check if point is within a polygon described by array of vertices", |
| 7022 | "returnType": "bool", |
| 7023 | "params": [ |
| 7024 | { |
| 7025 | "type": "Vector2", |
| 7026 | "name": "point" |
| 7027 | }, |
| 7028 | { |
| 7029 | "type": "const Vector2 *", |
| 7030 | "name": "points" |
| 7031 | }, |
| 7032 | { |
| 7033 | "type": "int", |
| 7034 | "name": "pointCount" |
| 7035 | } |
| 7036 | ] |
| 7037 | }, |
| 7038 | { |
| 7039 | "name": "CheckCollisionLines", |
| 7040 | "description": "Check the collision between two lines defined by two points each, returns collision point by reference", |
| 7041 | "returnType": "bool", |
| 7042 | "params": [ |
| 7043 | { |
| 7044 | "type": "Vector2", |
| 7045 | "name": "startPos1" |
| 7046 | }, |
| 7047 | { |
| 7048 | "type": "Vector2", |
| 7049 | "name": "endPos1" |
| 7050 | }, |
| 7051 | { |
| 7052 | "type": "Vector2", |
| 7053 | "name": "startPos2" |
| 7054 | }, |
| 7055 | { |
| 7056 | "type": "Vector2", |
| 7057 | "name": "endPos2" |
| 7058 | }, |
| 7059 | { |
| 7060 | "type": "Vector2 *", |
| 7061 | "name": "collisionPoint" |
| 7062 | } |
| 7063 | ] |
| 7064 | }, |
| 7065 | { |
| 7066 | "name": "GetCollisionRec", |
| 7067 | "description": "Get collision rectangle for two rectangles collision", |
| 7068 | "returnType": "Rectangle", |
| 7069 | "params": [ |
| 7070 | { |
| 7071 | "type": "Rectangle", |
| 7072 | "name": "rec1" |
| 7073 | }, |
| 7074 | { |
| 7075 | "type": "Rectangle", |
| 7076 | "name": "rec2" |
| 7077 | } |
| 7078 | ] |
| 7079 | }, |
| 7080 | { |
| 7081 | "name": "LoadImage", |
| 7082 | "description": "Load image from file into CPU memory (RAM)", |
| 7083 | "returnType": "Image", |
| 7084 | "params": [ |
| 7085 | { |
| 7086 | "type": "const char *", |
| 7087 | "name": "fileName" |
| 7088 | } |
| 7089 | ] |
| 7090 | }, |
| 7091 | { |
| 7092 | "name": "LoadImageRaw", |
| 7093 | "description": "Load image from RAW file data", |
| 7094 | "returnType": "Image", |
| 7095 | "params": [ |
| 7096 | { |
| 7097 | "type": "const char *", |
| 7098 | "name": "fileName" |
| 7099 | }, |
| 7100 | { |
| 7101 | "type": "int", |
| 7102 | "name": "width" |
| 7103 | }, |
| 7104 | { |
| 7105 | "type": "int", |
| 7106 | "name": "height" |
| 7107 | }, |
| 7108 | { |
| 7109 | "type": "int", |
| 7110 | "name": "format" |
| 7111 | }, |
| 7112 | { |
| 7113 | "type": "int", |
| 7114 | "name": "headerSize" |
| 7115 | } |
| 7116 | ] |
| 7117 | }, |
| 7118 | { |
| 7119 | "name": "LoadImageAnim", |
| 7120 | "description": "Load image sequence from file (frames appended to image.data)", |
| 7121 | "returnType": "Image", |
| 7122 | "params": [ |
| 7123 | { |
| 7124 | "type": "const char *", |
| 7125 | "name": "fileName" |
| 7126 | }, |
| 7127 | { |
| 7128 | "type": "int *", |
| 7129 | "name": "frames" |
| 7130 | } |
| 7131 | ] |
| 7132 | }, |
| 7133 | { |
| 7134 | "name": "LoadImageAnimFromMemory", |
| 7135 | "description": "Load image sequence from memory buffer", |
| 7136 | "returnType": "Image", |
| 7137 | "params": [ |
| 7138 | { |
| 7139 | "type": "const char *", |
| 7140 | "name": "fileType" |
| 7141 | }, |
| 7142 | { |
| 7143 | "type": "const unsigned char *", |
| 7144 | "name": "fileData" |
| 7145 | }, |
| 7146 | { |
| 7147 | "type": "int", |
| 7148 | "name": "dataSize" |
| 7149 | }, |
| 7150 | { |
| 7151 | "type": "int *", |
| 7152 | "name": "frames" |
| 7153 | } |
| 7154 | ] |
| 7155 | }, |
| 7156 | { |
| 7157 | "name": "LoadImageFromMemory", |
| 7158 | "description": "Load image from memory buffer, fileType refers to extension: i.e. '.png'", |
| 7159 | "returnType": "Image", |
| 7160 | "params": [ |
| 7161 | { |
| 7162 | "type": "const char *", |
| 7163 | "name": "fileType" |
| 7164 | }, |
| 7165 | { |
| 7166 | "type": "const unsigned char *", |
| 7167 | "name": "fileData" |
| 7168 | }, |
| 7169 | { |
| 7170 | "type": "int", |
| 7171 | "name": "dataSize" |
| 7172 | } |
| 7173 | ] |
| 7174 | }, |
| 7175 | { |
| 7176 | "name": "LoadImageFromTexture", |
| 7177 | "description": "Load image from GPU texture data", |
| 7178 | "returnType": "Image", |
| 7179 | "params": [ |
| 7180 | { |
| 7181 | "type": "Texture2D", |
| 7182 | "name": "texture" |
| 7183 | } |
| 7184 | ] |
| 7185 | }, |
| 7186 | { |
| 7187 | "name": "LoadImageFromScreen", |
| 7188 | "description": "Load image from screen buffer and (screenshot)", |
| 7189 | "returnType": "Image" |
| 7190 | }, |
| 7191 | { |
| 7192 | "name": "IsImageValid", |
| 7193 | "description": "Check if an image is valid (data and parameters)", |
| 7194 | "returnType": "bool", |
| 7195 | "params": [ |
| 7196 | { |
| 7197 | "type": "Image", |
| 7198 | "name": "image" |
| 7199 | } |
| 7200 | ] |
| 7201 | }, |
| 7202 | { |
| 7203 | "name": "UnloadImage", |
| 7204 | "description": "Unload image from CPU memory (RAM)", |
| 7205 | "returnType": "void", |
| 7206 | "params": [ |
| 7207 | { |
| 7208 | "type": "Image", |
| 7209 | "name": "image" |
| 7210 | } |
| 7211 | ] |
| 7212 | }, |
| 7213 | { |
| 7214 | "name": "ExportImage", |
| 7215 | "description": "Export image data to file, returns true on success", |
| 7216 | "returnType": "bool", |
| 7217 | "params": [ |
| 7218 | { |
| 7219 | "type": "Image", |
| 7220 | "name": "image" |
| 7221 | }, |
| 7222 | { |
| 7223 | "type": "const char *", |
| 7224 | "name": "fileName" |
| 7225 | } |
| 7226 | ] |
| 7227 | }, |
| 7228 | { |
| 7229 | "name": "ExportImageToMemory", |
| 7230 | "description": "Export image to memory buffer, memory must be MemFree()", |
| 7231 | "returnType": "unsigned char *", |
| 7232 | "params": [ |
| 7233 | { |
| 7234 | "type": "Image", |
| 7235 | "name": "image" |
| 7236 | }, |
| 7237 | { |
| 7238 | "type": "const char *", |
| 7239 | "name": "fileType" |
| 7240 | }, |
| 7241 | { |
| 7242 | "type": "int *", |
| 7243 | "name": "fileSize" |
| 7244 | } |
| 7245 | ] |
| 7246 | }, |
| 7247 | { |
| 7248 | "name": "ExportImageAsCode", |
| 7249 | "description": "Export image as code file defining an array of bytes, returns true on success", |
| 7250 | "returnType": "bool", |
| 7251 | "params": [ |
| 7252 | { |
| 7253 | "type": "Image", |
| 7254 | "name": "image" |
| 7255 | }, |
| 7256 | { |
| 7257 | "type": "const char *", |
| 7258 | "name": "fileName" |
| 7259 | } |
| 7260 | ] |
| 7261 | }, |
| 7262 | { |
| 7263 | "name": "GenImageColor", |
| 7264 | "description": "Generate image: plain color", |
| 7265 | "returnType": "Image", |
| 7266 | "params": [ |
| 7267 | { |
| 7268 | "type": "int", |
| 7269 | "name": "width" |
| 7270 | }, |
| 7271 | { |
| 7272 | "type": "int", |
| 7273 | "name": "height" |
| 7274 | }, |
| 7275 | { |
| 7276 | "type": "Color", |
| 7277 | "name": "color" |
| 7278 | } |
| 7279 | ] |
| 7280 | }, |
| 7281 | { |
| 7282 | "name": "GenImageGradientLinear", |
| 7283 | "description": "Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient", |
| 7284 | "returnType": "Image", |
| 7285 | "params": [ |
| 7286 | { |
| 7287 | "type": "int", |
| 7288 | "name": "width" |
| 7289 | }, |
| 7290 | { |
| 7291 | "type": "int", |
| 7292 | "name": "height" |
| 7293 | }, |
| 7294 | { |
| 7295 | "type": "int", |
| 7296 | "name": "direction" |
| 7297 | }, |
| 7298 | { |
| 7299 | "type": "Color", |
| 7300 | "name": "start" |
| 7301 | }, |
| 7302 | { |
| 7303 | "type": "Color", |
| 7304 | "name": "end" |
| 7305 | } |
| 7306 | ] |
| 7307 | }, |
| 7308 | { |
| 7309 | "name": "GenImageGradientRadial", |
| 7310 | "description": "Generate image: radial gradient", |
| 7311 | "returnType": "Image", |
| 7312 | "params": [ |
| 7313 | { |
| 7314 | "type": "int", |
| 7315 | "name": "width" |
| 7316 | }, |
| 7317 | { |
| 7318 | "type": "int", |
| 7319 | "name": "height" |
| 7320 | }, |
| 7321 | { |
| 7322 | "type": "float", |
| 7323 | "name": "density" |
| 7324 | }, |
| 7325 | { |
| 7326 | "type": "Color", |
| 7327 | "name": "inner" |
| 7328 | }, |
| 7329 | { |
| 7330 | "type": "Color", |
| 7331 | "name": "outer" |
| 7332 | } |
| 7333 | ] |
| 7334 | }, |
| 7335 | { |
| 7336 | "name": "GenImageGradientSquare", |
| 7337 | "description": "Generate image: square gradient", |
| 7338 | "returnType": "Image", |
| 7339 | "params": [ |
| 7340 | { |
| 7341 | "type": "int", |
| 7342 | "name": "width" |
| 7343 | }, |
| 7344 | { |
| 7345 | "type": "int", |
| 7346 | "name": "height" |
| 7347 | }, |
| 7348 | { |
| 7349 | "type": "float", |
| 7350 | "name": "density" |
| 7351 | }, |
| 7352 | { |
| 7353 | "type": "Color", |
| 7354 | "name": "inner" |
| 7355 | }, |
| 7356 | { |
| 7357 | "type": "Color", |
| 7358 | "name": "outer" |
| 7359 | } |
| 7360 | ] |
| 7361 | }, |
| 7362 | { |
| 7363 | "name": "GenImageChecked", |
| 7364 | "description": "Generate image: checked", |
| 7365 | "returnType": "Image", |
| 7366 | "params": [ |
| 7367 | { |
| 7368 | "type": "int", |
| 7369 | "name": "width" |
| 7370 | }, |
| 7371 | { |
| 7372 | "type": "int", |
| 7373 | "name": "height" |
| 7374 | }, |
| 7375 | { |
| 7376 | "type": "int", |
| 7377 | "name": "checksX" |
| 7378 | }, |
| 7379 | { |
| 7380 | "type": "int", |
| 7381 | "name": "checksY" |
| 7382 | }, |
| 7383 | { |
| 7384 | "type": "Color", |
| 7385 | "name": "col1" |
| 7386 | }, |
| 7387 | { |
| 7388 | "type": "Color", |
| 7389 | "name": "col2" |
| 7390 | } |
| 7391 | ] |
| 7392 | }, |
| 7393 | { |
| 7394 | "name": "GenImageWhiteNoise", |
| 7395 | "description": "Generate image: white noise", |
| 7396 | "returnType": "Image", |
| 7397 | "params": [ |
| 7398 | { |
| 7399 | "type": "int", |
| 7400 | "name": "width" |
| 7401 | }, |
| 7402 | { |
| 7403 | "type": "int", |
| 7404 | "name": "height" |
| 7405 | }, |
| 7406 | { |
| 7407 | "type": "float", |
| 7408 | "name": "factor" |
| 7409 | } |
| 7410 | ] |
| 7411 | }, |
| 7412 | { |
| 7413 | "name": "GenImagePerlinNoise", |
| 7414 | "description": "Generate image: perlin noise", |
| 7415 | "returnType": "Image", |
| 7416 | "params": [ |
| 7417 | { |
| 7418 | "type": "int", |
| 7419 | "name": "width" |
| 7420 | }, |
| 7421 | { |
| 7422 | "type": "int", |
| 7423 | "name": "height" |
| 7424 | }, |
| 7425 | { |
| 7426 | "type": "int", |
| 7427 | "name": "offsetX" |
| 7428 | }, |
| 7429 | { |
| 7430 | "type": "int", |
| 7431 | "name": "offsetY" |
| 7432 | }, |
| 7433 | { |
| 7434 | "type": "float", |
| 7435 | "name": "scale" |
| 7436 | } |
| 7437 | ] |
| 7438 | }, |
| 7439 | { |
| 7440 | "name": "GenImageCellular", |
| 7441 | "description": "Generate image: cellular algorithm, bigger tileSize means bigger cells", |
| 7442 | "returnType": "Image", |
| 7443 | "params": [ |
| 7444 | { |
| 7445 | "type": "int", |
| 7446 | "name": "width" |
| 7447 | }, |
| 7448 | { |
| 7449 | "type": "int", |
| 7450 | "name": "height" |
| 7451 | }, |
| 7452 | { |
| 7453 | "type": "int", |
| 7454 | "name": "tileSize" |
| 7455 | } |
| 7456 | ] |
| 7457 | }, |
| 7458 | { |
| 7459 | "name": "GenImageText", |
| 7460 | "description": "Generate image: grayscale image from text data", |
| 7461 | "returnType": "Image", |
| 7462 | "params": [ |
| 7463 | { |
| 7464 | "type": "int", |
| 7465 | "name": "width" |
| 7466 | }, |
| 7467 | { |
| 7468 | "type": "int", |
| 7469 | "name": "height" |
| 7470 | }, |
| 7471 | { |
| 7472 | "type": "const char *", |
| 7473 | "name": "text" |
| 7474 | } |
| 7475 | ] |
| 7476 | }, |
| 7477 | { |
| 7478 | "name": "ImageCopy", |
| 7479 | "description": "Create an image duplicate (useful for transformations)", |
| 7480 | "returnType": "Image", |
| 7481 | "params": [ |
| 7482 | { |
| 7483 | "type": "Image", |
| 7484 | "name": "image" |
| 7485 | } |
| 7486 | ] |
| 7487 | }, |
| 7488 | { |
| 7489 | "name": "ImageFromImage", |
| 7490 | "description": "Create an image from another image piece", |
| 7491 | "returnType": "Image", |
| 7492 | "params": [ |
| 7493 | { |
| 7494 | "type": "Image", |
| 7495 | "name": "image" |
| 7496 | }, |
| 7497 | { |
| 7498 | "type": "Rectangle", |
| 7499 | "name": "rec" |
| 7500 | } |
| 7501 | ] |
| 7502 | }, |
| 7503 | { |
| 7504 | "name": "ImageFromChannel", |
| 7505 | "description": "Create an image from a selected channel of another image (GRAYSCALE)", |
| 7506 | "returnType": "Image", |
| 7507 | "params": [ |
| 7508 | { |
| 7509 | "type": "Image", |
| 7510 | "name": "image" |
| 7511 | }, |
| 7512 | { |
| 7513 | "type": "int", |
| 7514 | "name": "selectedChannel" |
| 7515 | } |
| 7516 | ] |
| 7517 | }, |
| 7518 | { |
| 7519 | "name": "ImageText", |
| 7520 | "description": "Create an image from text (default font)", |
| 7521 | "returnType": "Image", |
| 7522 | "params": [ |
| 7523 | { |
| 7524 | "type": "const char *", |
| 7525 | "name": "text" |
| 7526 | }, |
| 7527 | { |
| 7528 | "type": "int", |
| 7529 | "name": "fontSize" |
| 7530 | }, |
| 7531 | { |
| 7532 | "type": "Color", |
| 7533 | "name": "color" |
| 7534 | } |
| 7535 | ] |
| 7536 | }, |
| 7537 | { |
| 7538 | "name": "ImageTextEx", |
| 7539 | "description": "Create an image from text (custom sprite font)", |
| 7540 | "returnType": "Image", |
| 7541 | "params": [ |
| 7542 | { |
| 7543 | "type": "Font", |
| 7544 | "name": "font" |
| 7545 | }, |
| 7546 | { |
| 7547 | "type": "const char *", |
| 7548 | "name": "text" |
| 7549 | }, |
| 7550 | { |
| 7551 | "type": "float", |
| 7552 | "name": "fontSize" |
| 7553 | }, |
| 7554 | { |
| 7555 | "type": "float", |
| 7556 | "name": "spacing" |
| 7557 | }, |
| 7558 | { |
| 7559 | "type": "Color", |
| 7560 | "name": "tint" |
| 7561 | } |
| 7562 | ] |
| 7563 | }, |
| 7564 | { |
| 7565 | "name": "ImageFormat", |
| 7566 | "description": "Convert image data to desired format", |
| 7567 | "returnType": "void", |
| 7568 | "params": [ |
| 7569 | { |
| 7570 | "type": "Image *", |
| 7571 | "name": "image" |
| 7572 | }, |
| 7573 | { |
| 7574 | "type": "int", |
| 7575 | "name": "newFormat" |
| 7576 | } |
| 7577 | ] |
| 7578 | }, |
| 7579 | { |
| 7580 | "name": "ImageToPOT", |
| 7581 | "description": "Convert image to POT (power-of-two)", |
| 7582 | "returnType": "void", |
| 7583 | "params": [ |
| 7584 | { |
| 7585 | "type": "Image *", |
| 7586 | "name": "image" |
| 7587 | }, |
| 7588 | { |
| 7589 | "type": "Color", |
| 7590 | "name": "fill" |
| 7591 | } |
| 7592 | ] |
| 7593 | }, |
| 7594 | { |
| 7595 | "name": "ImageCrop", |
| 7596 | "description": "Crop an image to a defined rectangle", |
| 7597 | "returnType": "void", |
| 7598 | "params": [ |
| 7599 | { |
| 7600 | "type": "Image *", |
| 7601 | "name": "image" |
| 7602 | }, |
| 7603 | { |
| 7604 | "type": "Rectangle", |
| 7605 | "name": "crop" |
| 7606 | } |
| 7607 | ] |
| 7608 | }, |
| 7609 | { |
| 7610 | "name": "ImageAlphaCrop", |
| 7611 | "description": "Crop image depending on alpha value", |
| 7612 | "returnType": "void", |
| 7613 | "params": [ |
| 7614 | { |
| 7615 | "type": "Image *", |
| 7616 | "name": "image" |
| 7617 | }, |
| 7618 | { |
| 7619 | "type": "float", |
| 7620 | "name": "threshold" |
| 7621 | } |
| 7622 | ] |
| 7623 | }, |
| 7624 | { |
| 7625 | "name": "ImageAlphaClear", |
| 7626 | "description": "Clear alpha channel to desired color", |
| 7627 | "returnType": "void", |
| 7628 | "params": [ |
| 7629 | { |
| 7630 | "type": "Image *", |
| 7631 | "name": "image" |
| 7632 | }, |
| 7633 | { |
| 7634 | "type": "Color", |
| 7635 | "name": "color" |
| 7636 | }, |
| 7637 | { |
| 7638 | "type": "float", |
| 7639 | "name": "threshold" |
| 7640 | } |
| 7641 | ] |
| 7642 | }, |
| 7643 | { |
| 7644 | "name": "ImageAlphaMask", |
| 7645 | "description": "Apply alpha mask to image", |
| 7646 | "returnType": "void", |
| 7647 | "params": [ |
| 7648 | { |
| 7649 | "type": "Image *", |
| 7650 | "name": "image" |
| 7651 | }, |
| 7652 | { |
| 7653 | "type": "Image", |
| 7654 | "name": "alphaMask" |
| 7655 | } |
| 7656 | ] |
| 7657 | }, |
| 7658 | { |
| 7659 | "name": "ImageAlphaPremultiply", |
| 7660 | "description": "Premultiply alpha channel", |
| 7661 | "returnType": "void", |
| 7662 | "params": [ |
| 7663 | { |
| 7664 | "type": "Image *", |
| 7665 | "name": "image" |
| 7666 | } |
| 7667 | ] |
| 7668 | }, |
| 7669 | { |
| 7670 | "name": "ImageBlurGaussian", |
| 7671 | "description": "Apply Gaussian blur using a box blur approximation", |
| 7672 | "returnType": "void", |
| 7673 | "params": [ |
| 7674 | { |
| 7675 | "type": "Image *", |
| 7676 | "name": "image" |
| 7677 | }, |
| 7678 | { |
| 7679 | "type": "int", |
| 7680 | "name": "blurSize" |
| 7681 | } |
| 7682 | ] |
| 7683 | }, |
| 7684 | { |
| 7685 | "name": "ImageKernelConvolution", |
| 7686 | "description": "Apply custom square convolution kernel to image", |
| 7687 | "returnType": "void", |
| 7688 | "params": [ |
| 7689 | { |
| 7690 | "type": "Image *", |
| 7691 | "name": "image" |
| 7692 | }, |
| 7693 | { |
| 7694 | "type": "const float *", |
| 7695 | "name": "kernel" |
| 7696 | }, |
| 7697 | { |
| 7698 | "type": "int", |
| 7699 | "name": "kernelSize" |
| 7700 | } |
| 7701 | ] |
| 7702 | }, |
| 7703 | { |
| 7704 | "name": "ImageResize", |
| 7705 | "description": "Resize image (Bicubic scaling algorithm)", |
| 7706 | "returnType": "void", |
| 7707 | "params": [ |
| 7708 | { |
| 7709 | "type": "Image *", |
| 7710 | "name": "image" |
| 7711 | }, |
| 7712 | { |
| 7713 | "type": "int", |
| 7714 | "name": "newWidth" |
| 7715 | }, |
| 7716 | { |
| 7717 | "type": "int", |
| 7718 | "name": "newHeight" |
| 7719 | } |
| 7720 | ] |
| 7721 | }, |
| 7722 | { |
| 7723 | "name": "ImageResizeNN", |
| 7724 | "description": "Resize image (Nearest-Neighbor scaling algorithm)", |
| 7725 | "returnType": "void", |
| 7726 | "params": [ |
| 7727 | { |
| 7728 | "type": "Image *", |
| 7729 | "name": "image" |
| 7730 | }, |
| 7731 | { |
| 7732 | "type": "int", |
| 7733 | "name": "newWidth" |
| 7734 | }, |
| 7735 | { |
| 7736 | "type": "int", |
| 7737 | "name": "newHeight" |
| 7738 | } |
| 7739 | ] |
| 7740 | }, |
| 7741 | { |
| 7742 | "name": "ImageResizeCanvas", |
| 7743 | "description": "Resize canvas and fill with color", |
| 7744 | "returnType": "void", |
| 7745 | "params": [ |
| 7746 | { |
| 7747 | "type": "Image *", |
| 7748 | "name": "image" |
| 7749 | }, |
| 7750 | { |
| 7751 | "type": "int", |
| 7752 | "name": "newWidth" |
| 7753 | }, |
| 7754 | { |
| 7755 | "type": "int", |
| 7756 | "name": "newHeight" |
| 7757 | }, |
| 7758 | { |
| 7759 | "type": "int", |
| 7760 | "name": "offsetX" |
| 7761 | }, |
| 7762 | { |
| 7763 | "type": "int", |
| 7764 | "name": "offsetY" |
| 7765 | }, |
| 7766 | { |
| 7767 | "type": "Color", |
| 7768 | "name": "fill" |
| 7769 | } |
| 7770 | ] |
| 7771 | }, |
| 7772 | { |
| 7773 | "name": "ImageMipmaps", |
| 7774 | "description": "Compute all mipmap levels for a provided image", |
| 7775 | "returnType": "void", |
| 7776 | "params": [ |
| 7777 | { |
| 7778 | "type": "Image *", |
| 7779 | "name": "image" |
| 7780 | } |
| 7781 | ] |
| 7782 | }, |
| 7783 | { |
| 7784 | "name": "ImageDither", |
| 7785 | "description": "Dither image data to 16bpp or lower (Floyd-Steinberg dithering)", |
| 7786 | "returnType": "void", |
| 7787 | "params": [ |
| 7788 | { |
| 7789 | "type": "Image *", |
| 7790 | "name": "image" |
| 7791 | }, |
| 7792 | { |
| 7793 | "type": "int", |
| 7794 | "name": "rBpp" |
| 7795 | }, |
| 7796 | { |
| 7797 | "type": "int", |
| 7798 | "name": "gBpp" |
| 7799 | }, |
| 7800 | { |
| 7801 | "type": "int", |
| 7802 | "name": "bBpp" |
| 7803 | }, |
| 7804 | { |
| 7805 | "type": "int", |
| 7806 | "name": "aBpp" |
| 7807 | } |
| 7808 | ] |
| 7809 | }, |
| 7810 | { |
| 7811 | "name": "ImageFlipVertical", |
| 7812 | "description": "Flip image vertically", |
| 7813 | "returnType": "void", |
| 7814 | "params": [ |
| 7815 | { |
| 7816 | "type": "Image *", |
| 7817 | "name": "image" |
| 7818 | } |
| 7819 | ] |
| 7820 | }, |
| 7821 | { |
| 7822 | "name": "ImageFlipHorizontal", |
| 7823 | "description": "Flip image horizontally", |
| 7824 | "returnType": "void", |
| 7825 | "params": [ |
| 7826 | { |
| 7827 | "type": "Image *", |
| 7828 | "name": "image" |
| 7829 | } |
| 7830 | ] |
| 7831 | }, |
| 7832 | { |
| 7833 | "name": "ImageRotate", |
| 7834 | "description": "Rotate image by input angle in degrees (-359 to 359)", |
| 7835 | "returnType": "void", |
| 7836 | "params": [ |
| 7837 | { |
| 7838 | "type": "Image *", |
| 7839 | "name": "image" |
| 7840 | }, |
| 7841 | { |
| 7842 | "type": "int", |
| 7843 | "name": "degrees" |
| 7844 | } |
| 7845 | ] |
| 7846 | }, |
| 7847 | { |
| 7848 | "name": "ImageRotateCW", |
| 7849 | "description": "Rotate image clockwise 90deg", |
| 7850 | "returnType": "void", |
| 7851 | "params": [ |
| 7852 | { |
| 7853 | "type": "Image *", |
| 7854 | "name": "image" |
| 7855 | } |
| 7856 | ] |
| 7857 | }, |
| 7858 | { |
| 7859 | "name": "ImageRotateCCW", |
| 7860 | "description": "Rotate image counter-clockwise 90deg", |
| 7861 | "returnType": "void", |
| 7862 | "params": [ |
| 7863 | { |
| 7864 | "type": "Image *", |
| 7865 | "name": "image" |
| 7866 | } |
| 7867 | ] |
| 7868 | }, |
| 7869 | { |
| 7870 | "name": "ImageColorTint", |
| 7871 | "description": "Modify image color: tint", |
| 7872 | "returnType": "void", |
| 7873 | "params": [ |
| 7874 | { |
| 7875 | "type": "Image *", |
| 7876 | "name": "image" |
| 7877 | }, |
| 7878 | { |
| 7879 | "type": "Color", |
| 7880 | "name": "color" |
| 7881 | } |
| 7882 | ] |
| 7883 | }, |
| 7884 | { |
| 7885 | "name": "ImageColorInvert", |
| 7886 | "description": "Modify image color: invert", |
| 7887 | "returnType": "void", |
| 7888 | "params": [ |
| 7889 | { |
| 7890 | "type": "Image *", |
| 7891 | "name": "image" |
| 7892 | } |
| 7893 | ] |
| 7894 | }, |
| 7895 | { |
| 7896 | "name": "ImageColorGrayscale", |
| 7897 | "description": "Modify image color: grayscale", |
| 7898 | "returnType": "void", |
| 7899 | "params": [ |
| 7900 | { |
| 7901 | "type": "Image *", |
| 7902 | "name": "image" |
| 7903 | } |
| 7904 | ] |
| 7905 | }, |
| 7906 | { |
| 7907 | "name": "ImageColorContrast", |
| 7908 | "description": "Modify image color: contrast (-100 to 100)", |
| 7909 | "returnType": "void", |
| 7910 | "params": [ |
| 7911 | { |
| 7912 | "type": "Image *", |
| 7913 | "name": "image" |
| 7914 | }, |
| 7915 | { |
| 7916 | "type": "float", |
| 7917 | "name": "contrast" |
| 7918 | } |
| 7919 | ] |
| 7920 | }, |
| 7921 | { |
| 7922 | "name": "ImageColorBrightness", |
| 7923 | "description": "Modify image color: brightness (-255 to 255)", |
| 7924 | "returnType": "void", |
| 7925 | "params": [ |
| 7926 | { |
| 7927 | "type": "Image *", |
| 7928 | "name": "image" |
| 7929 | }, |
| 7930 | { |
| 7931 | "type": "int", |
| 7932 | "name": "brightness" |
| 7933 | } |
| 7934 | ] |
| 7935 | }, |
| 7936 | { |
| 7937 | "name": "ImageColorReplace", |
| 7938 | "description": "Modify image color: replace color", |
| 7939 | "returnType": "void", |
| 7940 | "params": [ |
| 7941 | { |
| 7942 | "type": "Image *", |
| 7943 | "name": "image" |
| 7944 | }, |
| 7945 | { |
| 7946 | "type": "Color", |
| 7947 | "name": "color" |
| 7948 | }, |
| 7949 | { |
| 7950 | "type": "Color", |
| 7951 | "name": "replace" |
| 7952 | } |
| 7953 | ] |
| 7954 | }, |
| 7955 | { |
| 7956 | "name": "LoadImageColors", |
| 7957 | "description": "Load color data from image as a Color array (RGBA - 32bit)", |
| 7958 | "returnType": "Color *", |
| 7959 | "params": [ |
| 7960 | { |
| 7961 | "type": "Image", |
| 7962 | "name": "image" |
| 7963 | } |
| 7964 | ] |
| 7965 | }, |
| 7966 | { |
| 7967 | "name": "LoadImagePalette", |
| 7968 | "description": "Load colors palette from image as a Color array (RGBA - 32bit)", |
| 7969 | "returnType": "Color *", |
| 7970 | "params": [ |
| 7971 | { |
| 7972 | "type": "Image", |
| 7973 | "name": "image" |
| 7974 | }, |
| 7975 | { |
| 7976 | "type": "int", |
| 7977 | "name": "maxPaletteSize" |
| 7978 | }, |
| 7979 | { |
| 7980 | "type": "int *", |
| 7981 | "name": "colorCount" |
| 7982 | } |
| 7983 | ] |
| 7984 | }, |
| 7985 | { |
| 7986 | "name": "UnloadImageColors", |
| 7987 | "description": "Unload color data loaded with LoadImageColors()", |
| 7988 | "returnType": "void", |
| 7989 | "params": [ |
| 7990 | { |
| 7991 | "type": "Color *", |
| 7992 | "name": "colors" |
| 7993 | } |
| 7994 | ] |
| 7995 | }, |
| 7996 | { |
| 7997 | "name": "UnloadImagePalette", |
| 7998 | "description": "Unload colors palette loaded with LoadImagePalette()", |
| 7999 | "returnType": "void", |
| 8000 | "params": [ |
| 8001 | { |
| 8002 | "type": "Color *", |
| 8003 | "name": "colors" |
| 8004 | } |
| 8005 | ] |
| 8006 | }, |
| 8007 | { |
| 8008 | "name": "GetImageAlphaBorder", |
| 8009 | "description": "Get image alpha border rectangle", |
| 8010 | "returnType": "Rectangle", |
| 8011 | "params": [ |
| 8012 | { |
| 8013 | "type": "Image", |
| 8014 | "name": "image" |
| 8015 | }, |
| 8016 | { |
| 8017 | "type": "float", |
| 8018 | "name": "threshold" |
| 8019 | } |
| 8020 | ] |
| 8021 | }, |
| 8022 | { |
| 8023 | "name": "GetImageColor", |
| 8024 | "description": "Get image pixel color at (x, y) position", |
| 8025 | "returnType": "Color", |
| 8026 | "params": [ |
| 8027 | { |
| 8028 | "type": "Image", |
| 8029 | "name": "image" |
| 8030 | }, |
| 8031 | { |
| 8032 | "type": "int", |
| 8033 | "name": "x" |
| 8034 | }, |
| 8035 | { |
| 8036 | "type": "int", |
| 8037 | "name": "y" |
| 8038 | } |
| 8039 | ] |
| 8040 | }, |
| 8041 | { |
| 8042 | "name": "ImageClearBackground", |
| 8043 | "description": "Clear image background with given color", |
| 8044 | "returnType": "void", |
| 8045 | "params": [ |
| 8046 | { |
| 8047 | "type": "Image *", |
| 8048 | "name": "dst" |
| 8049 | }, |
| 8050 | { |
| 8051 | "type": "Color", |
| 8052 | "name": "color" |
| 8053 | } |
| 8054 | ] |
| 8055 | }, |
| 8056 | { |
| 8057 | "name": "ImageDrawPixel", |
| 8058 | "description": "Draw pixel within an image", |
| 8059 | "returnType": "void", |
| 8060 | "params": [ |
| 8061 | { |
| 8062 | "type": "Image *", |
| 8063 | "name": "dst" |
| 8064 | }, |
| 8065 | { |
| 8066 | "type": "int", |
| 8067 | "name": "posX" |
| 8068 | }, |
| 8069 | { |
| 8070 | "type": "int", |
| 8071 | "name": "posY" |
| 8072 | }, |
| 8073 | { |
| 8074 | "type": "Color", |
| 8075 | "name": "color" |
| 8076 | } |
| 8077 | ] |
| 8078 | }, |
| 8079 | { |
| 8080 | "name": "ImageDrawPixelV", |
| 8081 | "description": "Draw pixel within an image (Vector version)", |
| 8082 | "returnType": "void", |
| 8083 | "params": [ |
| 8084 | { |
| 8085 | "type": "Image *", |
| 8086 | "name": "dst" |
| 8087 | }, |
| 8088 | { |
| 8089 | "type": "Vector2", |
| 8090 | "name": "position" |
| 8091 | }, |
| 8092 | { |
| 8093 | "type": "Color", |
| 8094 | "name": "color" |
| 8095 | } |
| 8096 | ] |
| 8097 | }, |
| 8098 | { |
| 8099 | "name": "ImageDrawLine", |
| 8100 | "description": "Draw line within an image", |
| 8101 | "returnType": "void", |
| 8102 | "params": [ |
| 8103 | { |
| 8104 | "type": "Image *", |
| 8105 | "name": "dst" |
| 8106 | }, |
| 8107 | { |
| 8108 | "type": "int", |
| 8109 | "name": "startPosX" |
| 8110 | }, |
| 8111 | { |
| 8112 | "type": "int", |
| 8113 | "name": "startPosY" |
| 8114 | }, |
| 8115 | { |
| 8116 | "type": "int", |
| 8117 | "name": "endPosX" |
| 8118 | }, |
| 8119 | { |
| 8120 | "type": "int", |
| 8121 | "name": "endPosY" |
| 8122 | }, |
| 8123 | { |
| 8124 | "type": "Color", |
| 8125 | "name": "color" |
| 8126 | } |
| 8127 | ] |
| 8128 | }, |
| 8129 | { |
| 8130 | "name": "ImageDrawLineV", |
| 8131 | "description": "Draw line within an image (Vector version)", |
| 8132 | "returnType": "void", |
| 8133 | "params": [ |
| 8134 | { |
| 8135 | "type": "Image *", |
| 8136 | "name": "dst" |
| 8137 | }, |
| 8138 | { |
| 8139 | "type": "Vector2", |
| 8140 | "name": "start" |
| 8141 | }, |
| 8142 | { |
| 8143 | "type": "Vector2", |
| 8144 | "name": "end" |
| 8145 | }, |
| 8146 | { |
| 8147 | "type": "Color", |
| 8148 | "name": "color" |
| 8149 | } |
| 8150 | ] |
| 8151 | }, |
| 8152 | { |
| 8153 | "name": "ImageDrawLineEx", |
| 8154 | "description": "Draw a line defining thickness within an image", |
| 8155 | "returnType": "void", |
| 8156 | "params": [ |
| 8157 | { |
| 8158 | "type": "Image *", |
| 8159 | "name": "dst" |
| 8160 | }, |
| 8161 | { |
| 8162 | "type": "Vector2", |
| 8163 | "name": "start" |
| 8164 | }, |
| 8165 | { |
| 8166 | "type": "Vector2", |
| 8167 | "name": "end" |
| 8168 | }, |
| 8169 | { |
| 8170 | "type": "int", |
| 8171 | "name": "thick" |
| 8172 | }, |
| 8173 | { |
| 8174 | "type": "Color", |
| 8175 | "name": "color" |
| 8176 | } |
| 8177 | ] |
| 8178 | }, |
| 8179 | { |
| 8180 | "name": "ImageDrawCircle", |
| 8181 | "description": "Draw a filled circle within an image", |
| 8182 | "returnType": "void", |
| 8183 | "params": [ |
| 8184 | { |
| 8185 | "type": "Image *", |
| 8186 | "name": "dst" |
| 8187 | }, |
| 8188 | { |
| 8189 | "type": "int", |
| 8190 | "name": "centerX" |
| 8191 | }, |
| 8192 | { |
| 8193 | "type": "int", |
| 8194 | "name": "centerY" |
| 8195 | }, |
| 8196 | { |
| 8197 | "type": "int", |
| 8198 | "name": "radius" |
| 8199 | }, |
| 8200 | { |
| 8201 | "type": "Color", |
| 8202 | "name": "color" |
| 8203 | } |
| 8204 | ] |
| 8205 | }, |
| 8206 | { |
| 8207 | "name": "ImageDrawCircleV", |
| 8208 | "description": "Draw a filled circle within an image (Vector version)", |
| 8209 | "returnType": "void", |
| 8210 | "params": [ |
| 8211 | { |
| 8212 | "type": "Image *", |
| 8213 | "name": "dst" |
| 8214 | }, |
| 8215 | { |
| 8216 | "type": "Vector2", |
| 8217 | "name": "center" |
| 8218 | }, |
| 8219 | { |
| 8220 | "type": "int", |
| 8221 | "name": "radius" |
| 8222 | }, |
| 8223 | { |
| 8224 | "type": "Color", |
| 8225 | "name": "color" |
| 8226 | } |
| 8227 | ] |
| 8228 | }, |
| 8229 | { |
| 8230 | "name": "ImageDrawCircleLines", |
| 8231 | "description": "Draw circle outline within an image", |
| 8232 | "returnType": "void", |
| 8233 | "params": [ |
| 8234 | { |
| 8235 | "type": "Image *", |
| 8236 | "name": "dst" |
| 8237 | }, |
| 8238 | { |
| 8239 | "type": "int", |
| 8240 | "name": "centerX" |
| 8241 | }, |
| 8242 | { |
| 8243 | "type": "int", |
| 8244 | "name": "centerY" |
| 8245 | }, |
| 8246 | { |
| 8247 | "type": "int", |
| 8248 | "name": "radius" |
| 8249 | }, |
| 8250 | { |
| 8251 | "type": "Color", |
| 8252 | "name": "color" |
| 8253 | } |
| 8254 | ] |
| 8255 | }, |
| 8256 | { |
| 8257 | "name": "ImageDrawCircleLinesV", |
| 8258 | "description": "Draw circle outline within an image (Vector version)", |
| 8259 | "returnType": "void", |
| 8260 | "params": [ |
| 8261 | { |
| 8262 | "type": "Image *", |
| 8263 | "name": "dst" |
| 8264 | }, |
| 8265 | { |
| 8266 | "type": "Vector2", |
| 8267 | "name": "center" |
| 8268 | }, |
| 8269 | { |
| 8270 | "type": "int", |
| 8271 | "name": "radius" |
| 8272 | }, |
| 8273 | { |
| 8274 | "type": "Color", |
| 8275 | "name": "color" |
| 8276 | } |
| 8277 | ] |
| 8278 | }, |
| 8279 | { |
| 8280 | "name": "ImageDrawRectangle", |
| 8281 | "description": "Draw rectangle within an image", |
| 8282 | "returnType": "void", |
| 8283 | "params": [ |
| 8284 | { |
| 8285 | "type": "Image *", |
| 8286 | "name": "dst" |
| 8287 | }, |
| 8288 | { |
| 8289 | "type": "int", |
| 8290 | "name": "posX" |
| 8291 | }, |
| 8292 | { |
| 8293 | "type": "int", |
| 8294 | "name": "posY" |
| 8295 | }, |
| 8296 | { |
| 8297 | "type": "int", |
| 8298 | "name": "width" |
| 8299 | }, |
| 8300 | { |
| 8301 | "type": "int", |
| 8302 | "name": "height" |
| 8303 | }, |
| 8304 | { |
| 8305 | "type": "Color", |
| 8306 | "name": "color" |
| 8307 | } |
| 8308 | ] |
| 8309 | }, |
| 8310 | { |
| 8311 | "name": "ImageDrawRectangleV", |
| 8312 | "description": "Draw rectangle within an image (Vector version)", |
| 8313 | "returnType": "void", |
| 8314 | "params": [ |
| 8315 | { |
| 8316 | "type": "Image *", |
| 8317 | "name": "dst" |
| 8318 | }, |
| 8319 | { |
| 8320 | "type": "Vector2", |
| 8321 | "name": "position" |
| 8322 | }, |
| 8323 | { |
| 8324 | "type": "Vector2", |
| 8325 | "name": "size" |
| 8326 | }, |
| 8327 | { |
| 8328 | "type": "Color", |
| 8329 | "name": "color" |
| 8330 | } |
| 8331 | ] |
| 8332 | }, |
| 8333 | { |
| 8334 | "name": "ImageDrawRectangleRec", |
| 8335 | "description": "Draw rectangle within an image", |
| 8336 | "returnType": "void", |
| 8337 | "params": [ |
| 8338 | { |
| 8339 | "type": "Image *", |
| 8340 | "name": "dst" |
| 8341 | }, |
| 8342 | { |
| 8343 | "type": "Rectangle", |
| 8344 | "name": "rec" |
| 8345 | }, |
| 8346 | { |
| 8347 | "type": "Color", |
| 8348 | "name": "color" |
| 8349 | } |
| 8350 | ] |
| 8351 | }, |
| 8352 | { |
| 8353 | "name": "ImageDrawRectangleLines", |
| 8354 | "description": "Draw rectangle lines within an image", |
| 8355 | "returnType": "void", |
| 8356 | "params": [ |
| 8357 | { |
| 8358 | "type": "Image *", |
| 8359 | "name": "dst" |
| 8360 | }, |
| 8361 | { |
| 8362 | "type": "Rectangle", |
| 8363 | "name": "rec" |
| 8364 | }, |
| 8365 | { |
| 8366 | "type": "int", |
| 8367 | "name": "thick" |
| 8368 | }, |
| 8369 | { |
| 8370 | "type": "Color", |
| 8371 | "name": "color" |
| 8372 | } |
| 8373 | ] |
| 8374 | }, |
| 8375 | { |
| 8376 | "name": "ImageDrawTriangle", |
| 8377 | "description": "Draw triangle within an image", |
| 8378 | "returnType": "void", |
| 8379 | "params": [ |
| 8380 | { |
| 8381 | "type": "Image *", |
| 8382 | "name": "dst" |
| 8383 | }, |
| 8384 | { |
| 8385 | "type": "Vector2", |
| 8386 | "name": "v1" |
| 8387 | }, |
| 8388 | { |
| 8389 | "type": "Vector2", |
| 8390 | "name": "v2" |
| 8391 | }, |
| 8392 | { |
| 8393 | "type": "Vector2", |
| 8394 | "name": "v3" |
| 8395 | }, |
| 8396 | { |
| 8397 | "type": "Color", |
| 8398 | "name": "color" |
| 8399 | } |
| 8400 | ] |
| 8401 | }, |
| 8402 | { |
| 8403 | "name": "ImageDrawTriangleEx", |
| 8404 | "description": "Draw triangle with interpolated colors within an image", |
| 8405 | "returnType": "void", |
| 8406 | "params": [ |
| 8407 | { |
| 8408 | "type": "Image *", |
| 8409 | "name": "dst" |
| 8410 | }, |
| 8411 | { |
| 8412 | "type": "Vector2", |
| 8413 | "name": "v1" |
| 8414 | }, |
| 8415 | { |
| 8416 | "type": "Vector2", |
| 8417 | "name": "v2" |
| 8418 | }, |
| 8419 | { |
| 8420 | "type": "Vector2", |
| 8421 | "name": "v3" |
| 8422 | }, |
| 8423 | { |
| 8424 | "type": "Color", |
| 8425 | "name": "c1" |
| 8426 | }, |
| 8427 | { |
| 8428 | "type": "Color", |
| 8429 | "name": "c2" |
| 8430 | }, |
| 8431 | { |
| 8432 | "type": "Color", |
| 8433 | "name": "c3" |
| 8434 | } |
| 8435 | ] |
| 8436 | }, |
| 8437 | { |
| 8438 | "name": "ImageDrawTriangleLines", |
| 8439 | "description": "Draw triangle outline within an image", |
| 8440 | "returnType": "void", |
| 8441 | "params": [ |
| 8442 | { |
| 8443 | "type": "Image *", |
| 8444 | "name": "dst" |
| 8445 | }, |
| 8446 | { |
| 8447 | "type": "Vector2", |
| 8448 | "name": "v1" |
| 8449 | }, |
| 8450 | { |
| 8451 | "type": "Vector2", |
| 8452 | "name": "v2" |
| 8453 | }, |
| 8454 | { |
| 8455 | "type": "Vector2", |
| 8456 | "name": "v3" |
| 8457 | }, |
| 8458 | { |
| 8459 | "type": "Color", |
| 8460 | "name": "color" |
| 8461 | } |
| 8462 | ] |
| 8463 | }, |
| 8464 | { |
| 8465 | "name": "ImageDrawTriangleFan", |
| 8466 | "description": "Draw a triangle fan defined by points within an image (first vertex is the center)", |
| 8467 | "returnType": "void", |
| 8468 | "params": [ |
| 8469 | { |
| 8470 | "type": "Image *", |
| 8471 | "name": "dst" |
| 8472 | }, |
| 8473 | { |
| 8474 | "type": "const Vector2 *", |
| 8475 | "name": "points" |
| 8476 | }, |
| 8477 | { |
| 8478 | "type": "int", |
| 8479 | "name": "pointCount" |
| 8480 | }, |
| 8481 | { |
| 8482 | "type": "Color", |
| 8483 | "name": "color" |
| 8484 | } |
| 8485 | ] |
| 8486 | }, |
| 8487 | { |
| 8488 | "name": "ImageDrawTriangleStrip", |
| 8489 | "description": "Draw a triangle strip defined by points within an image", |
| 8490 | "returnType": "void", |
| 8491 | "params": [ |
| 8492 | { |
| 8493 | "type": "Image *", |
| 8494 | "name": "dst" |
| 8495 | }, |
| 8496 | { |
| 8497 | "type": "const Vector2 *", |
| 8498 | "name": "points" |
| 8499 | }, |
| 8500 | { |
| 8501 | "type": "int", |
| 8502 | "name": "pointCount" |
| 8503 | }, |
| 8504 | { |
| 8505 | "type": "Color", |
| 8506 | "name": "color" |
| 8507 | } |
| 8508 | ] |
| 8509 | }, |
| 8510 | { |
| 8511 | "name": "ImageDraw", |
| 8512 | "description": "Draw a source image within a destination image (tint applied to source)", |
| 8513 | "returnType": "void", |
| 8514 | "params": [ |
| 8515 | { |
| 8516 | "type": "Image *", |
| 8517 | "name": "dst" |
| 8518 | }, |
| 8519 | { |
| 8520 | "type": "Image", |
| 8521 | "name": "src" |
| 8522 | }, |
| 8523 | { |
| 8524 | "type": "Rectangle", |
| 8525 | "name": "srcRec" |
| 8526 | }, |
| 8527 | { |
| 8528 | "type": "Rectangle", |
| 8529 | "name": "dstRec" |
| 8530 | }, |
| 8531 | { |
| 8532 | "type": "Color", |
| 8533 | "name": "tint" |
| 8534 | } |
| 8535 | ] |
| 8536 | }, |
| 8537 | { |
| 8538 | "name": "ImageDrawText", |
| 8539 | "description": "Draw text (using default font) within an image (destination)", |
| 8540 | "returnType": "void", |
| 8541 | "params": [ |
| 8542 | { |
| 8543 | "type": "Image *", |
| 8544 | "name": "dst" |
| 8545 | }, |
| 8546 | { |
| 8547 | "type": "const char *", |
| 8548 | "name": "text" |
| 8549 | }, |
| 8550 | { |
| 8551 | "type": "int", |
| 8552 | "name": "posX" |
| 8553 | }, |
| 8554 | { |
| 8555 | "type": "int", |
| 8556 | "name": "posY" |
| 8557 | }, |
| 8558 | { |
| 8559 | "type": "int", |
| 8560 | "name": "fontSize" |
| 8561 | }, |
| 8562 | { |
| 8563 | "type": "Color", |
| 8564 | "name": "color" |
| 8565 | } |
| 8566 | ] |
| 8567 | }, |
| 8568 | { |
| 8569 | "name": "ImageDrawTextEx", |
| 8570 | "description": "Draw text (custom sprite font) within an image (destination)", |
| 8571 | "returnType": "void", |
| 8572 | "params": [ |
| 8573 | { |
| 8574 | "type": "Image *", |
| 8575 | "name": "dst" |
| 8576 | }, |
| 8577 | { |
| 8578 | "type": "Font", |
| 8579 | "name": "font" |
| 8580 | }, |
| 8581 | { |
| 8582 | "type": "const char *", |
| 8583 | "name": "text" |
| 8584 | }, |
| 8585 | { |
| 8586 | "type": "Vector2", |
| 8587 | "name": "position" |
| 8588 | }, |
| 8589 | { |
| 8590 | "type": "float", |
| 8591 | "name": "fontSize" |
| 8592 | }, |
| 8593 | { |
| 8594 | "type": "float", |
| 8595 | "name": "spacing" |
| 8596 | }, |
| 8597 | { |
| 8598 | "type": "Color", |
| 8599 | "name": "tint" |
| 8600 | } |
| 8601 | ] |
| 8602 | }, |
| 8603 | { |
| 8604 | "name": "LoadTexture", |
| 8605 | "description": "Load texture from file into GPU memory (VRAM)", |
| 8606 | "returnType": "Texture2D", |
| 8607 | "params": [ |
| 8608 | { |
| 8609 | "type": "const char *", |
| 8610 | "name": "fileName" |
| 8611 | } |
| 8612 | ] |
| 8613 | }, |
| 8614 | { |
| 8615 | "name": "LoadTextureFromImage", |
| 8616 | "description": "Load texture from image data", |
| 8617 | "returnType": "Texture2D", |
| 8618 | "params": [ |
| 8619 | { |
| 8620 | "type": "Image", |
| 8621 | "name": "image" |
| 8622 | } |
| 8623 | ] |
| 8624 | }, |
| 8625 | { |
| 8626 | "name": "LoadTextureCubemap", |
| 8627 | "description": "Load cubemap from image, multiple image cubemap layouts supported", |
| 8628 | "returnType": "TextureCubemap", |
| 8629 | "params": [ |
| 8630 | { |
| 8631 | "type": "Image", |
| 8632 | "name": "image" |
| 8633 | }, |
| 8634 | { |
| 8635 | "type": "int", |
| 8636 | "name": "layout" |
| 8637 | } |
| 8638 | ] |
| 8639 | }, |
| 8640 | { |
| 8641 | "name": "LoadRenderTexture", |
| 8642 | "description": "Load texture for rendering (framebuffer)", |
| 8643 | "returnType": "RenderTexture2D", |
| 8644 | "params": [ |
| 8645 | { |
| 8646 | "type": "int", |
| 8647 | "name": "width" |
| 8648 | }, |
| 8649 | { |
| 8650 | "type": "int", |
| 8651 | "name": "height" |
| 8652 | } |
| 8653 | ] |
| 8654 | }, |
| 8655 | { |
| 8656 | "name": "IsTextureValid", |
| 8657 | "description": "Check if a texture is valid (loaded in GPU)", |
| 8658 | "returnType": "bool", |
| 8659 | "params": [ |
| 8660 | { |
| 8661 | "type": "Texture2D", |
| 8662 | "name": "texture" |
| 8663 | } |
| 8664 | ] |
| 8665 | }, |
| 8666 | { |
| 8667 | "name": "UnloadTexture", |
| 8668 | "description": "Unload texture from GPU memory (VRAM)", |
| 8669 | "returnType": "void", |
| 8670 | "params": [ |
| 8671 | { |
| 8672 | "type": "Texture2D", |
| 8673 | "name": "texture" |
| 8674 | } |
| 8675 | ] |
| 8676 | }, |
| 8677 | { |
| 8678 | "name": "IsRenderTextureValid", |
| 8679 | "description": "Check if a render texture is valid (loaded in GPU)", |
| 8680 | "returnType": "bool", |
| 8681 | "params": [ |
| 8682 | { |
| 8683 | "type": "RenderTexture2D", |
| 8684 | "name": "target" |
| 8685 | } |
| 8686 | ] |
| 8687 | }, |
| 8688 | { |
| 8689 | "name": "UnloadRenderTexture", |
| 8690 | "description": "Unload render texture from GPU memory (VRAM)", |
| 8691 | "returnType": "void", |
| 8692 | "params": [ |
| 8693 | { |
| 8694 | "type": "RenderTexture2D", |
| 8695 | "name": "target" |
| 8696 | } |
| 8697 | ] |
| 8698 | }, |
| 8699 | { |
| 8700 | "name": "UpdateTexture", |
| 8701 | "description": "Update GPU texture with new data (pixels should be able to fill texture)", |
| 8702 | "returnType": "void", |
| 8703 | "params": [ |
| 8704 | { |
| 8705 | "type": "Texture2D", |
| 8706 | "name": "texture" |
| 8707 | }, |
| 8708 | { |
| 8709 | "type": "const void *", |
| 8710 | "name": "pixels" |
| 8711 | } |
| 8712 | ] |
| 8713 | }, |
| 8714 | { |
| 8715 | "name": "UpdateTextureRec", |
| 8716 | "description": "Update GPU texture rectangle with new data (pixels and rec should fit in texture)", |
| 8717 | "returnType": "void", |
| 8718 | "params": [ |
| 8719 | { |
| 8720 | "type": "Texture2D", |
| 8721 | "name": "texture" |
| 8722 | }, |
| 8723 | { |
| 8724 | "type": "Rectangle", |
| 8725 | "name": "rec" |
| 8726 | }, |
| 8727 | { |
| 8728 | "type": "const void *", |
| 8729 | "name": "pixels" |
| 8730 | } |
| 8731 | ] |
| 8732 | }, |
| 8733 | { |
| 8734 | "name": "GenTextureMipmaps", |
| 8735 | "description": "Generate GPU mipmaps for a texture", |
| 8736 | "returnType": "void", |
| 8737 | "params": [ |
| 8738 | { |
| 8739 | "type": "Texture2D *", |
| 8740 | "name": "texture" |
| 8741 | } |
| 8742 | ] |
| 8743 | }, |
| 8744 | { |
| 8745 | "name": "SetTextureFilter", |
| 8746 | "description": "Set texture scaling filter mode", |
| 8747 | "returnType": "void", |
| 8748 | "params": [ |
| 8749 | { |
| 8750 | "type": "Texture2D", |
| 8751 | "name": "texture" |
| 8752 | }, |
| 8753 | { |
| 8754 | "type": "int", |
| 8755 | "name": "filter" |
| 8756 | } |
| 8757 | ] |
| 8758 | }, |
| 8759 | { |
| 8760 | "name": "SetTextureWrap", |
| 8761 | "description": "Set texture wrapping mode", |
| 8762 | "returnType": "void", |
| 8763 | "params": [ |
| 8764 | { |
| 8765 | "type": "Texture2D", |
| 8766 | "name": "texture" |
| 8767 | }, |
| 8768 | { |
| 8769 | "type": "int", |
| 8770 | "name": "wrap" |
| 8771 | } |
| 8772 | ] |
| 8773 | }, |
| 8774 | { |
| 8775 | "name": "DrawTexture", |
| 8776 | "description": "Draw a Texture2D", |
| 8777 | "returnType": "void", |
| 8778 | "params": [ |
| 8779 | { |
| 8780 | "type": "Texture2D", |
| 8781 | "name": "texture" |
| 8782 | }, |
| 8783 | { |
| 8784 | "type": "int", |
| 8785 | "name": "posX" |
| 8786 | }, |
| 8787 | { |
| 8788 | "type": "int", |
| 8789 | "name": "posY" |
| 8790 | }, |
| 8791 | { |
| 8792 | "type": "Color", |
| 8793 | "name": "tint" |
| 8794 | } |
| 8795 | ] |
| 8796 | }, |
| 8797 | { |
| 8798 | "name": "DrawTextureV", |
| 8799 | "description": "Draw a Texture2D with position defined as Vector2", |
| 8800 | "returnType": "void", |
| 8801 | "params": [ |
| 8802 | { |
| 8803 | "type": "Texture2D", |
| 8804 | "name": "texture" |
| 8805 | }, |
| 8806 | { |
| 8807 | "type": "Vector2", |
| 8808 | "name": "position" |
| 8809 | }, |
| 8810 | { |
| 8811 | "type": "Color", |
| 8812 | "name": "tint" |
| 8813 | } |
| 8814 | ] |
| 8815 | }, |
| 8816 | { |
| 8817 | "name": "DrawTextureEx", |
| 8818 | "description": "Draw a Texture2D with extended parameters", |
| 8819 | "returnType": "void", |
| 8820 | "params": [ |
| 8821 | { |
| 8822 | "type": "Texture2D", |
| 8823 | "name": "texture" |
| 8824 | }, |
| 8825 | { |
| 8826 | "type": "Vector2", |
| 8827 | "name": "position" |
| 8828 | }, |
| 8829 | { |
| 8830 | "type": "float", |
| 8831 | "name": "rotation" |
| 8832 | }, |
| 8833 | { |
| 8834 | "type": "float", |
| 8835 | "name": "scale" |
| 8836 | }, |
| 8837 | { |
| 8838 | "type": "Color", |
| 8839 | "name": "tint" |
| 8840 | } |
| 8841 | ] |
| 8842 | }, |
| 8843 | { |
| 8844 | "name": "DrawTextureRec", |
| 8845 | "description": "Draw a part of a texture defined by a rectangle", |
| 8846 | "returnType": "void", |
| 8847 | "params": [ |
| 8848 | { |
| 8849 | "type": "Texture2D", |
| 8850 | "name": "texture" |
| 8851 | }, |
| 8852 | { |
| 8853 | "type": "Rectangle", |
| 8854 | "name": "source" |
| 8855 | }, |
| 8856 | { |
| 8857 | "type": "Vector2", |
| 8858 | "name": "position" |
| 8859 | }, |
| 8860 | { |
| 8861 | "type": "Color", |
| 8862 | "name": "tint" |
| 8863 | } |
| 8864 | ] |
| 8865 | }, |
| 8866 | { |
| 8867 | "name": "DrawTexturePro", |
| 8868 | "description": "Draw a part of a texture defined by a rectangle with 'pro' parameters", |
| 8869 | "returnType": "void", |
| 8870 | "params": [ |
| 8871 | { |
| 8872 | "type": "Texture2D", |
| 8873 | "name": "texture" |
| 8874 | }, |
| 8875 | { |
| 8876 | "type": "Rectangle", |
| 8877 | "name": "source" |
| 8878 | }, |
| 8879 | { |
| 8880 | "type": "Rectangle", |
| 8881 | "name": "dest" |
| 8882 | }, |
| 8883 | { |
| 8884 | "type": "Vector2", |
| 8885 | "name": "origin" |
| 8886 | }, |
| 8887 | { |
| 8888 | "type": "float", |
| 8889 | "name": "rotation" |
| 8890 | }, |
| 8891 | { |
| 8892 | "type": "Color", |
| 8893 | "name": "tint" |
| 8894 | } |
| 8895 | ] |
| 8896 | }, |
| 8897 | { |
| 8898 | "name": "DrawTextureNPatch", |
| 8899 | "description": "Draws a texture (or part of it) that stretches or shrinks nicely", |
| 8900 | "returnType": "void", |
| 8901 | "params": [ |
| 8902 | { |
| 8903 | "type": "Texture2D", |
| 8904 | "name": "texture" |
| 8905 | }, |
| 8906 | { |
| 8907 | "type": "NPatchInfo", |
| 8908 | "name": "nPatchInfo" |
| 8909 | }, |
| 8910 | { |
| 8911 | "type": "Rectangle", |
| 8912 | "name": "dest" |
| 8913 | }, |
| 8914 | { |
| 8915 | "type": "Vector2", |
| 8916 | "name": "origin" |
| 8917 | }, |
| 8918 | { |
| 8919 | "type": "float", |
| 8920 | "name": "rotation" |
| 8921 | }, |
| 8922 | { |
| 8923 | "type": "Color", |
| 8924 | "name": "tint" |
| 8925 | } |
| 8926 | ] |
| 8927 | }, |
| 8928 | { |
| 8929 | "name": "ColorIsEqual", |
| 8930 | "description": "Check if two colors are equal", |
| 8931 | "returnType": "bool", |
| 8932 | "params": [ |
| 8933 | { |
| 8934 | "type": "Color", |
| 8935 | "name": "col1" |
| 8936 | }, |
| 8937 | { |
| 8938 | "type": "Color", |
| 8939 | "name": "col2" |
| 8940 | } |
| 8941 | ] |
| 8942 | }, |
| 8943 | { |
| 8944 | "name": "Fade", |
| 8945 | "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f", |
| 8946 | "returnType": "Color", |
| 8947 | "params": [ |
| 8948 | { |
| 8949 | "type": "Color", |
| 8950 | "name": "color" |
| 8951 | }, |
| 8952 | { |
| 8953 | "type": "float", |
| 8954 | "name": "alpha" |
| 8955 | } |
| 8956 | ] |
| 8957 | }, |
| 8958 | { |
| 8959 | "name": "ColorToInt", |
| 8960 | "description": "Get hexadecimal value for a Color (0xRRGGBBAA)", |
| 8961 | "returnType": "int", |
| 8962 | "params": [ |
| 8963 | { |
| 8964 | "type": "Color", |
| 8965 | "name": "color" |
| 8966 | } |
| 8967 | ] |
| 8968 | }, |
| 8969 | { |
| 8970 | "name": "ColorNormalize", |
| 8971 | "description": "Get Color normalized as float [0..1]", |
| 8972 | "returnType": "Vector4", |
| 8973 | "params": [ |
| 8974 | { |
| 8975 | "type": "Color", |
| 8976 | "name": "color" |
| 8977 | } |
| 8978 | ] |
| 8979 | }, |
| 8980 | { |
| 8981 | "name": "ColorFromNormalized", |
| 8982 | "description": "Get Color from normalized values [0..1]", |
| 8983 | "returnType": "Color", |
| 8984 | "params": [ |
| 8985 | { |
| 8986 | "type": "Vector4", |
| 8987 | "name": "normalized" |
| 8988 | } |
| 8989 | ] |
| 8990 | }, |
| 8991 | { |
| 8992 | "name": "ColorToHSV", |
| 8993 | "description": "Get HSV values for a Color, hue [0..360], saturation/value [0..1]", |
| 8994 | "returnType": "Vector3", |
| 8995 | "params": [ |
| 8996 | { |
| 8997 | "type": "Color", |
| 8998 | "name": "color" |
| 8999 | } |
| 9000 | ] |
| 9001 | }, |
| 9002 | { |
| 9003 | "name": "ColorFromHSV", |
| 9004 | "description": "Get a Color from HSV values, hue [0..360], saturation/value [0..1]", |
| 9005 | "returnType": "Color", |
| 9006 | "params": [ |
| 9007 | { |
| 9008 | "type": "float", |
| 9009 | "name": "hue" |
| 9010 | }, |
| 9011 | { |
| 9012 | "type": "float", |
| 9013 | "name": "saturation" |
| 9014 | }, |
| 9015 | { |
| 9016 | "type": "float", |
| 9017 | "name": "value" |
| 9018 | } |
| 9019 | ] |
| 9020 | }, |
| 9021 | { |
| 9022 | "name": "ColorTint", |
| 9023 | "description": "Get color multiplied with another color", |
| 9024 | "returnType": "Color", |
| 9025 | "params": [ |
| 9026 | { |
| 9027 | "type": "Color", |
| 9028 | "name": "color" |
| 9029 | }, |
| 9030 | { |
| 9031 | "type": "Color", |
| 9032 | "name": "tint" |
| 9033 | } |
| 9034 | ] |
| 9035 | }, |
| 9036 | { |
| 9037 | "name": "ColorBrightness", |
| 9038 | "description": "Get color with brightness correction, brightness factor goes from -1.0f to 1.0f", |
| 9039 | "returnType": "Color", |
| 9040 | "params": [ |
| 9041 | { |
| 9042 | "type": "Color", |
| 9043 | "name": "color" |
| 9044 | }, |
| 9045 | { |
| 9046 | "type": "float", |
| 9047 | "name": "factor" |
| 9048 | } |
| 9049 | ] |
| 9050 | }, |
| 9051 | { |
| 9052 | "name": "ColorContrast", |
| 9053 | "description": "Get color with contrast correction, contrast values between -1.0f and 1.0f", |
| 9054 | "returnType": "Color", |
| 9055 | "params": [ |
| 9056 | { |
| 9057 | "type": "Color", |
| 9058 | "name": "color" |
| 9059 | }, |
| 9060 | { |
| 9061 | "type": "float", |
| 9062 | "name": "contrast" |
| 9063 | } |
| 9064 | ] |
| 9065 | }, |
| 9066 | { |
| 9067 | "name": "ColorAlpha", |
| 9068 | "description": "Get color with alpha applied, alpha goes from 0.0f to 1.0f", |
| 9069 | "returnType": "Color", |
| 9070 | "params": [ |
| 9071 | { |
| 9072 | "type": "Color", |
| 9073 | "name": "color" |
| 9074 | }, |
| 9075 | { |
| 9076 | "type": "float", |
| 9077 | "name": "alpha" |
| 9078 | } |
| 9079 | ] |
| 9080 | }, |
| 9081 | { |
| 9082 | "name": "ColorAlphaBlend", |
| 9083 | "description": "Get src alpha-blended into dst color with tint", |
| 9084 | "returnType": "Color", |
| 9085 | "params": [ |
| 9086 | { |
| 9087 | "type": "Color", |
| 9088 | "name": "dst" |
| 9089 | }, |
| 9090 | { |
| 9091 | "type": "Color", |
| 9092 | "name": "src" |
| 9093 | }, |
| 9094 | { |
| 9095 | "type": "Color", |
| 9096 | "name": "tint" |
| 9097 | } |
| 9098 | ] |
| 9099 | }, |
| 9100 | { |
| 9101 | "name": "ColorLerp", |
| 9102 | "description": "Get color lerp interpolation between two colors, factor [0.0f..1.0f]", |
| 9103 | "returnType": "Color", |
| 9104 | "params": [ |
| 9105 | { |
| 9106 | "type": "Color", |
| 9107 | "name": "color1" |
| 9108 | }, |
| 9109 | { |
| 9110 | "type": "Color", |
| 9111 | "name": "color2" |
| 9112 | }, |
| 9113 | { |
| 9114 | "type": "float", |
| 9115 | "name": "factor" |
| 9116 | } |
| 9117 | ] |
| 9118 | }, |
| 9119 | { |
| 9120 | "name": "GetColor", |
| 9121 | "description": "Get Color structure from hexadecimal value", |
| 9122 | "returnType": "Color", |
| 9123 | "params": [ |
| 9124 | { |
| 9125 | "type": "unsigned int", |
| 9126 | "name": "hexValue" |
| 9127 | } |
| 9128 | ] |
| 9129 | }, |
| 9130 | { |
| 9131 | "name": "GetPixelColor", |
| 9132 | "description": "Get Color from a source pixel pointer of certain format", |
| 9133 | "returnType": "Color", |
| 9134 | "params": [ |
| 9135 | { |
| 9136 | "type": "void *", |
| 9137 | "name": "srcPtr" |
| 9138 | }, |
| 9139 | { |
| 9140 | "type": "int", |
| 9141 | "name": "format" |
| 9142 | } |
| 9143 | ] |
| 9144 | }, |
| 9145 | { |
| 9146 | "name": "SetPixelColor", |
| 9147 | "description": "Set color formatted into destination pixel pointer", |
| 9148 | "returnType": "void", |
| 9149 | "params": [ |
| 9150 | { |
| 9151 | "type": "void *", |
| 9152 | "name": "dstPtr" |
| 9153 | }, |
| 9154 | { |
| 9155 | "type": "Color", |
| 9156 | "name": "color" |
| 9157 | }, |
| 9158 | { |
| 9159 | "type": "int", |
| 9160 | "name": "format" |
| 9161 | } |
| 9162 | ] |
| 9163 | }, |
| 9164 | { |
| 9165 | "name": "GetPixelDataSize", |
| 9166 | "description": "Get pixel data size in bytes for certain format", |
| 9167 | "returnType": "int", |
| 9168 | "params": [ |
| 9169 | { |
| 9170 | "type": "int", |
| 9171 | "name": "width" |
| 9172 | }, |
| 9173 | { |
| 9174 | "type": "int", |
| 9175 | "name": "height" |
| 9176 | }, |
| 9177 | { |
| 9178 | "type": "int", |
| 9179 | "name": "format" |
| 9180 | } |
| 9181 | ] |
| 9182 | }, |
| 9183 | { |
| 9184 | "name": "GetFontDefault", |
| 9185 | "description": "Get the default Font", |
| 9186 | "returnType": "Font" |
| 9187 | }, |
| 9188 | { |
| 9189 | "name": "LoadFont", |
| 9190 | "description": "Load font from file into GPU memory (VRAM)", |
| 9191 | "returnType": "Font", |
| 9192 | "params": [ |
| 9193 | { |
| 9194 | "type": "const char *", |
| 9195 | "name": "fileName" |
| 9196 | } |
| 9197 | ] |
| 9198 | }, |
| 9199 | { |
| 9200 | "name": "LoadFontEx", |
| 9201 | "description": "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", |
| 9202 | "returnType": "Font", |
| 9203 | "params": [ |
| 9204 | { |
| 9205 | "type": "const char *", |
| 9206 | "name": "fileName" |
| 9207 | }, |
| 9208 | { |
| 9209 | "type": "int", |
| 9210 | "name": "fontSize" |
| 9211 | }, |
| 9212 | { |
| 9213 | "type": "const int *", |
| 9214 | "name": "codepoints" |
| 9215 | }, |
| 9216 | { |
| 9217 | "type": "int", |
| 9218 | "name": "codepointCount" |
| 9219 | } |
| 9220 | ] |
| 9221 | }, |
| 9222 | { |
| 9223 | "name": "LoadFontFromImage", |
| 9224 | "description": "Load font from Image (XNA style)", |
| 9225 | "returnType": "Font", |
| 9226 | "params": [ |
| 9227 | { |
| 9228 | "type": "Image", |
| 9229 | "name": "image" |
| 9230 | }, |
| 9231 | { |
| 9232 | "type": "Color", |
| 9233 | "name": "key" |
| 9234 | }, |
| 9235 | { |
| 9236 | "type": "int", |
| 9237 | "name": "firstChar" |
| 9238 | } |
| 9239 | ] |
| 9240 | }, |
| 9241 | { |
| 9242 | "name": "LoadFontFromMemory", |
| 9243 | "description": "Load font from memory buffer, fileType refers to extension: i.e. '.ttf'", |
| 9244 | "returnType": "Font", |
| 9245 | "params": [ |
| 9246 | { |
| 9247 | "type": "const char *", |
| 9248 | "name": "fileType" |
| 9249 | }, |
| 9250 | { |
| 9251 | "type": "const unsigned char *", |
| 9252 | "name": "fileData" |
| 9253 | }, |
| 9254 | { |
| 9255 | "type": "int", |
| 9256 | "name": "dataSize" |
| 9257 | }, |
| 9258 | { |
| 9259 | "type": "int", |
| 9260 | "name": "fontSize" |
| 9261 | }, |
| 9262 | { |
| 9263 | "type": "const int *", |
| 9264 | "name": "codepoints" |
| 9265 | }, |
| 9266 | { |
| 9267 | "type": "int", |
| 9268 | "name": "codepointCount" |
| 9269 | } |
| 9270 | ] |
| 9271 | }, |
| 9272 | { |
| 9273 | "name": "IsFontValid", |
| 9274 | "description": "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)", |
| 9275 | "returnType": "bool", |
| 9276 | "params": [ |
| 9277 | { |
| 9278 | "type": "Font", |
| 9279 | "name": "font" |
| 9280 | } |
| 9281 | ] |
| 9282 | }, |
| 9283 | { |
| 9284 | "name": "LoadFontData", |
| 9285 | "description": "Load font data for further use", |
| 9286 | "returnType": "GlyphInfo *", |
| 9287 | "params": [ |
| 9288 | { |
| 9289 | "type": "const unsigned char *", |
| 9290 | "name": "fileData" |
| 9291 | }, |
| 9292 | { |
| 9293 | "type": "int", |
| 9294 | "name": "dataSize" |
| 9295 | }, |
| 9296 | { |
| 9297 | "type": "int", |
| 9298 | "name": "fontSize" |
| 9299 | }, |
| 9300 | { |
| 9301 | "type": "const int *", |
| 9302 | "name": "codepoints" |
| 9303 | }, |
| 9304 | { |
| 9305 | "type": "int", |
| 9306 | "name": "codepointCount" |
| 9307 | }, |
| 9308 | { |
| 9309 | "type": "int", |
| 9310 | "name": "type" |
| 9311 | }, |
| 9312 | { |
| 9313 | "type": "int *", |
| 9314 | "name": "glyphCount" |
| 9315 | } |
| 9316 | ] |
| 9317 | }, |
| 9318 | { |
| 9319 | "name": "GenImageFontAtlas", |
| 9320 | "description": "Generate image font atlas using chars info", |
| 9321 | "returnType": "Image", |
| 9322 | "params": [ |
| 9323 | { |
| 9324 | "type": "const GlyphInfo *", |
| 9325 | "name": "glyphs" |
| 9326 | }, |
| 9327 | { |
| 9328 | "type": "Rectangle **", |
| 9329 | "name": "glyphRecs" |
| 9330 | }, |
| 9331 | { |
| 9332 | "type": "int", |
| 9333 | "name": "glyphCount" |
| 9334 | }, |
| 9335 | { |
| 9336 | "type": "int", |
| 9337 | "name": "fontSize" |
| 9338 | }, |
| 9339 | { |
| 9340 | "type": "int", |
| 9341 | "name": "padding" |
| 9342 | }, |
| 9343 | { |
| 9344 | "type": "int", |
| 9345 | "name": "packMethod" |
| 9346 | } |
| 9347 | ] |
| 9348 | }, |
| 9349 | { |
| 9350 | "name": "UnloadFontData", |
| 9351 | "description": "Unload font chars info data (RAM)", |
| 9352 | "returnType": "void", |
| 9353 | "params": [ |
| 9354 | { |
| 9355 | "type": "GlyphInfo *", |
| 9356 | "name": "glyphs" |
| 9357 | }, |
| 9358 | { |
| 9359 | "type": "int", |
| 9360 | "name": "glyphCount" |
| 9361 | } |
| 9362 | ] |
| 9363 | }, |
| 9364 | { |
| 9365 | "name": "UnloadFont", |
| 9366 | "description": "Unload font from GPU memory (VRAM)", |
| 9367 | "returnType": "void", |
| 9368 | "params": [ |
| 9369 | { |
| 9370 | "type": "Font", |
| 9371 | "name": "font" |
| 9372 | } |
| 9373 | ] |
| 9374 | }, |
| 9375 | { |
| 9376 | "name": "ExportFontAsCode", |
| 9377 | "description": "Export font as code file, returns true on success", |
| 9378 | "returnType": "bool", |
| 9379 | "params": [ |
| 9380 | { |
| 9381 | "type": "Font", |
| 9382 | "name": "font" |
| 9383 | }, |
| 9384 | { |
| 9385 | "type": "const char *", |
| 9386 | "name": "fileName" |
| 9387 | } |
| 9388 | ] |
| 9389 | }, |
| 9390 | { |
| 9391 | "name": "DrawFPS", |
| 9392 | "description": "Draw current FPS", |
| 9393 | "returnType": "void", |
| 9394 | "params": [ |
| 9395 | { |
| 9396 | "type": "int", |
| 9397 | "name": "posX" |
| 9398 | }, |
| 9399 | { |
| 9400 | "type": "int", |
| 9401 | "name": "posY" |
| 9402 | } |
| 9403 | ] |
| 9404 | }, |
| 9405 | { |
| 9406 | "name": "DrawText", |
| 9407 | "description": "Draw text (using default font)", |
| 9408 | "returnType": "void", |
| 9409 | "params": [ |
| 9410 | { |
| 9411 | "type": "const char *", |
| 9412 | "name": "text" |
| 9413 | }, |
| 9414 | { |
| 9415 | "type": "int", |
| 9416 | "name": "posX" |
| 9417 | }, |
| 9418 | { |
| 9419 | "type": "int", |
| 9420 | "name": "posY" |
| 9421 | }, |
| 9422 | { |
| 9423 | "type": "int", |
| 9424 | "name": "fontSize" |
| 9425 | }, |
| 9426 | { |
| 9427 | "type": "Color", |
| 9428 | "name": "color" |
| 9429 | } |
| 9430 | ] |
| 9431 | }, |
| 9432 | { |
| 9433 | "name": "DrawTextEx", |
| 9434 | "description": "Draw text using font and additional parameters", |
| 9435 | "returnType": "void", |
| 9436 | "params": [ |
| 9437 | { |
| 9438 | "type": "Font", |
| 9439 | "name": "font" |
| 9440 | }, |
| 9441 | { |
| 9442 | "type": "const char *", |
| 9443 | "name": "text" |
| 9444 | }, |
| 9445 | { |
| 9446 | "type": "Vector2", |
| 9447 | "name": "position" |
| 9448 | }, |
| 9449 | { |
| 9450 | "type": "float", |
| 9451 | "name": "fontSize" |
| 9452 | }, |
| 9453 | { |
| 9454 | "type": "float", |
| 9455 | "name": "spacing" |
| 9456 | }, |
| 9457 | { |
| 9458 | "type": "Color", |
| 9459 | "name": "tint" |
| 9460 | } |
| 9461 | ] |
| 9462 | }, |
| 9463 | { |
| 9464 | "name": "DrawTextPro", |
| 9465 | "description": "Draw text using Font and pro parameters (rotation)", |
| 9466 | "returnType": "void", |
| 9467 | "params": [ |
| 9468 | { |
| 9469 | "type": "Font", |
| 9470 | "name": "font" |
| 9471 | }, |
| 9472 | { |
| 9473 | "type": "const char *", |
| 9474 | "name": "text" |
| 9475 | }, |
| 9476 | { |
| 9477 | "type": "Vector2", |
| 9478 | "name": "position" |
| 9479 | }, |
| 9480 | { |
| 9481 | "type": "Vector2", |
| 9482 | "name": "origin" |
| 9483 | }, |
| 9484 | { |
| 9485 | "type": "float", |
| 9486 | "name": "rotation" |
| 9487 | }, |
| 9488 | { |
| 9489 | "type": "float", |
| 9490 | "name": "fontSize" |
| 9491 | }, |
| 9492 | { |
| 9493 | "type": "float", |
| 9494 | "name": "spacing" |
| 9495 | }, |
| 9496 | { |
| 9497 | "type": "Color", |
| 9498 | "name": "tint" |
| 9499 | } |
| 9500 | ] |
| 9501 | }, |
| 9502 | { |
| 9503 | "name": "DrawTextCodepoint", |
| 9504 | "description": "Draw one character (codepoint)", |
| 9505 | "returnType": "void", |
| 9506 | "params": [ |
| 9507 | { |
| 9508 | "type": "Font", |
| 9509 | "name": "font" |
| 9510 | }, |
| 9511 | { |
| 9512 | "type": "int", |
| 9513 | "name": "codepoint" |
| 9514 | }, |
| 9515 | { |
| 9516 | "type": "Vector2", |
| 9517 | "name": "position" |
| 9518 | }, |
| 9519 | { |
| 9520 | "type": "float", |
| 9521 | "name": "fontSize" |
| 9522 | }, |
| 9523 | { |
| 9524 | "type": "Color", |
| 9525 | "name": "tint" |
| 9526 | } |
| 9527 | ] |
| 9528 | }, |
| 9529 | { |
| 9530 | "name": "DrawTextCodepoints", |
| 9531 | "description": "Draw multiple character (codepoint)", |
| 9532 | "returnType": "void", |
| 9533 | "params": [ |
| 9534 | { |
| 9535 | "type": "Font", |
| 9536 | "name": "font" |
| 9537 | }, |
| 9538 | { |
| 9539 | "type": "const int *", |
| 9540 | "name": "codepoints" |
| 9541 | }, |
| 9542 | { |
| 9543 | "type": "int", |
| 9544 | "name": "codepointCount" |
| 9545 | }, |
| 9546 | { |
| 9547 | "type": "Vector2", |
| 9548 | "name": "position" |
| 9549 | }, |
| 9550 | { |
| 9551 | "type": "float", |
| 9552 | "name": "fontSize" |
| 9553 | }, |
| 9554 | { |
| 9555 | "type": "float", |
| 9556 | "name": "spacing" |
| 9557 | }, |
| 9558 | { |
| 9559 | "type": "Color", |
| 9560 | "name": "tint" |
| 9561 | } |
| 9562 | ] |
| 9563 | }, |
| 9564 | { |
| 9565 | "name": "SetTextLineSpacing", |
| 9566 | "description": "Set vertical line spacing when drawing with line-breaks", |
| 9567 | "returnType": "void", |
| 9568 | "params": [ |
| 9569 | { |
| 9570 | "type": "int", |
| 9571 | "name": "spacing" |
| 9572 | } |
| 9573 | ] |
| 9574 | }, |
| 9575 | { |
| 9576 | "name": "MeasureText", |
| 9577 | "description": "Measure string width for default font", |
| 9578 | "returnType": "int", |
| 9579 | "params": [ |
| 9580 | { |
| 9581 | "type": "const char *", |
| 9582 | "name": "text" |
| 9583 | }, |
| 9584 | { |
| 9585 | "type": "int", |
| 9586 | "name": "fontSize" |
| 9587 | } |
| 9588 | ] |
| 9589 | }, |
| 9590 | { |
| 9591 | "name": "MeasureTextEx", |
| 9592 | "description": "Measure string size for Font", |
| 9593 | "returnType": "Vector2", |
| 9594 | "params": [ |
| 9595 | { |
| 9596 | "type": "Font", |
| 9597 | "name": "font" |
| 9598 | }, |
| 9599 | { |
| 9600 | "type": "const char *", |
| 9601 | "name": "text" |
| 9602 | }, |
| 9603 | { |
| 9604 | "type": "float", |
| 9605 | "name": "fontSize" |
| 9606 | }, |
| 9607 | { |
| 9608 | "type": "float", |
| 9609 | "name": "spacing" |
| 9610 | } |
| 9611 | ] |
| 9612 | }, |
| 9613 | { |
| 9614 | "name": "MeasureTextCodepoints", |
| 9615 | "description": "Measure string size for an existing array of codepoints for Font", |
| 9616 | "returnType": "Vector2", |
| 9617 | "params": [ |
| 9618 | { |
| 9619 | "type": "Font", |
| 9620 | "name": "font" |
| 9621 | }, |
| 9622 | { |
| 9623 | "type": "const int *", |
| 9624 | "name": "codepoints" |
| 9625 | }, |
| 9626 | { |
| 9627 | "type": "int", |
| 9628 | "name": "length" |
| 9629 | }, |
| 9630 | { |
| 9631 | "type": "float", |
| 9632 | "name": "fontSize" |
| 9633 | }, |
| 9634 | { |
| 9635 | "type": "float", |
| 9636 | "name": "spacing" |
| 9637 | } |
| 9638 | ] |
| 9639 | }, |
| 9640 | { |
| 9641 | "name": "GetGlyphIndex", |
| 9642 | "description": "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found", |
| 9643 | "returnType": "int", |
| 9644 | "params": [ |
| 9645 | { |
| 9646 | "type": "Font", |
| 9647 | "name": "font" |
| 9648 | }, |
| 9649 | { |
| 9650 | "type": "int", |
| 9651 | "name": "codepoint" |
| 9652 | } |
| 9653 | ] |
| 9654 | }, |
| 9655 | { |
| 9656 | "name": "GetGlyphInfo", |
| 9657 | "description": "Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found", |
| 9658 | "returnType": "GlyphInfo", |
| 9659 | "params": [ |
| 9660 | { |
| 9661 | "type": "Font", |
| 9662 | "name": "font" |
| 9663 | }, |
| 9664 | { |
| 9665 | "type": "int", |
| 9666 | "name": "codepoint" |
| 9667 | } |
| 9668 | ] |
| 9669 | }, |
| 9670 | { |
| 9671 | "name": "GetGlyphAtlasRec", |
| 9672 | "description": "Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found", |
| 9673 | "returnType": "Rectangle", |
| 9674 | "params": [ |
| 9675 | { |
| 9676 | "type": "Font", |
| 9677 | "name": "font" |
| 9678 | }, |
| 9679 | { |
| 9680 | "type": "int", |
| 9681 | "name": "codepoint" |
| 9682 | } |
| 9683 | ] |
| 9684 | }, |
| 9685 | { |
| 9686 | "name": "LoadUTF8", |
| 9687 | "description": "Load UTF-8 text encoded from codepoints array", |
| 9688 | "returnType": "char *", |
| 9689 | "params": [ |
| 9690 | { |
| 9691 | "type": "const int *", |
| 9692 | "name": "codepoints" |
| 9693 | }, |
| 9694 | { |
| 9695 | "type": "int", |
| 9696 | "name": "length" |
| 9697 | } |
| 9698 | ] |
| 9699 | }, |
| 9700 | { |
| 9701 | "name": "UnloadUTF8", |
| 9702 | "description": "Unload UTF-8 text encoded from codepoints array", |
| 9703 | "returnType": "void", |
| 9704 | "params": [ |
| 9705 | { |
| 9706 | "type": "char *", |
| 9707 | "name": "text" |
| 9708 | } |
| 9709 | ] |
| 9710 | }, |
| 9711 | { |
| 9712 | "name": "LoadCodepoints", |
| 9713 | "description": "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter", |
| 9714 | "returnType": "int *", |
| 9715 | "params": [ |
| 9716 | { |
| 9717 | "type": "const char *", |
| 9718 | "name": "text" |
| 9719 | }, |
| 9720 | { |
| 9721 | "type": "int *", |
| 9722 | "name": "count" |
| 9723 | } |
| 9724 | ] |
| 9725 | }, |
| 9726 | { |
| 9727 | "name": "UnloadCodepoints", |
| 9728 | "description": "Unload codepoints data from memory", |
| 9729 | "returnType": "void", |
| 9730 | "params": [ |
| 9731 | { |
| 9732 | "type": "int *", |
| 9733 | "name": "codepoints" |
| 9734 | } |
| 9735 | ] |
| 9736 | }, |
| 9737 | { |
| 9738 | "name": "GetCodepointCount", |
| 9739 | "description": "Get total number of codepoints in a UTF-8 encoded string", |
| 9740 | "returnType": "int", |
| 9741 | "params": [ |
| 9742 | { |
| 9743 | "type": "const char *", |
| 9744 | "name": "text" |
| 9745 | } |
| 9746 | ] |
| 9747 | }, |
| 9748 | { |
| 9749 | "name": "GetCodepoint", |
| 9750 | "description": "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure", |
| 9751 | "returnType": "int", |
| 9752 | "params": [ |
| 9753 | { |
| 9754 | "type": "const char *", |
| 9755 | "name": "text" |
| 9756 | }, |
| 9757 | { |
| 9758 | "type": "int *", |
| 9759 | "name": "codepointSize" |
| 9760 | } |
| 9761 | ] |
| 9762 | }, |
| 9763 | { |
| 9764 | "name": "GetCodepointNext", |
| 9765 | "description": "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure", |
| 9766 | "returnType": "int", |
| 9767 | "params": [ |
| 9768 | { |
| 9769 | "type": "const char *", |
| 9770 | "name": "text" |
| 9771 | }, |
| 9772 | { |
| 9773 | "type": "int *", |
| 9774 | "name": "codepointSize" |
| 9775 | } |
| 9776 | ] |
| 9777 | }, |
| 9778 | { |
| 9779 | "name": "GetCodepointPrevious", |
| 9780 | "description": "Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure", |
| 9781 | "returnType": "int", |
| 9782 | "params": [ |
| 9783 | { |
| 9784 | "type": "const char *", |
| 9785 | "name": "text" |
| 9786 | }, |
| 9787 | { |
| 9788 | "type": "int *", |
| 9789 | "name": "codepointSize" |
| 9790 | } |
| 9791 | ] |
| 9792 | }, |
| 9793 | { |
| 9794 | "name": "CodepointToUTF8", |
| 9795 | "description": "Encode one codepoint into UTF-8 byte array (array length returned as parameter)", |
| 9796 | "returnType": "const char *", |
| 9797 | "params": [ |
| 9798 | { |
| 9799 | "type": "int", |
| 9800 | "name": "codepoint" |
| 9801 | }, |
| 9802 | { |
| 9803 | "type": "int *", |
| 9804 | "name": "utf8Size" |
| 9805 | } |
| 9806 | ] |
| 9807 | }, |
| 9808 | { |
| 9809 | "name": "LoadTextLines", |
| 9810 | "description": "Load text as separate lines ('\\n')", |
| 9811 | "returnType": "char **", |
| 9812 | "params": [ |
| 9813 | { |
| 9814 | "type": "const char *", |
| 9815 | "name": "text" |
| 9816 | }, |
| 9817 | { |
| 9818 | "type": "int *", |
| 9819 | "name": "count" |
| 9820 | } |
| 9821 | ] |
| 9822 | }, |
| 9823 | { |
| 9824 | "name": "UnloadTextLines", |
| 9825 | "description": "Unload text lines", |
| 9826 | "returnType": "void", |
| 9827 | "params": [ |
| 9828 | { |
| 9829 | "type": "char **", |
| 9830 | "name": "text" |
| 9831 | }, |
| 9832 | { |
| 9833 | "type": "int", |
| 9834 | "name": "lineCount" |
| 9835 | } |
| 9836 | ] |
| 9837 | }, |
| 9838 | { |
| 9839 | "name": "TextCopy", |
| 9840 | "description": "Copy one string to another, returns bytes copied", |
| 9841 | "returnType": "int", |
| 9842 | "params": [ |
| 9843 | { |
| 9844 | "type": "char *", |
| 9845 | "name": "dst" |
| 9846 | }, |
| 9847 | { |
| 9848 | "type": "const char *", |
| 9849 | "name": "src" |
| 9850 | } |
| 9851 | ] |
| 9852 | }, |
| 9853 | { |
| 9854 | "name": "TextIsEqual", |
| 9855 | "description": "Check if two text string are equal", |
| 9856 | "returnType": "bool", |
| 9857 | "params": [ |
| 9858 | { |
| 9859 | "type": "const char *", |
| 9860 | "name": "text1" |
| 9861 | }, |
| 9862 | { |
| 9863 | "type": "const char *", |
| 9864 | "name": "text2" |
| 9865 | } |
| 9866 | ] |
| 9867 | }, |
| 9868 | { |
| 9869 | "name": "TextLength", |
| 9870 | "description": "Get text length, checks for '\\0' ending", |
| 9871 | "returnType": "unsigned int", |
| 9872 | "params": [ |
| 9873 | { |
| 9874 | "type": "const char *", |
| 9875 | "name": "text" |
| 9876 | } |
| 9877 | ] |
| 9878 | }, |
| 9879 | { |
| 9880 | "name": "TextFormat", |
| 9881 | "description": "Text formatting with variables (sprintf() style)", |
| 9882 | "returnType": "const char *", |
| 9883 | "params": [ |
| 9884 | { |
| 9885 | "type": "const char *", |
| 9886 | "name": "text" |
| 9887 | }, |
| 9888 | { |
| 9889 | "type": "...", |
| 9890 | "name": "args" |
| 9891 | } |
| 9892 | ] |
| 9893 | }, |
| 9894 | { |
| 9895 | "name": "TextSubtext", |
| 9896 | "description": "Get a piece of a text string", |
| 9897 | "returnType": "const char *", |
| 9898 | "params": [ |
| 9899 | { |
| 9900 | "type": "const char *", |
| 9901 | "name": "text" |
| 9902 | }, |
| 9903 | { |
| 9904 | "type": "int", |
| 9905 | "name": "position" |
| 9906 | }, |
| 9907 | { |
| 9908 | "type": "int", |
| 9909 | "name": "length" |
| 9910 | } |
| 9911 | ] |
| 9912 | }, |
| 9913 | { |
| 9914 | "name": "TextRemoveSpaces", |
| 9915 | "description": "Remove text spaces, concat words", |
| 9916 | "returnType": "const char *", |
| 9917 | "params": [ |
| 9918 | { |
| 9919 | "type": "const char *", |
| 9920 | "name": "text" |
| 9921 | } |
| 9922 | ] |
| 9923 | }, |
| 9924 | { |
| 9925 | "name": "GetTextBetween", |
| 9926 | "description": "Get text between two strings", |
| 9927 | "returnType": "char *", |
| 9928 | "params": [ |
| 9929 | { |
| 9930 | "type": "const char *", |
| 9931 | "name": "text" |
| 9932 | }, |
| 9933 | { |
| 9934 | "type": "const char *", |
| 9935 | "name": "begin" |
| 9936 | }, |
| 9937 | { |
| 9938 | "type": "const char *", |
| 9939 | "name": "end" |
| 9940 | } |
| 9941 | ] |
| 9942 | }, |
| 9943 | { |
| 9944 | "name": "TextReplace", |
| 9945 | "description": "Replace text string with new string", |
| 9946 | "returnType": "char *", |
| 9947 | "params": [ |
| 9948 | { |
| 9949 | "type": "const char *", |
| 9950 | "name": "text" |
| 9951 | }, |
| 9952 | { |
| 9953 | "type": "const char *", |
| 9954 | "name": "search" |
| 9955 | }, |
| 9956 | { |
| 9957 | "type": "const char *", |
| 9958 | "name": "replacement" |
| 9959 | } |
| 9960 | ] |
| 9961 | }, |
| 9962 | { |
| 9963 | "name": "TextReplaceAlloc", |
| 9964 | "description": "Replace text string with new string, memory must be MemFree()", |
| 9965 | "returnType": "char *", |
| 9966 | "params": [ |
| 9967 | { |
| 9968 | "type": "const char *", |
| 9969 | "name": "text" |
| 9970 | }, |
| 9971 | { |
| 9972 | "type": "const char *", |
| 9973 | "name": "search" |
| 9974 | }, |
| 9975 | { |
| 9976 | "type": "const char *", |
| 9977 | "name": "replacement" |
| 9978 | } |
| 9979 | ] |
| 9980 | }, |
| 9981 | { |
| 9982 | "name": "TextReplaceBetween", |
| 9983 | "description": "Replace text between two specific strings", |
| 9984 | "returnType": "char *", |
| 9985 | "params": [ |
| 9986 | { |
| 9987 | "type": "const char *", |
| 9988 | "name": "text" |
| 9989 | }, |
| 9990 | { |
| 9991 | "type": "const char *", |
| 9992 | "name": "begin" |
| 9993 | }, |
| 9994 | { |
| 9995 | "type": "const char *", |
| 9996 | "name": "end" |
| 9997 | }, |
| 9998 | { |
| 9999 | "type": "const char *", |
| 10000 | "name": "replacement" |
| 10001 | } |
| 10002 | ] |
| 10003 | }, |
| 10004 | { |
| 10005 | "name": "TextReplaceBetweenAlloc", |
| 10006 | "description": "Replace text between two specific strings, memory must be MemFree()", |
| 10007 | "returnType": "char *", |
| 10008 | "params": [ |
| 10009 | { |
| 10010 | "type": "const char *", |
| 10011 | "name": "text" |
| 10012 | }, |
| 10013 | { |
| 10014 | "type": "const char *", |
| 10015 | "name": "begin" |
| 10016 | }, |
| 10017 | { |
| 10018 | "type": "const char *", |
| 10019 | "name": "end" |
| 10020 | }, |
| 10021 | { |
| 10022 | "type": "const char *", |
| 10023 | "name": "replacement" |
| 10024 | } |
| 10025 | ] |
| 10026 | }, |
| 10027 | { |
| 10028 | "name": "TextInsert", |
| 10029 | "description": "Insert text in a defined byte position", |
| 10030 | "returnType": "char *", |
| 10031 | "params": [ |
| 10032 | { |
| 10033 | "type": "const char *", |
| 10034 | "name": "text" |
| 10035 | }, |
| 10036 | { |
| 10037 | "type": "const char *", |
| 10038 | "name": "insert" |
| 10039 | }, |
| 10040 | { |
| 10041 | "type": "int", |
| 10042 | "name": "position" |
| 10043 | } |
| 10044 | ] |
| 10045 | }, |
| 10046 | { |
| 10047 | "name": "TextInsertAlloc", |
| 10048 | "description": "Insert text in a defined byte position, memory must be MemFree()", |
| 10049 | "returnType": "char *", |
| 10050 | "params": [ |
| 10051 | { |
| 10052 | "type": "const char *", |
| 10053 | "name": "text" |
| 10054 | }, |
| 10055 | { |
| 10056 | "type": "const char *", |
| 10057 | "name": "insert" |
| 10058 | }, |
| 10059 | { |
| 10060 | "type": "int", |
| 10061 | "name": "position" |
| 10062 | } |
| 10063 | ] |
| 10064 | }, |
| 10065 | { |
| 10066 | "name": "TextJoin", |
| 10067 | "description": "Join text strings with delimiter", |
| 10068 | "returnType": "char *", |
| 10069 | "params": [ |
| 10070 | { |
| 10071 | "type": "char **", |
| 10072 | "name": "textList" |
| 10073 | }, |
| 10074 | { |
| 10075 | "type": "int", |
| 10076 | "name": "count" |
| 10077 | }, |
| 10078 | { |
| 10079 | "type": "const char *", |
| 10080 | "name": "delimiter" |
| 10081 | } |
| 10082 | ] |
| 10083 | }, |
| 10084 | { |
| 10085 | "name": "TextSplit", |
| 10086 | "description": "Split text into multiple strings, using MAX_TEXTSPLIT_COUNT static strings", |
| 10087 | "returnType": "char **", |
| 10088 | "params": [ |
| 10089 | { |
| 10090 | "type": "const char *", |
| 10091 | "name": "text" |
| 10092 | }, |
| 10093 | { |
| 10094 | "type": "char", |
| 10095 | "name": "delimiter" |
| 10096 | }, |
| 10097 | { |
| 10098 | "type": "int *", |
| 10099 | "name": "count" |
| 10100 | } |
| 10101 | ] |
| 10102 | }, |
| 10103 | { |
| 10104 | "name": "TextAppend", |
| 10105 | "description": "Append text at specific position and move cursor", |
| 10106 | "returnType": "void", |
| 10107 | "params": [ |
| 10108 | { |
| 10109 | "type": "char *", |
| 10110 | "name": "text" |
| 10111 | }, |
| 10112 | { |
| 10113 | "type": "const char *", |
| 10114 | "name": "append" |
| 10115 | }, |
| 10116 | { |
| 10117 | "type": "int *", |
| 10118 | "name": "position" |
| 10119 | } |
| 10120 | ] |
| 10121 | }, |
| 10122 | { |
| 10123 | "name": "TextFindIndex", |
| 10124 | "description": "Find first text occurrence within a string, -1 if not found", |
| 10125 | "returnType": "int", |
| 10126 | "params": [ |
| 10127 | { |
| 10128 | "type": "const char *", |
| 10129 | "name": "text" |
| 10130 | }, |
| 10131 | { |
| 10132 | "type": "const char *", |
| 10133 | "name": "search" |
| 10134 | } |
| 10135 | ] |
| 10136 | }, |
| 10137 | { |
| 10138 | "name": "TextToUpper", |
| 10139 | "description": "Get upper case version of provided string", |
| 10140 | "returnType": "char *", |
| 10141 | "params": [ |
| 10142 | { |
| 10143 | "type": "const char *", |
| 10144 | "name": "text" |
| 10145 | } |
| 10146 | ] |
| 10147 | }, |
| 10148 | { |
| 10149 | "name": "TextToLower", |
| 10150 | "description": "Get lower case version of provided string", |
| 10151 | "returnType": "char *", |
| 10152 | "params": [ |
| 10153 | { |
| 10154 | "type": "const char *", |
| 10155 | "name": "text" |
| 10156 | } |
| 10157 | ] |
| 10158 | }, |
| 10159 | { |
| 10160 | "name": "TextToPascal", |
| 10161 | "description": "Get Pascal case notation version of provided string", |
| 10162 | "returnType": "char *", |
| 10163 | "params": [ |
| 10164 | { |
| 10165 | "type": "const char *", |
| 10166 | "name": "text" |
| 10167 | } |
| 10168 | ] |
| 10169 | }, |
| 10170 | { |
| 10171 | "name": "TextToSnake", |
| 10172 | "description": "Get Snake case notation version of provided string", |
| 10173 | "returnType": "char *", |
| 10174 | "params": [ |
| 10175 | { |
| 10176 | "type": "const char *", |
| 10177 | "name": "text" |
| 10178 | } |
| 10179 | ] |
| 10180 | }, |
| 10181 | { |
| 10182 | "name": "TextToCamel", |
| 10183 | "description": "Get Camel case notation version of provided string", |
| 10184 | "returnType": "char *", |
| 10185 | "params": [ |
| 10186 | { |
| 10187 | "type": "const char *", |
| 10188 | "name": "text" |
| 10189 | } |
| 10190 | ] |
| 10191 | }, |
| 10192 | { |
| 10193 | "name": "TextToInteger", |
| 10194 | "description": "Get integer value from text", |
| 10195 | "returnType": "int", |
| 10196 | "params": [ |
| 10197 | { |
| 10198 | "type": "const char *", |
| 10199 | "name": "text" |
| 10200 | } |
| 10201 | ] |
| 10202 | }, |
| 10203 | { |
| 10204 | "name": "TextToFloat", |
| 10205 | "description": "Get float value from text", |
| 10206 | "returnType": "float", |
| 10207 | "params": [ |
| 10208 | { |
| 10209 | "type": "const char *", |
| 10210 | "name": "text" |
| 10211 | } |
| 10212 | ] |
| 10213 | }, |
| 10214 | { |
| 10215 | "name": "DrawLine3D", |
| 10216 | "description": "Draw a line in 3D world space", |
| 10217 | "returnType": "void", |
| 10218 | "params": [ |
| 10219 | { |
| 10220 | "type": "Vector3", |
| 10221 | "name": "startPos" |
| 10222 | }, |
| 10223 | { |
| 10224 | "type": "Vector3", |
| 10225 | "name": "endPos" |
| 10226 | }, |
| 10227 | { |
| 10228 | "type": "Color", |
| 10229 | "name": "color" |
| 10230 | } |
| 10231 | ] |
| 10232 | }, |
| 10233 | { |
| 10234 | "name": "DrawPoint3D", |
| 10235 | "description": "Draw a point in 3D space, actually a small line", |
| 10236 | "returnType": "void", |
| 10237 | "params": [ |
| 10238 | { |
| 10239 | "type": "Vector3", |
| 10240 | "name": "position" |
| 10241 | }, |
| 10242 | { |
| 10243 | "type": "Color", |
| 10244 | "name": "color" |
| 10245 | } |
| 10246 | ] |
| 10247 | }, |
| 10248 | { |
| 10249 | "name": "DrawCircle3D", |
| 10250 | "description": "Draw a circle in 3D world space", |
| 10251 | "returnType": "void", |
| 10252 | "params": [ |
| 10253 | { |
| 10254 | "type": "Vector3", |
| 10255 | "name": "center" |
| 10256 | }, |
| 10257 | { |
| 10258 | "type": "float", |
| 10259 | "name": "radius" |
| 10260 | }, |
| 10261 | { |
| 10262 | "type": "Vector3", |
| 10263 | "name": "rotationAxis" |
| 10264 | }, |
| 10265 | { |
| 10266 | "type": "float", |
| 10267 | "name": "rotationAngle" |
| 10268 | }, |
| 10269 | { |
| 10270 | "type": "Color", |
| 10271 | "name": "color" |
| 10272 | } |
| 10273 | ] |
| 10274 | }, |
| 10275 | { |
| 10276 | "name": "DrawTriangle3D", |
| 10277 | "description": "Draw a color-filled triangle (vertex in counter-clockwise order!)", |
| 10278 | "returnType": "void", |
| 10279 | "params": [ |
| 10280 | { |
| 10281 | "type": "Vector3", |
| 10282 | "name": "v1" |
| 10283 | }, |
| 10284 | { |
| 10285 | "type": "Vector3", |
| 10286 | "name": "v2" |
| 10287 | }, |
| 10288 | { |
| 10289 | "type": "Vector3", |
| 10290 | "name": "v3" |
| 10291 | }, |
| 10292 | { |
| 10293 | "type": "Color", |
| 10294 | "name": "color" |
| 10295 | } |
| 10296 | ] |
| 10297 | }, |
| 10298 | { |
| 10299 | "name": "DrawTriangleStrip3D", |
| 10300 | "description": "Draw a triangle strip defined by points", |
| 10301 | "returnType": "void", |
| 10302 | "params": [ |
| 10303 | { |
| 10304 | "type": "const Vector3 *", |
| 10305 | "name": "points" |
| 10306 | }, |
| 10307 | { |
| 10308 | "type": "int", |
| 10309 | "name": "pointCount" |
| 10310 | }, |
| 10311 | { |
| 10312 | "type": "Color", |
| 10313 | "name": "color" |
| 10314 | } |
| 10315 | ] |
| 10316 | }, |
| 10317 | { |
| 10318 | "name": "DrawCube", |
| 10319 | "description": "Draw cube", |
| 10320 | "returnType": "void", |
| 10321 | "params": [ |
| 10322 | { |
| 10323 | "type": "Vector3", |
| 10324 | "name": "position" |
| 10325 | }, |
| 10326 | { |
| 10327 | "type": "float", |
| 10328 | "name": "width" |
| 10329 | }, |
| 10330 | { |
| 10331 | "type": "float", |
| 10332 | "name": "height" |
| 10333 | }, |
| 10334 | { |
| 10335 | "type": "float", |
| 10336 | "name": "length" |
| 10337 | }, |
| 10338 | { |
| 10339 | "type": "Color", |
| 10340 | "name": "color" |
| 10341 | } |
| 10342 | ] |
| 10343 | }, |
| 10344 | { |
| 10345 | "name": "DrawCubeV", |
| 10346 | "description": "Draw cube (Vector version)", |
| 10347 | "returnType": "void", |
| 10348 | "params": [ |
| 10349 | { |
| 10350 | "type": "Vector3", |
| 10351 | "name": "position" |
| 10352 | }, |
| 10353 | { |
| 10354 | "type": "Vector3", |
| 10355 | "name": "size" |
| 10356 | }, |
| 10357 | { |
| 10358 | "type": "Color", |
| 10359 | "name": "color" |
| 10360 | } |
| 10361 | ] |
| 10362 | }, |
| 10363 | { |
| 10364 | "name": "DrawCubeWires", |
| 10365 | "description": "Draw cube wires", |
| 10366 | "returnType": "void", |
| 10367 | "params": [ |
| 10368 | { |
| 10369 | "type": "Vector3", |
| 10370 | "name": "position" |
| 10371 | }, |
| 10372 | { |
| 10373 | "type": "float", |
| 10374 | "name": "width" |
| 10375 | }, |
| 10376 | { |
| 10377 | "type": "float", |
| 10378 | "name": "height" |
| 10379 | }, |
| 10380 | { |
| 10381 | "type": "float", |
| 10382 | "name": "length" |
| 10383 | }, |
| 10384 | { |
| 10385 | "type": "Color", |
| 10386 | "name": "color" |
| 10387 | } |
| 10388 | ] |
| 10389 | }, |
| 10390 | { |
| 10391 | "name": "DrawCubeWiresV", |
| 10392 | "description": "Draw cube wires (Vector version)", |
| 10393 | "returnType": "void", |
| 10394 | "params": [ |
| 10395 | { |
| 10396 | "type": "Vector3", |
| 10397 | "name": "position" |
| 10398 | }, |
| 10399 | { |
| 10400 | "type": "Vector3", |
| 10401 | "name": "size" |
| 10402 | }, |
| 10403 | { |
| 10404 | "type": "Color", |
| 10405 | "name": "color" |
| 10406 | } |
| 10407 | ] |
| 10408 | }, |
| 10409 | { |
| 10410 | "name": "DrawSphere", |
| 10411 | "description": "Draw sphere", |
| 10412 | "returnType": "void", |
| 10413 | "params": [ |
| 10414 | { |
| 10415 | "type": "Vector3", |
| 10416 | "name": "centerPos" |
| 10417 | }, |
| 10418 | { |
| 10419 | "type": "float", |
| 10420 | "name": "radius" |
| 10421 | }, |
| 10422 | { |
| 10423 | "type": "Color", |
| 10424 | "name": "color" |
| 10425 | } |
| 10426 | ] |
| 10427 | }, |
| 10428 | { |
| 10429 | "name": "DrawSphereEx", |
| 10430 | "description": "Draw sphere with extended parameters", |
| 10431 | "returnType": "void", |
| 10432 | "params": [ |
| 10433 | { |
| 10434 | "type": "Vector3", |
| 10435 | "name": "centerPos" |
| 10436 | }, |
| 10437 | { |
| 10438 | "type": "float", |
| 10439 | "name": "radius" |
| 10440 | }, |
| 10441 | { |
| 10442 | "type": "int", |
| 10443 | "name": "rings" |
| 10444 | }, |
| 10445 | { |
| 10446 | "type": "int", |
| 10447 | "name": "slices" |
| 10448 | }, |
| 10449 | { |
| 10450 | "type": "Color", |
| 10451 | "name": "color" |
| 10452 | } |
| 10453 | ] |
| 10454 | }, |
| 10455 | { |
| 10456 | "name": "DrawSphereWires", |
| 10457 | "description": "Draw sphere wires", |
| 10458 | "returnType": "void", |
| 10459 | "params": [ |
| 10460 | { |
| 10461 | "type": "Vector3", |
| 10462 | "name": "centerPos" |
| 10463 | }, |
| 10464 | { |
| 10465 | "type": "float", |
| 10466 | "name": "radius" |
| 10467 | }, |
| 10468 | { |
| 10469 | "type": "int", |
| 10470 | "name": "rings" |
| 10471 | }, |
| 10472 | { |
| 10473 | "type": "int", |
| 10474 | "name": "slices" |
| 10475 | }, |
| 10476 | { |
| 10477 | "type": "Color", |
| 10478 | "name": "color" |
| 10479 | } |
| 10480 | ] |
| 10481 | }, |
| 10482 | { |
| 10483 | "name": "DrawCylinder", |
| 10484 | "description": "Draw a cylinder/cone", |
| 10485 | "returnType": "void", |
| 10486 | "params": [ |
| 10487 | { |
| 10488 | "type": "Vector3", |
| 10489 | "name": "position" |
| 10490 | }, |
| 10491 | { |
| 10492 | "type": "float", |
| 10493 | "name": "radiusTop" |
| 10494 | }, |
| 10495 | { |
| 10496 | "type": "float", |
| 10497 | "name": "radiusBottom" |
| 10498 | }, |
| 10499 | { |
| 10500 | "type": "float", |
| 10501 | "name": "height" |
| 10502 | }, |
| 10503 | { |
| 10504 | "type": "int", |
| 10505 | "name": "slices" |
| 10506 | }, |
| 10507 | { |
| 10508 | "type": "Color", |
| 10509 | "name": "color" |
| 10510 | } |
| 10511 | ] |
| 10512 | }, |
| 10513 | { |
| 10514 | "name": "DrawCylinderEx", |
| 10515 | "description": "Draw a cylinder with base at startPos and top at endPos", |
| 10516 | "returnType": "void", |
| 10517 | "params": [ |
| 10518 | { |
| 10519 | "type": "Vector3", |
| 10520 | "name": "startPos" |
| 10521 | }, |
| 10522 | { |
| 10523 | "type": "Vector3", |
| 10524 | "name": "endPos" |
| 10525 | }, |
| 10526 | { |
| 10527 | "type": "float", |
| 10528 | "name": "startRadius" |
| 10529 | }, |
| 10530 | { |
| 10531 | "type": "float", |
| 10532 | "name": "endRadius" |
| 10533 | }, |
| 10534 | { |
| 10535 | "type": "int", |
| 10536 | "name": "sides" |
| 10537 | }, |
| 10538 | { |
| 10539 | "type": "Color", |
| 10540 | "name": "color" |
| 10541 | } |
| 10542 | ] |
| 10543 | }, |
| 10544 | { |
| 10545 | "name": "DrawCylinderWires", |
| 10546 | "description": "Draw a cylinder/cone wires", |
| 10547 | "returnType": "void", |
| 10548 | "params": [ |
| 10549 | { |
| 10550 | "type": "Vector3", |
| 10551 | "name": "position" |
| 10552 | }, |
| 10553 | { |
| 10554 | "type": "float", |
| 10555 | "name": "radiusTop" |
| 10556 | }, |
| 10557 | { |
| 10558 | "type": "float", |
| 10559 | "name": "radiusBottom" |
| 10560 | }, |
| 10561 | { |
| 10562 | "type": "float", |
| 10563 | "name": "height" |
| 10564 | }, |
| 10565 | { |
| 10566 | "type": "int", |
| 10567 | "name": "slices" |
| 10568 | }, |
| 10569 | { |
| 10570 | "type": "Color", |
| 10571 | "name": "color" |
| 10572 | } |
| 10573 | ] |
| 10574 | }, |
| 10575 | { |
| 10576 | "name": "DrawCylinderWiresEx", |
| 10577 | "description": "Draw a cylinder wires with base at startPos and top at endPos", |
| 10578 | "returnType": "void", |
| 10579 | "params": [ |
| 10580 | { |
| 10581 | "type": "Vector3", |
| 10582 | "name": "startPos" |
| 10583 | }, |
| 10584 | { |
| 10585 | "type": "Vector3", |
| 10586 | "name": "endPos" |
| 10587 | }, |
| 10588 | { |
| 10589 | "type": "float", |
| 10590 | "name": "startRadius" |
| 10591 | }, |
| 10592 | { |
| 10593 | "type": "float", |
| 10594 | "name": "endRadius" |
| 10595 | }, |
| 10596 | { |
| 10597 | "type": "int", |
| 10598 | "name": "sides" |
| 10599 | }, |
| 10600 | { |
| 10601 | "type": "Color", |
| 10602 | "name": "color" |
| 10603 | } |
| 10604 | ] |
| 10605 | }, |
| 10606 | { |
| 10607 | "name": "DrawCapsule", |
| 10608 | "description": "Draw a capsule with the center of its sphere caps at startPos and endPos", |
| 10609 | "returnType": "void", |
| 10610 | "params": [ |
| 10611 | { |
| 10612 | "type": "Vector3", |
| 10613 | "name": "startPos" |
| 10614 | }, |
| 10615 | { |
| 10616 | "type": "Vector3", |
| 10617 | "name": "endPos" |
| 10618 | }, |
| 10619 | { |
| 10620 | "type": "float", |
| 10621 | "name": "radius" |
| 10622 | }, |
| 10623 | { |
| 10624 | "type": "int", |
| 10625 | "name": "slices" |
| 10626 | }, |
| 10627 | { |
| 10628 | "type": "int", |
| 10629 | "name": "rings" |
| 10630 | }, |
| 10631 | { |
| 10632 | "type": "Color", |
| 10633 | "name": "color" |
| 10634 | } |
| 10635 | ] |
| 10636 | }, |
| 10637 | { |
| 10638 | "name": "DrawCapsuleWires", |
| 10639 | "description": "Draw capsule wireframe with the center of its sphere caps at startPos and endPos", |
| 10640 | "returnType": "void", |
| 10641 | "params": [ |
| 10642 | { |
| 10643 | "type": "Vector3", |
| 10644 | "name": "startPos" |
| 10645 | }, |
| 10646 | { |
| 10647 | "type": "Vector3", |
| 10648 | "name": "endPos" |
| 10649 | }, |
| 10650 | { |
| 10651 | "type": "float", |
| 10652 | "name": "radius" |
| 10653 | }, |
| 10654 | { |
| 10655 | "type": "int", |
| 10656 | "name": "slices" |
| 10657 | }, |
| 10658 | { |
| 10659 | "type": "int", |
| 10660 | "name": "rings" |
| 10661 | }, |
| 10662 | { |
| 10663 | "type": "Color", |
| 10664 | "name": "color" |
| 10665 | } |
| 10666 | ] |
| 10667 | }, |
| 10668 | { |
| 10669 | "name": "DrawPlane", |
| 10670 | "description": "Draw a plane XZ", |
| 10671 | "returnType": "void", |
| 10672 | "params": [ |
| 10673 | { |
| 10674 | "type": "Vector3", |
| 10675 | "name": "centerPos" |
| 10676 | }, |
| 10677 | { |
| 10678 | "type": "Vector2", |
| 10679 | "name": "size" |
| 10680 | }, |
| 10681 | { |
| 10682 | "type": "Color", |
| 10683 | "name": "color" |
| 10684 | } |
| 10685 | ] |
| 10686 | }, |
| 10687 | { |
| 10688 | "name": "DrawRay", |
| 10689 | "description": "Draw a ray line", |
| 10690 | "returnType": "void", |
| 10691 | "params": [ |
| 10692 | { |
| 10693 | "type": "Ray", |
| 10694 | "name": "ray" |
| 10695 | }, |
| 10696 | { |
| 10697 | "type": "Color", |
| 10698 | "name": "color" |
| 10699 | } |
| 10700 | ] |
| 10701 | }, |
| 10702 | { |
| 10703 | "name": "DrawGrid", |
| 10704 | "description": "Draw a grid (centered at (0, 0, 0))", |
| 10705 | "returnType": "void", |
| 10706 | "params": [ |
| 10707 | { |
| 10708 | "type": "int", |
| 10709 | "name": "slices" |
| 10710 | }, |
| 10711 | { |
| 10712 | "type": "float", |
| 10713 | "name": "spacing" |
| 10714 | } |
| 10715 | ] |
| 10716 | }, |
| 10717 | { |
| 10718 | "name": "LoadModel", |
| 10719 | "description": "Load model from files (meshes and materials)", |
| 10720 | "returnType": "Model", |
| 10721 | "params": [ |
| 10722 | { |
| 10723 | "type": "const char *", |
| 10724 | "name": "fileName" |
| 10725 | } |
| 10726 | ] |
| 10727 | }, |
| 10728 | { |
| 10729 | "name": "LoadModelFromMesh", |
| 10730 | "description": "Load model from generated mesh (default material)", |
| 10731 | "returnType": "Model", |
| 10732 | "params": [ |
| 10733 | { |
| 10734 | "type": "Mesh", |
| 10735 | "name": "mesh" |
| 10736 | } |
| 10737 | ] |
| 10738 | }, |
| 10739 | { |
| 10740 | "name": "IsModelValid", |
| 10741 | "description": "Check if a model is valid (loaded in GPU, VAO/VBOs)", |
| 10742 | "returnType": "bool", |
| 10743 | "params": [ |
| 10744 | { |
| 10745 | "type": "Model", |
| 10746 | "name": "model" |
| 10747 | } |
| 10748 | ] |
| 10749 | }, |
| 10750 | { |
| 10751 | "name": "UnloadModel", |
| 10752 | "description": "Unload model (including meshes) from memory (RAM and/or VRAM)", |
| 10753 | "returnType": "void", |
| 10754 | "params": [ |
| 10755 | { |
| 10756 | "type": "Model", |
| 10757 | "name": "model" |
| 10758 | } |
| 10759 | ] |
| 10760 | }, |
| 10761 | { |
| 10762 | "name": "GetModelBoundingBox", |
| 10763 | "description": "Compute model bounding box limits (considers all meshes)", |
| 10764 | "returnType": "BoundingBox", |
| 10765 | "params": [ |
| 10766 | { |
| 10767 | "type": "Model", |
| 10768 | "name": "model" |
| 10769 | } |
| 10770 | ] |
| 10771 | }, |
| 10772 | { |
| 10773 | "name": "DrawModel", |
| 10774 | "description": "Draw a model (with texture if set)", |
| 10775 | "returnType": "void", |
| 10776 | "params": [ |
| 10777 | { |
| 10778 | "type": "Model", |
| 10779 | "name": "model" |
| 10780 | }, |
| 10781 | { |
| 10782 | "type": "Vector3", |
| 10783 | "name": "position" |
| 10784 | }, |
| 10785 | { |
| 10786 | "type": "float", |
| 10787 | "name": "scale" |
| 10788 | }, |
| 10789 | { |
| 10790 | "type": "Color", |
| 10791 | "name": "tint" |
| 10792 | } |
| 10793 | ] |
| 10794 | }, |
| 10795 | { |
| 10796 | "name": "DrawModelEx", |
| 10797 | "description": "Draw a model with extended parameters", |
| 10798 | "returnType": "void", |
| 10799 | "params": [ |
| 10800 | { |
| 10801 | "type": "Model", |
| 10802 | "name": "model" |
| 10803 | }, |
| 10804 | { |
| 10805 | "type": "Vector3", |
| 10806 | "name": "position" |
| 10807 | }, |
| 10808 | { |
| 10809 | "type": "Vector3", |
| 10810 | "name": "rotationAxis" |
| 10811 | }, |
| 10812 | { |
| 10813 | "type": "float", |
| 10814 | "name": "rotationAngle" |
| 10815 | }, |
| 10816 | { |
| 10817 | "type": "Vector3", |
| 10818 | "name": "scale" |
| 10819 | }, |
| 10820 | { |
| 10821 | "type": "Color", |
| 10822 | "name": "tint" |
| 10823 | } |
| 10824 | ] |
| 10825 | }, |
| 10826 | { |
| 10827 | "name": "DrawModelWires", |
| 10828 | "description": "Draw a model wires (with texture if set)", |
| 10829 | "returnType": "void", |
| 10830 | "params": [ |
| 10831 | { |
| 10832 | "type": "Model", |
| 10833 | "name": "model" |
| 10834 | }, |
| 10835 | { |
| 10836 | "type": "Vector3", |
| 10837 | "name": "position" |
| 10838 | }, |
| 10839 | { |
| 10840 | "type": "float", |
| 10841 | "name": "scale" |
| 10842 | }, |
| 10843 | { |
| 10844 | "type": "Color", |
| 10845 | "name": "tint" |
| 10846 | } |
| 10847 | ] |
| 10848 | }, |
| 10849 | { |
| 10850 | "name": "DrawModelWiresEx", |
| 10851 | "description": "Draw a model wires (with texture if set) with extended parameters", |
| 10852 | "returnType": "void", |
| 10853 | "params": [ |
| 10854 | { |
| 10855 | "type": "Model", |
| 10856 | "name": "model" |
| 10857 | }, |
| 10858 | { |
| 10859 | "type": "Vector3", |
| 10860 | "name": "position" |
| 10861 | }, |
| 10862 | { |
| 10863 | "type": "Vector3", |
| 10864 | "name": "rotationAxis" |
| 10865 | }, |
| 10866 | { |
| 10867 | "type": "float", |
| 10868 | "name": "rotationAngle" |
| 10869 | }, |
| 10870 | { |
| 10871 | "type": "Vector3", |
| 10872 | "name": "scale" |
| 10873 | }, |
| 10874 | { |
| 10875 | "type": "Color", |
| 10876 | "name": "tint" |
| 10877 | } |
| 10878 | ] |
| 10879 | }, |
| 10880 | { |
| 10881 | "name": "DrawBoundingBox", |
| 10882 | "description": "Draw bounding box (wires)", |
| 10883 | "returnType": "void", |
| 10884 | "params": [ |
| 10885 | { |
| 10886 | "type": "BoundingBox", |
| 10887 | "name": "box" |
| 10888 | }, |
| 10889 | { |
| 10890 | "type": "Color", |
| 10891 | "name": "color" |
| 10892 | } |
| 10893 | ] |
| 10894 | }, |
| 10895 | { |
| 10896 | "name": "DrawBillboard", |
| 10897 | "description": "Draw a billboard texture", |
| 10898 | "returnType": "void", |
| 10899 | "params": [ |
| 10900 | { |
| 10901 | "type": "Camera", |
| 10902 | "name": "camera" |
| 10903 | }, |
| 10904 | { |
| 10905 | "type": "Texture2D", |
| 10906 | "name": "texture" |
| 10907 | }, |
| 10908 | { |
| 10909 | "type": "Vector3", |
| 10910 | "name": "position" |
| 10911 | }, |
| 10912 | { |
| 10913 | "type": "float", |
| 10914 | "name": "scale" |
| 10915 | }, |
| 10916 | { |
| 10917 | "type": "Color", |
| 10918 | "name": "tint" |
| 10919 | } |
| 10920 | ] |
| 10921 | }, |
| 10922 | { |
| 10923 | "name": "DrawBillboardRec", |
| 10924 | "description": "Draw a billboard texture defined by source", |
| 10925 | "returnType": "void", |
| 10926 | "params": [ |
| 10927 | { |
| 10928 | "type": "Camera", |
| 10929 | "name": "camera" |
| 10930 | }, |
| 10931 | { |
| 10932 | "type": "Texture2D", |
| 10933 | "name": "texture" |
| 10934 | }, |
| 10935 | { |
| 10936 | "type": "Rectangle", |
| 10937 | "name": "source" |
| 10938 | }, |
| 10939 | { |
| 10940 | "type": "Vector3", |
| 10941 | "name": "position" |
| 10942 | }, |
| 10943 | { |
| 10944 | "type": "Vector2", |
| 10945 | "name": "size" |
| 10946 | }, |
| 10947 | { |
| 10948 | "type": "Color", |
| 10949 | "name": "tint" |
| 10950 | } |
| 10951 | ] |
| 10952 | }, |
| 10953 | { |
| 10954 | "name": "DrawBillboardPro", |
| 10955 | "description": "Draw a billboard texture defined by source and rotation", |
| 10956 | "returnType": "void", |
| 10957 | "params": [ |
| 10958 | { |
| 10959 | "type": "Camera", |
| 10960 | "name": "camera" |
| 10961 | }, |
| 10962 | { |
| 10963 | "type": "Texture2D", |
| 10964 | "name": "texture" |
| 10965 | }, |
| 10966 | { |
| 10967 | "type": "Rectangle", |
| 10968 | "name": "source" |
| 10969 | }, |
| 10970 | { |
| 10971 | "type": "Vector3", |
| 10972 | "name": "position" |
| 10973 | }, |
| 10974 | { |
| 10975 | "type": "Vector3", |
| 10976 | "name": "up" |
| 10977 | }, |
| 10978 | { |
| 10979 | "type": "Vector2", |
| 10980 | "name": "size" |
| 10981 | }, |
| 10982 | { |
| 10983 | "type": "Vector2", |
| 10984 | "name": "origin" |
| 10985 | }, |
| 10986 | { |
| 10987 | "type": "float", |
| 10988 | "name": "rotation" |
| 10989 | }, |
| 10990 | { |
| 10991 | "type": "Color", |
| 10992 | "name": "tint" |
| 10993 | } |
| 10994 | ] |
| 10995 | }, |
| 10996 | { |
| 10997 | "name": "UploadMesh", |
| 10998 | "description": "Upload mesh vertex data in GPU and provide VAO/VBO ids", |
| 10999 | "returnType": "void", |
| 11000 | "params": [ |
| 11001 | { |
| 11002 | "type": "Mesh *", |
| 11003 | "name": "mesh" |
| 11004 | }, |
| 11005 | { |
| 11006 | "type": "bool", |
| 11007 | "name": "dynamic" |
| 11008 | } |
| 11009 | ] |
| 11010 | }, |
| 11011 | { |
| 11012 | "name": "UpdateMeshBuffer", |
| 11013 | "description": "Update mesh vertex data in GPU for a specific buffer index", |
| 11014 | "returnType": "void", |
| 11015 | "params": [ |
| 11016 | { |
| 11017 | "type": "Mesh", |
| 11018 | "name": "mesh" |
| 11019 | }, |
| 11020 | { |
| 11021 | "type": "int", |
| 11022 | "name": "index" |
| 11023 | }, |
| 11024 | { |
| 11025 | "type": "const void *", |
| 11026 | "name": "data" |
| 11027 | }, |
| 11028 | { |
| 11029 | "type": "int", |
| 11030 | "name": "dataSize" |
| 11031 | }, |
| 11032 | { |
| 11033 | "type": "int", |
| 11034 | "name": "offset" |
| 11035 | } |
| 11036 | ] |
| 11037 | }, |
| 11038 | { |
| 11039 | "name": "UnloadMesh", |
| 11040 | "description": "Unload mesh data from CPU and GPU", |
| 11041 | "returnType": "void", |
| 11042 | "params": [ |
| 11043 | { |
| 11044 | "type": "Mesh", |
| 11045 | "name": "mesh" |
| 11046 | } |
| 11047 | ] |
| 11048 | }, |
| 11049 | { |
| 11050 | "name": "DrawMesh", |
| 11051 | "description": "Draw a 3d mesh with material and transform", |
| 11052 | "returnType": "void", |
| 11053 | "params": [ |
| 11054 | { |
| 11055 | "type": "Mesh", |
| 11056 | "name": "mesh" |
| 11057 | }, |
| 11058 | { |
| 11059 | "type": "Material", |
| 11060 | "name": "material" |
| 11061 | }, |
| 11062 | { |
| 11063 | "type": "Matrix", |
| 11064 | "name": "transform" |
| 11065 | } |
| 11066 | ] |
| 11067 | }, |
| 11068 | { |
| 11069 | "name": "DrawMeshInstanced", |
| 11070 | "description": "Draw multiple mesh instances with material and different transforms", |
| 11071 | "returnType": "void", |
| 11072 | "params": [ |
| 11073 | { |
| 11074 | "type": "Mesh", |
| 11075 | "name": "mesh" |
| 11076 | }, |
| 11077 | { |
| 11078 | "type": "Material", |
| 11079 | "name": "material" |
| 11080 | }, |
| 11081 | { |
| 11082 | "type": "const Matrix *", |
| 11083 | "name": "transforms" |
| 11084 | }, |
| 11085 | { |
| 11086 | "type": "int", |
| 11087 | "name": "instances" |
| 11088 | } |
| 11089 | ] |
| 11090 | }, |
| 11091 | { |
| 11092 | "name": "GetMeshBoundingBox", |
| 11093 | "description": "Compute mesh bounding box limits", |
| 11094 | "returnType": "BoundingBox", |
| 11095 | "params": [ |
| 11096 | { |
| 11097 | "type": "Mesh", |
| 11098 | "name": "mesh" |
| 11099 | } |
| 11100 | ] |
| 11101 | }, |
| 11102 | { |
| 11103 | "name": "GenMeshTangents", |
| 11104 | "description": "Compute mesh tangents", |
| 11105 | "returnType": "void", |
| 11106 | "params": [ |
| 11107 | { |
| 11108 | "type": "Mesh *", |
| 11109 | "name": "mesh" |
| 11110 | } |
| 11111 | ] |
| 11112 | }, |
| 11113 | { |
| 11114 | "name": "ExportMesh", |
| 11115 | "description": "Export mesh data to file, returns true on success", |
| 11116 | "returnType": "bool", |
| 11117 | "params": [ |
| 11118 | { |
| 11119 | "type": "Mesh", |
| 11120 | "name": "mesh" |
| 11121 | }, |
| 11122 | { |
| 11123 | "type": "const char *", |
| 11124 | "name": "fileName" |
| 11125 | } |
| 11126 | ] |
| 11127 | }, |
| 11128 | { |
| 11129 | "name": "ExportMeshAsCode", |
| 11130 | "description": "Export mesh as code file (.h) defining multiple arrays of vertex attributes", |
| 11131 | "returnType": "bool", |
| 11132 | "params": [ |
| 11133 | { |
| 11134 | "type": "Mesh", |
| 11135 | "name": "mesh" |
| 11136 | }, |
| 11137 | { |
| 11138 | "type": "const char *", |
| 11139 | "name": "fileName" |
| 11140 | } |
| 11141 | ] |
| 11142 | }, |
| 11143 | { |
| 11144 | "name": "GenMeshPoly", |
| 11145 | "description": "Generate polygonal mesh", |
| 11146 | "returnType": "Mesh", |
| 11147 | "params": [ |
| 11148 | { |
| 11149 | "type": "int", |
| 11150 | "name": "sides" |
| 11151 | }, |
| 11152 | { |
| 11153 | "type": "float", |
| 11154 | "name": "radius" |
| 11155 | } |
| 11156 | ] |
| 11157 | }, |
| 11158 | { |
| 11159 | "name": "GenMeshPlane", |
| 11160 | "description": "Generate plane mesh (with subdivisions)", |
| 11161 | "returnType": "Mesh", |
| 11162 | "params": [ |
| 11163 | { |
| 11164 | "type": "float", |
| 11165 | "name": "width" |
| 11166 | }, |
| 11167 | { |
| 11168 | "type": "float", |
| 11169 | "name": "length" |
| 11170 | }, |
| 11171 | { |
| 11172 | "type": "int", |
| 11173 | "name": "resX" |
| 11174 | }, |
| 11175 | { |
| 11176 | "type": "int", |
| 11177 | "name": "resZ" |
| 11178 | } |
| 11179 | ] |
| 11180 | }, |
| 11181 | { |
| 11182 | "name": "GenMeshCube", |
| 11183 | "description": "Generate cuboid mesh", |
| 11184 | "returnType": "Mesh", |
| 11185 | "params": [ |
| 11186 | { |
| 11187 | "type": "float", |
| 11188 | "name": "width" |
| 11189 | }, |
| 11190 | { |
| 11191 | "type": "float", |
| 11192 | "name": "height" |
| 11193 | }, |
| 11194 | { |
| 11195 | "type": "float", |
| 11196 | "name": "length" |
| 11197 | } |
| 11198 | ] |
| 11199 | }, |
| 11200 | { |
| 11201 | "name": "GenMeshSphere", |
| 11202 | "description": "Generate sphere mesh (standard sphere)", |
| 11203 | "returnType": "Mesh", |
| 11204 | "params": [ |
| 11205 | { |
| 11206 | "type": "float", |
| 11207 | "name": "radius" |
| 11208 | }, |
| 11209 | { |
| 11210 | "type": "int", |
| 11211 | "name": "rings" |
| 11212 | }, |
| 11213 | { |
| 11214 | "type": "int", |
| 11215 | "name": "slices" |
| 11216 | } |
| 11217 | ] |
| 11218 | }, |
| 11219 | { |
| 11220 | "name": "GenMeshHemiSphere", |
| 11221 | "description": "Generate half-sphere mesh (no bottom cap)", |
| 11222 | "returnType": "Mesh", |
| 11223 | "params": [ |
| 11224 | { |
| 11225 | "type": "float", |
| 11226 | "name": "radius" |
| 11227 | }, |
| 11228 | { |
| 11229 | "type": "int", |
| 11230 | "name": "rings" |
| 11231 | }, |
| 11232 | { |
| 11233 | "type": "int", |
| 11234 | "name": "slices" |
| 11235 | } |
| 11236 | ] |
| 11237 | }, |
| 11238 | { |
| 11239 | "name": "GenMeshCylinder", |
| 11240 | "description": "Generate cylinder mesh", |
| 11241 | "returnType": "Mesh", |
| 11242 | "params": [ |
| 11243 | { |
| 11244 | "type": "float", |
| 11245 | "name": "radius" |
| 11246 | }, |
| 11247 | { |
| 11248 | "type": "float", |
| 11249 | "name": "height" |
| 11250 | }, |
| 11251 | { |
| 11252 | "type": "int", |
| 11253 | "name": "slices" |
| 11254 | } |
| 11255 | ] |
| 11256 | }, |
| 11257 | { |
| 11258 | "name": "GenMeshCone", |
| 11259 | "description": "Generate cone/pyramid mesh", |
| 11260 | "returnType": "Mesh", |
| 11261 | "params": [ |
| 11262 | { |
| 11263 | "type": "float", |
| 11264 | "name": "radius" |
| 11265 | }, |
| 11266 | { |
| 11267 | "type": "float", |
| 11268 | "name": "height" |
| 11269 | }, |
| 11270 | { |
| 11271 | "type": "int", |
| 11272 | "name": "slices" |
| 11273 | } |
| 11274 | ] |
| 11275 | }, |
| 11276 | { |
| 11277 | "name": "GenMeshTorus", |
| 11278 | "description": "Generate torus mesh", |
| 11279 | "returnType": "Mesh", |
| 11280 | "params": [ |
| 11281 | { |
| 11282 | "type": "float", |
| 11283 | "name": "radius" |
| 11284 | }, |
| 11285 | { |
| 11286 | "type": "float", |
| 11287 | "name": "size" |
| 11288 | }, |
| 11289 | { |
| 11290 | "type": "int", |
| 11291 | "name": "radSeg" |
| 11292 | }, |
| 11293 | { |
| 11294 | "type": "int", |
| 11295 | "name": "sides" |
| 11296 | } |
| 11297 | ] |
| 11298 | }, |
| 11299 | { |
| 11300 | "name": "GenMeshKnot", |
| 11301 | "description": "Generate trefoil knot mesh", |
| 11302 | "returnType": "Mesh", |
| 11303 | "params": [ |
| 11304 | { |
| 11305 | "type": "float", |
| 11306 | "name": "radius" |
| 11307 | }, |
| 11308 | { |
| 11309 | "type": "float", |
| 11310 | "name": "size" |
| 11311 | }, |
| 11312 | { |
| 11313 | "type": "int", |
| 11314 | "name": "radSeg" |
| 11315 | }, |
| 11316 | { |
| 11317 | "type": "int", |
| 11318 | "name": "sides" |
| 11319 | } |
| 11320 | ] |
| 11321 | }, |
| 11322 | { |
| 11323 | "name": "GenMeshHeightmap", |
| 11324 | "description": "Generate heightmap mesh from image data", |
| 11325 | "returnType": "Mesh", |
| 11326 | "params": [ |
| 11327 | { |
| 11328 | "type": "Image", |
| 11329 | "name": "heightmap" |
| 11330 | }, |
| 11331 | { |
| 11332 | "type": "Vector3", |
| 11333 | "name": "size" |
| 11334 | } |
| 11335 | ] |
| 11336 | }, |
| 11337 | { |
| 11338 | "name": "GenMeshCubicmap", |
| 11339 | "description": "Generate cubes-based map mesh from image data", |
| 11340 | "returnType": "Mesh", |
| 11341 | "params": [ |
| 11342 | { |
| 11343 | "type": "Image", |
| 11344 | "name": "cubicmap" |
| 11345 | }, |
| 11346 | { |
| 11347 | "type": "Vector3", |
| 11348 | "name": "cubeSize" |
| 11349 | } |
| 11350 | ] |
| 11351 | }, |
| 11352 | { |
| 11353 | "name": "LoadMaterials", |
| 11354 | "description": "Load materials from model file", |
| 11355 | "returnType": "Material *", |
| 11356 | "params": [ |
| 11357 | { |
| 11358 | "type": "const char *", |
| 11359 | "name": "fileName" |
| 11360 | }, |
| 11361 | { |
| 11362 | "type": "int *", |
| 11363 | "name": "materialCount" |
| 11364 | } |
| 11365 | ] |
| 11366 | }, |
| 11367 | { |
| 11368 | "name": "LoadMaterialDefault", |
| 11369 | "description": "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)", |
| 11370 | "returnType": "Material" |
| 11371 | }, |
| 11372 | { |
| 11373 | "name": "IsMaterialValid", |
| 11374 | "description": "Check if a material is valid (shader assigned, map textures loaded in GPU)", |
| 11375 | "returnType": "bool", |
| 11376 | "params": [ |
| 11377 | { |
| 11378 | "type": "Material", |
| 11379 | "name": "material" |
| 11380 | } |
| 11381 | ] |
| 11382 | }, |
| 11383 | { |
| 11384 | "name": "UnloadMaterial", |
| 11385 | "description": "Unload material from GPU memory (VRAM)", |
| 11386 | "returnType": "void", |
| 11387 | "params": [ |
| 11388 | { |
| 11389 | "type": "Material", |
| 11390 | "name": "material" |
| 11391 | } |
| 11392 | ] |
| 11393 | }, |
| 11394 | { |
| 11395 | "name": "SetMaterialTexture", |
| 11396 | "description": "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)", |
| 11397 | "returnType": "void", |
| 11398 | "params": [ |
| 11399 | { |
| 11400 | "type": "Material *", |
| 11401 | "name": "material" |
| 11402 | }, |
| 11403 | { |
| 11404 | "type": "int", |
| 11405 | "name": "mapType" |
| 11406 | }, |
| 11407 | { |
| 11408 | "type": "Texture2D", |
| 11409 | "name": "texture" |
| 11410 | } |
| 11411 | ] |
| 11412 | }, |
| 11413 | { |
| 11414 | "name": "SetModelMeshMaterial", |
| 11415 | "description": "Set material for a mesh", |
| 11416 | "returnType": "void", |
| 11417 | "params": [ |
| 11418 | { |
| 11419 | "type": "Model *", |
| 11420 | "name": "model" |
| 11421 | }, |
| 11422 | { |
| 11423 | "type": "int", |
| 11424 | "name": "meshId" |
| 11425 | }, |
| 11426 | { |
| 11427 | "type": "int", |
| 11428 | "name": "materialId" |
| 11429 | } |
| 11430 | ] |
| 11431 | }, |
| 11432 | { |
| 11433 | "name": "LoadModelAnimations", |
| 11434 | "description": "Load model animations from file", |
| 11435 | "returnType": "ModelAnimation *", |
| 11436 | "params": [ |
| 11437 | { |
| 11438 | "type": "const char *", |
| 11439 | "name": "fileName" |
| 11440 | }, |
| 11441 | { |
| 11442 | "type": "int *", |
| 11443 | "name": "animCount" |
| 11444 | } |
| 11445 | ] |
| 11446 | }, |
| 11447 | { |
| 11448 | "name": "UpdateModelAnimation", |
| 11449 | "description": "Update model animation pose (vertex buffers and bone matrices)", |
| 11450 | "returnType": "void", |
| 11451 | "params": [ |
| 11452 | { |
| 11453 | "type": "Model", |
| 11454 | "name": "model" |
| 11455 | }, |
| 11456 | { |
| 11457 | "type": "ModelAnimation", |
| 11458 | "name": "anim" |
| 11459 | }, |
| 11460 | { |
| 11461 | "type": "float", |
| 11462 | "name": "frame" |
| 11463 | } |
| 11464 | ] |
| 11465 | }, |
| 11466 | { |
| 11467 | "name": "UpdateModelAnimationEx", |
| 11468 | "description": "Update model animation pose, blending two animations", |
| 11469 | "returnType": "void", |
| 11470 | "params": [ |
| 11471 | { |
| 11472 | "type": "Model", |
| 11473 | "name": "model" |
| 11474 | }, |
| 11475 | { |
| 11476 | "type": "ModelAnimation", |
| 11477 | "name": "animA" |
| 11478 | }, |
| 11479 | { |
| 11480 | "type": "float", |
| 11481 | "name": "frameA" |
| 11482 | }, |
| 11483 | { |
| 11484 | "type": "ModelAnimation", |
| 11485 | "name": "animB" |
| 11486 | }, |
| 11487 | { |
| 11488 | "type": "float", |
| 11489 | "name": "frameB" |
| 11490 | }, |
| 11491 | { |
| 11492 | "type": "float", |
| 11493 | "name": "blend" |
| 11494 | } |
| 11495 | ] |
| 11496 | }, |
| 11497 | { |
| 11498 | "name": "UnloadModelAnimations", |
| 11499 | "description": "Unload animation array data", |
| 11500 | "returnType": "void", |
| 11501 | "params": [ |
| 11502 | { |
| 11503 | "type": "ModelAnimation *", |
| 11504 | "name": "animations" |
| 11505 | }, |
| 11506 | { |
| 11507 | "type": "int", |
| 11508 | "name": "animCount" |
| 11509 | } |
| 11510 | ] |
| 11511 | }, |
| 11512 | { |
| 11513 | "name": "IsModelAnimationValid", |
| 11514 | "description": "Check model animation skeleton match", |
| 11515 | "returnType": "bool", |
| 11516 | "params": [ |
| 11517 | { |
| 11518 | "type": "Model", |
| 11519 | "name": "model" |
| 11520 | }, |
| 11521 | { |
| 11522 | "type": "ModelAnimation", |
| 11523 | "name": "anim" |
| 11524 | } |
| 11525 | ] |
| 11526 | }, |
| 11527 | { |
| 11528 | "name": "CheckCollisionSpheres", |
| 11529 | "description": "Check collision between two spheres", |
| 11530 | "returnType": "bool", |
| 11531 | "params": [ |
| 11532 | { |
| 11533 | "type": "Vector3", |
| 11534 | "name": "center1" |
| 11535 | }, |
| 11536 | { |
| 11537 | "type": "float", |
| 11538 | "name": "radius1" |
| 11539 | }, |
| 11540 | { |
| 11541 | "type": "Vector3", |
| 11542 | "name": "center2" |
| 11543 | }, |
| 11544 | { |
| 11545 | "type": "float", |
| 11546 | "name": "radius2" |
| 11547 | } |
| 11548 | ] |
| 11549 | }, |
| 11550 | { |
| 11551 | "name": "CheckCollisionBoxes", |
| 11552 | "description": "Check collision between two bounding boxes", |
| 11553 | "returnType": "bool", |
| 11554 | "params": [ |
| 11555 | { |
| 11556 | "type": "BoundingBox", |
| 11557 | "name": "box1" |
| 11558 | }, |
| 11559 | { |
| 11560 | "type": "BoundingBox", |
| 11561 | "name": "box2" |
| 11562 | } |
| 11563 | ] |
| 11564 | }, |
| 11565 | { |
| 11566 | "name": "CheckCollisionBoxSphere", |
| 11567 | "description": "Check collision between box and sphere", |
| 11568 | "returnType": "bool", |
| 11569 | "params": [ |
| 11570 | { |
| 11571 | "type": "BoundingBox", |
| 11572 | "name": "box" |
| 11573 | }, |
| 11574 | { |
| 11575 | "type": "Vector3", |
| 11576 | "name": "center" |
| 11577 | }, |
| 11578 | { |
| 11579 | "type": "float", |
| 11580 | "name": "radius" |
| 11581 | } |
| 11582 | ] |
| 11583 | }, |
| 11584 | { |
| 11585 | "name": "GetRayCollisionSphere", |
| 11586 | "description": "Get collision info between ray and sphere", |
| 11587 | "returnType": "RayCollision", |
| 11588 | "params": [ |
| 11589 | { |
| 11590 | "type": "Ray", |
| 11591 | "name": "ray" |
| 11592 | }, |
| 11593 | { |
| 11594 | "type": "Vector3", |
| 11595 | "name": "center" |
| 11596 | }, |
| 11597 | { |
| 11598 | "type": "float", |
| 11599 | "name": "radius" |
| 11600 | } |
| 11601 | ] |
| 11602 | }, |
| 11603 | { |
| 11604 | "name": "GetRayCollisionBox", |
| 11605 | "description": "Get collision info between ray and box", |
| 11606 | "returnType": "RayCollision", |
| 11607 | "params": [ |
| 11608 | { |
| 11609 | "type": "Ray", |
| 11610 | "name": "ray" |
| 11611 | }, |
| 11612 | { |
| 11613 | "type": "BoundingBox", |
| 11614 | "name": "box" |
| 11615 | } |
| 11616 | ] |
| 11617 | }, |
| 11618 | { |
| 11619 | "name": "GetRayCollisionMesh", |
| 11620 | "description": "Get collision info between ray and mesh", |
| 11621 | "returnType": "RayCollision", |
| 11622 | "params": [ |
| 11623 | { |
| 11624 | "type": "Ray", |
| 11625 | "name": "ray" |
| 11626 | }, |
| 11627 | { |
| 11628 | "type": "Mesh", |
| 11629 | "name": "mesh" |
| 11630 | }, |
| 11631 | { |
| 11632 | "type": "Matrix", |
| 11633 | "name": "transform" |
| 11634 | } |
| 11635 | ] |
| 11636 | }, |
| 11637 | { |
| 11638 | "name": "GetRayCollisionTriangle", |
| 11639 | "description": "Get collision info between ray and triangle", |
| 11640 | "returnType": "RayCollision", |
| 11641 | "params": [ |
| 11642 | { |
| 11643 | "type": "Ray", |
| 11644 | "name": "ray" |
| 11645 | }, |
| 11646 | { |
| 11647 | "type": "Vector3", |
| 11648 | "name": "p1" |
| 11649 | }, |
| 11650 | { |
| 11651 | "type": "Vector3", |
| 11652 | "name": "p2" |
| 11653 | }, |
| 11654 | { |
| 11655 | "type": "Vector3", |
| 11656 | "name": "p3" |
| 11657 | } |
| 11658 | ] |
| 11659 | }, |
| 11660 | { |
| 11661 | "name": "GetRayCollisionQuad", |
| 11662 | "description": "Get collision info between ray and quad", |
| 11663 | "returnType": "RayCollision", |
| 11664 | "params": [ |
| 11665 | { |
| 11666 | "type": "Ray", |
| 11667 | "name": "ray" |
| 11668 | }, |
| 11669 | { |
| 11670 | "type": "Vector3", |
| 11671 | "name": "p1" |
| 11672 | }, |
| 11673 | { |
| 11674 | "type": "Vector3", |
| 11675 | "name": "p2" |
| 11676 | }, |
| 11677 | { |
| 11678 | "type": "Vector3", |
| 11679 | "name": "p3" |
| 11680 | }, |
| 11681 | { |
| 11682 | "type": "Vector3", |
| 11683 | "name": "p4" |
| 11684 | } |
| 11685 | ] |
| 11686 | }, |
| 11687 | { |
| 11688 | "name": "InitAudioDevice", |
| 11689 | "description": "Initialize audio device and context", |
| 11690 | "returnType": "void" |
| 11691 | }, |
| 11692 | { |
| 11693 | "name": "CloseAudioDevice", |
| 11694 | "description": "Close the audio device and context", |
| 11695 | "returnType": "void" |
| 11696 | }, |
| 11697 | { |
| 11698 | "name": "IsAudioDeviceReady", |
| 11699 | "description": "Check if audio device has been initialized successfully", |
| 11700 | "returnType": "bool" |
| 11701 | }, |
| 11702 | { |
| 11703 | "name": "SetMasterVolume", |
| 11704 | "description": "Set master volume (listener)", |
| 11705 | "returnType": "void", |
| 11706 | "params": [ |
| 11707 | { |
| 11708 | "type": "float", |
| 11709 | "name": "volume" |
| 11710 | } |
| 11711 | ] |
| 11712 | }, |
| 11713 | { |
| 11714 | "name": "GetMasterVolume", |
| 11715 | "description": "Get master volume (listener)", |
| 11716 | "returnType": "float" |
| 11717 | }, |
| 11718 | { |
| 11719 | "name": "LoadWave", |
| 11720 | "description": "Load wave data from file", |
| 11721 | "returnType": "Wave", |
| 11722 | "params": [ |
| 11723 | { |
| 11724 | "type": "const char *", |
| 11725 | "name": "fileName" |
| 11726 | } |
| 11727 | ] |
| 11728 | }, |
| 11729 | { |
| 11730 | "name": "LoadWaveFromMemory", |
| 11731 | "description": "Load wave from memory buffer, fileType refers to extension: i.e. '.wav'", |
| 11732 | "returnType": "Wave", |
| 11733 | "params": [ |
| 11734 | { |
| 11735 | "type": "const char *", |
| 11736 | "name": "fileType" |
| 11737 | }, |
| 11738 | { |
| 11739 | "type": "const unsigned char *", |
| 11740 | "name": "fileData" |
| 11741 | }, |
| 11742 | { |
| 11743 | "type": "int", |
| 11744 | "name": "dataSize" |
| 11745 | } |
| 11746 | ] |
| 11747 | }, |
| 11748 | { |
| 11749 | "name": "IsWaveValid", |
| 11750 | "description": "Checks if wave data is valid (data loaded and parameters)", |
| 11751 | "returnType": "bool", |
| 11752 | "params": [ |
| 11753 | { |
| 11754 | "type": "Wave", |
| 11755 | "name": "wave" |
| 11756 | } |
| 11757 | ] |
| 11758 | }, |
| 11759 | { |
| 11760 | "name": "LoadSound", |
| 11761 | "description": "Load sound from file", |
| 11762 | "returnType": "Sound", |
| 11763 | "params": [ |
| 11764 | { |
| 11765 | "type": "const char *", |
| 11766 | "name": "fileName" |
| 11767 | } |
| 11768 | ] |
| 11769 | }, |
| 11770 | { |
| 11771 | "name": "LoadSoundFromWave", |
| 11772 | "description": "Load sound from wave data", |
| 11773 | "returnType": "Sound", |
| 11774 | "params": [ |
| 11775 | { |
| 11776 | "type": "Wave", |
| 11777 | "name": "wave" |
| 11778 | } |
| 11779 | ] |
| 11780 | }, |
| 11781 | { |
| 11782 | "name": "LoadSoundAlias", |
| 11783 | "description": "Create a new sound that shares the same sample data as the source sound, does not own the sound data", |
| 11784 | "returnType": "Sound", |
| 11785 | "params": [ |
| 11786 | { |
| 11787 | "type": "Sound", |
| 11788 | "name": "source" |
| 11789 | } |
| 11790 | ] |
| 11791 | }, |
| 11792 | { |
| 11793 | "name": "IsSoundValid", |
| 11794 | "description": "Checks if a sound is valid (data loaded and buffers initialized)", |
| 11795 | "returnType": "bool", |
| 11796 | "params": [ |
| 11797 | { |
| 11798 | "type": "Sound", |
| 11799 | "name": "sound" |
| 11800 | } |
| 11801 | ] |
| 11802 | }, |
| 11803 | { |
| 11804 | "name": "UpdateSound", |
| 11805 | "description": "Update sound buffer with new data (default data format: 32 bit float, stereo)", |
| 11806 | "returnType": "void", |
| 11807 | "params": [ |
| 11808 | { |
| 11809 | "type": "Sound", |
| 11810 | "name": "sound" |
| 11811 | }, |
| 11812 | { |
| 11813 | "type": "const void *", |
| 11814 | "name": "data" |
| 11815 | }, |
| 11816 | { |
| 11817 | "type": "int", |
| 11818 | "name": "sampleCount" |
| 11819 | } |
| 11820 | ] |
| 11821 | }, |
| 11822 | { |
| 11823 | "name": "UnloadWave", |
| 11824 | "description": "Unload wave data", |
| 11825 | "returnType": "void", |
| 11826 | "params": [ |
| 11827 | { |
| 11828 | "type": "Wave", |
| 11829 | "name": "wave" |
| 11830 | } |
| 11831 | ] |
| 11832 | }, |
| 11833 | { |
| 11834 | "name": "UnloadSound", |
| 11835 | "description": "Unload sound", |
| 11836 | "returnType": "void", |
| 11837 | "params": [ |
| 11838 | { |
| 11839 | "type": "Sound", |
| 11840 | "name": "sound" |
| 11841 | } |
| 11842 | ] |
| 11843 | }, |
| 11844 | { |
| 11845 | "name": "UnloadSoundAlias", |
| 11846 | "description": "Unload a sound alias (does not deallocate sample data)", |
| 11847 | "returnType": "void", |
| 11848 | "params": [ |
| 11849 | { |
| 11850 | "type": "Sound", |
| 11851 | "name": "alias" |
| 11852 | } |
| 11853 | ] |
| 11854 | }, |
| 11855 | { |
| 11856 | "name": "ExportWave", |
| 11857 | "description": "Export wave data to file, returns true on success", |
| 11858 | "returnType": "bool", |
| 11859 | "params": [ |
| 11860 | { |
| 11861 | "type": "Wave", |
| 11862 | "name": "wave" |
| 11863 | }, |
| 11864 | { |
| 11865 | "type": "const char *", |
| 11866 | "name": "fileName" |
| 11867 | } |
| 11868 | ] |
| 11869 | }, |
| 11870 | { |
| 11871 | "name": "ExportWaveAsCode", |
| 11872 | "description": "Export wave sample data to code (.h), returns true on success", |
| 11873 | "returnType": "bool", |
| 11874 | "params": [ |
| 11875 | { |
| 11876 | "type": "Wave", |
| 11877 | "name": "wave" |
| 11878 | }, |
| 11879 | { |
| 11880 | "type": "const char *", |
| 11881 | "name": "fileName" |
| 11882 | } |
| 11883 | ] |
| 11884 | }, |
| 11885 | { |
| 11886 | "name": "PlaySound", |
| 11887 | "description": "Play a sound", |
| 11888 | "returnType": "void", |
| 11889 | "params": [ |
| 11890 | { |
| 11891 | "type": "Sound", |
| 11892 | "name": "sound" |
| 11893 | } |
| 11894 | ] |
| 11895 | }, |
| 11896 | { |
| 11897 | "name": "StopSound", |
| 11898 | "description": "Stop playing a sound", |
| 11899 | "returnType": "void", |
| 11900 | "params": [ |
| 11901 | { |
| 11902 | "type": "Sound", |
| 11903 | "name": "sound" |
| 11904 | } |
| 11905 | ] |
| 11906 | }, |
| 11907 | { |
| 11908 | "name": "PauseSound", |
| 11909 | "description": "Pause a sound", |
| 11910 | "returnType": "void", |
| 11911 | "params": [ |
| 11912 | { |
| 11913 | "type": "Sound", |
| 11914 | "name": "sound" |
| 11915 | } |
| 11916 | ] |
| 11917 | }, |
| 11918 | { |
| 11919 | "name": "ResumeSound", |
| 11920 | "description": "Resume a paused sound", |
| 11921 | "returnType": "void", |
| 11922 | "params": [ |
| 11923 | { |
| 11924 | "type": "Sound", |
| 11925 | "name": "sound" |
| 11926 | } |
| 11927 | ] |
| 11928 | }, |
| 11929 | { |
| 11930 | "name": "IsSoundPlaying", |
| 11931 | "description": "Check if a sound is currently playing", |
| 11932 | "returnType": "bool", |
| 11933 | "params": [ |
| 11934 | { |
| 11935 | "type": "Sound", |
| 11936 | "name": "sound" |
| 11937 | } |
| 11938 | ] |
| 11939 | }, |
| 11940 | { |
| 11941 | "name": "SetSoundVolume", |
| 11942 | "description": "Set volume for a sound (1.0 is max level)", |
| 11943 | "returnType": "void", |
| 11944 | "params": [ |
| 11945 | { |
| 11946 | "type": "Sound", |
| 11947 | "name": "sound" |
| 11948 | }, |
| 11949 | { |
| 11950 | "type": "float", |
| 11951 | "name": "volume" |
| 11952 | } |
| 11953 | ] |
| 11954 | }, |
| 11955 | { |
| 11956 | "name": "SetSoundPitch", |
| 11957 | "description": "Set pitch for a sound (1.0 is base level)", |
| 11958 | "returnType": "void", |
| 11959 | "params": [ |
| 11960 | { |
| 11961 | "type": "Sound", |
| 11962 | "name": "sound" |
| 11963 | }, |
| 11964 | { |
| 11965 | "type": "float", |
| 11966 | "name": "pitch" |
| 11967 | } |
| 11968 | ] |
| 11969 | }, |
| 11970 | { |
| 11971 | "name": "SetSoundPan", |
| 11972 | "description": "Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)", |
| 11973 | "returnType": "void", |
| 11974 | "params": [ |
| 11975 | { |
| 11976 | "type": "Sound", |
| 11977 | "name": "sound" |
| 11978 | }, |
| 11979 | { |
| 11980 | "type": "float", |
| 11981 | "name": "pan" |
| 11982 | } |
| 11983 | ] |
| 11984 | }, |
| 11985 | { |
| 11986 | "name": "WaveCopy", |
| 11987 | "description": "Copy a wave to a new wave", |
| 11988 | "returnType": "Wave", |
| 11989 | "params": [ |
| 11990 | { |
| 11991 | "type": "Wave", |
| 11992 | "name": "wave" |
| 11993 | } |
| 11994 | ] |
| 11995 | }, |
| 11996 | { |
| 11997 | "name": "WaveCrop", |
| 11998 | "description": "Crop a wave to defined frames range", |
| 11999 | "returnType": "void", |
| 12000 | "params": [ |
| 12001 | { |
| 12002 | "type": "Wave *", |
| 12003 | "name": "wave" |
| 12004 | }, |
| 12005 | { |
| 12006 | "type": "int", |
| 12007 | "name": "initFrame" |
| 12008 | }, |
| 12009 | { |
| 12010 | "type": "int", |
| 12011 | "name": "finalFrame" |
| 12012 | } |
| 12013 | ] |
| 12014 | }, |
| 12015 | { |
| 12016 | "name": "WaveFormat", |
| 12017 | "description": "Convert wave data to desired format", |
| 12018 | "returnType": "void", |
| 12019 | "params": [ |
| 12020 | { |
| 12021 | "type": "Wave *", |
| 12022 | "name": "wave" |
| 12023 | }, |
| 12024 | { |
| 12025 | "type": "int", |
| 12026 | "name": "sampleRate" |
| 12027 | }, |
| 12028 | { |
| 12029 | "type": "int", |
| 12030 | "name": "sampleSize" |
| 12031 | }, |
| 12032 | { |
| 12033 | "type": "int", |
| 12034 | "name": "channels" |
| 12035 | } |
| 12036 | ] |
| 12037 | }, |
| 12038 | { |
| 12039 | "name": "LoadWaveSamples", |
| 12040 | "description": "Load samples data from wave as a 32bit float data array", |
| 12041 | "returnType": "float *", |
| 12042 | "params": [ |
| 12043 | { |
| 12044 | "type": "Wave", |
| 12045 | "name": "wave" |
| 12046 | } |
| 12047 | ] |
| 12048 | }, |
| 12049 | { |
| 12050 | "name": "UnloadWaveSamples", |
| 12051 | "description": "Unload samples data loaded with LoadWaveSamples()", |
| 12052 | "returnType": "void", |
| 12053 | "params": [ |
| 12054 | { |
| 12055 | "type": "float *", |
| 12056 | "name": "samples" |
| 12057 | } |
| 12058 | ] |
| 12059 | }, |
| 12060 | { |
| 12061 | "name": "LoadMusicStream", |
| 12062 | "description": "Load music stream from file", |
| 12063 | "returnType": "Music", |
| 12064 | "params": [ |
| 12065 | { |
| 12066 | "type": "const char *", |
| 12067 | "name": "fileName" |
| 12068 | } |
| 12069 | ] |
| 12070 | }, |
| 12071 | { |
| 12072 | "name": "LoadMusicStreamFromMemory", |
| 12073 | "description": "Load music stream from data", |
| 12074 | "returnType": "Music", |
| 12075 | "params": [ |
| 12076 | { |
| 12077 | "type": "const char *", |
| 12078 | "name": "fileType" |
| 12079 | }, |
| 12080 | { |
| 12081 | "type": "const unsigned char *", |
| 12082 | "name": "data" |
| 12083 | }, |
| 12084 | { |
| 12085 | "type": "int", |
| 12086 | "name": "dataSize" |
| 12087 | } |
| 12088 | ] |
| 12089 | }, |
| 12090 | { |
| 12091 | "name": "IsMusicValid", |
| 12092 | "description": "Checks if a music stream is valid (context and buffers initialized)", |
| 12093 | "returnType": "bool", |
| 12094 | "params": [ |
| 12095 | { |
| 12096 | "type": "Music", |
| 12097 | "name": "music" |
| 12098 | } |
| 12099 | ] |
| 12100 | }, |
| 12101 | { |
| 12102 | "name": "UnloadMusicStream", |
| 12103 | "description": "Unload music stream", |
| 12104 | "returnType": "void", |
| 12105 | "params": [ |
| 12106 | { |
| 12107 | "type": "Music", |
| 12108 | "name": "music" |
| 12109 | } |
| 12110 | ] |
| 12111 | }, |
| 12112 | { |
| 12113 | "name": "PlayMusicStream", |
| 12114 | "description": "Start music playing", |
| 12115 | "returnType": "void", |
| 12116 | "params": [ |
| 12117 | { |
| 12118 | "type": "Music", |
| 12119 | "name": "music" |
| 12120 | } |
| 12121 | ] |
| 12122 | }, |
| 12123 | { |
| 12124 | "name": "IsMusicStreamPlaying", |
| 12125 | "description": "Check if music is playing", |
| 12126 | "returnType": "bool", |
| 12127 | "params": [ |
| 12128 | { |
| 12129 | "type": "Music", |
| 12130 | "name": "music" |
| 12131 | } |
| 12132 | ] |
| 12133 | }, |
| 12134 | { |
| 12135 | "name": "UpdateMusicStream", |
| 12136 | "description": "Updates buffers for music streaming", |
| 12137 | "returnType": "void", |
| 12138 | "params": [ |
| 12139 | { |
| 12140 | "type": "Music", |
| 12141 | "name": "music" |
| 12142 | } |
| 12143 | ] |
| 12144 | }, |
| 12145 | { |
| 12146 | "name": "StopMusicStream", |
| 12147 | "description": "Stop music playing", |
| 12148 | "returnType": "void", |
| 12149 | "params": [ |
| 12150 | { |
| 12151 | "type": "Music", |
| 12152 | "name": "music" |
| 12153 | } |
| 12154 | ] |
| 12155 | }, |
| 12156 | { |
| 12157 | "name": "PauseMusicStream", |
| 12158 | "description": "Pause music playing", |
| 12159 | "returnType": "void", |
| 12160 | "params": [ |
| 12161 | { |
| 12162 | "type": "Music", |
| 12163 | "name": "music" |
| 12164 | } |
| 12165 | ] |
| 12166 | }, |
| 12167 | { |
| 12168 | "name": "ResumeMusicStream", |
| 12169 | "description": "Resume playing paused music", |
| 12170 | "returnType": "void", |
| 12171 | "params": [ |
| 12172 | { |
| 12173 | "type": "Music", |
| 12174 | "name": "music" |
| 12175 | } |
| 12176 | ] |
| 12177 | }, |
| 12178 | { |
| 12179 | "name": "SeekMusicStream", |
| 12180 | "description": "Seek music to a position (in seconds)", |
| 12181 | "returnType": "void", |
| 12182 | "params": [ |
| 12183 | { |
| 12184 | "type": "Music", |
| 12185 | "name": "music" |
| 12186 | }, |
| 12187 | { |
| 12188 | "type": "float", |
| 12189 | "name": "position" |
| 12190 | } |
| 12191 | ] |
| 12192 | }, |
| 12193 | { |
| 12194 | "name": "SetMusicVolume", |
| 12195 | "description": "Set volume for music (1.0 is max level)", |
| 12196 | "returnType": "void", |
| 12197 | "params": [ |
| 12198 | { |
| 12199 | "type": "Music", |
| 12200 | "name": "music" |
| 12201 | }, |
| 12202 | { |
| 12203 | "type": "float", |
| 12204 | "name": "volume" |
| 12205 | } |
| 12206 | ] |
| 12207 | }, |
| 12208 | { |
| 12209 | "name": "SetMusicPitch", |
| 12210 | "description": "Set pitch for a music (1.0 is base level)", |
| 12211 | "returnType": "void", |
| 12212 | "params": [ |
| 12213 | { |
| 12214 | "type": "Music", |
| 12215 | "name": "music" |
| 12216 | }, |
| 12217 | { |
| 12218 | "type": "float", |
| 12219 | "name": "pitch" |
| 12220 | } |
| 12221 | ] |
| 12222 | }, |
| 12223 | { |
| 12224 | "name": "SetMusicPan", |
| 12225 | "description": "Set pan for a music (-1.0 left, 0.0 center, 1.0 right)", |
| 12226 | "returnType": "void", |
| 12227 | "params": [ |
| 12228 | { |
| 12229 | "type": "Music", |
| 12230 | "name": "music" |
| 12231 | }, |
| 12232 | { |
| 12233 | "type": "float", |
| 12234 | "name": "pan" |
| 12235 | } |
| 12236 | ] |
| 12237 | }, |
| 12238 | { |
| 12239 | "name": "GetMusicTimeLength", |
| 12240 | "description": "Get music time length (in seconds)", |
| 12241 | "returnType": "float", |
| 12242 | "params": [ |
| 12243 | { |
| 12244 | "type": "Music", |
| 12245 | "name": "music" |
| 12246 | } |
| 12247 | ] |
| 12248 | }, |
| 12249 | { |
| 12250 | "name": "GetMusicTimePlayed", |
| 12251 | "description": "Get current music time played (in seconds)", |
| 12252 | "returnType": "float", |
| 12253 | "params": [ |
| 12254 | { |
| 12255 | "type": "Music", |
| 12256 | "name": "music" |
| 12257 | } |
| 12258 | ] |
| 12259 | }, |
| 12260 | { |
| 12261 | "name": "LoadAudioStream", |
| 12262 | "description": "Load audio stream (to stream raw audio pcm data)", |
| 12263 | "returnType": "AudioStream", |
| 12264 | "params": [ |
| 12265 | { |
| 12266 | "type": "unsigned int", |
| 12267 | "name": "sampleRate" |
| 12268 | }, |
| 12269 | { |
| 12270 | "type": "unsigned int", |
| 12271 | "name": "sampleSize" |
| 12272 | }, |
| 12273 | { |
| 12274 | "type": "unsigned int", |
| 12275 | "name": "channels" |
| 12276 | } |
| 12277 | ] |
| 12278 | }, |
| 12279 | { |
| 12280 | "name": "IsAudioStreamValid", |
| 12281 | "description": "Checks if an audio stream is valid (buffers initialized)", |
| 12282 | "returnType": "bool", |
| 12283 | "params": [ |
| 12284 | { |
| 12285 | "type": "AudioStream", |
| 12286 | "name": "stream" |
| 12287 | } |
| 12288 | ] |
| 12289 | }, |
| 12290 | { |
| 12291 | "name": "UnloadAudioStream", |
| 12292 | "description": "Unload audio stream and free memory", |
| 12293 | "returnType": "void", |
| 12294 | "params": [ |
| 12295 | { |
| 12296 | "type": "AudioStream", |
| 12297 | "name": "stream" |
| 12298 | } |
| 12299 | ] |
| 12300 | }, |
| 12301 | { |
| 12302 | "name": "UpdateAudioStream", |
| 12303 | "description": "Update audio stream buffers with data", |
| 12304 | "returnType": "void", |
| 12305 | "params": [ |
| 12306 | { |
| 12307 | "type": "AudioStream", |
| 12308 | "name": "stream" |
| 12309 | }, |
| 12310 | { |
| 12311 | "type": "const void *", |
| 12312 | "name": "data" |
| 12313 | }, |
| 12314 | { |
| 12315 | "type": "int", |
| 12316 | "name": "frameCount" |
| 12317 | } |
| 12318 | ] |
| 12319 | }, |
| 12320 | { |
| 12321 | "name": "IsAudioStreamProcessed", |
| 12322 | "description": "Check if any audio stream buffers requires refill", |
| 12323 | "returnType": "bool", |
| 12324 | "params": [ |
| 12325 | { |
| 12326 | "type": "AudioStream", |
| 12327 | "name": "stream" |
| 12328 | } |
| 12329 | ] |
| 12330 | }, |
| 12331 | { |
| 12332 | "name": "PlayAudioStream", |
| 12333 | "description": "Play audio stream", |
| 12334 | "returnType": "void", |
| 12335 | "params": [ |
| 12336 | { |
| 12337 | "type": "AudioStream", |
| 12338 | "name": "stream" |
| 12339 | } |
| 12340 | ] |
| 12341 | }, |
| 12342 | { |
| 12343 | "name": "PauseAudioStream", |
| 12344 | "description": "Pause audio stream", |
| 12345 | "returnType": "void", |
| 12346 | "params": [ |
| 12347 | { |
| 12348 | "type": "AudioStream", |
| 12349 | "name": "stream" |
| 12350 | } |
| 12351 | ] |
| 12352 | }, |
| 12353 | { |
| 12354 | "name": "ResumeAudioStream", |
| 12355 | "description": "Resume audio stream", |
| 12356 | "returnType": "void", |
| 12357 | "params": [ |
| 12358 | { |
| 12359 | "type": "AudioStream", |
| 12360 | "name": "stream" |
| 12361 | } |
| 12362 | ] |
| 12363 | }, |
| 12364 | { |
| 12365 | "name": "IsAudioStreamPlaying", |
| 12366 | "description": "Check if audio stream is playing", |
| 12367 | "returnType": "bool", |
| 12368 | "params": [ |
| 12369 | { |
| 12370 | "type": "AudioStream", |
| 12371 | "name": "stream" |
| 12372 | } |
| 12373 | ] |
| 12374 | }, |
| 12375 | { |
| 12376 | "name": "StopAudioStream", |
| 12377 | "description": "Stop audio stream", |
| 12378 | "returnType": "void", |
| 12379 | "params": [ |
| 12380 | { |
| 12381 | "type": "AudioStream", |
| 12382 | "name": "stream" |
| 12383 | } |
| 12384 | ] |
| 12385 | }, |
| 12386 | { |
| 12387 | "name": "SetAudioStreamVolume", |
| 12388 | "description": "Set volume for audio stream (1.0 is max level)", |
| 12389 | "returnType": "void", |
| 12390 | "params": [ |
| 12391 | { |
| 12392 | "type": "AudioStream", |
| 12393 | "name": "stream" |
| 12394 | }, |
| 12395 | { |
| 12396 | "type": "float", |
| 12397 | "name": "volume" |
| 12398 | } |
| 12399 | ] |
| 12400 | }, |
| 12401 | { |
| 12402 | "name": "SetAudioStreamPitch", |
| 12403 | "description": "Set pitch for audio stream (1.0 is base level)", |
| 12404 | "returnType": "void", |
| 12405 | "params": [ |
| 12406 | { |
| 12407 | "type": "AudioStream", |
| 12408 | "name": "stream" |
| 12409 | }, |
| 12410 | { |
| 12411 | "type": "float", |
| 12412 | "name": "pitch" |
| 12413 | } |
| 12414 | ] |
| 12415 | }, |
| 12416 | { |
| 12417 | "name": "SetAudioStreamPan", |
| 12418 | "description": "Set pan for audio stream (-1.0 to 1.0 range, 0.0 is centered)", |
| 12419 | "returnType": "void", |
| 12420 | "params": [ |
| 12421 | { |
| 12422 | "type": "AudioStream", |
| 12423 | "name": "stream" |
| 12424 | }, |
| 12425 | { |
| 12426 | "type": "float", |
| 12427 | "name": "pan" |
| 12428 | } |
| 12429 | ] |
| 12430 | }, |
| 12431 | { |
| 12432 | "name": "SetAudioStreamBufferSizeDefault", |
| 12433 | "description": "Default size for new audio streams", |
| 12434 | "returnType": "void", |
| 12435 | "params": [ |
| 12436 | { |
| 12437 | "type": "int", |
| 12438 | "name": "size" |
| 12439 | } |
| 12440 | ] |
| 12441 | }, |
| 12442 | { |
| 12443 | "name": "SetAudioStreamCallback", |
| 12444 | "description": "Audio thread callback to request new data", |
| 12445 | "returnType": "void", |
| 12446 | "params": [ |
| 12447 | { |
| 12448 | "type": "AudioStream", |
| 12449 | "name": "stream" |
| 12450 | }, |
| 12451 | { |
| 12452 | "type": "AudioCallback", |
| 12453 | "name": "callback" |
| 12454 | } |
| 12455 | ] |
| 12456 | }, |
| 12457 | { |
| 12458 | "name": "AttachAudioStreamProcessor", |
| 12459 | "description": "Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo)", |
| 12460 | "returnType": "void", |
| 12461 | "params": [ |
| 12462 | { |
| 12463 | "type": "AudioStream", |
| 12464 | "name": "stream" |
| 12465 | }, |
| 12466 | { |
| 12467 | "type": "AudioCallback", |
| 12468 | "name": "processor" |
| 12469 | } |
| 12470 | ] |
| 12471 | }, |
| 12472 | { |
| 12473 | "name": "DetachAudioStreamProcessor", |
| 12474 | "description": "Detach audio stream processor from stream", |
| 12475 | "returnType": "void", |
| 12476 | "params": [ |
| 12477 | { |
| 12478 | "type": "AudioStream", |
| 12479 | "name": "stream" |
| 12480 | }, |
| 12481 | { |
| 12482 | "type": "AudioCallback", |
| 12483 | "name": "processor" |
| 12484 | } |
| 12485 | ] |
| 12486 | }, |
| 12487 | { |
| 12488 | "name": "AttachAudioMixedProcessor", |
| 12489 | "description": "Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)", |
| 12490 | "returnType": "void", |
| 12491 | "params": [ |
| 12492 | { |
| 12493 | "type": "AudioCallback", |
| 12494 | "name": "processor" |
| 12495 | } |
| 12496 | ] |
| 12497 | }, |
| 12498 | { |
| 12499 | "name": "DetachAudioMixedProcessor", |
| 12500 | "description": "Detach audio stream processor from the entire audio pipeline", |
| 12501 | "returnType": "void", |
| 12502 | "params": [ |
| 12503 | { |
| 12504 | "type": "AudioCallback", |
| 12505 | "name": "processor" |
| 12506 | } |
| 12507 | ] |
| 12508 | } |
| 12509 | ] |
| 12510 | } |