| 1 | return { |
| 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 | {type = "int", name = "logLevel"}, |
| 3085 | {type = "const char *", name = "text"}, |
| 3086 | {type = "va_list", name = "args"} |
| 3087 | } |
| 3088 | }, |
| 3089 | { |
| 3090 | name = "LoadFileDataCallback", |
| 3091 | description = "FileIO: Load binary data", |
| 3092 | returnType = "unsigned char *", |
| 3093 | params = { |
| 3094 | {type = "const char *", name = "fileName"}, |
| 3095 | {type = "int *", name = "dataSize"} |
| 3096 | } |
| 3097 | }, |
| 3098 | { |
| 3099 | name = "SaveFileDataCallback", |
| 3100 | description = "FileIO: Save binary data", |
| 3101 | returnType = "bool", |
| 3102 | params = { |
| 3103 | {type = "const char *", name = "fileName"}, |
| 3104 | {type = "void *", name = "data"}, |
| 3105 | {type = "int", name = "dataSize"} |
| 3106 | } |
| 3107 | }, |
| 3108 | { |
| 3109 | name = "LoadFileTextCallback", |
| 3110 | description = "FileIO: Load text data", |
| 3111 | returnType = "char *", |
| 3112 | params = { |
| 3113 | {type = "const char *", name = "fileName"} |
| 3114 | } |
| 3115 | }, |
| 3116 | { |
| 3117 | name = "SaveFileTextCallback", |
| 3118 | description = "FileIO: Save text data", |
| 3119 | returnType = "bool", |
| 3120 | params = { |
| 3121 | {type = "const char *", name = "fileName"}, |
| 3122 | {type = "const char *", name = "text"} |
| 3123 | } |
| 3124 | }, |
| 3125 | { |
| 3126 | name = "AudioCallback", |
| 3127 | description = "", |
| 3128 | returnType = "void", |
| 3129 | params = { |
| 3130 | {type = "void *", name = "bufferData"}, |
| 3131 | {type = "unsigned int", name = "frames"} |
| 3132 | } |
| 3133 | } |
| 3134 | }, |
| 3135 | functions = { |
| 3136 | { |
| 3137 | name = "InitWindow", |
| 3138 | description = "Initialize window and OpenGL context", |
| 3139 | returnType = "void", |
| 3140 | params = { |
| 3141 | {type = "int", name = "width"}, |
| 3142 | {type = "int", name = "height"}, |
| 3143 | {type = "const char *", name = "title"} |
| 3144 | } |
| 3145 | }, |
| 3146 | { |
| 3147 | name = "CloseWindow", |
| 3148 | description = "Close window and unload OpenGL context", |
| 3149 | returnType = "void" |
| 3150 | }, |
| 3151 | { |
| 3152 | name = "WindowShouldClose", |
| 3153 | description = "Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)", |
| 3154 | returnType = "bool" |
| 3155 | }, |
| 3156 | { |
| 3157 | name = "IsWindowReady", |
| 3158 | description = "Check if window has been initialized successfully", |
| 3159 | returnType = "bool" |
| 3160 | }, |
| 3161 | { |
| 3162 | name = "IsWindowFullscreen", |
| 3163 | description = "Check if window is currently fullscreen", |
| 3164 | returnType = "bool" |
| 3165 | }, |
| 3166 | { |
| 3167 | name = "IsWindowHidden", |
| 3168 | description = "Check if window is currently hidden", |
| 3169 | returnType = "bool" |
| 3170 | }, |
| 3171 | { |
| 3172 | name = "IsWindowMinimized", |
| 3173 | description = "Check if window is currently minimized", |
| 3174 | returnType = "bool" |
| 3175 | }, |
| 3176 | { |
| 3177 | name = "IsWindowMaximized", |
| 3178 | description = "Check if window is currently maximized", |
| 3179 | returnType = "bool" |
| 3180 | }, |
| 3181 | { |
| 3182 | name = "IsWindowFocused", |
| 3183 | description = "Check if window is currently focused", |
| 3184 | returnType = "bool" |
| 3185 | }, |
| 3186 | { |
| 3187 | name = "IsWindowResized", |
| 3188 | description = "Check if window has been resized last frame", |
| 3189 | returnType = "bool" |
| 3190 | }, |
| 3191 | { |
| 3192 | name = "IsWindowState", |
| 3193 | description = "Check if one specific window flag is enabled", |
| 3194 | returnType = "bool", |
| 3195 | params = { |
| 3196 | {type = "unsigned int", name = "flag"} |
| 3197 | } |
| 3198 | }, |
| 3199 | { |
| 3200 | name = "SetWindowState", |
| 3201 | description = "Set window configuration state using flags", |
| 3202 | returnType = "void", |
| 3203 | params = { |
| 3204 | {type = "unsigned int", name = "flags"} |
| 3205 | } |
| 3206 | }, |
| 3207 | { |
| 3208 | name = "ClearWindowState", |
| 3209 | description = "Clear window configuration state flags", |
| 3210 | returnType = "void", |
| 3211 | params = { |
| 3212 | {type = "unsigned int", name = "flags"} |
| 3213 | } |
| 3214 | }, |
| 3215 | { |
| 3216 | name = "ToggleFullscreen", |
| 3217 | description = "Toggle window state: fullscreen/windowed, resizes monitor to match window resolution", |
| 3218 | returnType = "void" |
| 3219 | }, |
| 3220 | { |
| 3221 | name = "ToggleBorderlessWindowed", |
| 3222 | description = "Toggle window state: borderless windowed, resizes window to match monitor resolution", |
| 3223 | returnType = "void" |
| 3224 | }, |
| 3225 | { |
| 3226 | name = "MaximizeWindow", |
| 3227 | description = "Set window state: maximized, if resizable", |
| 3228 | returnType = "void" |
| 3229 | }, |
| 3230 | { |
| 3231 | name = "MinimizeWindow", |
| 3232 | description = "Set window state: minimized, if resizable", |
| 3233 | returnType = "void" |
| 3234 | }, |
| 3235 | { |
| 3236 | name = "RestoreWindow", |
| 3237 | description = "Restore window from being minimized/maximized", |
| 3238 | returnType = "void" |
| 3239 | }, |
| 3240 | { |
| 3241 | name = "SetWindowIcon", |
| 3242 | description = "Set icon for window (single image, RGBA 32bit)", |
| 3243 | returnType = "void", |
| 3244 | params = { |
| 3245 | {type = "Image", name = "image"} |
| 3246 | } |
| 3247 | }, |
| 3248 | { |
| 3249 | name = "SetWindowIcons", |
| 3250 | description = "Set icon for window (multiple images, RGBA 32bit)", |
| 3251 | returnType = "void", |
| 3252 | params = { |
| 3253 | {type = "Image *", name = "images"}, |
| 3254 | {type = "int", name = "count"} |
| 3255 | } |
| 3256 | }, |
| 3257 | { |
| 3258 | name = "SetWindowTitle", |
| 3259 | description = "Set title for window", |
| 3260 | returnType = "void", |
| 3261 | params = { |
| 3262 | {type = "const char *", name = "title"} |
| 3263 | } |
| 3264 | }, |
| 3265 | { |
| 3266 | name = "SetWindowPosition", |
| 3267 | description = "Set window position on screen", |
| 3268 | returnType = "void", |
| 3269 | params = { |
| 3270 | {type = "int", name = "x"}, |
| 3271 | {type = "int", name = "y"} |
| 3272 | } |
| 3273 | }, |
| 3274 | { |
| 3275 | name = "SetWindowMonitor", |
| 3276 | description = "Set monitor for the current window", |
| 3277 | returnType = "void", |
| 3278 | params = { |
| 3279 | {type = "int", name = "monitor"} |
| 3280 | } |
| 3281 | }, |
| 3282 | { |
| 3283 | name = "SetWindowMinSize", |
| 3284 | description = "Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)", |
| 3285 | returnType = "void", |
| 3286 | params = { |
| 3287 | {type = "int", name = "width"}, |
| 3288 | {type = "int", name = "height"} |
| 3289 | } |
| 3290 | }, |
| 3291 | { |
| 3292 | name = "SetWindowMaxSize", |
| 3293 | description = "Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)", |
| 3294 | returnType = "void", |
| 3295 | params = { |
| 3296 | {type = "int", name = "width"}, |
| 3297 | {type = "int", name = "height"} |
| 3298 | } |
| 3299 | }, |
| 3300 | { |
| 3301 | name = "SetWindowSize", |
| 3302 | description = "Set window dimensions", |
| 3303 | returnType = "void", |
| 3304 | params = { |
| 3305 | {type = "int", name = "width"}, |
| 3306 | {type = "int", name = "height"} |
| 3307 | } |
| 3308 | }, |
| 3309 | { |
| 3310 | name = "SetWindowOpacity", |
| 3311 | description = "Set window opacity [0.0f..1.0f]", |
| 3312 | returnType = "void", |
| 3313 | params = { |
| 3314 | {type = "float", name = "opacity"} |
| 3315 | } |
| 3316 | }, |
| 3317 | { |
| 3318 | name = "SetWindowFocused", |
| 3319 | description = "Set window focused", |
| 3320 | returnType = "void" |
| 3321 | }, |
| 3322 | { |
| 3323 | name = "GetWindowHandle", |
| 3324 | description = "Get native window handle", |
| 3325 | returnType = "void *" |
| 3326 | }, |
| 3327 | { |
| 3328 | name = "GetScreenWidth", |
| 3329 | description = "Get current screen width", |
| 3330 | returnType = "int" |
| 3331 | }, |
| 3332 | { |
| 3333 | name = "GetScreenHeight", |
| 3334 | description = "Get current screen height", |
| 3335 | returnType = "int" |
| 3336 | }, |
| 3337 | { |
| 3338 | name = "GetRenderWidth", |
| 3339 | description = "Get current render width (it considers HiDPI)", |
| 3340 | returnType = "int" |
| 3341 | }, |
| 3342 | { |
| 3343 | name = "GetRenderHeight", |
| 3344 | description = "Get current render height (it considers HiDPI)", |
| 3345 | returnType = "int" |
| 3346 | }, |
| 3347 | { |
| 3348 | name = "GetMonitorCount", |
| 3349 | description = "Get number of connected monitors", |
| 3350 | returnType = "int" |
| 3351 | }, |
| 3352 | { |
| 3353 | name = "GetCurrentMonitor", |
| 3354 | description = "Get current monitor where window is placed", |
| 3355 | returnType = "int" |
| 3356 | }, |
| 3357 | { |
| 3358 | name = "GetMonitorPosition", |
| 3359 | description = "Get specified monitor position", |
| 3360 | returnType = "Vector2", |
| 3361 | params = { |
| 3362 | {type = "int", name = "monitor"} |
| 3363 | } |
| 3364 | }, |
| 3365 | { |
| 3366 | name = "GetMonitorWidth", |
| 3367 | description = "Get specified monitor width (current video mode used by monitor)", |
| 3368 | returnType = "int", |
| 3369 | params = { |
| 3370 | {type = "int", name = "monitor"} |
| 3371 | } |
| 3372 | }, |
| 3373 | { |
| 3374 | name = "GetMonitorHeight", |
| 3375 | description = "Get specified monitor height (current video mode used by monitor)", |
| 3376 | returnType = "int", |
| 3377 | params = { |
| 3378 | {type = "int", name = "monitor"} |
| 3379 | } |
| 3380 | }, |
| 3381 | { |
| 3382 | name = "GetMonitorPhysicalWidth", |
| 3383 | description = "Get specified monitor physical width in millimetres", |
| 3384 | returnType = "int", |
| 3385 | params = { |
| 3386 | {type = "int", name = "monitor"} |
| 3387 | } |
| 3388 | }, |
| 3389 | { |
| 3390 | name = "GetMonitorPhysicalHeight", |
| 3391 | description = "Get specified monitor physical height in millimetres", |
| 3392 | returnType = "int", |
| 3393 | params = { |
| 3394 | {type = "int", name = "monitor"} |
| 3395 | } |
| 3396 | }, |
| 3397 | { |
| 3398 | name = "GetMonitorRefreshRate", |
| 3399 | description = "Get specified monitor refresh rate", |
| 3400 | returnType = "int", |
| 3401 | params = { |
| 3402 | {type = "int", name = "monitor"} |
| 3403 | } |
| 3404 | }, |
| 3405 | { |
| 3406 | name = "GetWindowPosition", |
| 3407 | description = "Get window position XY on monitor", |
| 3408 | returnType = "Vector2" |
| 3409 | }, |
| 3410 | { |
| 3411 | name = "GetWindowScaleDPI", |
| 3412 | description = "Get window scale DPI factor", |
| 3413 | returnType = "Vector2" |
| 3414 | }, |
| 3415 | { |
| 3416 | name = "GetMonitorName", |
| 3417 | description = "Get the human-readable, UTF-8 encoded name of the specified monitor", |
| 3418 | returnType = "const char *", |
| 3419 | params = { |
| 3420 | {type = "int", name = "monitor"} |
| 3421 | } |
| 3422 | }, |
| 3423 | { |
| 3424 | name = "SetClipboardText", |
| 3425 | description = "Set clipboard text content", |
| 3426 | returnType = "void", |
| 3427 | params = { |
| 3428 | {type = "const char *", name = "text"} |
| 3429 | } |
| 3430 | }, |
| 3431 | { |
| 3432 | name = "GetClipboardText", |
| 3433 | description = "Get clipboard text content", |
| 3434 | returnType = "const char *" |
| 3435 | }, |
| 3436 | { |
| 3437 | name = "GetClipboardImage", |
| 3438 | description = "Get clipboard image content", |
| 3439 | returnType = "Image" |
| 3440 | }, |
| 3441 | { |
| 3442 | name = "EnableEventWaiting", |
| 3443 | description = "Enable waiting for events on EndDrawing(), no automatic event polling", |
| 3444 | returnType = "void" |
| 3445 | }, |
| 3446 | { |
| 3447 | name = "DisableEventWaiting", |
| 3448 | description = "Disable waiting for events on EndDrawing(), automatic events polling", |
| 3449 | returnType = "void" |
| 3450 | }, |
| 3451 | { |
| 3452 | name = "ShowCursor", |
| 3453 | description = "Shows cursor", |
| 3454 | returnType = "void" |
| 3455 | }, |
| 3456 | { |
| 3457 | name = "HideCursor", |
| 3458 | description = "Hides cursor", |
| 3459 | returnType = "void" |
| 3460 | }, |
| 3461 | { |
| 3462 | name = "IsCursorHidden", |
| 3463 | description = "Check if cursor is not visible", |
| 3464 | returnType = "bool" |
| 3465 | }, |
| 3466 | { |
| 3467 | name = "EnableCursor", |
| 3468 | description = "Enables cursor (unlock cursor)", |
| 3469 | returnType = "void" |
| 3470 | }, |
| 3471 | { |
| 3472 | name = "DisableCursor", |
| 3473 | description = "Disables cursor (lock cursor)", |
| 3474 | returnType = "void" |
| 3475 | }, |
| 3476 | { |
| 3477 | name = "IsCursorOnScreen", |
| 3478 | description = "Check if cursor is on the screen", |
| 3479 | returnType = "bool" |
| 3480 | }, |
| 3481 | { |
| 3482 | name = "ClearBackground", |
| 3483 | description = "Set background color (framebuffer clear color)", |
| 3484 | returnType = "void", |
| 3485 | params = { |
| 3486 | {type = "Color", name = "color"} |
| 3487 | } |
| 3488 | }, |
| 3489 | { |
| 3490 | name = "BeginDrawing", |
| 3491 | description = "Setup canvas (framebuffer) to start drawing", |
| 3492 | returnType = "void" |
| 3493 | }, |
| 3494 | { |
| 3495 | name = "EndDrawing", |
| 3496 | description = "End canvas drawing and swap buffers (double buffering)", |
| 3497 | returnType = "void" |
| 3498 | }, |
| 3499 | { |
| 3500 | name = "BeginMode2D", |
| 3501 | description = "Begin 2D mode with custom camera (2D)", |
| 3502 | returnType = "void", |
| 3503 | params = { |
| 3504 | {type = "Camera2D", name = "camera"} |
| 3505 | } |
| 3506 | }, |
| 3507 | { |
| 3508 | name = "EndMode2D", |
| 3509 | description = "Ends 2D mode with custom camera", |
| 3510 | returnType = "void" |
| 3511 | }, |
| 3512 | { |
| 3513 | name = "BeginMode3D", |
| 3514 | description = "Begin 3D mode with custom camera (3D)", |
| 3515 | returnType = "void", |
| 3516 | params = { |
| 3517 | {type = "Camera3D", name = "camera"} |
| 3518 | } |
| 3519 | }, |
| 3520 | { |
| 3521 | name = "EndMode3D", |
| 3522 | description = "Ends 3D mode and returns to default 2D orthographic mode", |
| 3523 | returnType = "void" |
| 3524 | }, |
| 3525 | { |
| 3526 | name = "BeginTextureMode", |
| 3527 | description = "Begin drawing to render texture", |
| 3528 | returnType = "void", |
| 3529 | params = { |
| 3530 | {type = "RenderTexture2D", name = "target"} |
| 3531 | } |
| 3532 | }, |
| 3533 | { |
| 3534 | name = "EndTextureMode", |
| 3535 | description = "Ends drawing to render texture", |
| 3536 | returnType = "void" |
| 3537 | }, |
| 3538 | { |
| 3539 | name = "BeginShaderMode", |
| 3540 | description = "Begin custom shader drawing", |
| 3541 | returnType = "void", |
| 3542 | params = { |
| 3543 | {type = "Shader", name = "shader"} |
| 3544 | } |
| 3545 | }, |
| 3546 | { |
| 3547 | name = "EndShaderMode", |
| 3548 | description = "End custom shader drawing (use default shader)", |
| 3549 | returnType = "void" |
| 3550 | }, |
| 3551 | { |
| 3552 | name = "BeginBlendMode", |
| 3553 | description = "Begin blending mode (alpha, additive, multiplied, subtract, custom)", |
| 3554 | returnType = "void", |
| 3555 | params = { |
| 3556 | {type = "int", name = "mode"} |
| 3557 | } |
| 3558 | }, |
| 3559 | { |
| 3560 | name = "EndBlendMode", |
| 3561 | description = "End blending mode (reset to default: alpha blending)", |
| 3562 | returnType = "void" |
| 3563 | }, |
| 3564 | { |
| 3565 | name = "BeginScissorMode", |
| 3566 | description = "Begin scissor mode (define screen area for following drawing)", |
| 3567 | returnType = "void", |
| 3568 | params = { |
| 3569 | {type = "int", name = "x"}, |
| 3570 | {type = "int", name = "y"}, |
| 3571 | {type = "int", name = "width"}, |
| 3572 | {type = "int", name = "height"} |
| 3573 | } |
| 3574 | }, |
| 3575 | { |
| 3576 | name = "EndScissorMode", |
| 3577 | description = "End scissor mode", |
| 3578 | returnType = "void" |
| 3579 | }, |
| 3580 | { |
| 3581 | name = "BeginVrStereoMode", |
| 3582 | description = "Begin stereo rendering (requires VR simulator)", |
| 3583 | returnType = "void", |
| 3584 | params = { |
| 3585 | {type = "VrStereoConfig", name = "config"} |
| 3586 | } |
| 3587 | }, |
| 3588 | { |
| 3589 | name = "EndVrStereoMode", |
| 3590 | description = "End stereo rendering (requires VR simulator)", |
| 3591 | returnType = "void" |
| 3592 | }, |
| 3593 | { |
| 3594 | name = "LoadVrStereoConfig", |
| 3595 | description = "Load VR stereo config for VR simulator device parameters", |
| 3596 | returnType = "VrStereoConfig", |
| 3597 | params = { |
| 3598 | {type = "VrDeviceInfo", name = "device"} |
| 3599 | } |
| 3600 | }, |
| 3601 | { |
| 3602 | name = "UnloadVrStereoConfig", |
| 3603 | description = "Unload VR stereo config", |
| 3604 | returnType = "void", |
| 3605 | params = { |
| 3606 | {type = "VrStereoConfig", name = "config"} |
| 3607 | } |
| 3608 | }, |
| 3609 | { |
| 3610 | name = "LoadShader", |
| 3611 | description = "Load shader from files and bind default locations", |
| 3612 | returnType = "Shader", |
| 3613 | params = { |
| 3614 | {type = "const char *", name = "vsFileName"}, |
| 3615 | {type = "const char *", name = "fsFileName"} |
| 3616 | } |
| 3617 | }, |
| 3618 | { |
| 3619 | name = "LoadShaderFromMemory", |
| 3620 | description = "Load shader from code strings and bind default locations", |
| 3621 | returnType = "Shader", |
| 3622 | params = { |
| 3623 | {type = "const char *", name = "vsCode"}, |
| 3624 | {type = "const char *", name = "fsCode"} |
| 3625 | } |
| 3626 | }, |
| 3627 | { |
| 3628 | name = "IsShaderValid", |
| 3629 | description = "Check if a shader is valid (loaded on GPU)", |
| 3630 | returnType = "bool", |
| 3631 | params = { |
| 3632 | {type = "Shader", name = "shader"} |
| 3633 | } |
| 3634 | }, |
| 3635 | { |
| 3636 | name = "GetShaderLocation", |
| 3637 | description = "Get shader uniform location", |
| 3638 | returnType = "int", |
| 3639 | params = { |
| 3640 | {type = "Shader", name = "shader"}, |
| 3641 | {type = "const char *", name = "uniformName"} |
| 3642 | } |
| 3643 | }, |
| 3644 | { |
| 3645 | name = "GetShaderLocationAttrib", |
| 3646 | description = "Get shader attribute location", |
| 3647 | returnType = "int", |
| 3648 | params = { |
| 3649 | {type = "Shader", name = "shader"}, |
| 3650 | {type = "const char *", name = "attribName"} |
| 3651 | } |
| 3652 | }, |
| 3653 | { |
| 3654 | name = "SetShaderValue", |
| 3655 | description = "Set shader uniform value", |
| 3656 | returnType = "void", |
| 3657 | params = { |
| 3658 | {type = "Shader", name = "shader"}, |
| 3659 | {type = "int", name = "locIndex"}, |
| 3660 | {type = "const void *", name = "value"}, |
| 3661 | {type = "int", name = "uniformType"} |
| 3662 | } |
| 3663 | }, |
| 3664 | { |
| 3665 | name = "SetShaderValueV", |
| 3666 | description = "Set shader uniform value vector", |
| 3667 | returnType = "void", |
| 3668 | params = { |
| 3669 | {type = "Shader", name = "shader"}, |
| 3670 | {type = "int", name = "locIndex"}, |
| 3671 | {type = "const void *", name = "value"}, |
| 3672 | {type = "int", name = "uniformType"}, |
| 3673 | {type = "int", name = "count"} |
| 3674 | } |
| 3675 | }, |
| 3676 | { |
| 3677 | name = "SetShaderValueMatrix", |
| 3678 | description = "Set shader uniform value (matrix 4x4)", |
| 3679 | returnType = "void", |
| 3680 | params = { |
| 3681 | {type = "Shader", name = "shader"}, |
| 3682 | {type = "int", name = "locIndex"}, |
| 3683 | {type = "Matrix", name = "mat"} |
| 3684 | } |
| 3685 | }, |
| 3686 | { |
| 3687 | name = "SetShaderValueTexture", |
| 3688 | description = "Set shader uniform value and bind the texture (sampler2d)", |
| 3689 | returnType = "void", |
| 3690 | params = { |
| 3691 | {type = "Shader", name = "shader"}, |
| 3692 | {type = "int", name = "locIndex"}, |
| 3693 | {type = "Texture2D", name = "texture"} |
| 3694 | } |
| 3695 | }, |
| 3696 | { |
| 3697 | name = "UnloadShader", |
| 3698 | description = "Unload shader from GPU memory (VRAM)", |
| 3699 | returnType = "void", |
| 3700 | params = { |
| 3701 | {type = "Shader", name = "shader"} |
| 3702 | } |
| 3703 | }, |
| 3704 | { |
| 3705 | name = "GetScreenToWorldRay", |
| 3706 | description = "Get a ray trace from screen position (i.e mouse)", |
| 3707 | returnType = "Ray", |
| 3708 | params = { |
| 3709 | {type = "Vector2", name = "position"}, |
| 3710 | {type = "Camera", name = "camera"} |
| 3711 | } |
| 3712 | }, |
| 3713 | { |
| 3714 | name = "GetScreenToWorldRayEx", |
| 3715 | description = "Get a ray trace from screen position (i.e mouse) in a viewport", |
| 3716 | returnType = "Ray", |
| 3717 | params = { |
| 3718 | {type = "Vector2", name = "position"}, |
| 3719 | {type = "Camera", name = "camera"}, |
| 3720 | {type = "int", name = "width"}, |
| 3721 | {type = "int", name = "height"} |
| 3722 | } |
| 3723 | }, |
| 3724 | { |
| 3725 | name = "GetWorldToScreen", |
| 3726 | description = "Get the screen space position for a 3d world space position", |
| 3727 | returnType = "Vector2", |
| 3728 | params = { |
| 3729 | {type = "Vector3", name = "position"}, |
| 3730 | {type = "Camera", name = "camera"} |
| 3731 | } |
| 3732 | }, |
| 3733 | { |
| 3734 | name = "GetWorldToScreenEx", |
| 3735 | description = "Get size position for a 3d world space position", |
| 3736 | returnType = "Vector2", |
| 3737 | params = { |
| 3738 | {type = "Vector3", name = "position"}, |
| 3739 | {type = "Camera", name = "camera"}, |
| 3740 | {type = "int", name = "width"}, |
| 3741 | {type = "int", name = "height"} |
| 3742 | } |
| 3743 | }, |
| 3744 | { |
| 3745 | name = "GetWorldToScreen2D", |
| 3746 | description = "Get the screen space position for a 2d camera world space position", |
| 3747 | returnType = "Vector2", |
| 3748 | params = { |
| 3749 | {type = "Vector2", name = "position"}, |
| 3750 | {type = "Camera2D", name = "camera"} |
| 3751 | } |
| 3752 | }, |
| 3753 | { |
| 3754 | name = "GetScreenToWorld2D", |
| 3755 | description = "Get the world space position for a 2d camera screen space position", |
| 3756 | returnType = "Vector2", |
| 3757 | params = { |
| 3758 | {type = "Vector2", name = "position"}, |
| 3759 | {type = "Camera2D", name = "camera"} |
| 3760 | } |
| 3761 | }, |
| 3762 | { |
| 3763 | name = "GetCameraMatrix", |
| 3764 | description = "Get camera transform matrix (view matrix)", |
| 3765 | returnType = "Matrix", |
| 3766 | params = { |
| 3767 | {type = "Camera", name = "camera"} |
| 3768 | } |
| 3769 | }, |
| 3770 | { |
| 3771 | name = "GetCameraMatrix2D", |
| 3772 | description = "Get camera 2d transform matrix", |
| 3773 | returnType = "Matrix", |
| 3774 | params = { |
| 3775 | {type = "Camera2D", name = "camera"} |
| 3776 | } |
| 3777 | }, |
| 3778 | { |
| 3779 | name = "SetTargetFPS", |
| 3780 | description = "Set target FPS (maximum)", |
| 3781 | returnType = "void", |
| 3782 | params = { |
| 3783 | {type = "int", name = "fps"} |
| 3784 | } |
| 3785 | }, |
| 3786 | { |
| 3787 | name = "GetFrameTime", |
| 3788 | description = "Get time in seconds for last frame drawn (delta time)", |
| 3789 | returnType = "float" |
| 3790 | }, |
| 3791 | { |
| 3792 | name = "GetTime", |
| 3793 | description = "Get elapsed time in seconds since InitWindow()", |
| 3794 | returnType = "double" |
| 3795 | }, |
| 3796 | { |
| 3797 | name = "GetFPS", |
| 3798 | description = "Get current FPS", |
| 3799 | returnType = "int" |
| 3800 | }, |
| 3801 | { |
| 3802 | name = "SwapScreenBuffer", |
| 3803 | description = "Swap back buffer with front buffer (screen drawing)", |
| 3804 | returnType = "void" |
| 3805 | }, |
| 3806 | { |
| 3807 | name = "PollInputEvents", |
| 3808 | description = "Register all input events", |
| 3809 | returnType = "void" |
| 3810 | }, |
| 3811 | { |
| 3812 | name = "WaitTime", |
| 3813 | description = "Wait for some time (halt program execution)", |
| 3814 | returnType = "void", |
| 3815 | params = { |
| 3816 | {type = "double", name = "seconds"} |
| 3817 | } |
| 3818 | }, |
| 3819 | { |
| 3820 | name = "SetRandomSeed", |
| 3821 | description = "Set the seed for the random number generator", |
| 3822 | returnType = "void", |
| 3823 | params = { |
| 3824 | {type = "unsigned int", name = "seed"} |
| 3825 | } |
| 3826 | }, |
| 3827 | { |
| 3828 | name = "GetRandomValue", |
| 3829 | description = "Get a random value between min and max (both included)", |
| 3830 | returnType = "int", |
| 3831 | params = { |
| 3832 | {type = "int", name = "min"}, |
| 3833 | {type = "int", name = "max"} |
| 3834 | } |
| 3835 | }, |
| 3836 | { |
| 3837 | name = "LoadRandomSequence", |
| 3838 | description = "Load random values sequence, no values repeated", |
| 3839 | returnType = "int *", |
| 3840 | params = { |
| 3841 | {type = "unsigned int", name = "count"}, |
| 3842 | {type = "int", name = "min"}, |
| 3843 | {type = "int", name = "max"} |
| 3844 | } |
| 3845 | }, |
| 3846 | { |
| 3847 | name = "UnloadRandomSequence", |
| 3848 | description = "Unload random values sequence", |
| 3849 | returnType = "void", |
| 3850 | params = { |
| 3851 | {type = "int *", name = "sequence"} |
| 3852 | } |
| 3853 | }, |
| 3854 | { |
| 3855 | name = "TakeScreenshot", |
| 3856 | description = "Takes a screenshot of current screen (filename extension defines format)", |
| 3857 | returnType = "void", |
| 3858 | params = { |
| 3859 | {type = "const char *", name = "fileName"} |
| 3860 | } |
| 3861 | }, |
| 3862 | { |
| 3863 | name = "SetConfigFlags", |
| 3864 | description = "Setup init configuration flags (view FLAGS)", |
| 3865 | returnType = "void", |
| 3866 | params = { |
| 3867 | {type = "unsigned int", name = "flags"} |
| 3868 | } |
| 3869 | }, |
| 3870 | { |
| 3871 | name = "OpenURL", |
| 3872 | description = "Open URL with default system browser (if available)", |
| 3873 | returnType = "void", |
| 3874 | params = { |
| 3875 | {type = "const char *", name = "url"} |
| 3876 | } |
| 3877 | }, |
| 3878 | { |
| 3879 | name = "SetTraceLogLevel", |
| 3880 | description = "Set the current threshold (minimum) log level", |
| 3881 | returnType = "void", |
| 3882 | params = { |
| 3883 | {type = "int", name = "logLevel"} |
| 3884 | } |
| 3885 | }, |
| 3886 | { |
| 3887 | name = "TraceLog", |
| 3888 | description = "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)", |
| 3889 | returnType = "void", |
| 3890 | params = { |
| 3891 | {type = "int", name = "logLevel"}, |
| 3892 | {type = "const char *", name = "text"}, |
| 3893 | {type = "...", name = "args"} |
| 3894 | } |
| 3895 | }, |
| 3896 | { |
| 3897 | name = "SetTraceLogCallback", |
| 3898 | description = "Set custom trace log", |
| 3899 | returnType = "void", |
| 3900 | params = { |
| 3901 | {type = "TraceLogCallback", name = "callback"} |
| 3902 | } |
| 3903 | }, |
| 3904 | { |
| 3905 | name = "MemAlloc", |
| 3906 | description = "Internal memory allocator", |
| 3907 | returnType = "void *", |
| 3908 | params = { |
| 3909 | {type = "unsigned int", name = "size"} |
| 3910 | } |
| 3911 | }, |
| 3912 | { |
| 3913 | name = "MemRealloc", |
| 3914 | description = "Internal memory reallocator", |
| 3915 | returnType = "void *", |
| 3916 | params = { |
| 3917 | {type = "void *", name = "ptr"}, |
| 3918 | {type = "unsigned int", name = "size"} |
| 3919 | } |
| 3920 | }, |
| 3921 | { |
| 3922 | name = "MemFree", |
| 3923 | description = "Internal memory free", |
| 3924 | returnType = "void", |
| 3925 | params = { |
| 3926 | {type = "void *", name = "ptr"} |
| 3927 | } |
| 3928 | }, |
| 3929 | { |
| 3930 | name = "LoadFileData", |
| 3931 | description = "Load file data as byte array (read)", |
| 3932 | returnType = "unsigned char *", |
| 3933 | params = { |
| 3934 | {type = "const char *", name = "fileName"}, |
| 3935 | {type = "int *", name = "dataSize"} |
| 3936 | } |
| 3937 | }, |
| 3938 | { |
| 3939 | name = "UnloadFileData", |
| 3940 | description = "Unload file data allocated by LoadFileData()", |
| 3941 | returnType = "void", |
| 3942 | params = { |
| 3943 | {type = "unsigned char *", name = "data"} |
| 3944 | } |
| 3945 | }, |
| 3946 | { |
| 3947 | name = "SaveFileData", |
| 3948 | description = "Save data to file from byte array (write), returns true on success", |
| 3949 | returnType = "bool", |
| 3950 | params = { |
| 3951 | {type = "const char *", name = "fileName"}, |
| 3952 | {type = "void *", name = "data"}, |
| 3953 | {type = "int", name = "dataSize"} |
| 3954 | } |
| 3955 | }, |
| 3956 | { |
| 3957 | name = "ExportDataAsCode", |
| 3958 | description = "Export data to code (.h), returns true on success", |
| 3959 | returnType = "bool", |
| 3960 | params = { |
| 3961 | {type = "const unsigned char *", name = "data"}, |
| 3962 | {type = "int", name = "dataSize"}, |
| 3963 | {type = "const char *", name = "fileName"} |
| 3964 | } |
| 3965 | }, |
| 3966 | { |
| 3967 | name = "LoadFileText", |
| 3968 | description = "Load text data from file (read), returns a '\\0' terminated string", |
| 3969 | returnType = "char *", |
| 3970 | params = { |
| 3971 | {type = "const char *", name = "fileName"} |
| 3972 | } |
| 3973 | }, |
| 3974 | { |
| 3975 | name = "UnloadFileText", |
| 3976 | description = "Unload file text data allocated by LoadFileText()", |
| 3977 | returnType = "void", |
| 3978 | params = { |
| 3979 | {type = "char *", name = "text"} |
| 3980 | } |
| 3981 | }, |
| 3982 | { |
| 3983 | name = "SaveFileText", |
| 3984 | description = "Save text data to file (write), string must be '\\0' terminated, returns true on success", |
| 3985 | returnType = "bool", |
| 3986 | params = { |
| 3987 | {type = "const char *", name = "fileName"}, |
| 3988 | {type = "const char *", name = "text"} |
| 3989 | } |
| 3990 | }, |
| 3991 | { |
| 3992 | name = "SetLoadFileDataCallback", |
| 3993 | description = "Set custom file binary data loader", |
| 3994 | returnType = "void", |
| 3995 | params = { |
| 3996 | {type = "LoadFileDataCallback", name = "callback"} |
| 3997 | } |
| 3998 | }, |
| 3999 | { |
| 4000 | name = "SetSaveFileDataCallback", |
| 4001 | description = "Set custom file binary data saver", |
| 4002 | returnType = "void", |
| 4003 | params = { |
| 4004 | {type = "SaveFileDataCallback", name = "callback"} |
| 4005 | } |
| 4006 | }, |
| 4007 | { |
| 4008 | name = "SetLoadFileTextCallback", |
| 4009 | description = "Set custom file text data loader", |
| 4010 | returnType = "void", |
| 4011 | params = { |
| 4012 | {type = "LoadFileTextCallback", name = "callback"} |
| 4013 | } |
| 4014 | }, |
| 4015 | { |
| 4016 | name = "SetSaveFileTextCallback", |
| 4017 | description = "Set custom file text data saver", |
| 4018 | returnType = "void", |
| 4019 | params = { |
| 4020 | {type = "SaveFileTextCallback", name = "callback"} |
| 4021 | } |
| 4022 | }, |
| 4023 | { |
| 4024 | name = "FileRename", |
| 4025 | description = "Rename file (if exists)", |
| 4026 | returnType = "int", |
| 4027 | params = { |
| 4028 | {type = "const char *", name = "fileName"}, |
| 4029 | {type = "const char *", name = "fileRename"} |
| 4030 | } |
| 4031 | }, |
| 4032 | { |
| 4033 | name = "FileRemove", |
| 4034 | description = "Remove file (if exists)", |
| 4035 | returnType = "int", |
| 4036 | params = { |
| 4037 | {type = "const char *", name = "fileName"} |
| 4038 | } |
| 4039 | }, |
| 4040 | { |
| 4041 | name = "FileCopy", |
| 4042 | description = "Copy file from one path to another, dstPath created if it doesn't exist", |
| 4043 | returnType = "int", |
| 4044 | params = { |
| 4045 | {type = "const char *", name = "srcPath"}, |
| 4046 | {type = "const char *", name = "dstPath"} |
| 4047 | } |
| 4048 | }, |
| 4049 | { |
| 4050 | name = "FileMove", |
| 4051 | description = "Move file from one directory to another, dstPath created if it doesn't exist", |
| 4052 | returnType = "int", |
| 4053 | params = { |
| 4054 | {type = "const char *", name = "srcPath"}, |
| 4055 | {type = "const char *", name = "dstPath"} |
| 4056 | } |
| 4057 | }, |
| 4058 | { |
| 4059 | name = "FileTextReplace", |
| 4060 | description = "Replace text in an existing file", |
| 4061 | returnType = "int", |
| 4062 | params = { |
| 4063 | {type = "const char *", name = "fileName"}, |
| 4064 | {type = "const char *", name = "search"}, |
| 4065 | {type = "const char *", name = "replacement"} |
| 4066 | } |
| 4067 | }, |
| 4068 | { |
| 4069 | name = "FileTextFindIndex", |
| 4070 | description = "Find text in existing file", |
| 4071 | returnType = "int", |
| 4072 | params = { |
| 4073 | {type = "const char *", name = "fileName"}, |
| 4074 | {type = "const char *", name = "search"} |
| 4075 | } |
| 4076 | }, |
| 4077 | { |
| 4078 | name = "FileExists", |
| 4079 | description = "Check if file exists", |
| 4080 | returnType = "bool", |
| 4081 | params = { |
| 4082 | {type = "const char *", name = "fileName"} |
| 4083 | } |
| 4084 | }, |
| 4085 | { |
| 4086 | name = "DirectoryExists", |
| 4087 | description = "Check if a directory path exists", |
| 4088 | returnType = "bool", |
| 4089 | params = { |
| 4090 | {type = "const char *", name = "dirPath"} |
| 4091 | } |
| 4092 | }, |
| 4093 | { |
| 4094 | name = "IsFileExtension", |
| 4095 | description = "Check file extension (recommended include point: .png, .wav)", |
| 4096 | returnType = "bool", |
| 4097 | params = { |
| 4098 | {type = "const char *", name = "fileName"}, |
| 4099 | {type = "const char *", name = "ext"} |
| 4100 | } |
| 4101 | }, |
| 4102 | { |
| 4103 | name = "GetFileLength", |
| 4104 | description = "Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)", |
| 4105 | returnType = "int", |
| 4106 | params = { |
| 4107 | {type = "const char *", name = "fileName"} |
| 4108 | } |
| 4109 | }, |
| 4110 | { |
| 4111 | name = "GetFileModTime", |
| 4112 | description = "Get file modification time (last write time)", |
| 4113 | returnType = "long", |
| 4114 | params = { |
| 4115 | {type = "const char *", name = "fileName"} |
| 4116 | } |
| 4117 | }, |
| 4118 | { |
| 4119 | name = "GetFileExtension", |
| 4120 | description = "Get pointer to extension for a filename string (includes dot: '.png')", |
| 4121 | returnType = "const char *", |
| 4122 | params = { |
| 4123 | {type = "const char *", name = "fileName"} |
| 4124 | } |
| 4125 | }, |
| 4126 | { |
| 4127 | name = "GetFileName", |
| 4128 | description = "Get pointer to filename for a path string", |
| 4129 | returnType = "const char *", |
| 4130 | params = { |
| 4131 | {type = "const char *", name = "filePath"} |
| 4132 | } |
| 4133 | }, |
| 4134 | { |
| 4135 | name = "GetFileNameWithoutExt", |
| 4136 | description = "Get filename string without extension (uses static string)", |
| 4137 | returnType = "const char *", |
| 4138 | params = { |
| 4139 | {type = "const char *", name = "filePath"} |
| 4140 | } |
| 4141 | }, |
| 4142 | { |
| 4143 | name = "GetDirectoryPath", |
| 4144 | description = "Get full path for a given fileName with path (uses static string)", |
| 4145 | returnType = "const char *", |
| 4146 | params = { |
| 4147 | {type = "const char *", name = "filePath"} |
| 4148 | } |
| 4149 | }, |
| 4150 | { |
| 4151 | name = "GetPrevDirectoryPath", |
| 4152 | description = "Get previous directory path for a given path (uses static string)", |
| 4153 | returnType = "const char *", |
| 4154 | params = { |
| 4155 | {type = "const char *", name = "dirPath"} |
| 4156 | } |
| 4157 | }, |
| 4158 | { |
| 4159 | name = "GetWorkingDirectory", |
| 4160 | description = "Get current working directory (uses static string)", |
| 4161 | returnType = "const char *" |
| 4162 | }, |
| 4163 | { |
| 4164 | name = "GetApplicationDirectory", |
| 4165 | description = "Get the directory of the running application (uses static string)", |
| 4166 | returnType = "const char *" |
| 4167 | }, |
| 4168 | { |
| 4169 | name = "MakeDirectory", |
| 4170 | description = "Create directories (including full path requested), returns 0 on success", |
| 4171 | returnType = "int", |
| 4172 | params = { |
| 4173 | {type = "const char *", name = "dirPath"} |
| 4174 | } |
| 4175 | }, |
| 4176 | { |
| 4177 | name = "ChangeDirectory", |
| 4178 | description = "Change working directory, return true on success", |
| 4179 | returnType = "bool", |
| 4180 | params = { |
| 4181 | {type = "const char *", name = "dirPath"} |
| 4182 | } |
| 4183 | }, |
| 4184 | { |
| 4185 | name = "IsPathFile", |
| 4186 | description = "Check if a given path is a file or a directory", |
| 4187 | returnType = "bool", |
| 4188 | params = { |
| 4189 | {type = "const char *", name = "path"} |
| 4190 | } |
| 4191 | }, |
| 4192 | { |
| 4193 | name = "IsFileNameValid", |
| 4194 | description = "Check if fileName is valid for the platform/OS", |
| 4195 | returnType = "bool", |
| 4196 | params = { |
| 4197 | {type = "const char *", name = "fileName"} |
| 4198 | } |
| 4199 | }, |
| 4200 | { |
| 4201 | name = "LoadDirectoryFiles", |
| 4202 | description = "Load directory filepaths, files and directories, no subdirs scan", |
| 4203 | returnType = "FilePathList", |
| 4204 | params = { |
| 4205 | {type = "const char *", name = "dirPath"} |
| 4206 | } |
| 4207 | }, |
| 4208 | { |
| 4209 | name = "LoadDirectoryFilesEx", |
| 4210 | description = "Load directory filepaths with extension filtering and subdir scan; some filters available: "*.*", "FILES*", "DIRS*"", |
| 4211 | returnType = "FilePathList", |
| 4212 | params = { |
| 4213 | {type = "const char *", name = "basePath"}, |
| 4214 | {type = "const char *", name = "filter"}, |
| 4215 | {type = "bool", name = "scanSubdirs"} |
| 4216 | } |
| 4217 | }, |
| 4218 | { |
| 4219 | name = "UnloadDirectoryFiles", |
| 4220 | description = "Unload filepaths", |
| 4221 | returnType = "void", |
| 4222 | params = { |
| 4223 | {type = "FilePathList", name = "files"} |
| 4224 | } |
| 4225 | }, |
| 4226 | { |
| 4227 | name = "IsFileDropped", |
| 4228 | description = "Check if a file has been dropped into window", |
| 4229 | returnType = "bool" |
| 4230 | }, |
| 4231 | { |
| 4232 | name = "LoadDroppedFiles", |
| 4233 | description = "Load dropped filepaths", |
| 4234 | returnType = "FilePathList" |
| 4235 | }, |
| 4236 | { |
| 4237 | name = "UnloadDroppedFiles", |
| 4238 | description = "Unload dropped filepaths", |
| 4239 | returnType = "void", |
| 4240 | params = { |
| 4241 | {type = "FilePathList", name = "files"} |
| 4242 | } |
| 4243 | }, |
| 4244 | { |
| 4245 | name = "GetDirectoryFileCount", |
| 4246 | description = "Get the file count in a directory", |
| 4247 | returnType = "unsigned int", |
| 4248 | params = { |
| 4249 | {type = "const char *", name = "dirPath"} |
| 4250 | } |
| 4251 | }, |
| 4252 | { |
| 4253 | name = "GetDirectoryFileCountEx", |
| 4254 | 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", |
| 4255 | returnType = "unsigned int", |
| 4256 | params = { |
| 4257 | {type = "const char *", name = "basePath"}, |
| 4258 | {type = "const char *", name = "filter"}, |
| 4259 | {type = "bool", name = "scanSubdirs"} |
| 4260 | } |
| 4261 | }, |
| 4262 | { |
| 4263 | name = "CompressData", |
| 4264 | description = "Compress data (DEFLATE algorithm), memory must be MemFree()", |
| 4265 | returnType = "unsigned char *", |
| 4266 | params = { |
| 4267 | {type = "const unsigned char *", name = "data"}, |
| 4268 | {type = "int", name = "dataSize"}, |
| 4269 | {type = "int *", name = "compDataSize"} |
| 4270 | } |
| 4271 | }, |
| 4272 | { |
| 4273 | name = "DecompressData", |
| 4274 | description = "Decompress data (DEFLATE algorithm), memory must be MemFree()", |
| 4275 | returnType = "unsigned char *", |
| 4276 | params = { |
| 4277 | {type = "const unsigned char *", name = "compData"}, |
| 4278 | {type = "int", name = "compDataSize"}, |
| 4279 | {type = "int *", name = "dataSize"} |
| 4280 | } |
| 4281 | }, |
| 4282 | { |
| 4283 | name = "EncodeDataBase64", |
| 4284 | description = "Encode data to Base64 string (includes NULL terminator), memory must be MemFree()", |
| 4285 | returnType = "char *", |
| 4286 | params = { |
| 4287 | {type = "const unsigned char *", name = "data"}, |
| 4288 | {type = "int", name = "dataSize"}, |
| 4289 | {type = "int *", name = "outputSize"} |
| 4290 | } |
| 4291 | }, |
| 4292 | { |
| 4293 | name = "DecodeDataBase64", |
| 4294 | description = "Decode Base64 string (expected NULL terminated), memory must be MemFree()", |
| 4295 | returnType = "unsigned char *", |
| 4296 | params = { |
| 4297 | {type = "const char *", name = "text"}, |
| 4298 | {type = "int *", name = "outputSize"} |
| 4299 | } |
| 4300 | }, |
| 4301 | { |
| 4302 | name = "ComputeCRC32", |
| 4303 | description = "Compute CRC32 hash code", |
| 4304 | returnType = "unsigned int", |
| 4305 | params = { |
| 4306 | {type = "unsigned char *", name = "data"}, |
| 4307 | {type = "int", name = "dataSize"} |
| 4308 | } |
| 4309 | }, |
| 4310 | { |
| 4311 | name = "ComputeMD5", |
| 4312 | description = "Compute MD5 hash code, returns static int[4] (16 bytes)", |
| 4313 | returnType = "unsigned int *", |
| 4314 | params = { |
| 4315 | {type = "unsigned char *", name = "data"}, |
| 4316 | {type = "int", name = "dataSize"} |
| 4317 | } |
| 4318 | }, |
| 4319 | { |
| 4320 | name = "ComputeSHA1", |
| 4321 | description = "Compute SHA1 hash code, returns static int[5] (20 bytes)", |
| 4322 | returnType = "unsigned int *", |
| 4323 | params = { |
| 4324 | {type = "unsigned char *", name = "data"}, |
| 4325 | {type = "int", name = "dataSize"} |
| 4326 | } |
| 4327 | }, |
| 4328 | { |
| 4329 | name = "ComputeSHA256", |
| 4330 | description = "Compute SHA256 hash code, returns static int[8] (32 bytes)", |
| 4331 | returnType = "unsigned int *", |
| 4332 | params = { |
| 4333 | {type = "unsigned char *", name = "data"}, |
| 4334 | {type = "int", name = "dataSize"} |
| 4335 | } |
| 4336 | }, |
| 4337 | { |
| 4338 | name = "LoadAutomationEventList", |
| 4339 | description = "Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS", |
| 4340 | returnType = "AutomationEventList", |
| 4341 | params = { |
| 4342 | {type = "const char *", name = "fileName"} |
| 4343 | } |
| 4344 | }, |
| 4345 | { |
| 4346 | name = "UnloadAutomationEventList", |
| 4347 | description = "Unload automation events list from file", |
| 4348 | returnType = "void", |
| 4349 | params = { |
| 4350 | {type = "AutomationEventList", name = "list"} |
| 4351 | } |
| 4352 | }, |
| 4353 | { |
| 4354 | name = "ExportAutomationEventList", |
| 4355 | description = "Export automation events list as text file", |
| 4356 | returnType = "bool", |
| 4357 | params = { |
| 4358 | {type = "AutomationEventList", name = "list"}, |
| 4359 | {type = "const char *", name = "fileName"} |
| 4360 | } |
| 4361 | }, |
| 4362 | { |
| 4363 | name = "SetAutomationEventList", |
| 4364 | description = "Set automation event list to record to", |
| 4365 | returnType = "void", |
| 4366 | params = { |
| 4367 | {type = "AutomationEventList *", name = "list"} |
| 4368 | } |
| 4369 | }, |
| 4370 | { |
| 4371 | name = "SetAutomationEventBaseFrame", |
| 4372 | description = "Set automation event internal base frame to start recording", |
| 4373 | returnType = "void", |
| 4374 | params = { |
| 4375 | {type = "int", name = "frame"} |
| 4376 | } |
| 4377 | }, |
| 4378 | { |
| 4379 | name = "StartAutomationEventRecording", |
| 4380 | description = "Start recording automation events (AutomationEventList must be set)", |
| 4381 | returnType = "void" |
| 4382 | }, |
| 4383 | { |
| 4384 | name = "StopAutomationEventRecording", |
| 4385 | description = "Stop recording automation events", |
| 4386 | returnType = "void" |
| 4387 | }, |
| 4388 | { |
| 4389 | name = "PlayAutomationEvent", |
| 4390 | description = "Play a recorded automation event", |
| 4391 | returnType = "void", |
| 4392 | params = { |
| 4393 | {type = "AutomationEvent", name = "event"} |
| 4394 | } |
| 4395 | }, |
| 4396 | { |
| 4397 | name = "IsKeyPressed", |
| 4398 | description = "Check if a key has been pressed once", |
| 4399 | returnType = "bool", |
| 4400 | params = { |
| 4401 | {type = "int", name = "key"} |
| 4402 | } |
| 4403 | }, |
| 4404 | { |
| 4405 | name = "IsKeyPressedRepeat", |
| 4406 | description = "Check if a key has been pressed again", |
| 4407 | returnType = "bool", |
| 4408 | params = { |
| 4409 | {type = "int", name = "key"} |
| 4410 | } |
| 4411 | }, |
| 4412 | { |
| 4413 | name = "IsKeyDown", |
| 4414 | description = "Check if a key is being pressed", |
| 4415 | returnType = "bool", |
| 4416 | params = { |
| 4417 | {type = "int", name = "key"} |
| 4418 | } |
| 4419 | }, |
| 4420 | { |
| 4421 | name = "IsKeyReleased", |
| 4422 | description = "Check if a key has been released once", |
| 4423 | returnType = "bool", |
| 4424 | params = { |
| 4425 | {type = "int", name = "key"} |
| 4426 | } |
| 4427 | }, |
| 4428 | { |
| 4429 | name = "IsKeyUp", |
| 4430 | description = "Check if a key is NOT being pressed", |
| 4431 | returnType = "bool", |
| 4432 | params = { |
| 4433 | {type = "int", name = "key"} |
| 4434 | } |
| 4435 | }, |
| 4436 | { |
| 4437 | name = "GetKeyPressed", |
| 4438 | description = "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty", |
| 4439 | returnType = "int" |
| 4440 | }, |
| 4441 | { |
| 4442 | name = "GetCharPressed", |
| 4443 | description = "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty", |
| 4444 | returnType = "int" |
| 4445 | }, |
| 4446 | { |
| 4447 | name = "GetKeyName", |
| 4448 | description = "Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)", |
| 4449 | returnType = "const char *", |
| 4450 | params = { |
| 4451 | {type = "int", name = "key"} |
| 4452 | } |
| 4453 | }, |
| 4454 | { |
| 4455 | name = "SetExitKey", |
| 4456 | description = "Set a custom key to exit program (default is ESC)", |
| 4457 | returnType = "void", |
| 4458 | params = { |
| 4459 | {type = "int", name = "key"} |
| 4460 | } |
| 4461 | }, |
| 4462 | { |
| 4463 | name = "IsGamepadAvailable", |
| 4464 | description = "Check if a gamepad is available", |
| 4465 | returnType = "bool", |
| 4466 | params = { |
| 4467 | {type = "int", name = "gamepad"} |
| 4468 | } |
| 4469 | }, |
| 4470 | { |
| 4471 | name = "GetGamepadName", |
| 4472 | description = "Get gamepad internal name id", |
| 4473 | returnType = "const char *", |
| 4474 | params = { |
| 4475 | {type = "int", name = "gamepad"} |
| 4476 | } |
| 4477 | }, |
| 4478 | { |
| 4479 | name = "IsGamepadButtonPressed", |
| 4480 | description = "Check if a gamepad button has been pressed once", |
| 4481 | returnType = "bool", |
| 4482 | params = { |
| 4483 | {type = "int", name = "gamepad"}, |
| 4484 | {type = "int", name = "button"} |
| 4485 | } |
| 4486 | }, |
| 4487 | { |
| 4488 | name = "IsGamepadButtonDown", |
| 4489 | description = "Check if a gamepad button is being pressed", |
| 4490 | returnType = "bool", |
| 4491 | params = { |
| 4492 | {type = "int", name = "gamepad"}, |
| 4493 | {type = "int", name = "button"} |
| 4494 | } |
| 4495 | }, |
| 4496 | { |
| 4497 | name = "IsGamepadButtonReleased", |
| 4498 | description = "Check if a gamepad button has been released once", |
| 4499 | returnType = "bool", |
| 4500 | params = { |
| 4501 | {type = "int", name = "gamepad"}, |
| 4502 | {type = "int", name = "button"} |
| 4503 | } |
| 4504 | }, |
| 4505 | { |
| 4506 | name = "IsGamepadButtonUp", |
| 4507 | description = "Check if a gamepad button is NOT being pressed", |
| 4508 | returnType = "bool", |
| 4509 | params = { |
| 4510 | {type = "int", name = "gamepad"}, |
| 4511 | {type = "int", name = "button"} |
| 4512 | } |
| 4513 | }, |
| 4514 | { |
| 4515 | name = "GetGamepadButtonPressed", |
| 4516 | description = "Get the last gamepad button pressed", |
| 4517 | returnType = "int" |
| 4518 | }, |
| 4519 | { |
| 4520 | name = "GetGamepadAxisCount", |
| 4521 | description = "Get axis count for a gamepad", |
| 4522 | returnType = "int", |
| 4523 | params = { |
| 4524 | {type = "int", name = "gamepad"} |
| 4525 | } |
| 4526 | }, |
| 4527 | { |
| 4528 | name = "GetGamepadAxisMovement", |
| 4529 | description = "Get movement value for a gamepad axis", |
| 4530 | returnType = "float", |
| 4531 | params = { |
| 4532 | {type = "int", name = "gamepad"}, |
| 4533 | {type = "int", name = "axis"} |
| 4534 | } |
| 4535 | }, |
| 4536 | { |
| 4537 | name = "SetGamepadMappings", |
| 4538 | description = "Set internal gamepad mappings (SDL_GameControllerDB)", |
| 4539 | returnType = "int", |
| 4540 | params = { |
| 4541 | {type = "const char *", name = "mappings"} |
| 4542 | } |
| 4543 | }, |
| 4544 | { |
| 4545 | name = "SetGamepadVibration", |
| 4546 | description = "Set gamepad vibration for both motors (duration in seconds)", |
| 4547 | returnType = "void", |
| 4548 | params = { |
| 4549 | {type = "int", name = "gamepad"}, |
| 4550 | {type = "float", name = "leftMotor"}, |
| 4551 | {type = "float", name = "rightMotor"}, |
| 4552 | {type = "float", name = "duration"} |
| 4553 | } |
| 4554 | }, |
| 4555 | { |
| 4556 | name = "IsMouseButtonPressed", |
| 4557 | description = "Check if a mouse button has been pressed once", |
| 4558 | returnType = "bool", |
| 4559 | params = { |
| 4560 | {type = "int", name = "button"} |
| 4561 | } |
| 4562 | }, |
| 4563 | { |
| 4564 | name = "IsMouseButtonDown", |
| 4565 | description = "Check if a mouse button is being pressed", |
| 4566 | returnType = "bool", |
| 4567 | params = { |
| 4568 | {type = "int", name = "button"} |
| 4569 | } |
| 4570 | }, |
| 4571 | { |
| 4572 | name = "IsMouseButtonReleased", |
| 4573 | description = "Check if a mouse button has been released once", |
| 4574 | returnType = "bool", |
| 4575 | params = { |
| 4576 | {type = "int", name = "button"} |
| 4577 | } |
| 4578 | }, |
| 4579 | { |
| 4580 | name = "IsMouseButtonUp", |
| 4581 | description = "Check if a mouse button is NOT being pressed", |
| 4582 | returnType = "bool", |
| 4583 | params = { |
| 4584 | {type = "int", name = "button"} |
| 4585 | } |
| 4586 | }, |
| 4587 | { |
| 4588 | name = "GetMouseX", |
| 4589 | description = "Get mouse position X", |
| 4590 | returnType = "int" |
| 4591 | }, |
| 4592 | { |
| 4593 | name = "GetMouseY", |
| 4594 | description = "Get mouse position Y", |
| 4595 | returnType = "int" |
| 4596 | }, |
| 4597 | { |
| 4598 | name = "GetMousePosition", |
| 4599 | description = "Get mouse position XY", |
| 4600 | returnType = "Vector2" |
| 4601 | }, |
| 4602 | { |
| 4603 | name = "GetMouseDelta", |
| 4604 | description = "Get mouse delta between frames", |
| 4605 | returnType = "Vector2" |
| 4606 | }, |
| 4607 | { |
| 4608 | name = "SetMousePosition", |
| 4609 | description = "Set mouse position XY", |
| 4610 | returnType = "void", |
| 4611 | params = { |
| 4612 | {type = "int", name = "x"}, |
| 4613 | {type = "int", name = "y"} |
| 4614 | } |
| 4615 | }, |
| 4616 | { |
| 4617 | name = "SetMouseOffset", |
| 4618 | description = "Set mouse offset", |
| 4619 | returnType = "void", |
| 4620 | params = { |
| 4621 | {type = "int", name = "offsetX"}, |
| 4622 | {type = "int", name = "offsetY"} |
| 4623 | } |
| 4624 | }, |
| 4625 | { |
| 4626 | name = "SetMouseScale", |
| 4627 | description = "Set mouse scaling", |
| 4628 | returnType = "void", |
| 4629 | params = { |
| 4630 | {type = "float", name = "scaleX"}, |
| 4631 | {type = "float", name = "scaleY"} |
| 4632 | } |
| 4633 | }, |
| 4634 | { |
| 4635 | name = "GetMouseWheelMove", |
| 4636 | description = "Get mouse wheel movement for X or Y, whichever is larger", |
| 4637 | returnType = "float" |
| 4638 | }, |
| 4639 | { |
| 4640 | name = "GetMouseWheelMoveV", |
| 4641 | description = "Get mouse wheel movement for both X and Y", |
| 4642 | returnType = "Vector2" |
| 4643 | }, |
| 4644 | { |
| 4645 | name = "SetMouseCursor", |
| 4646 | description = "Set mouse cursor", |
| 4647 | returnType = "void", |
| 4648 | params = { |
| 4649 | {type = "int", name = "cursor"} |
| 4650 | } |
| 4651 | }, |
| 4652 | { |
| 4653 | name = "GetTouchX", |
| 4654 | description = "Get touch position X for touch point 0 (relative to screen size)", |
| 4655 | returnType = "int" |
| 4656 | }, |
| 4657 | { |
| 4658 | name = "GetTouchY", |
| 4659 | description = "Get touch position Y for touch point 0 (relative to screen size)", |
| 4660 | returnType = "int" |
| 4661 | }, |
| 4662 | { |
| 4663 | name = "GetTouchPosition", |
| 4664 | description = "Get touch position XY for a touch point index (relative to screen size)", |
| 4665 | returnType = "Vector2", |
| 4666 | params = { |
| 4667 | {type = "int", name = "index"} |
| 4668 | } |
| 4669 | }, |
| 4670 | { |
| 4671 | name = "GetTouchPointId", |
| 4672 | description = "Get touch point identifier for given index", |
| 4673 | returnType = "int", |
| 4674 | params = { |
| 4675 | {type = "int", name = "index"} |
| 4676 | } |
| 4677 | }, |
| 4678 | { |
| 4679 | name = "GetTouchPointCount", |
| 4680 | description = "Get number of touch points", |
| 4681 | returnType = "int" |
| 4682 | }, |
| 4683 | { |
| 4684 | name = "SetGesturesEnabled", |
| 4685 | description = "Enable a set of gestures using flags", |
| 4686 | returnType = "void", |
| 4687 | params = { |
| 4688 | {type = "unsigned int", name = "flags"} |
| 4689 | } |
| 4690 | }, |
| 4691 | { |
| 4692 | name = "IsGestureDetected", |
| 4693 | description = "Check if a gesture have been detected", |
| 4694 | returnType = "bool", |
| 4695 | params = { |
| 4696 | {type = "unsigned int", name = "gesture"} |
| 4697 | } |
| 4698 | }, |
| 4699 | { |
| 4700 | name = "GetGestureDetected", |
| 4701 | description = "Get latest detected gesture", |
| 4702 | returnType = "int" |
| 4703 | }, |
| 4704 | { |
| 4705 | name = "GetGestureHoldDuration", |
| 4706 | description = "Get gesture hold time in seconds", |
| 4707 | returnType = "float" |
| 4708 | }, |
| 4709 | { |
| 4710 | name = "GetGestureDragVector", |
| 4711 | description = "Get gesture drag vector", |
| 4712 | returnType = "Vector2" |
| 4713 | }, |
| 4714 | { |
| 4715 | name = "GetGestureDragAngle", |
| 4716 | description = "Get gesture drag angle", |
| 4717 | returnType = "float" |
| 4718 | }, |
| 4719 | { |
| 4720 | name = "GetGesturePinchVector", |
| 4721 | description = "Get gesture pinch delta", |
| 4722 | returnType = "Vector2" |
| 4723 | }, |
| 4724 | { |
| 4725 | name = "GetGesturePinchAngle", |
| 4726 | description = "Get gesture pinch angle", |
| 4727 | returnType = "float" |
| 4728 | }, |
| 4729 | { |
| 4730 | name = "UpdateCamera", |
| 4731 | description = "Update camera position for selected mode", |
| 4732 | returnType = "void", |
| 4733 | params = { |
| 4734 | {type = "Camera *", name = "camera"}, |
| 4735 | {type = "int", name = "mode"} |
| 4736 | } |
| 4737 | }, |
| 4738 | { |
| 4739 | name = "UpdateCameraPro", |
| 4740 | description = "Update camera movement/rotation", |
| 4741 | returnType = "void", |
| 4742 | params = { |
| 4743 | {type = "Camera *", name = "camera"}, |
| 4744 | {type = "Vector3", name = "movement"}, |
| 4745 | {type = "Vector3", name = "rotation"}, |
| 4746 | {type = "float", name = "zoom"} |
| 4747 | } |
| 4748 | }, |
| 4749 | { |
| 4750 | name = "SetShapesTexture", |
| 4751 | description = "Set texture and rectangle to be used on shapes drawing", |
| 4752 | returnType = "void", |
| 4753 | params = { |
| 4754 | {type = "Texture2D", name = "texture"}, |
| 4755 | {type = "Rectangle", name = "source"} |
| 4756 | } |
| 4757 | }, |
| 4758 | { |
| 4759 | name = "GetShapesTexture", |
| 4760 | description = "Get texture that is used for shapes drawing", |
| 4761 | returnType = "Texture2D" |
| 4762 | }, |
| 4763 | { |
| 4764 | name = "GetShapesTextureRectangle", |
| 4765 | description = "Get texture source rectangle that is used for shapes drawing", |
| 4766 | returnType = "Rectangle" |
| 4767 | }, |
| 4768 | { |
| 4769 | name = "DrawPixel", |
| 4770 | description = "Draw a pixel using geometry [Can be slow, use with care]", |
| 4771 | returnType = "void", |
| 4772 | params = { |
| 4773 | {type = "int", name = "posX"}, |
| 4774 | {type = "int", name = "posY"}, |
| 4775 | {type = "Color", name = "color"} |
| 4776 | } |
| 4777 | }, |
| 4778 | { |
| 4779 | name = "DrawPixelV", |
| 4780 | description = "Draw a pixel using geometry (Vector version) [Can be slow, use with care]", |
| 4781 | returnType = "void", |
| 4782 | params = { |
| 4783 | {type = "Vector2", name = "position"}, |
| 4784 | {type = "Color", name = "color"} |
| 4785 | } |
| 4786 | }, |
| 4787 | { |
| 4788 | name = "DrawLine", |
| 4789 | description = "Draw a line", |
| 4790 | returnType = "void", |
| 4791 | params = { |
| 4792 | {type = "int", name = "startPosX"}, |
| 4793 | {type = "int", name = "startPosY"}, |
| 4794 | {type = "int", name = "endPosX"}, |
| 4795 | {type = "int", name = "endPosY"}, |
| 4796 | {type = "Color", name = "color"} |
| 4797 | } |
| 4798 | }, |
| 4799 | { |
| 4800 | name = "DrawLineV", |
| 4801 | description = "Draw a line (using gl lines)", |
| 4802 | returnType = "void", |
| 4803 | params = { |
| 4804 | {type = "Vector2", name = "startPos"}, |
| 4805 | {type = "Vector2", name = "endPos"}, |
| 4806 | {type = "Color", name = "color"} |
| 4807 | } |
| 4808 | }, |
| 4809 | { |
| 4810 | name = "DrawLineEx", |
| 4811 | description = "Draw a line (using triangles/quads)", |
| 4812 | returnType = "void", |
| 4813 | params = { |
| 4814 | {type = "Vector2", name = "startPos"}, |
| 4815 | {type = "Vector2", name = "endPos"}, |
| 4816 | {type = "float", name = "thick"}, |
| 4817 | {type = "Color", name = "color"} |
| 4818 | } |
| 4819 | }, |
| 4820 | { |
| 4821 | name = "DrawLineStrip", |
| 4822 | description = "Draw lines sequence (using gl lines)", |
| 4823 | returnType = "void", |
| 4824 | params = { |
| 4825 | {type = "const Vector2 *", name = "points"}, |
| 4826 | {type = "int", name = "pointCount"}, |
| 4827 | {type = "Color", name = "color"} |
| 4828 | } |
| 4829 | }, |
| 4830 | { |
| 4831 | name = "DrawLineBezier", |
| 4832 | description = "Draw line segment cubic-bezier in-out interpolation", |
| 4833 | returnType = "void", |
| 4834 | params = { |
| 4835 | {type = "Vector2", name = "startPos"}, |
| 4836 | {type = "Vector2", name = "endPos"}, |
| 4837 | {type = "float", name = "thick"}, |
| 4838 | {type = "Color", name = "color"} |
| 4839 | } |
| 4840 | }, |
| 4841 | { |
| 4842 | name = "DrawLineDashed", |
| 4843 | description = "Draw a dashed line", |
| 4844 | returnType = "void", |
| 4845 | params = { |
| 4846 | {type = "Vector2", name = "startPos"}, |
| 4847 | {type = "Vector2", name = "endPos"}, |
| 4848 | {type = "int", name = "dashSize"}, |
| 4849 | {type = "int", name = "spaceSize"}, |
| 4850 | {type = "Color", name = "color"} |
| 4851 | } |
| 4852 | }, |
| 4853 | { |
| 4854 | name = "DrawCircle", |
| 4855 | description = "Draw a color-filled circle", |
| 4856 | returnType = "void", |
| 4857 | params = { |
| 4858 | {type = "int", name = "centerX"}, |
| 4859 | {type = "int", name = "centerY"}, |
| 4860 | {type = "float", name = "radius"}, |
| 4861 | {type = "Color", name = "color"} |
| 4862 | } |
| 4863 | }, |
| 4864 | { |
| 4865 | name = "DrawCircleV", |
| 4866 | description = "Draw a color-filled circle (Vector version)", |
| 4867 | returnType = "void", |
| 4868 | params = { |
| 4869 | {type = "Vector2", name = "center"}, |
| 4870 | {type = "float", name = "radius"}, |
| 4871 | {type = "Color", name = "color"} |
| 4872 | } |
| 4873 | }, |
| 4874 | { |
| 4875 | name = "DrawCircleGradient", |
| 4876 | description = "Draw a gradient-filled circle", |
| 4877 | returnType = "void", |
| 4878 | params = { |
| 4879 | {type = "Vector2", name = "center"}, |
| 4880 | {type = "float", name = "radius"}, |
| 4881 | {type = "Color", name = "inner"}, |
| 4882 | {type = "Color", name = "outer"} |
| 4883 | } |
| 4884 | }, |
| 4885 | { |
| 4886 | name = "DrawCircleSector", |
| 4887 | description = "Draw a piece of a circle", |
| 4888 | returnType = "void", |
| 4889 | params = { |
| 4890 | {type = "Vector2", name = "center"}, |
| 4891 | {type = "float", name = "radius"}, |
| 4892 | {type = "float", name = "startAngle"}, |
| 4893 | {type = "float", name = "endAngle"}, |
| 4894 | {type = "int", name = "segments"}, |
| 4895 | {type = "Color", name = "color"} |
| 4896 | } |
| 4897 | }, |
| 4898 | { |
| 4899 | name = "DrawCircleSectorLines", |
| 4900 | description = "Draw circle sector outline", |
| 4901 | returnType = "void", |
| 4902 | params = { |
| 4903 | {type = "Vector2", name = "center"}, |
| 4904 | {type = "float", name = "radius"}, |
| 4905 | {type = "float", name = "startAngle"}, |
| 4906 | {type = "float", name = "endAngle"}, |
| 4907 | {type = "int", name = "segments"}, |
| 4908 | {type = "Color", name = "color"} |
| 4909 | } |
| 4910 | }, |
| 4911 | { |
| 4912 | name = "DrawCircleLines", |
| 4913 | description = "Draw circle outline", |
| 4914 | returnType = "void", |
| 4915 | params = { |
| 4916 | {type = "int", name = "centerX"}, |
| 4917 | {type = "int", name = "centerY"}, |
| 4918 | {type = "float", name = "radius"}, |
| 4919 | {type = "Color", name = "color"} |
| 4920 | } |
| 4921 | }, |
| 4922 | { |
| 4923 | name = "DrawCircleLinesV", |
| 4924 | description = "Draw circle outline (Vector version)", |
| 4925 | returnType = "void", |
| 4926 | params = { |
| 4927 | {type = "Vector2", name = "center"}, |
| 4928 | {type = "float", name = "radius"}, |
| 4929 | {type = "Color", name = "color"} |
| 4930 | } |
| 4931 | }, |
| 4932 | { |
| 4933 | name = "DrawEllipse", |
| 4934 | description = "Draw ellipse", |
| 4935 | returnType = "void", |
| 4936 | params = { |
| 4937 | {type = "int", name = "centerX"}, |
| 4938 | {type = "int", name = "centerY"}, |
| 4939 | {type = "float", name = "radiusH"}, |
| 4940 | {type = "float", name = "radiusV"}, |
| 4941 | {type = "Color", name = "color"} |
| 4942 | } |
| 4943 | }, |
| 4944 | { |
| 4945 | name = "DrawEllipseV", |
| 4946 | description = "Draw ellipse (Vector version)", |
| 4947 | returnType = "void", |
| 4948 | params = { |
| 4949 | {type = "Vector2", name = "center"}, |
| 4950 | {type = "float", name = "radiusH"}, |
| 4951 | {type = "float", name = "radiusV"}, |
| 4952 | {type = "Color", name = "color"} |
| 4953 | } |
| 4954 | }, |
| 4955 | { |
| 4956 | name = "DrawEllipseLines", |
| 4957 | description = "Draw ellipse outline", |
| 4958 | returnType = "void", |
| 4959 | params = { |
| 4960 | {type = "int", name = "centerX"}, |
| 4961 | {type = "int", name = "centerY"}, |
| 4962 | {type = "float", name = "radiusH"}, |
| 4963 | {type = "float", name = "radiusV"}, |
| 4964 | {type = "Color", name = "color"} |
| 4965 | } |
| 4966 | }, |
| 4967 | { |
| 4968 | name = "DrawEllipseLinesV", |
| 4969 | description = "Draw ellipse outline (Vector version)", |
| 4970 | returnType = "void", |
| 4971 | params = { |
| 4972 | {type = "Vector2", name = "center"}, |
| 4973 | {type = "float", name = "radiusH"}, |
| 4974 | {type = "float", name = "radiusV"}, |
| 4975 | {type = "Color", name = "color"} |
| 4976 | } |
| 4977 | }, |
| 4978 | { |
| 4979 | name = "DrawRing", |
| 4980 | description = "Draw ring", |
| 4981 | returnType = "void", |
| 4982 | params = { |
| 4983 | {type = "Vector2", name = "center"}, |
| 4984 | {type = "float", name = "innerRadius"}, |
| 4985 | {type = "float", name = "outerRadius"}, |
| 4986 | {type = "float", name = "startAngle"}, |
| 4987 | {type = "float", name = "endAngle"}, |
| 4988 | {type = "int", name = "segments"}, |
| 4989 | {type = "Color", name = "color"} |
| 4990 | } |
| 4991 | }, |
| 4992 | { |
| 4993 | name = "DrawRingLines", |
| 4994 | description = "Draw ring outline", |
| 4995 | returnType = "void", |
| 4996 | params = { |
| 4997 | {type = "Vector2", name = "center"}, |
| 4998 | {type = "float", name = "innerRadius"}, |
| 4999 | {type = "float", name = "outerRadius"}, |
| 5000 | {type = "float", name = "startAngle"}, |
| 5001 | {type = "float", name = "endAngle"}, |
| 5002 | {type = "int", name = "segments"}, |
| 5003 | {type = "Color", name = "color"} |
| 5004 | } |
| 5005 | }, |
| 5006 | { |
| 5007 | name = "DrawRectangle", |
| 5008 | description = "Draw a color-filled rectangle", |
| 5009 | returnType = "void", |
| 5010 | params = { |
| 5011 | {type = "int", name = "posX"}, |
| 5012 | {type = "int", name = "posY"}, |
| 5013 | {type = "int", name = "width"}, |
| 5014 | {type = "int", name = "height"}, |
| 5015 | {type = "Color", name = "color"} |
| 5016 | } |
| 5017 | }, |
| 5018 | { |
| 5019 | name = "DrawRectangleV", |
| 5020 | description = "Draw a color-filled rectangle (Vector version)", |
| 5021 | returnType = "void", |
| 5022 | params = { |
| 5023 | {type = "Vector2", name = "position"}, |
| 5024 | {type = "Vector2", name = "size"}, |
| 5025 | {type = "Color", name = "color"} |
| 5026 | } |
| 5027 | }, |
| 5028 | { |
| 5029 | name = "DrawRectangleRec", |
| 5030 | description = "Draw a color-filled rectangle", |
| 5031 | returnType = "void", |
| 5032 | params = { |
| 5033 | {type = "Rectangle", name = "rec"}, |
| 5034 | {type = "Color", name = "color"} |
| 5035 | } |
| 5036 | }, |
| 5037 | { |
| 5038 | name = "DrawRectanglePro", |
| 5039 | description = "Draw a color-filled rectangle with pro parameters", |
| 5040 | returnType = "void", |
| 5041 | params = { |
| 5042 | {type = "Rectangle", name = "rec"}, |
| 5043 | {type = "Vector2", name = "origin"}, |
| 5044 | {type = "float", name = "rotation"}, |
| 5045 | {type = "Color", name = "color"} |
| 5046 | } |
| 5047 | }, |
| 5048 | { |
| 5049 | name = "DrawRectangleGradientV", |
| 5050 | description = "Draw a vertical-gradient-filled rectangle", |
| 5051 | returnType = "void", |
| 5052 | params = { |
| 5053 | {type = "int", name = "posX"}, |
| 5054 | {type = "int", name = "posY"}, |
| 5055 | {type = "int", name = "width"}, |
| 5056 | {type = "int", name = "height"}, |
| 5057 | {type = "Color", name = "top"}, |
| 5058 | {type = "Color", name = "bottom"} |
| 5059 | } |
| 5060 | }, |
| 5061 | { |
| 5062 | name = "DrawRectangleGradientH", |
| 5063 | description = "Draw a horizontal-gradient-filled rectangle", |
| 5064 | returnType = "void", |
| 5065 | params = { |
| 5066 | {type = "int", name = "posX"}, |
| 5067 | {type = "int", name = "posY"}, |
| 5068 | {type = "int", name = "width"}, |
| 5069 | {type = "int", name = "height"}, |
| 5070 | {type = "Color", name = "left"}, |
| 5071 | {type = "Color", name = "right"} |
| 5072 | } |
| 5073 | }, |
| 5074 | { |
| 5075 | name = "DrawRectangleGradientEx", |
| 5076 | description = "Draw a gradient-filled rectangle with custom vertex colors", |
| 5077 | returnType = "void", |
| 5078 | params = { |
| 5079 | {type = "Rectangle", name = "rec"}, |
| 5080 | {type = "Color", name = "topLeft"}, |
| 5081 | {type = "Color", name = "bottomLeft"}, |
| 5082 | {type = "Color", name = "bottomRight"}, |
| 5083 | {type = "Color", name = "topRight"} |
| 5084 | } |
| 5085 | }, |
| 5086 | { |
| 5087 | name = "DrawRectangleLines", |
| 5088 | description = "Draw rectangle outline", |
| 5089 | returnType = "void", |
| 5090 | params = { |
| 5091 | {type = "int", name = "posX"}, |
| 5092 | {type = "int", name = "posY"}, |
| 5093 | {type = "int", name = "width"}, |
| 5094 | {type = "int", name = "height"}, |
| 5095 | {type = "Color", name = "color"} |
| 5096 | } |
| 5097 | }, |
| 5098 | { |
| 5099 | name = "DrawRectangleLinesEx", |
| 5100 | description = "Draw rectangle outline with extended parameters", |
| 5101 | returnType = "void", |
| 5102 | params = { |
| 5103 | {type = "Rectangle", name = "rec"}, |
| 5104 | {type = "float", name = "lineThick"}, |
| 5105 | {type = "Color", name = "color"} |
| 5106 | } |
| 5107 | }, |
| 5108 | { |
| 5109 | name = "DrawRectangleRounded", |
| 5110 | description = "Draw rectangle with rounded edges", |
| 5111 | returnType = "void", |
| 5112 | params = { |
| 5113 | {type = "Rectangle", name = "rec"}, |
| 5114 | {type = "float", name = "roundness"}, |
| 5115 | {type = "int", name = "segments"}, |
| 5116 | {type = "Color", name = "color"} |
| 5117 | } |
| 5118 | }, |
| 5119 | { |
| 5120 | name = "DrawRectangleRoundedLines", |
| 5121 | description = "Draw rectangle lines with rounded edges", |
| 5122 | returnType = "void", |
| 5123 | params = { |
| 5124 | {type = "Rectangle", name = "rec"}, |
| 5125 | {type = "float", name = "roundness"}, |
| 5126 | {type = "int", name = "segments"}, |
| 5127 | {type = "Color", name = "color"} |
| 5128 | } |
| 5129 | }, |
| 5130 | { |
| 5131 | name = "DrawRectangleRoundedLinesEx", |
| 5132 | description = "Draw rectangle with rounded edges outline", |
| 5133 | returnType = "void", |
| 5134 | params = { |
| 5135 | {type = "Rectangle", name = "rec"}, |
| 5136 | {type = "float", name = "roundness"}, |
| 5137 | {type = "int", name = "segments"}, |
| 5138 | {type = "float", name = "lineThick"}, |
| 5139 | {type = "Color", name = "color"} |
| 5140 | } |
| 5141 | }, |
| 5142 | { |
| 5143 | name = "DrawTriangle", |
| 5144 | description = "Draw a color-filled triangle (vertex in counter-clockwise order!)", |
| 5145 | returnType = "void", |
| 5146 | params = { |
| 5147 | {type = "Vector2", name = "v1"}, |
| 5148 | {type = "Vector2", name = "v2"}, |
| 5149 | {type = "Vector2", name = "v3"}, |
| 5150 | {type = "Color", name = "color"} |
| 5151 | } |
| 5152 | }, |
| 5153 | { |
| 5154 | name = "DrawTriangleLines", |
| 5155 | description = "Draw triangle outline (vertex in counter-clockwise order!)", |
| 5156 | returnType = "void", |
| 5157 | params = { |
| 5158 | {type = "Vector2", name = "v1"}, |
| 5159 | {type = "Vector2", name = "v2"}, |
| 5160 | {type = "Vector2", name = "v3"}, |
| 5161 | {type = "Color", name = "color"} |
| 5162 | } |
| 5163 | }, |
| 5164 | { |
| 5165 | name = "DrawTriangleFan", |
| 5166 | description = "Draw a triangle fan defined by points (first vertex is the center)", |
| 5167 | returnType = "void", |
| 5168 | params = { |
| 5169 | {type = "const Vector2 *", name = "points"}, |
| 5170 | {type = "int", name = "pointCount"}, |
| 5171 | {type = "Color", name = "color"} |
| 5172 | } |
| 5173 | }, |
| 5174 | { |
| 5175 | name = "DrawTriangleStrip", |
| 5176 | description = "Draw a triangle strip defined by points", |
| 5177 | returnType = "void", |
| 5178 | params = { |
| 5179 | {type = "const Vector2 *", name = "points"}, |
| 5180 | {type = "int", name = "pointCount"}, |
| 5181 | {type = "Color", name = "color"} |
| 5182 | } |
| 5183 | }, |
| 5184 | { |
| 5185 | name = "DrawPoly", |
| 5186 | description = "Draw a regular polygon (Vector version)", |
| 5187 | returnType = "void", |
| 5188 | params = { |
| 5189 | {type = "Vector2", name = "center"}, |
| 5190 | {type = "int", name = "sides"}, |
| 5191 | {type = "float", name = "radius"}, |
| 5192 | {type = "float", name = "rotation"}, |
| 5193 | {type = "Color", name = "color"} |
| 5194 | } |
| 5195 | }, |
| 5196 | { |
| 5197 | name = "DrawPolyLines", |
| 5198 | description = "Draw a polygon outline of n sides", |
| 5199 | returnType = "void", |
| 5200 | params = { |
| 5201 | {type = "Vector2", name = "center"}, |
| 5202 | {type = "int", name = "sides"}, |
| 5203 | {type = "float", name = "radius"}, |
| 5204 | {type = "float", name = "rotation"}, |
| 5205 | {type = "Color", name = "color"} |
| 5206 | } |
| 5207 | }, |
| 5208 | { |
| 5209 | name = "DrawPolyLinesEx", |
| 5210 | description = "Draw a polygon outline of n sides with extended parameters", |
| 5211 | returnType = "void", |
| 5212 | params = { |
| 5213 | {type = "Vector2", name = "center"}, |
| 5214 | {type = "int", name = "sides"}, |
| 5215 | {type = "float", name = "radius"}, |
| 5216 | {type = "float", name = "rotation"}, |
| 5217 | {type = "float", name = "lineThick"}, |
| 5218 | {type = "Color", name = "color"} |
| 5219 | } |
| 5220 | }, |
| 5221 | { |
| 5222 | name = "DrawSplineLinear", |
| 5223 | description = "Draw spline: Linear, minimum 2 points", |
| 5224 | returnType = "void", |
| 5225 | params = { |
| 5226 | {type = "const Vector2 *", name = "points"}, |
| 5227 | {type = "int", name = "pointCount"}, |
| 5228 | {type = "float", name = "thick"}, |
| 5229 | {type = "Color", name = "color"} |
| 5230 | } |
| 5231 | }, |
| 5232 | { |
| 5233 | name = "DrawSplineBasis", |
| 5234 | description = "Draw spline: B-Spline, minimum 4 points", |
| 5235 | returnType = "void", |
| 5236 | params = { |
| 5237 | {type = "const Vector2 *", name = "points"}, |
| 5238 | {type = "int", name = "pointCount"}, |
| 5239 | {type = "float", name = "thick"}, |
| 5240 | {type = "Color", name = "color"} |
| 5241 | } |
| 5242 | }, |
| 5243 | { |
| 5244 | name = "DrawSplineCatmullRom", |
| 5245 | description = "Draw spline: Catmull-Rom, minimum 4 points", |
| 5246 | returnType = "void", |
| 5247 | params = { |
| 5248 | {type = "const Vector2 *", name = "points"}, |
| 5249 | {type = "int", name = "pointCount"}, |
| 5250 | {type = "float", name = "thick"}, |
| 5251 | {type = "Color", name = "color"} |
| 5252 | } |
| 5253 | }, |
| 5254 | { |
| 5255 | name = "DrawSplineBezierQuadratic", |
| 5256 | description = "Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]", |
| 5257 | returnType = "void", |
| 5258 | params = { |
| 5259 | {type = "const Vector2 *", name = "points"}, |
| 5260 | {type = "int", name = "pointCount"}, |
| 5261 | {type = "float", name = "thick"}, |
| 5262 | {type = "Color", name = "color"} |
| 5263 | } |
| 5264 | }, |
| 5265 | { |
| 5266 | name = "DrawSplineBezierCubic", |
| 5267 | description = "Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]", |
| 5268 | returnType = "void", |
| 5269 | params = { |
| 5270 | {type = "const Vector2 *", name = "points"}, |
| 5271 | {type = "int", name = "pointCount"}, |
| 5272 | {type = "float", name = "thick"}, |
| 5273 | {type = "Color", name = "color"} |
| 5274 | } |
| 5275 | }, |
| 5276 | { |
| 5277 | name = "DrawSplineSegmentLinear", |
| 5278 | description = "Draw spline segment: Linear, 2 points", |
| 5279 | returnType = "void", |
| 5280 | params = { |
| 5281 | {type = "Vector2", name = "p1"}, |
| 5282 | {type = "Vector2", name = "p2"}, |
| 5283 | {type = "float", name = "thick"}, |
| 5284 | {type = "Color", name = "color"} |
| 5285 | } |
| 5286 | }, |
| 5287 | { |
| 5288 | name = "DrawSplineSegmentBasis", |
| 5289 | description = "Draw spline segment: B-Spline, 4 points", |
| 5290 | returnType = "void", |
| 5291 | params = { |
| 5292 | {type = "Vector2", name = "p1"}, |
| 5293 | {type = "Vector2", name = "p2"}, |
| 5294 | {type = "Vector2", name = "p3"}, |
| 5295 | {type = "Vector2", name = "p4"}, |
| 5296 | {type = "float", name = "thick"}, |
| 5297 | {type = "Color", name = "color"} |
| 5298 | } |
| 5299 | }, |
| 5300 | { |
| 5301 | name = "DrawSplineSegmentCatmullRom", |
| 5302 | description = "Draw spline segment: Catmull-Rom, 4 points", |
| 5303 | returnType = "void", |
| 5304 | params = { |
| 5305 | {type = "Vector2", name = "p1"}, |
| 5306 | {type = "Vector2", name = "p2"}, |
| 5307 | {type = "Vector2", name = "p3"}, |
| 5308 | {type = "Vector2", name = "p4"}, |
| 5309 | {type = "float", name = "thick"}, |
| 5310 | {type = "Color", name = "color"} |
| 5311 | } |
| 5312 | }, |
| 5313 | { |
| 5314 | name = "DrawSplineSegmentBezierQuadratic", |
| 5315 | description = "Draw spline segment: Quadratic Bezier, 2 points, 1 control point", |
| 5316 | returnType = "void", |
| 5317 | params = { |
| 5318 | {type = "Vector2", name = "p1"}, |
| 5319 | {type = "Vector2", name = "c2"}, |
| 5320 | {type = "Vector2", name = "p3"}, |
| 5321 | {type = "float", name = "thick"}, |
| 5322 | {type = "Color", name = "color"} |
| 5323 | } |
| 5324 | }, |
| 5325 | { |
| 5326 | name = "DrawSplineSegmentBezierCubic", |
| 5327 | description = "Draw spline segment: Cubic Bezier, 2 points, 2 control points", |
| 5328 | returnType = "void", |
| 5329 | params = { |
| 5330 | {type = "Vector2", name = "p1"}, |
| 5331 | {type = "Vector2", name = "c2"}, |
| 5332 | {type = "Vector2", name = "c3"}, |
| 5333 | {type = "Vector2", name = "p4"}, |
| 5334 | {type = "float", name = "thick"}, |
| 5335 | {type = "Color", name = "color"} |
| 5336 | } |
| 5337 | }, |
| 5338 | { |
| 5339 | name = "GetSplinePointLinear", |
| 5340 | description = "Get (evaluate) spline point: Linear", |
| 5341 | returnType = "Vector2", |
| 5342 | params = { |
| 5343 | {type = "Vector2", name = "startPos"}, |
| 5344 | {type = "Vector2", name = "endPos"}, |
| 5345 | {type = "float", name = "t"} |
| 5346 | } |
| 5347 | }, |
| 5348 | { |
| 5349 | name = "GetSplinePointBasis", |
| 5350 | description = "Get (evaluate) spline point: B-Spline", |
| 5351 | returnType = "Vector2", |
| 5352 | params = { |
| 5353 | {type = "Vector2", name = "p1"}, |
| 5354 | {type = "Vector2", name = "p2"}, |
| 5355 | {type = "Vector2", name = "p3"}, |
| 5356 | {type = "Vector2", name = "p4"}, |
| 5357 | {type = "float", name = "t"} |
| 5358 | } |
| 5359 | }, |
| 5360 | { |
| 5361 | name = "GetSplinePointCatmullRom", |
| 5362 | description = "Get (evaluate) spline point: Catmull-Rom", |
| 5363 | returnType = "Vector2", |
| 5364 | params = { |
| 5365 | {type = "Vector2", name = "p1"}, |
| 5366 | {type = "Vector2", name = "p2"}, |
| 5367 | {type = "Vector2", name = "p3"}, |
| 5368 | {type = "Vector2", name = "p4"}, |
| 5369 | {type = "float", name = "t"} |
| 5370 | } |
| 5371 | }, |
| 5372 | { |
| 5373 | name = "GetSplinePointBezierQuad", |
| 5374 | description = "Get (evaluate) spline point: Quadratic Bezier", |
| 5375 | returnType = "Vector2", |
| 5376 | params = { |
| 5377 | {type = "Vector2", name = "p1"}, |
| 5378 | {type = "Vector2", name = "c2"}, |
| 5379 | {type = "Vector2", name = "p3"}, |
| 5380 | {type = "float", name = "t"} |
| 5381 | } |
| 5382 | }, |
| 5383 | { |
| 5384 | name = "GetSplinePointBezierCubic", |
| 5385 | description = "Get (evaluate) spline point: Cubic Bezier", |
| 5386 | returnType = "Vector2", |
| 5387 | params = { |
| 5388 | {type = "Vector2", name = "p1"}, |
| 5389 | {type = "Vector2", name = "c2"}, |
| 5390 | {type = "Vector2", name = "c3"}, |
| 5391 | {type = "Vector2", name = "p4"}, |
| 5392 | {type = "float", name = "t"} |
| 5393 | } |
| 5394 | }, |
| 5395 | { |
| 5396 | name = "CheckCollisionRecs", |
| 5397 | description = "Check collision between two rectangles", |
| 5398 | returnType = "bool", |
| 5399 | params = { |
| 5400 | {type = "Rectangle", name = "rec1"}, |
| 5401 | {type = "Rectangle", name = "rec2"} |
| 5402 | } |
| 5403 | }, |
| 5404 | { |
| 5405 | name = "CheckCollisionCircles", |
| 5406 | description = "Check collision between two circles", |
| 5407 | returnType = "bool", |
| 5408 | params = { |
| 5409 | {type = "Vector2", name = "center1"}, |
| 5410 | {type = "float", name = "radius1"}, |
| 5411 | {type = "Vector2", name = "center2"}, |
| 5412 | {type = "float", name = "radius2"} |
| 5413 | } |
| 5414 | }, |
| 5415 | { |
| 5416 | name = "CheckCollisionCircleRec", |
| 5417 | description = "Check collision between circle and rectangle", |
| 5418 | returnType = "bool", |
| 5419 | params = { |
| 5420 | {type = "Vector2", name = "center"}, |
| 5421 | {type = "float", name = "radius"}, |
| 5422 | {type = "Rectangle", name = "rec"} |
| 5423 | } |
| 5424 | }, |
| 5425 | { |
| 5426 | name = "CheckCollisionCircleLine", |
| 5427 | description = "Check if circle collides with a line created betweeen two points [p1] and [p2]", |
| 5428 | returnType = "bool", |
| 5429 | params = { |
| 5430 | {type = "Vector2", name = "center"}, |
| 5431 | {type = "float", name = "radius"}, |
| 5432 | {type = "Vector2", name = "p1"}, |
| 5433 | {type = "Vector2", name = "p2"} |
| 5434 | } |
| 5435 | }, |
| 5436 | { |
| 5437 | name = "CheckCollisionPointRec", |
| 5438 | description = "Check if point is inside rectangle", |
| 5439 | returnType = "bool", |
| 5440 | params = { |
| 5441 | {type = "Vector2", name = "point"}, |
| 5442 | {type = "Rectangle", name = "rec"} |
| 5443 | } |
| 5444 | }, |
| 5445 | { |
| 5446 | name = "CheckCollisionPointCircle", |
| 5447 | description = "Check if point is inside circle", |
| 5448 | returnType = "bool", |
| 5449 | params = { |
| 5450 | {type = "Vector2", name = "point"}, |
| 5451 | {type = "Vector2", name = "center"}, |
| 5452 | {type = "float", name = "radius"} |
| 5453 | } |
| 5454 | }, |
| 5455 | { |
| 5456 | name = "CheckCollisionPointTriangle", |
| 5457 | description = "Check if point is inside a triangle", |
| 5458 | returnType = "bool", |
| 5459 | params = { |
| 5460 | {type = "Vector2", name = "point"}, |
| 5461 | {type = "Vector2", name = "p1"}, |
| 5462 | {type = "Vector2", name = "p2"}, |
| 5463 | {type = "Vector2", name = "p3"} |
| 5464 | } |
| 5465 | }, |
| 5466 | { |
| 5467 | name = "CheckCollisionPointLine", |
| 5468 | description = "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]", |
| 5469 | returnType = "bool", |
| 5470 | params = { |
| 5471 | {type = "Vector2", name = "point"}, |
| 5472 | {type = "Vector2", name = "p1"}, |
| 5473 | {type = "Vector2", name = "p2"}, |
| 5474 | {type = "int", name = "threshold"} |
| 5475 | } |
| 5476 | }, |
| 5477 | { |
| 5478 | name = "CheckCollisionPointPoly", |
| 5479 | description = "Check if point is within a polygon described by array of vertices", |
| 5480 | returnType = "bool", |
| 5481 | params = { |
| 5482 | {type = "Vector2", name = "point"}, |
| 5483 | {type = "const Vector2 *", name = "points"}, |
| 5484 | {type = "int", name = "pointCount"} |
| 5485 | } |
| 5486 | }, |
| 5487 | { |
| 5488 | name = "CheckCollisionLines", |
| 5489 | description = "Check the collision between two lines defined by two points each, returns collision point by reference", |
| 5490 | returnType = "bool", |
| 5491 | params = { |
| 5492 | {type = "Vector2", name = "startPos1"}, |
| 5493 | {type = "Vector2", name = "endPos1"}, |
| 5494 | {type = "Vector2", name = "startPos2"}, |
| 5495 | {type = "Vector2", name = "endPos2"}, |
| 5496 | {type = "Vector2 *", name = "collisionPoint"} |
| 5497 | } |
| 5498 | }, |
| 5499 | { |
| 5500 | name = "GetCollisionRec", |
| 5501 | description = "Get collision rectangle for two rectangles collision", |
| 5502 | returnType = "Rectangle", |
| 5503 | params = { |
| 5504 | {type = "Rectangle", name = "rec1"}, |
| 5505 | {type = "Rectangle", name = "rec2"} |
| 5506 | } |
| 5507 | }, |
| 5508 | { |
| 5509 | name = "LoadImage", |
| 5510 | description = "Load image from file into CPU memory (RAM)", |
| 5511 | returnType = "Image", |
| 5512 | params = { |
| 5513 | {type = "const char *", name = "fileName"} |
| 5514 | } |
| 5515 | }, |
| 5516 | { |
| 5517 | name = "LoadImageRaw", |
| 5518 | description = "Load image from RAW file data", |
| 5519 | returnType = "Image", |
| 5520 | params = { |
| 5521 | {type = "const char *", name = "fileName"}, |
| 5522 | {type = "int", name = "width"}, |
| 5523 | {type = "int", name = "height"}, |
| 5524 | {type = "int", name = "format"}, |
| 5525 | {type = "int", name = "headerSize"} |
| 5526 | } |
| 5527 | }, |
| 5528 | { |
| 5529 | name = "LoadImageAnim", |
| 5530 | description = "Load image sequence from file (frames appended to image.data)", |
| 5531 | returnType = "Image", |
| 5532 | params = { |
| 5533 | {type = "const char *", name = "fileName"}, |
| 5534 | {type = "int *", name = "frames"} |
| 5535 | } |
| 5536 | }, |
| 5537 | { |
| 5538 | name = "LoadImageAnimFromMemory", |
| 5539 | description = "Load image sequence from memory buffer", |
| 5540 | returnType = "Image", |
| 5541 | params = { |
| 5542 | {type = "const char *", name = "fileType"}, |
| 5543 | {type = "const unsigned char *", name = "fileData"}, |
| 5544 | {type = "int", name = "dataSize"}, |
| 5545 | {type = "int *", name = "frames"} |
| 5546 | } |
| 5547 | }, |
| 5548 | { |
| 5549 | name = "LoadImageFromMemory", |
| 5550 | description = "Load image from memory buffer, fileType refers to extension: i.e. '.png'", |
| 5551 | returnType = "Image", |
| 5552 | params = { |
| 5553 | {type = "const char *", name = "fileType"}, |
| 5554 | {type = "const unsigned char *", name = "fileData"}, |
| 5555 | {type = "int", name = "dataSize"} |
| 5556 | } |
| 5557 | }, |
| 5558 | { |
| 5559 | name = "LoadImageFromTexture", |
| 5560 | description = "Load image from GPU texture data", |
| 5561 | returnType = "Image", |
| 5562 | params = { |
| 5563 | {type = "Texture2D", name = "texture"} |
| 5564 | } |
| 5565 | }, |
| 5566 | { |
| 5567 | name = "LoadImageFromScreen", |
| 5568 | description = "Load image from screen buffer and (screenshot)", |
| 5569 | returnType = "Image" |
| 5570 | }, |
| 5571 | { |
| 5572 | name = "IsImageValid", |
| 5573 | description = "Check if an image is valid (data and parameters)", |
| 5574 | returnType = "bool", |
| 5575 | params = { |
| 5576 | {type = "Image", name = "image"} |
| 5577 | } |
| 5578 | }, |
| 5579 | { |
| 5580 | name = "UnloadImage", |
| 5581 | description = "Unload image from CPU memory (RAM)", |
| 5582 | returnType = "void", |
| 5583 | params = { |
| 5584 | {type = "Image", name = "image"} |
| 5585 | } |
| 5586 | }, |
| 5587 | { |
| 5588 | name = "ExportImage", |
| 5589 | description = "Export image data to file, returns true on success", |
| 5590 | returnType = "bool", |
| 5591 | params = { |
| 5592 | {type = "Image", name = "image"}, |
| 5593 | {type = "const char *", name = "fileName"} |
| 5594 | } |
| 5595 | }, |
| 5596 | { |
| 5597 | name = "ExportImageToMemory", |
| 5598 | description = "Export image to memory buffer, memory must be MemFree()", |
| 5599 | returnType = "unsigned char *", |
| 5600 | params = { |
| 5601 | {type = "Image", name = "image"}, |
| 5602 | {type = "const char *", name = "fileType"}, |
| 5603 | {type = "int *", name = "fileSize"} |
| 5604 | } |
| 5605 | }, |
| 5606 | { |
| 5607 | name = "ExportImageAsCode", |
| 5608 | description = "Export image as code file defining an array of bytes, returns true on success", |
| 5609 | returnType = "bool", |
| 5610 | params = { |
| 5611 | {type = "Image", name = "image"}, |
| 5612 | {type = "const char *", name = "fileName"} |
| 5613 | } |
| 5614 | }, |
| 5615 | { |
| 5616 | name = "GenImageColor", |
| 5617 | description = "Generate image: plain color", |
| 5618 | returnType = "Image", |
| 5619 | params = { |
| 5620 | {type = "int", name = "width"}, |
| 5621 | {type = "int", name = "height"}, |
| 5622 | {type = "Color", name = "color"} |
| 5623 | } |
| 5624 | }, |
| 5625 | { |
| 5626 | name = "GenImageGradientLinear", |
| 5627 | description = "Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient", |
| 5628 | returnType = "Image", |
| 5629 | params = { |
| 5630 | {type = "int", name = "width"}, |
| 5631 | {type = "int", name = "height"}, |
| 5632 | {type = "int", name = "direction"}, |
| 5633 | {type = "Color", name = "start"}, |
| 5634 | {type = "Color", name = "end"} |
| 5635 | } |
| 5636 | }, |
| 5637 | { |
| 5638 | name = "GenImageGradientRadial", |
| 5639 | description = "Generate image: radial gradient", |
| 5640 | returnType = "Image", |
| 5641 | params = { |
| 5642 | {type = "int", name = "width"}, |
| 5643 | {type = "int", name = "height"}, |
| 5644 | {type = "float", name = "density"}, |
| 5645 | {type = "Color", name = "inner"}, |
| 5646 | {type = "Color", name = "outer"} |
| 5647 | } |
| 5648 | }, |
| 5649 | { |
| 5650 | name = "GenImageGradientSquare", |
| 5651 | description = "Generate image: square gradient", |
| 5652 | returnType = "Image", |
| 5653 | params = { |
| 5654 | {type = "int", name = "width"}, |
| 5655 | {type = "int", name = "height"}, |
| 5656 | {type = "float", name = "density"}, |
| 5657 | {type = "Color", name = "inner"}, |
| 5658 | {type = "Color", name = "outer"} |
| 5659 | } |
| 5660 | }, |
| 5661 | { |
| 5662 | name = "GenImageChecked", |
| 5663 | description = "Generate image: checked", |
| 5664 | returnType = "Image", |
| 5665 | params = { |
| 5666 | {type = "int", name = "width"}, |
| 5667 | {type = "int", name = "height"}, |
| 5668 | {type = "int", name = "checksX"}, |
| 5669 | {type = "int", name = "checksY"}, |
| 5670 | {type = "Color", name = "col1"}, |
| 5671 | {type = "Color", name = "col2"} |
| 5672 | } |
| 5673 | }, |
| 5674 | { |
| 5675 | name = "GenImageWhiteNoise", |
| 5676 | description = "Generate image: white noise", |
| 5677 | returnType = "Image", |
| 5678 | params = { |
| 5679 | {type = "int", name = "width"}, |
| 5680 | {type = "int", name = "height"}, |
| 5681 | {type = "float", name = "factor"} |
| 5682 | } |
| 5683 | }, |
| 5684 | { |
| 5685 | name = "GenImagePerlinNoise", |
| 5686 | description = "Generate image: perlin noise", |
| 5687 | returnType = "Image", |
| 5688 | params = { |
| 5689 | {type = "int", name = "width"}, |
| 5690 | {type = "int", name = "height"}, |
| 5691 | {type = "int", name = "offsetX"}, |
| 5692 | {type = "int", name = "offsetY"}, |
| 5693 | {type = "float", name = "scale"} |
| 5694 | } |
| 5695 | }, |
| 5696 | { |
| 5697 | name = "GenImageCellular", |
| 5698 | description = "Generate image: cellular algorithm, bigger tileSize means bigger cells", |
| 5699 | returnType = "Image", |
| 5700 | params = { |
| 5701 | {type = "int", name = "width"}, |
| 5702 | {type = "int", name = "height"}, |
| 5703 | {type = "int", name = "tileSize"} |
| 5704 | } |
| 5705 | }, |
| 5706 | { |
| 5707 | name = "GenImageText", |
| 5708 | description = "Generate image: grayscale image from text data", |
| 5709 | returnType = "Image", |
| 5710 | params = { |
| 5711 | {type = "int", name = "width"}, |
| 5712 | {type = "int", name = "height"}, |
| 5713 | {type = "const char *", name = "text"} |
| 5714 | } |
| 5715 | }, |
| 5716 | { |
| 5717 | name = "ImageCopy", |
| 5718 | description = "Create an image duplicate (useful for transformations)", |
| 5719 | returnType = "Image", |
| 5720 | params = { |
| 5721 | {type = "Image", name = "image"} |
| 5722 | } |
| 5723 | }, |
| 5724 | { |
| 5725 | name = "ImageFromImage", |
| 5726 | description = "Create an image from another image piece", |
| 5727 | returnType = "Image", |
| 5728 | params = { |
| 5729 | {type = "Image", name = "image"}, |
| 5730 | {type = "Rectangle", name = "rec"} |
| 5731 | } |
| 5732 | }, |
| 5733 | { |
| 5734 | name = "ImageFromChannel", |
| 5735 | description = "Create an image from a selected channel of another image (GRAYSCALE)", |
| 5736 | returnType = "Image", |
| 5737 | params = { |
| 5738 | {type = "Image", name = "image"}, |
| 5739 | {type = "int", name = "selectedChannel"} |
| 5740 | } |
| 5741 | }, |
| 5742 | { |
| 5743 | name = "ImageText", |
| 5744 | description = "Create an image from text (default font)", |
| 5745 | returnType = "Image", |
| 5746 | params = { |
| 5747 | {type = "const char *", name = "text"}, |
| 5748 | {type = "int", name = "fontSize"}, |
| 5749 | {type = "Color", name = "color"} |
| 5750 | } |
| 5751 | }, |
| 5752 | { |
| 5753 | name = "ImageTextEx", |
| 5754 | description = "Create an image from text (custom sprite font)", |
| 5755 | returnType = "Image", |
| 5756 | params = { |
| 5757 | {type = "Font", name = "font"}, |
| 5758 | {type = "const char *", name = "text"}, |
| 5759 | {type = "float", name = "fontSize"}, |
| 5760 | {type = "float", name = "spacing"}, |
| 5761 | {type = "Color", name = "tint"} |
| 5762 | } |
| 5763 | }, |
| 5764 | { |
| 5765 | name = "ImageFormat", |
| 5766 | description = "Convert image data to desired format", |
| 5767 | returnType = "void", |
| 5768 | params = { |
| 5769 | {type = "Image *", name = "image"}, |
| 5770 | {type = "int", name = "newFormat"} |
| 5771 | } |
| 5772 | }, |
| 5773 | { |
| 5774 | name = "ImageToPOT", |
| 5775 | description = "Convert image to POT (power-of-two)", |
| 5776 | returnType = "void", |
| 5777 | params = { |
| 5778 | {type = "Image *", name = "image"}, |
| 5779 | {type = "Color", name = "fill"} |
| 5780 | } |
| 5781 | }, |
| 5782 | { |
| 5783 | name = "ImageCrop", |
| 5784 | description = "Crop an image to a defined rectangle", |
| 5785 | returnType = "void", |
| 5786 | params = { |
| 5787 | {type = "Image *", name = "image"}, |
| 5788 | {type = "Rectangle", name = "crop"} |
| 5789 | } |
| 5790 | }, |
| 5791 | { |
| 5792 | name = "ImageAlphaCrop", |
| 5793 | description = "Crop image depending on alpha value", |
| 5794 | returnType = "void", |
| 5795 | params = { |
| 5796 | {type = "Image *", name = "image"}, |
| 5797 | {type = "float", name = "threshold"} |
| 5798 | } |
| 5799 | }, |
| 5800 | { |
| 5801 | name = "ImageAlphaClear", |
| 5802 | description = "Clear alpha channel to desired color", |
| 5803 | returnType = "void", |
| 5804 | params = { |
| 5805 | {type = "Image *", name = "image"}, |
| 5806 | {type = "Color", name = "color"}, |
| 5807 | {type = "float", name = "threshold"} |
| 5808 | } |
| 5809 | }, |
| 5810 | { |
| 5811 | name = "ImageAlphaMask", |
| 5812 | description = "Apply alpha mask to image", |
| 5813 | returnType = "void", |
| 5814 | params = { |
| 5815 | {type = "Image *", name = "image"}, |
| 5816 | {type = "Image", name = "alphaMask"} |
| 5817 | } |
| 5818 | }, |
| 5819 | { |
| 5820 | name = "ImageAlphaPremultiply", |
| 5821 | description = "Premultiply alpha channel", |
| 5822 | returnType = "void", |
| 5823 | params = { |
| 5824 | {type = "Image *", name = "image"} |
| 5825 | } |
| 5826 | }, |
| 5827 | { |
| 5828 | name = "ImageBlurGaussian", |
| 5829 | description = "Apply Gaussian blur using a box blur approximation", |
| 5830 | returnType = "void", |
| 5831 | params = { |
| 5832 | {type = "Image *", name = "image"}, |
| 5833 | {type = "int", name = "blurSize"} |
| 5834 | } |
| 5835 | }, |
| 5836 | { |
| 5837 | name = "ImageKernelConvolution", |
| 5838 | description = "Apply custom square convolution kernel to image", |
| 5839 | returnType = "void", |
| 5840 | params = { |
| 5841 | {type = "Image *", name = "image"}, |
| 5842 | {type = "const float *", name = "kernel"}, |
| 5843 | {type = "int", name = "kernelSize"} |
| 5844 | } |
| 5845 | }, |
| 5846 | { |
| 5847 | name = "ImageResize", |
| 5848 | description = "Resize image (Bicubic scaling algorithm)", |
| 5849 | returnType = "void", |
| 5850 | params = { |
| 5851 | {type = "Image *", name = "image"}, |
| 5852 | {type = "int", name = "newWidth"}, |
| 5853 | {type = "int", name = "newHeight"} |
| 5854 | } |
| 5855 | }, |
| 5856 | { |
| 5857 | name = "ImageResizeNN", |
| 5858 | description = "Resize image (Nearest-Neighbor scaling algorithm)", |
| 5859 | returnType = "void", |
| 5860 | params = { |
| 5861 | {type = "Image *", name = "image"}, |
| 5862 | {type = "int", name = "newWidth"}, |
| 5863 | {type = "int", name = "newHeight"} |
| 5864 | } |
| 5865 | }, |
| 5866 | { |
| 5867 | name = "ImageResizeCanvas", |
| 5868 | description = "Resize canvas and fill with color", |
| 5869 | returnType = "void", |
| 5870 | params = { |
| 5871 | {type = "Image *", name = "image"}, |
| 5872 | {type = "int", name = "newWidth"}, |
| 5873 | {type = "int", name = "newHeight"}, |
| 5874 | {type = "int", name = "offsetX"}, |
| 5875 | {type = "int", name = "offsetY"}, |
| 5876 | {type = "Color", name = "fill"} |
| 5877 | } |
| 5878 | }, |
| 5879 | { |
| 5880 | name = "ImageMipmaps", |
| 5881 | description = "Compute all mipmap levels for a provided image", |
| 5882 | returnType = "void", |
| 5883 | params = { |
| 5884 | {type = "Image *", name = "image"} |
| 5885 | } |
| 5886 | }, |
| 5887 | { |
| 5888 | name = "ImageDither", |
| 5889 | description = "Dither image data to 16bpp or lower (Floyd-Steinberg dithering)", |
| 5890 | returnType = "void", |
| 5891 | params = { |
| 5892 | {type = "Image *", name = "image"}, |
| 5893 | {type = "int", name = "rBpp"}, |
| 5894 | {type = "int", name = "gBpp"}, |
| 5895 | {type = "int", name = "bBpp"}, |
| 5896 | {type = "int", name = "aBpp"} |
| 5897 | } |
| 5898 | }, |
| 5899 | { |
| 5900 | name = "ImageFlipVertical", |
| 5901 | description = "Flip image vertically", |
| 5902 | returnType = "void", |
| 5903 | params = { |
| 5904 | {type = "Image *", name = "image"} |
| 5905 | } |
| 5906 | }, |
| 5907 | { |
| 5908 | name = "ImageFlipHorizontal", |
| 5909 | description = "Flip image horizontally", |
| 5910 | returnType = "void", |
| 5911 | params = { |
| 5912 | {type = "Image *", name = "image"} |
| 5913 | } |
| 5914 | }, |
| 5915 | { |
| 5916 | name = "ImageRotate", |
| 5917 | description = "Rotate image by input angle in degrees (-359 to 359)", |
| 5918 | returnType = "void", |
| 5919 | params = { |
| 5920 | {type = "Image *", name = "image"}, |
| 5921 | {type = "int", name = "degrees"} |
| 5922 | } |
| 5923 | }, |
| 5924 | { |
| 5925 | name = "ImageRotateCW", |
| 5926 | description = "Rotate image clockwise 90deg", |
| 5927 | returnType = "void", |
| 5928 | params = { |
| 5929 | {type = "Image *", name = "image"} |
| 5930 | } |
| 5931 | }, |
| 5932 | { |
| 5933 | name = "ImageRotateCCW", |
| 5934 | description = "Rotate image counter-clockwise 90deg", |
| 5935 | returnType = "void", |
| 5936 | params = { |
| 5937 | {type = "Image *", name = "image"} |
| 5938 | } |
| 5939 | }, |
| 5940 | { |
| 5941 | name = "ImageColorTint", |
| 5942 | description = "Modify image color: tint", |
| 5943 | returnType = "void", |
| 5944 | params = { |
| 5945 | {type = "Image *", name = "image"}, |
| 5946 | {type = "Color", name = "color"} |
| 5947 | } |
| 5948 | }, |
| 5949 | { |
| 5950 | name = "ImageColorInvert", |
| 5951 | description = "Modify image color: invert", |
| 5952 | returnType = "void", |
| 5953 | params = { |
| 5954 | {type = "Image *", name = "image"} |
| 5955 | } |
| 5956 | }, |
| 5957 | { |
| 5958 | name = "ImageColorGrayscale", |
| 5959 | description = "Modify image color: grayscale", |
| 5960 | returnType = "void", |
| 5961 | params = { |
| 5962 | {type = "Image *", name = "image"} |
| 5963 | } |
| 5964 | }, |
| 5965 | { |
| 5966 | name = "ImageColorContrast", |
| 5967 | description = "Modify image color: contrast (-100 to 100)", |
| 5968 | returnType = "void", |
| 5969 | params = { |
| 5970 | {type = "Image *", name = "image"}, |
| 5971 | {type = "float", name = "contrast"} |
| 5972 | } |
| 5973 | }, |
| 5974 | { |
| 5975 | name = "ImageColorBrightness", |
| 5976 | description = "Modify image color: brightness (-255 to 255)", |
| 5977 | returnType = "void", |
| 5978 | params = { |
| 5979 | {type = "Image *", name = "image"}, |
| 5980 | {type = "int", name = "brightness"} |
| 5981 | } |
| 5982 | }, |
| 5983 | { |
| 5984 | name = "ImageColorReplace", |
| 5985 | description = "Modify image color: replace color", |
| 5986 | returnType = "void", |
| 5987 | params = { |
| 5988 | {type = "Image *", name = "image"}, |
| 5989 | {type = "Color", name = "color"}, |
| 5990 | {type = "Color", name = "replace"} |
| 5991 | } |
| 5992 | }, |
| 5993 | { |
| 5994 | name = "LoadImageColors", |
| 5995 | description = "Load color data from image as a Color array (RGBA - 32bit)", |
| 5996 | returnType = "Color *", |
| 5997 | params = { |
| 5998 | {type = "Image", name = "image"} |
| 5999 | } |
| 6000 | }, |
| 6001 | { |
| 6002 | name = "LoadImagePalette", |
| 6003 | description = "Load colors palette from image as a Color array (RGBA - 32bit)", |
| 6004 | returnType = "Color *", |
| 6005 | params = { |
| 6006 | {type = "Image", name = "image"}, |
| 6007 | {type = "int", name = "maxPaletteSize"}, |
| 6008 | {type = "int *", name = "colorCount"} |
| 6009 | } |
| 6010 | }, |
| 6011 | { |
| 6012 | name = "UnloadImageColors", |
| 6013 | description = "Unload color data loaded with LoadImageColors()", |
| 6014 | returnType = "void", |
| 6015 | params = { |
| 6016 | {type = "Color *", name = "colors"} |
| 6017 | } |
| 6018 | }, |
| 6019 | { |
| 6020 | name = "UnloadImagePalette", |
| 6021 | description = "Unload colors palette loaded with LoadImagePalette()", |
| 6022 | returnType = "void", |
| 6023 | params = { |
| 6024 | {type = "Color *", name = "colors"} |
| 6025 | } |
| 6026 | }, |
| 6027 | { |
| 6028 | name = "GetImageAlphaBorder", |
| 6029 | description = "Get image alpha border rectangle", |
| 6030 | returnType = "Rectangle", |
| 6031 | params = { |
| 6032 | {type = "Image", name = "image"}, |
| 6033 | {type = "float", name = "threshold"} |
| 6034 | } |
| 6035 | }, |
| 6036 | { |
| 6037 | name = "GetImageColor", |
| 6038 | description = "Get image pixel color at (x, y) position", |
| 6039 | returnType = "Color", |
| 6040 | params = { |
| 6041 | {type = "Image", name = "image"}, |
| 6042 | {type = "int", name = "x"}, |
| 6043 | {type = "int", name = "y"} |
| 6044 | } |
| 6045 | }, |
| 6046 | { |
| 6047 | name = "ImageClearBackground", |
| 6048 | description = "Clear image background with given color", |
| 6049 | returnType = "void", |
| 6050 | params = { |
| 6051 | {type = "Image *", name = "dst"}, |
| 6052 | {type = "Color", name = "color"} |
| 6053 | } |
| 6054 | }, |
| 6055 | { |
| 6056 | name = "ImageDrawPixel", |
| 6057 | description = "Draw pixel within an image", |
| 6058 | returnType = "void", |
| 6059 | params = { |
| 6060 | {type = "Image *", name = "dst"}, |
| 6061 | {type = "int", name = "posX"}, |
| 6062 | {type = "int", name = "posY"}, |
| 6063 | {type = "Color", name = "color"} |
| 6064 | } |
| 6065 | }, |
| 6066 | { |
| 6067 | name = "ImageDrawPixelV", |
| 6068 | description = "Draw pixel within an image (Vector version)", |
| 6069 | returnType = "void", |
| 6070 | params = { |
| 6071 | {type = "Image *", name = "dst"}, |
| 6072 | {type = "Vector2", name = "position"}, |
| 6073 | {type = "Color", name = "color"} |
| 6074 | } |
| 6075 | }, |
| 6076 | { |
| 6077 | name = "ImageDrawLine", |
| 6078 | description = "Draw line within an image", |
| 6079 | returnType = "void", |
| 6080 | params = { |
| 6081 | {type = "Image *", name = "dst"}, |
| 6082 | {type = "int", name = "startPosX"}, |
| 6083 | {type = "int", name = "startPosY"}, |
| 6084 | {type = "int", name = "endPosX"}, |
| 6085 | {type = "int", name = "endPosY"}, |
| 6086 | {type = "Color", name = "color"} |
| 6087 | } |
| 6088 | }, |
| 6089 | { |
| 6090 | name = "ImageDrawLineV", |
| 6091 | description = "Draw line within an image (Vector version)", |
| 6092 | returnType = "void", |
| 6093 | params = { |
| 6094 | {type = "Image *", name = "dst"}, |
| 6095 | {type = "Vector2", name = "start"}, |
| 6096 | {type = "Vector2", name = "end"}, |
| 6097 | {type = "Color", name = "color"} |
| 6098 | } |
| 6099 | }, |
| 6100 | { |
| 6101 | name = "ImageDrawLineEx", |
| 6102 | description = "Draw a line defining thickness within an image", |
| 6103 | returnType = "void", |
| 6104 | params = { |
| 6105 | {type = "Image *", name = "dst"}, |
| 6106 | {type = "Vector2", name = "start"}, |
| 6107 | {type = "Vector2", name = "end"}, |
| 6108 | {type = "int", name = "thick"}, |
| 6109 | {type = "Color", name = "color"} |
| 6110 | } |
| 6111 | }, |
| 6112 | { |
| 6113 | name = "ImageDrawCircle", |
| 6114 | description = "Draw a filled circle within an image", |
| 6115 | returnType = "void", |
| 6116 | params = { |
| 6117 | {type = "Image *", name = "dst"}, |
| 6118 | {type = "int", name = "centerX"}, |
| 6119 | {type = "int", name = "centerY"}, |
| 6120 | {type = "int", name = "radius"}, |
| 6121 | {type = "Color", name = "color"} |
| 6122 | } |
| 6123 | }, |
| 6124 | { |
| 6125 | name = "ImageDrawCircleV", |
| 6126 | description = "Draw a filled circle within an image (Vector version)", |
| 6127 | returnType = "void", |
| 6128 | params = { |
| 6129 | {type = "Image *", name = "dst"}, |
| 6130 | {type = "Vector2", name = "center"}, |
| 6131 | {type = "int", name = "radius"}, |
| 6132 | {type = "Color", name = "color"} |
| 6133 | } |
| 6134 | }, |
| 6135 | { |
| 6136 | name = "ImageDrawCircleLines", |
| 6137 | description = "Draw circle outline within an image", |
| 6138 | returnType = "void", |
| 6139 | params = { |
| 6140 | {type = "Image *", name = "dst"}, |
| 6141 | {type = "int", name = "centerX"}, |
| 6142 | {type = "int", name = "centerY"}, |
| 6143 | {type = "int", name = "radius"}, |
| 6144 | {type = "Color", name = "color"} |
| 6145 | } |
| 6146 | }, |
| 6147 | { |
| 6148 | name = "ImageDrawCircleLinesV", |
| 6149 | description = "Draw circle outline within an image (Vector version)", |
| 6150 | returnType = "void", |
| 6151 | params = { |
| 6152 | {type = "Image *", name = "dst"}, |
| 6153 | {type = "Vector2", name = "center"}, |
| 6154 | {type = "int", name = "radius"}, |
| 6155 | {type = "Color", name = "color"} |
| 6156 | } |
| 6157 | }, |
| 6158 | { |
| 6159 | name = "ImageDrawRectangle", |
| 6160 | description = "Draw rectangle within an image", |
| 6161 | returnType = "void", |
| 6162 | params = { |
| 6163 | {type = "Image *", name = "dst"}, |
| 6164 | {type = "int", name = "posX"}, |
| 6165 | {type = "int", name = "posY"}, |
| 6166 | {type = "int", name = "width"}, |
| 6167 | {type = "int", name = "height"}, |
| 6168 | {type = "Color", name = "color"} |
| 6169 | } |
| 6170 | }, |
| 6171 | { |
| 6172 | name = "ImageDrawRectangleV", |
| 6173 | description = "Draw rectangle within an image (Vector version)", |
| 6174 | returnType = "void", |
| 6175 | params = { |
| 6176 | {type = "Image *", name = "dst"}, |
| 6177 | {type = "Vector2", name = "position"}, |
| 6178 | {type = "Vector2", name = "size"}, |
| 6179 | {type = "Color", name = "color"} |
| 6180 | } |
| 6181 | }, |
| 6182 | { |
| 6183 | name = "ImageDrawRectangleRec", |
| 6184 | description = "Draw rectangle within an image", |
| 6185 | returnType = "void", |
| 6186 | params = { |
| 6187 | {type = "Image *", name = "dst"}, |
| 6188 | {type = "Rectangle", name = "rec"}, |
| 6189 | {type = "Color", name = "color"} |
| 6190 | } |
| 6191 | }, |
| 6192 | { |
| 6193 | name = "ImageDrawRectangleLines", |
| 6194 | description = "Draw rectangle lines within an image", |
| 6195 | returnType = "void", |
| 6196 | params = { |
| 6197 | {type = "Image *", name = "dst"}, |
| 6198 | {type = "Rectangle", name = "rec"}, |
| 6199 | {type = "int", name = "thick"}, |
| 6200 | {type = "Color", name = "color"} |
| 6201 | } |
| 6202 | }, |
| 6203 | { |
| 6204 | name = "ImageDrawTriangle", |
| 6205 | description = "Draw triangle within an image", |
| 6206 | returnType = "void", |
| 6207 | params = { |
| 6208 | {type = "Image *", name = "dst"}, |
| 6209 | {type = "Vector2", name = "v1"}, |
| 6210 | {type = "Vector2", name = "v2"}, |
| 6211 | {type = "Vector2", name = "v3"}, |
| 6212 | {type = "Color", name = "color"} |
| 6213 | } |
| 6214 | }, |
| 6215 | { |
| 6216 | name = "ImageDrawTriangleEx", |
| 6217 | description = "Draw triangle with interpolated colors within an image", |
| 6218 | returnType = "void", |
| 6219 | params = { |
| 6220 | {type = "Image *", name = "dst"}, |
| 6221 | {type = "Vector2", name = "v1"}, |
| 6222 | {type = "Vector2", name = "v2"}, |
| 6223 | {type = "Vector2", name = "v3"}, |
| 6224 | {type = "Color", name = "c1"}, |
| 6225 | {type = "Color", name = "c2"}, |
| 6226 | {type = "Color", name = "c3"} |
| 6227 | } |
| 6228 | }, |
| 6229 | { |
| 6230 | name = "ImageDrawTriangleLines", |
| 6231 | description = "Draw triangle outline within an image", |
| 6232 | returnType = "void", |
| 6233 | params = { |
| 6234 | {type = "Image *", name = "dst"}, |
| 6235 | {type = "Vector2", name = "v1"}, |
| 6236 | {type = "Vector2", name = "v2"}, |
| 6237 | {type = "Vector2", name = "v3"}, |
| 6238 | {type = "Color", name = "color"} |
| 6239 | } |
| 6240 | }, |
| 6241 | { |
| 6242 | name = "ImageDrawTriangleFan", |
| 6243 | description = "Draw a triangle fan defined by points within an image (first vertex is the center)", |
| 6244 | returnType = "void", |
| 6245 | params = { |
| 6246 | {type = "Image *", name = "dst"}, |
| 6247 | {type = "const Vector2 *", name = "points"}, |
| 6248 | {type = "int", name = "pointCount"}, |
| 6249 | {type = "Color", name = "color"} |
| 6250 | } |
| 6251 | }, |
| 6252 | { |
| 6253 | name = "ImageDrawTriangleStrip", |
| 6254 | description = "Draw a triangle strip defined by points within an image", |
| 6255 | returnType = "void", |
| 6256 | params = { |
| 6257 | {type = "Image *", name = "dst"}, |
| 6258 | {type = "const Vector2 *", name = "points"}, |
| 6259 | {type = "int", name = "pointCount"}, |
| 6260 | {type = "Color", name = "color"} |
| 6261 | } |
| 6262 | }, |
| 6263 | { |
| 6264 | name = "ImageDraw", |
| 6265 | description = "Draw a source image within a destination image (tint applied to source)", |
| 6266 | returnType = "void", |
| 6267 | params = { |
| 6268 | {type = "Image *", name = "dst"}, |
| 6269 | {type = "Image", name = "src"}, |
| 6270 | {type = "Rectangle", name = "srcRec"}, |
| 6271 | {type = "Rectangle", name = "dstRec"}, |
| 6272 | {type = "Color", name = "tint"} |
| 6273 | } |
| 6274 | }, |
| 6275 | { |
| 6276 | name = "ImageDrawText", |
| 6277 | description = "Draw text (using default font) within an image (destination)", |
| 6278 | returnType = "void", |
| 6279 | params = { |
| 6280 | {type = "Image *", name = "dst"}, |
| 6281 | {type = "const char *", name = "text"}, |
| 6282 | {type = "int", name = "posX"}, |
| 6283 | {type = "int", name = "posY"}, |
| 6284 | {type = "int", name = "fontSize"}, |
| 6285 | {type = "Color", name = "color"} |
| 6286 | } |
| 6287 | }, |
| 6288 | { |
| 6289 | name = "ImageDrawTextEx", |
| 6290 | description = "Draw text (custom sprite font) within an image (destination)", |
| 6291 | returnType = "void", |
| 6292 | params = { |
| 6293 | {type = "Image *", name = "dst"}, |
| 6294 | {type = "Font", name = "font"}, |
| 6295 | {type = "const char *", name = "text"}, |
| 6296 | {type = "Vector2", name = "position"}, |
| 6297 | {type = "float", name = "fontSize"}, |
| 6298 | {type = "float", name = "spacing"}, |
| 6299 | {type = "Color", name = "tint"} |
| 6300 | } |
| 6301 | }, |
| 6302 | { |
| 6303 | name = "LoadTexture", |
| 6304 | description = "Load texture from file into GPU memory (VRAM)", |
| 6305 | returnType = "Texture2D", |
| 6306 | params = { |
| 6307 | {type = "const char *", name = "fileName"} |
| 6308 | } |
| 6309 | }, |
| 6310 | { |
| 6311 | name = "LoadTextureFromImage", |
| 6312 | description = "Load texture from image data", |
| 6313 | returnType = "Texture2D", |
| 6314 | params = { |
| 6315 | {type = "Image", name = "image"} |
| 6316 | } |
| 6317 | }, |
| 6318 | { |
| 6319 | name = "LoadTextureCubemap", |
| 6320 | description = "Load cubemap from image, multiple image cubemap layouts supported", |
| 6321 | returnType = "TextureCubemap", |
| 6322 | params = { |
| 6323 | {type = "Image", name = "image"}, |
| 6324 | {type = "int", name = "layout"} |
| 6325 | } |
| 6326 | }, |
| 6327 | { |
| 6328 | name = "LoadRenderTexture", |
| 6329 | description = "Load texture for rendering (framebuffer)", |
| 6330 | returnType = "RenderTexture2D", |
| 6331 | params = { |
| 6332 | {type = "int", name = "width"}, |
| 6333 | {type = "int", name = "height"} |
| 6334 | } |
| 6335 | }, |
| 6336 | { |
| 6337 | name = "IsTextureValid", |
| 6338 | description = "Check if a texture is valid (loaded in GPU)", |
| 6339 | returnType = "bool", |
| 6340 | params = { |
| 6341 | {type = "Texture2D", name = "texture"} |
| 6342 | } |
| 6343 | }, |
| 6344 | { |
| 6345 | name = "UnloadTexture", |
| 6346 | description = "Unload texture from GPU memory (VRAM)", |
| 6347 | returnType = "void", |
| 6348 | params = { |
| 6349 | {type = "Texture2D", name = "texture"} |
| 6350 | } |
| 6351 | }, |
| 6352 | { |
| 6353 | name = "IsRenderTextureValid", |
| 6354 | description = "Check if a render texture is valid (loaded in GPU)", |
| 6355 | returnType = "bool", |
| 6356 | params = { |
| 6357 | {type = "RenderTexture2D", name = "target"} |
| 6358 | } |
| 6359 | }, |
| 6360 | { |
| 6361 | name = "UnloadRenderTexture", |
| 6362 | description = "Unload render texture from GPU memory (VRAM)", |
| 6363 | returnType = "void", |
| 6364 | params = { |
| 6365 | {type = "RenderTexture2D", name = "target"} |
| 6366 | } |
| 6367 | }, |
| 6368 | { |
| 6369 | name = "UpdateTexture", |
| 6370 | description = "Update GPU texture with new data (pixels should be able to fill texture)", |
| 6371 | returnType = "void", |
| 6372 | params = { |
| 6373 | {type = "Texture2D", name = "texture"}, |
| 6374 | {type = "const void *", name = "pixels"} |
| 6375 | } |
| 6376 | }, |
| 6377 | { |
| 6378 | name = "UpdateTextureRec", |
| 6379 | description = "Update GPU texture rectangle with new data (pixels and rec should fit in texture)", |
| 6380 | returnType = "void", |
| 6381 | params = { |
| 6382 | {type = "Texture2D", name = "texture"}, |
| 6383 | {type = "Rectangle", name = "rec"}, |
| 6384 | {type = "const void *", name = "pixels"} |
| 6385 | } |
| 6386 | }, |
| 6387 | { |
| 6388 | name = "GenTextureMipmaps", |
| 6389 | description = "Generate GPU mipmaps for a texture", |
| 6390 | returnType = "void", |
| 6391 | params = { |
| 6392 | {type = "Texture2D *", name = "texture"} |
| 6393 | } |
| 6394 | }, |
| 6395 | { |
| 6396 | name = "SetTextureFilter", |
| 6397 | description = "Set texture scaling filter mode", |
| 6398 | returnType = "void", |
| 6399 | params = { |
| 6400 | {type = "Texture2D", name = "texture"}, |
| 6401 | {type = "int", name = "filter"} |
| 6402 | } |
| 6403 | }, |
| 6404 | { |
| 6405 | name = "SetTextureWrap", |
| 6406 | description = "Set texture wrapping mode", |
| 6407 | returnType = "void", |
| 6408 | params = { |
| 6409 | {type = "Texture2D", name = "texture"}, |
| 6410 | {type = "int", name = "wrap"} |
| 6411 | } |
| 6412 | }, |
| 6413 | { |
| 6414 | name = "DrawTexture", |
| 6415 | description = "Draw a Texture2D", |
| 6416 | returnType = "void", |
| 6417 | params = { |
| 6418 | {type = "Texture2D", name = "texture"}, |
| 6419 | {type = "int", name = "posX"}, |
| 6420 | {type = "int", name = "posY"}, |
| 6421 | {type = "Color", name = "tint"} |
| 6422 | } |
| 6423 | }, |
| 6424 | { |
| 6425 | name = "DrawTextureV", |
| 6426 | description = "Draw a Texture2D with position defined as Vector2", |
| 6427 | returnType = "void", |
| 6428 | params = { |
| 6429 | {type = "Texture2D", name = "texture"}, |
| 6430 | {type = "Vector2", name = "position"}, |
| 6431 | {type = "Color", name = "tint"} |
| 6432 | } |
| 6433 | }, |
| 6434 | { |
| 6435 | name = "DrawTextureEx", |
| 6436 | description = "Draw a Texture2D with extended parameters", |
| 6437 | returnType = "void", |
| 6438 | params = { |
| 6439 | {type = "Texture2D", name = "texture"}, |
| 6440 | {type = "Vector2", name = "position"}, |
| 6441 | {type = "float", name = "rotation"}, |
| 6442 | {type = "float", name = "scale"}, |
| 6443 | {type = "Color", name = "tint"} |
| 6444 | } |
| 6445 | }, |
| 6446 | { |
| 6447 | name = "DrawTextureRec", |
| 6448 | description = "Draw a part of a texture defined by a rectangle", |
| 6449 | returnType = "void", |
| 6450 | params = { |
| 6451 | {type = "Texture2D", name = "texture"}, |
| 6452 | {type = "Rectangle", name = "source"}, |
| 6453 | {type = "Vector2", name = "position"}, |
| 6454 | {type = "Color", name = "tint"} |
| 6455 | } |
| 6456 | }, |
| 6457 | { |
| 6458 | name = "DrawTexturePro", |
| 6459 | description = "Draw a part of a texture defined by a rectangle with 'pro' parameters", |
| 6460 | returnType = "void", |
| 6461 | params = { |
| 6462 | {type = "Texture2D", name = "texture"}, |
| 6463 | {type = "Rectangle", name = "source"}, |
| 6464 | {type = "Rectangle", name = "dest"}, |
| 6465 | {type = "Vector2", name = "origin"}, |
| 6466 | {type = "float", name = "rotation"}, |
| 6467 | {type = "Color", name = "tint"} |
| 6468 | } |
| 6469 | }, |
| 6470 | { |
| 6471 | name = "DrawTextureNPatch", |
| 6472 | description = "Draws a texture (or part of it) that stretches or shrinks nicely", |
| 6473 | returnType = "void", |
| 6474 | params = { |
| 6475 | {type = "Texture2D", name = "texture"}, |
| 6476 | {type = "NPatchInfo", name = "nPatchInfo"}, |
| 6477 | {type = "Rectangle", name = "dest"}, |
| 6478 | {type = "Vector2", name = "origin"}, |
| 6479 | {type = "float", name = "rotation"}, |
| 6480 | {type = "Color", name = "tint"} |
| 6481 | } |
| 6482 | }, |
| 6483 | { |
| 6484 | name = "ColorIsEqual", |
| 6485 | description = "Check if two colors are equal", |
| 6486 | returnType = "bool", |
| 6487 | params = { |
| 6488 | {type = "Color", name = "col1"}, |
| 6489 | {type = "Color", name = "col2"} |
| 6490 | } |
| 6491 | }, |
| 6492 | { |
| 6493 | name = "Fade", |
| 6494 | description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f", |
| 6495 | returnType = "Color", |
| 6496 | params = { |
| 6497 | {type = "Color", name = "color"}, |
| 6498 | {type = "float", name = "alpha"} |
| 6499 | } |
| 6500 | }, |
| 6501 | { |
| 6502 | name = "ColorToInt", |
| 6503 | description = "Get hexadecimal value for a Color (0xRRGGBBAA)", |
| 6504 | returnType = "int", |
| 6505 | params = { |
| 6506 | {type = "Color", name = "color"} |
| 6507 | } |
| 6508 | }, |
| 6509 | { |
| 6510 | name = "ColorNormalize", |
| 6511 | description = "Get Color normalized as float [0..1]", |
| 6512 | returnType = "Vector4", |
| 6513 | params = { |
| 6514 | {type = "Color", name = "color"} |
| 6515 | } |
| 6516 | }, |
| 6517 | { |
| 6518 | name = "ColorFromNormalized", |
| 6519 | description = "Get Color from normalized values [0..1]", |
| 6520 | returnType = "Color", |
| 6521 | params = { |
| 6522 | {type = "Vector4", name = "normalized"} |
| 6523 | } |
| 6524 | }, |
| 6525 | { |
| 6526 | name = "ColorToHSV", |
| 6527 | description = "Get HSV values for a Color, hue [0..360], saturation/value [0..1]", |
| 6528 | returnType = "Vector3", |
| 6529 | params = { |
| 6530 | {type = "Color", name = "color"} |
| 6531 | } |
| 6532 | }, |
| 6533 | { |
| 6534 | name = "ColorFromHSV", |
| 6535 | description = "Get a Color from HSV values, hue [0..360], saturation/value [0..1]", |
| 6536 | returnType = "Color", |
| 6537 | params = { |
| 6538 | {type = "float", name = "hue"}, |
| 6539 | {type = "float", name = "saturation"}, |
| 6540 | {type = "float", name = "value"} |
| 6541 | } |
| 6542 | }, |
| 6543 | { |
| 6544 | name = "ColorTint", |
| 6545 | description = "Get color multiplied with another color", |
| 6546 | returnType = "Color", |
| 6547 | params = { |
| 6548 | {type = "Color", name = "color"}, |
| 6549 | {type = "Color", name = "tint"} |
| 6550 | } |
| 6551 | }, |
| 6552 | { |
| 6553 | name = "ColorBrightness", |
| 6554 | description = "Get color with brightness correction, brightness factor goes from -1.0f to 1.0f", |
| 6555 | returnType = "Color", |
| 6556 | params = { |
| 6557 | {type = "Color", name = "color"}, |
| 6558 | {type = "float", name = "factor"} |
| 6559 | } |
| 6560 | }, |
| 6561 | { |
| 6562 | name = "ColorContrast", |
| 6563 | description = "Get color with contrast correction, contrast values between -1.0f and 1.0f", |
| 6564 | returnType = "Color", |
| 6565 | params = { |
| 6566 | {type = "Color", name = "color"}, |
| 6567 | {type = "float", name = "contrast"} |
| 6568 | } |
| 6569 | }, |
| 6570 | { |
| 6571 | name = "ColorAlpha", |
| 6572 | description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f", |
| 6573 | returnType = "Color", |
| 6574 | params = { |
| 6575 | {type = "Color", name = "color"}, |
| 6576 | {type = "float", name = "alpha"} |
| 6577 | } |
| 6578 | }, |
| 6579 | { |
| 6580 | name = "ColorAlphaBlend", |
| 6581 | description = "Get src alpha-blended into dst color with tint", |
| 6582 | returnType = "Color", |
| 6583 | params = { |
| 6584 | {type = "Color", name = "dst"}, |
| 6585 | {type = "Color", name = "src"}, |
| 6586 | {type = "Color", name = "tint"} |
| 6587 | } |
| 6588 | }, |
| 6589 | { |
| 6590 | name = "ColorLerp", |
| 6591 | description = "Get color lerp interpolation between two colors, factor [0.0f..1.0f]", |
| 6592 | returnType = "Color", |
| 6593 | params = { |
| 6594 | {type = "Color", name = "color1"}, |
| 6595 | {type = "Color", name = "color2"}, |
| 6596 | {type = "float", name = "factor"} |
| 6597 | } |
| 6598 | }, |
| 6599 | { |
| 6600 | name = "GetColor", |
| 6601 | description = "Get Color structure from hexadecimal value", |
| 6602 | returnType = "Color", |
| 6603 | params = { |
| 6604 | {type = "unsigned int", name = "hexValue"} |
| 6605 | } |
| 6606 | }, |
| 6607 | { |
| 6608 | name = "GetPixelColor", |
| 6609 | description = "Get Color from a source pixel pointer of certain format", |
| 6610 | returnType = "Color", |
| 6611 | params = { |
| 6612 | {type = "void *", name = "srcPtr"}, |
| 6613 | {type = "int", name = "format"} |
| 6614 | } |
| 6615 | }, |
| 6616 | { |
| 6617 | name = "SetPixelColor", |
| 6618 | description = "Set color formatted into destination pixel pointer", |
| 6619 | returnType = "void", |
| 6620 | params = { |
| 6621 | {type = "void *", name = "dstPtr"}, |
| 6622 | {type = "Color", name = "color"}, |
| 6623 | {type = "int", name = "format"} |
| 6624 | } |
| 6625 | }, |
| 6626 | { |
| 6627 | name = "GetPixelDataSize", |
| 6628 | description = "Get pixel data size in bytes for certain format", |
| 6629 | returnType = "int", |
| 6630 | params = { |
| 6631 | {type = "int", name = "width"}, |
| 6632 | {type = "int", name = "height"}, |
| 6633 | {type = "int", name = "format"} |
| 6634 | } |
| 6635 | }, |
| 6636 | { |
| 6637 | name = "GetFontDefault", |
| 6638 | description = "Get the default Font", |
| 6639 | returnType = "Font" |
| 6640 | }, |
| 6641 | { |
| 6642 | name = "LoadFont", |
| 6643 | description = "Load font from file into GPU memory (VRAM)", |
| 6644 | returnType = "Font", |
| 6645 | params = { |
| 6646 | {type = "const char *", name = "fileName"} |
| 6647 | } |
| 6648 | }, |
| 6649 | { |
| 6650 | name = "LoadFontEx", |
| 6651 | 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", |
| 6652 | returnType = "Font", |
| 6653 | params = { |
| 6654 | {type = "const char *", name = "fileName"}, |
| 6655 | {type = "int", name = "fontSize"}, |
| 6656 | {type = "const int *", name = "codepoints"}, |
| 6657 | {type = "int", name = "codepointCount"} |
| 6658 | } |
| 6659 | }, |
| 6660 | { |
| 6661 | name = "LoadFontFromImage", |
| 6662 | description = "Load font from Image (XNA style)", |
| 6663 | returnType = "Font", |
| 6664 | params = { |
| 6665 | {type = "Image", name = "image"}, |
| 6666 | {type = "Color", name = "key"}, |
| 6667 | {type = "int", name = "firstChar"} |
| 6668 | } |
| 6669 | }, |
| 6670 | { |
| 6671 | name = "LoadFontFromMemory", |
| 6672 | description = "Load font from memory buffer, fileType refers to extension: i.e. '.ttf'", |
| 6673 | returnType = "Font", |
| 6674 | params = { |
| 6675 | {type = "const char *", name = "fileType"}, |
| 6676 | {type = "const unsigned char *", name = "fileData"}, |
| 6677 | {type = "int", name = "dataSize"}, |
| 6678 | {type = "int", name = "fontSize"}, |
| 6679 | {type = "const int *", name = "codepoints"}, |
| 6680 | {type = "int", name = "codepointCount"} |
| 6681 | } |
| 6682 | }, |
| 6683 | { |
| 6684 | name = "IsFontValid", |
| 6685 | description = "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)", |
| 6686 | returnType = "bool", |
| 6687 | params = { |
| 6688 | {type = "Font", name = "font"} |
| 6689 | } |
| 6690 | }, |
| 6691 | { |
| 6692 | name = "LoadFontData", |
| 6693 | description = "Load font data for further use", |
| 6694 | returnType = "GlyphInfo *", |
| 6695 | params = { |
| 6696 | {type = "const unsigned char *", name = "fileData"}, |
| 6697 | {type = "int", name = "dataSize"}, |
| 6698 | {type = "int", name = "fontSize"}, |
| 6699 | {type = "const int *", name = "codepoints"}, |
| 6700 | {type = "int", name = "codepointCount"}, |
| 6701 | {type = "int", name = "type"}, |
| 6702 | {type = "int *", name = "glyphCount"} |
| 6703 | } |
| 6704 | }, |
| 6705 | { |
| 6706 | name = "GenImageFontAtlas", |
| 6707 | description = "Generate image font atlas using chars info", |
| 6708 | returnType = "Image", |
| 6709 | params = { |
| 6710 | {type = "const GlyphInfo *", name = "glyphs"}, |
| 6711 | {type = "Rectangle **", name = "glyphRecs"}, |
| 6712 | {type = "int", name = "glyphCount"}, |
| 6713 | {type = "int", name = "fontSize"}, |
| 6714 | {type = "int", name = "padding"}, |
| 6715 | {type = "int", name = "packMethod"} |
| 6716 | } |
| 6717 | }, |
| 6718 | { |
| 6719 | name = "UnloadFontData", |
| 6720 | description = "Unload font chars info data (RAM)", |
| 6721 | returnType = "void", |
| 6722 | params = { |
| 6723 | {type = "GlyphInfo *", name = "glyphs"}, |
| 6724 | {type = "int", name = "glyphCount"} |
| 6725 | } |
| 6726 | }, |
| 6727 | { |
| 6728 | name = "UnloadFont", |
| 6729 | description = "Unload font from GPU memory (VRAM)", |
| 6730 | returnType = "void", |
| 6731 | params = { |
| 6732 | {type = "Font", name = "font"} |
| 6733 | } |
| 6734 | }, |
| 6735 | { |
| 6736 | name = "ExportFontAsCode", |
| 6737 | description = "Export font as code file, returns true on success", |
| 6738 | returnType = "bool", |
| 6739 | params = { |
| 6740 | {type = "Font", name = "font"}, |
| 6741 | {type = "const char *", name = "fileName"} |
| 6742 | } |
| 6743 | }, |
| 6744 | { |
| 6745 | name = "DrawFPS", |
| 6746 | description = "Draw current FPS", |
| 6747 | returnType = "void", |
| 6748 | params = { |
| 6749 | {type = "int", name = "posX"}, |
| 6750 | {type = "int", name = "posY"} |
| 6751 | } |
| 6752 | }, |
| 6753 | { |
| 6754 | name = "DrawText", |
| 6755 | description = "Draw text (using default font)", |
| 6756 | returnType = "void", |
| 6757 | params = { |
| 6758 | {type = "const char *", name = "text"}, |
| 6759 | {type = "int", name = "posX"}, |
| 6760 | {type = "int", name = "posY"}, |
| 6761 | {type = "int", name = "fontSize"}, |
| 6762 | {type = "Color", name = "color"} |
| 6763 | } |
| 6764 | }, |
| 6765 | { |
| 6766 | name = "DrawTextEx", |
| 6767 | description = "Draw text using font and additional parameters", |
| 6768 | returnType = "void", |
| 6769 | params = { |
| 6770 | {type = "Font", name = "font"}, |
| 6771 | {type = "const char *", name = "text"}, |
| 6772 | {type = "Vector2", name = "position"}, |
| 6773 | {type = "float", name = "fontSize"}, |
| 6774 | {type = "float", name = "spacing"}, |
| 6775 | {type = "Color", name = "tint"} |
| 6776 | } |
| 6777 | }, |
| 6778 | { |
| 6779 | name = "DrawTextPro", |
| 6780 | description = "Draw text using Font and pro parameters (rotation)", |
| 6781 | returnType = "void", |
| 6782 | params = { |
| 6783 | {type = "Font", name = "font"}, |
| 6784 | {type = "const char *", name = "text"}, |
| 6785 | {type = "Vector2", name = "position"}, |
| 6786 | {type = "Vector2", name = "origin"}, |
| 6787 | {type = "float", name = "rotation"}, |
| 6788 | {type = "float", name = "fontSize"}, |
| 6789 | {type = "float", name = "spacing"}, |
| 6790 | {type = "Color", name = "tint"} |
| 6791 | } |
| 6792 | }, |
| 6793 | { |
| 6794 | name = "DrawTextCodepoint", |
| 6795 | description = "Draw one character (codepoint)", |
| 6796 | returnType = "void", |
| 6797 | params = { |
| 6798 | {type = "Font", name = "font"}, |
| 6799 | {type = "int", name = "codepoint"}, |
| 6800 | {type = "Vector2", name = "position"}, |
| 6801 | {type = "float", name = "fontSize"}, |
| 6802 | {type = "Color", name = "tint"} |
| 6803 | } |
| 6804 | }, |
| 6805 | { |
| 6806 | name = "DrawTextCodepoints", |
| 6807 | description = "Draw multiple character (codepoint)", |
| 6808 | returnType = "void", |
| 6809 | params = { |
| 6810 | {type = "Font", name = "font"}, |
| 6811 | {type = "const int *", name = "codepoints"}, |
| 6812 | {type = "int", name = "codepointCount"}, |
| 6813 | {type = "Vector2", name = "position"}, |
| 6814 | {type = "float", name = "fontSize"}, |
| 6815 | {type = "float", name = "spacing"}, |
| 6816 | {type = "Color", name = "tint"} |
| 6817 | } |
| 6818 | }, |
| 6819 | { |
| 6820 | name = "SetTextLineSpacing", |
| 6821 | description = "Set vertical line spacing when drawing with line-breaks", |
| 6822 | returnType = "void", |
| 6823 | params = { |
| 6824 | {type = "int", name = "spacing"} |
| 6825 | } |
| 6826 | }, |
| 6827 | { |
| 6828 | name = "MeasureText", |
| 6829 | description = "Measure string width for default font", |
| 6830 | returnType = "int", |
| 6831 | params = { |
| 6832 | {type = "const char *", name = "text"}, |
| 6833 | {type = "int", name = "fontSize"} |
| 6834 | } |
| 6835 | }, |
| 6836 | { |
| 6837 | name = "MeasureTextEx", |
| 6838 | description = "Measure string size for Font", |
| 6839 | returnType = "Vector2", |
| 6840 | params = { |
| 6841 | {type = "Font", name = "font"}, |
| 6842 | {type = "const char *", name = "text"}, |
| 6843 | {type = "float", name = "fontSize"}, |
| 6844 | {type = "float", name = "spacing"} |
| 6845 | } |
| 6846 | }, |
| 6847 | { |
| 6848 | name = "MeasureTextCodepoints", |
| 6849 | description = "Measure string size for an existing array of codepoints for Font", |
| 6850 | returnType = "Vector2", |
| 6851 | params = { |
| 6852 | {type = "Font", name = "font"}, |
| 6853 | {type = "const int *", name = "codepoints"}, |
| 6854 | {type = "int", name = "length"}, |
| 6855 | {type = "float", name = "fontSize"}, |
| 6856 | {type = "float", name = "spacing"} |
| 6857 | } |
| 6858 | }, |
| 6859 | { |
| 6860 | name = "GetGlyphIndex", |
| 6861 | description = "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found", |
| 6862 | returnType = "int", |
| 6863 | params = { |
| 6864 | {type = "Font", name = "font"}, |
| 6865 | {type = "int", name = "codepoint"} |
| 6866 | } |
| 6867 | }, |
| 6868 | { |
| 6869 | name = "GetGlyphInfo", |
| 6870 | description = "Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found", |
| 6871 | returnType = "GlyphInfo", |
| 6872 | params = { |
| 6873 | {type = "Font", name = "font"}, |
| 6874 | {type = "int", name = "codepoint"} |
| 6875 | } |
| 6876 | }, |
| 6877 | { |
| 6878 | name = "GetGlyphAtlasRec", |
| 6879 | description = "Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found", |
| 6880 | returnType = "Rectangle", |
| 6881 | params = { |
| 6882 | {type = "Font", name = "font"}, |
| 6883 | {type = "int", name = "codepoint"} |
| 6884 | } |
| 6885 | }, |
| 6886 | { |
| 6887 | name = "LoadUTF8", |
| 6888 | description = "Load UTF-8 text encoded from codepoints array", |
| 6889 | returnType = "char *", |
| 6890 | params = { |
| 6891 | {type = "const int *", name = "codepoints"}, |
| 6892 | {type = "int", name = "length"} |
| 6893 | } |
| 6894 | }, |
| 6895 | { |
| 6896 | name = "UnloadUTF8", |
| 6897 | description = "Unload UTF-8 text encoded from codepoints array", |
| 6898 | returnType = "void", |
| 6899 | params = { |
| 6900 | {type = "char *", name = "text"} |
| 6901 | } |
| 6902 | }, |
| 6903 | { |
| 6904 | name = "LoadCodepoints", |
| 6905 | description = "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter", |
| 6906 | returnType = "int *", |
| 6907 | params = { |
| 6908 | {type = "const char *", name = "text"}, |
| 6909 | {type = "int *", name = "count"} |
| 6910 | } |
| 6911 | }, |
| 6912 | { |
| 6913 | name = "UnloadCodepoints", |
| 6914 | description = "Unload codepoints data from memory", |
| 6915 | returnType = "void", |
| 6916 | params = { |
| 6917 | {type = "int *", name = "codepoints"} |
| 6918 | } |
| 6919 | }, |
| 6920 | { |
| 6921 | name = "GetCodepointCount", |
| 6922 | description = "Get total number of codepoints in a UTF-8 encoded string", |
| 6923 | returnType = "int", |
| 6924 | params = { |
| 6925 | {type = "const char *", name = "text"} |
| 6926 | } |
| 6927 | }, |
| 6928 | { |
| 6929 | name = "GetCodepoint", |
| 6930 | description = "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure", |
| 6931 | returnType = "int", |
| 6932 | params = { |
| 6933 | {type = "const char *", name = "text"}, |
| 6934 | {type = "int *", name = "codepointSize"} |
| 6935 | } |
| 6936 | }, |
| 6937 | { |
| 6938 | name = "GetCodepointNext", |
| 6939 | description = "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure", |
| 6940 | returnType = "int", |
| 6941 | params = { |
| 6942 | {type = "const char *", name = "text"}, |
| 6943 | {type = "int *", name = "codepointSize"} |
| 6944 | } |
| 6945 | }, |
| 6946 | { |
| 6947 | name = "GetCodepointPrevious", |
| 6948 | description = "Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure", |
| 6949 | returnType = "int", |
| 6950 | params = { |
| 6951 | {type = "const char *", name = "text"}, |
| 6952 | {type = "int *", name = "codepointSize"} |
| 6953 | } |
| 6954 | }, |
| 6955 | { |
| 6956 | name = "CodepointToUTF8", |
| 6957 | description = "Encode one codepoint into UTF-8 byte array (array length returned as parameter)", |
| 6958 | returnType = "const char *", |
| 6959 | params = { |
| 6960 | {type = "int", name = "codepoint"}, |
| 6961 | {type = "int *", name = "utf8Size"} |
| 6962 | } |
| 6963 | }, |
| 6964 | { |
| 6965 | name = "LoadTextLines", |
| 6966 | description = "Load text as separate lines ('\\n')", |
| 6967 | returnType = "char **", |
| 6968 | params = { |
| 6969 | {type = "const char *", name = "text"}, |
| 6970 | {type = "int *", name = "count"} |
| 6971 | } |
| 6972 | }, |
| 6973 | { |
| 6974 | name = "UnloadTextLines", |
| 6975 | description = "Unload text lines", |
| 6976 | returnType = "void", |
| 6977 | params = { |
| 6978 | {type = "char **", name = "text"}, |
| 6979 | {type = "int", name = "lineCount"} |
| 6980 | } |
| 6981 | }, |
| 6982 | { |
| 6983 | name = "TextCopy", |
| 6984 | description = "Copy one string to another, returns bytes copied", |
| 6985 | returnType = "int", |
| 6986 | params = { |
| 6987 | {type = "char *", name = "dst"}, |
| 6988 | {type = "const char *", name = "src"} |
| 6989 | } |
| 6990 | }, |
| 6991 | { |
| 6992 | name = "TextIsEqual", |
| 6993 | description = "Check if two text string are equal", |
| 6994 | returnType = "bool", |
| 6995 | params = { |
| 6996 | {type = "const char *", name = "text1"}, |
| 6997 | {type = "const char *", name = "text2"} |
| 6998 | } |
| 6999 | }, |
| 7000 | { |
| 7001 | name = "TextLength", |
| 7002 | description = "Get text length, checks for '\\0' ending", |
| 7003 | returnType = "unsigned int", |
| 7004 | params = { |
| 7005 | {type = "const char *", name = "text"} |
| 7006 | } |
| 7007 | }, |
| 7008 | { |
| 7009 | name = "TextFormat", |
| 7010 | description = "Text formatting with variables (sprintf() style)", |
| 7011 | returnType = "const char *", |
| 7012 | params = { |
| 7013 | {type = "const char *", name = "text"}, |
| 7014 | {type = "...", name = "args"} |
| 7015 | } |
| 7016 | }, |
| 7017 | { |
| 7018 | name = "TextSubtext", |
| 7019 | description = "Get a piece of a text string", |
| 7020 | returnType = "const char *", |
| 7021 | params = { |
| 7022 | {type = "const char *", name = "text"}, |
| 7023 | {type = "int", name = "position"}, |
| 7024 | {type = "int", name = "length"} |
| 7025 | } |
| 7026 | }, |
| 7027 | { |
| 7028 | name = "TextRemoveSpaces", |
| 7029 | description = "Remove text spaces, concat words", |
| 7030 | returnType = "const char *", |
| 7031 | params = { |
| 7032 | {type = "const char *", name = "text"} |
| 7033 | } |
| 7034 | }, |
| 7035 | { |
| 7036 | name = "GetTextBetween", |
| 7037 | description = "Get text between two strings", |
| 7038 | returnType = "char *", |
| 7039 | params = { |
| 7040 | {type = "const char *", name = "text"}, |
| 7041 | {type = "const char *", name = "begin"}, |
| 7042 | {type = "const char *", name = "end"} |
| 7043 | } |
| 7044 | }, |
| 7045 | { |
| 7046 | name = "TextReplace", |
| 7047 | description = "Replace text string with new string", |
| 7048 | returnType = "char *", |
| 7049 | params = { |
| 7050 | {type = "const char *", name = "text"}, |
| 7051 | {type = "const char *", name = "search"}, |
| 7052 | {type = "const char *", name = "replacement"} |
| 7053 | } |
| 7054 | }, |
| 7055 | { |
| 7056 | name = "TextReplaceAlloc", |
| 7057 | description = "Replace text string with new string, memory must be MemFree()", |
| 7058 | returnType = "char *", |
| 7059 | params = { |
| 7060 | {type = "const char *", name = "text"}, |
| 7061 | {type = "const char *", name = "search"}, |
| 7062 | {type = "const char *", name = "replacement"} |
| 7063 | } |
| 7064 | }, |
| 7065 | { |
| 7066 | name = "TextReplaceBetween", |
| 7067 | description = "Replace text between two specific strings", |
| 7068 | returnType = "char *", |
| 7069 | params = { |
| 7070 | {type = "const char *", name = "text"}, |
| 7071 | {type = "const char *", name = "begin"}, |
| 7072 | {type = "const char *", name = "end"}, |
| 7073 | {type = "const char *", name = "replacement"} |
| 7074 | } |
| 7075 | }, |
| 7076 | { |
| 7077 | name = "TextReplaceBetweenAlloc", |
| 7078 | description = "Replace text between two specific strings, memory must be MemFree()", |
| 7079 | returnType = "char *", |
| 7080 | params = { |
| 7081 | {type = "const char *", name = "text"}, |
| 7082 | {type = "const char *", name = "begin"}, |
| 7083 | {type = "const char *", name = "end"}, |
| 7084 | {type = "const char *", name = "replacement"} |
| 7085 | } |
| 7086 | }, |
| 7087 | { |
| 7088 | name = "TextInsert", |
| 7089 | description = "Insert text in a defined byte position", |
| 7090 | returnType = "char *", |
| 7091 | params = { |
| 7092 | {type = "const char *", name = "text"}, |
| 7093 | {type = "const char *", name = "insert"}, |
| 7094 | {type = "int", name = "position"} |
| 7095 | } |
| 7096 | }, |
| 7097 | { |
| 7098 | name = "TextInsertAlloc", |
| 7099 | description = "Insert text in a defined byte position, memory must be MemFree()", |
| 7100 | returnType = "char *", |
| 7101 | params = { |
| 7102 | {type = "const char *", name = "text"}, |
| 7103 | {type = "const char *", name = "insert"}, |
| 7104 | {type = "int", name = "position"} |
| 7105 | } |
| 7106 | }, |
| 7107 | { |
| 7108 | name = "TextJoin", |
| 7109 | description = "Join text strings with delimiter", |
| 7110 | returnType = "char *", |
| 7111 | params = { |
| 7112 | {type = "char **", name = "textList"}, |
| 7113 | {type = "int", name = "count"}, |
| 7114 | {type = "const char *", name = "delimiter"} |
| 7115 | } |
| 7116 | }, |
| 7117 | { |
| 7118 | name = "TextSplit", |
| 7119 | description = "Split text into multiple strings, using MAX_TEXTSPLIT_COUNT static strings", |
| 7120 | returnType = "char **", |
| 7121 | params = { |
| 7122 | {type = "const char *", name = "text"}, |
| 7123 | {type = "char", name = "delimiter"}, |
| 7124 | {type = "int *", name = "count"} |
| 7125 | } |
| 7126 | }, |
| 7127 | { |
| 7128 | name = "TextAppend", |
| 7129 | description = "Append text at specific position and move cursor", |
| 7130 | returnType = "void", |
| 7131 | params = { |
| 7132 | {type = "char *", name = "text"}, |
| 7133 | {type = "const char *", name = "append"}, |
| 7134 | {type = "int *", name = "position"} |
| 7135 | } |
| 7136 | }, |
| 7137 | { |
| 7138 | name = "TextFindIndex", |
| 7139 | description = "Find first text occurrence within a string, -1 if not found", |
| 7140 | returnType = "int", |
| 7141 | params = { |
| 7142 | {type = "const char *", name = "text"}, |
| 7143 | {type = "const char *", name = "search"} |
| 7144 | } |
| 7145 | }, |
| 7146 | { |
| 7147 | name = "TextToUpper", |
| 7148 | description = "Get upper case version of provided string", |
| 7149 | returnType = "char *", |
| 7150 | params = { |
| 7151 | {type = "const char *", name = "text"} |
| 7152 | } |
| 7153 | }, |
| 7154 | { |
| 7155 | name = "TextToLower", |
| 7156 | description = "Get lower case version of provided string", |
| 7157 | returnType = "char *", |
| 7158 | params = { |
| 7159 | {type = "const char *", name = "text"} |
| 7160 | } |
| 7161 | }, |
| 7162 | { |
| 7163 | name = "TextToPascal", |
| 7164 | description = "Get Pascal case notation version of provided string", |
| 7165 | returnType = "char *", |
| 7166 | params = { |
| 7167 | {type = "const char *", name = "text"} |
| 7168 | } |
| 7169 | }, |
| 7170 | { |
| 7171 | name = "TextToSnake", |
| 7172 | description = "Get Snake case notation version of provided string", |
| 7173 | returnType = "char *", |
| 7174 | params = { |
| 7175 | {type = "const char *", name = "text"} |
| 7176 | } |
| 7177 | }, |
| 7178 | { |
| 7179 | name = "TextToCamel", |
| 7180 | description = "Get Camel case notation version of provided string", |
| 7181 | returnType = "char *", |
| 7182 | params = { |
| 7183 | {type = "const char *", name = "text"} |
| 7184 | } |
| 7185 | }, |
| 7186 | { |
| 7187 | name = "TextToInteger", |
| 7188 | description = "Get integer value from text", |
| 7189 | returnType = "int", |
| 7190 | params = { |
| 7191 | {type = "const char *", name = "text"} |
| 7192 | } |
| 7193 | }, |
| 7194 | { |
| 7195 | name = "TextToFloat", |
| 7196 | description = "Get float value from text", |
| 7197 | returnType = "float", |
| 7198 | params = { |
| 7199 | {type = "const char *", name = "text"} |
| 7200 | } |
| 7201 | }, |
| 7202 | { |
| 7203 | name = "DrawLine3D", |
| 7204 | description = "Draw a line in 3D world space", |
| 7205 | returnType = "void", |
| 7206 | params = { |
| 7207 | {type = "Vector3", name = "startPos"}, |
| 7208 | {type = "Vector3", name = "endPos"}, |
| 7209 | {type = "Color", name = "color"} |
| 7210 | } |
| 7211 | }, |
| 7212 | { |
| 7213 | name = "DrawPoint3D", |
| 7214 | description = "Draw a point in 3D space, actually a small line", |
| 7215 | returnType = "void", |
| 7216 | params = { |
| 7217 | {type = "Vector3", name = "position"}, |
| 7218 | {type = "Color", name = "color"} |
| 7219 | } |
| 7220 | }, |
| 7221 | { |
| 7222 | name = "DrawCircle3D", |
| 7223 | description = "Draw a circle in 3D world space", |
| 7224 | returnType = "void", |
| 7225 | params = { |
| 7226 | {type = "Vector3", name = "center"}, |
| 7227 | {type = "float", name = "radius"}, |
| 7228 | {type = "Vector3", name = "rotationAxis"}, |
| 7229 | {type = "float", name = "rotationAngle"}, |
| 7230 | {type = "Color", name = "color"} |
| 7231 | } |
| 7232 | }, |
| 7233 | { |
| 7234 | name = "DrawTriangle3D", |
| 7235 | description = "Draw a color-filled triangle (vertex in counter-clockwise order!)", |
| 7236 | returnType = "void", |
| 7237 | params = { |
| 7238 | {type = "Vector3", name = "v1"}, |
| 7239 | {type = "Vector3", name = "v2"}, |
| 7240 | {type = "Vector3", name = "v3"}, |
| 7241 | {type = "Color", name = "color"} |
| 7242 | } |
| 7243 | }, |
| 7244 | { |
| 7245 | name = "DrawTriangleStrip3D", |
| 7246 | description = "Draw a triangle strip defined by points", |
| 7247 | returnType = "void", |
| 7248 | params = { |
| 7249 | {type = "const Vector3 *", name = "points"}, |
| 7250 | {type = "int", name = "pointCount"}, |
| 7251 | {type = "Color", name = "color"} |
| 7252 | } |
| 7253 | }, |
| 7254 | { |
| 7255 | name = "DrawCube", |
| 7256 | description = "Draw cube", |
| 7257 | returnType = "void", |
| 7258 | params = { |
| 7259 | {type = "Vector3", name = "position"}, |
| 7260 | {type = "float", name = "width"}, |
| 7261 | {type = "float", name = "height"}, |
| 7262 | {type = "float", name = "length"}, |
| 7263 | {type = "Color", name = "color"} |
| 7264 | } |
| 7265 | }, |
| 7266 | { |
| 7267 | name = "DrawCubeV", |
| 7268 | description = "Draw cube (Vector version)", |
| 7269 | returnType = "void", |
| 7270 | params = { |
| 7271 | {type = "Vector3", name = "position"}, |
| 7272 | {type = "Vector3", name = "size"}, |
| 7273 | {type = "Color", name = "color"} |
| 7274 | } |
| 7275 | }, |
| 7276 | { |
| 7277 | name = "DrawCubeWires", |
| 7278 | description = "Draw cube wires", |
| 7279 | returnType = "void", |
| 7280 | params = { |
| 7281 | {type = "Vector3", name = "position"}, |
| 7282 | {type = "float", name = "width"}, |
| 7283 | {type = "float", name = "height"}, |
| 7284 | {type = "float", name = "length"}, |
| 7285 | {type = "Color", name = "color"} |
| 7286 | } |
| 7287 | }, |
| 7288 | { |
| 7289 | name = "DrawCubeWiresV", |
| 7290 | description = "Draw cube wires (Vector version)", |
| 7291 | returnType = "void", |
| 7292 | params = { |
| 7293 | {type = "Vector3", name = "position"}, |
| 7294 | {type = "Vector3", name = "size"}, |
| 7295 | {type = "Color", name = "color"} |
| 7296 | } |
| 7297 | }, |
| 7298 | { |
| 7299 | name = "DrawSphere", |
| 7300 | description = "Draw sphere", |
| 7301 | returnType = "void", |
| 7302 | params = { |
| 7303 | {type = "Vector3", name = "centerPos"}, |
| 7304 | {type = "float", name = "radius"}, |
| 7305 | {type = "Color", name = "color"} |
| 7306 | } |
| 7307 | }, |
| 7308 | { |
| 7309 | name = "DrawSphereEx", |
| 7310 | description = "Draw sphere with extended parameters", |
| 7311 | returnType = "void", |
| 7312 | params = { |
| 7313 | {type = "Vector3", name = "centerPos"}, |
| 7314 | {type = "float", name = "radius"}, |
| 7315 | {type = "int", name = "rings"}, |
| 7316 | {type = "int", name = "slices"}, |
| 7317 | {type = "Color", name = "color"} |
| 7318 | } |
| 7319 | }, |
| 7320 | { |
| 7321 | name = "DrawSphereWires", |
| 7322 | description = "Draw sphere wires", |
| 7323 | returnType = "void", |
| 7324 | params = { |
| 7325 | {type = "Vector3", name = "centerPos"}, |
| 7326 | {type = "float", name = "radius"}, |
| 7327 | {type = "int", name = "rings"}, |
| 7328 | {type = "int", name = "slices"}, |
| 7329 | {type = "Color", name = "color"} |
| 7330 | } |
| 7331 | }, |
| 7332 | { |
| 7333 | name = "DrawCylinder", |
| 7334 | description = "Draw a cylinder/cone", |
| 7335 | returnType = "void", |
| 7336 | params = { |
| 7337 | {type = "Vector3", name = "position"}, |
| 7338 | {type = "float", name = "radiusTop"}, |
| 7339 | {type = "float", name = "radiusBottom"}, |
| 7340 | {type = "float", name = "height"}, |
| 7341 | {type = "int", name = "slices"}, |
| 7342 | {type = "Color", name = "color"} |
| 7343 | } |
| 7344 | }, |
| 7345 | { |
| 7346 | name = "DrawCylinderEx", |
| 7347 | description = "Draw a cylinder with base at startPos and top at endPos", |
| 7348 | returnType = "void", |
| 7349 | params = { |
| 7350 | {type = "Vector3", name = "startPos"}, |
| 7351 | {type = "Vector3", name = "endPos"}, |
| 7352 | {type = "float", name = "startRadius"}, |
| 7353 | {type = "float", name = "endRadius"}, |
| 7354 | {type = "int", name = "sides"}, |
| 7355 | {type = "Color", name = "color"} |
| 7356 | } |
| 7357 | }, |
| 7358 | { |
| 7359 | name = "DrawCylinderWires", |
| 7360 | description = "Draw a cylinder/cone wires", |
| 7361 | returnType = "void", |
| 7362 | params = { |
| 7363 | {type = "Vector3", name = "position"}, |
| 7364 | {type = "float", name = "radiusTop"}, |
| 7365 | {type = "float", name = "radiusBottom"}, |
| 7366 | {type = "float", name = "height"}, |
| 7367 | {type = "int", name = "slices"}, |
| 7368 | {type = "Color", name = "color"} |
| 7369 | } |
| 7370 | }, |
| 7371 | { |
| 7372 | name = "DrawCylinderWiresEx", |
| 7373 | description = "Draw a cylinder wires with base at startPos and top at endPos", |
| 7374 | returnType = "void", |
| 7375 | params = { |
| 7376 | {type = "Vector3", name = "startPos"}, |
| 7377 | {type = "Vector3", name = "endPos"}, |
| 7378 | {type = "float", name = "startRadius"}, |
| 7379 | {type = "float", name = "endRadius"}, |
| 7380 | {type = "int", name = "sides"}, |
| 7381 | {type = "Color", name = "color"} |
| 7382 | } |
| 7383 | }, |
| 7384 | { |
| 7385 | name = "DrawCapsule", |
| 7386 | description = "Draw a capsule with the center of its sphere caps at startPos and endPos", |
| 7387 | returnType = "void", |
| 7388 | params = { |
| 7389 | {type = "Vector3", name = "startPos"}, |
| 7390 | {type = "Vector3", name = "endPos"}, |
| 7391 | {type = "float", name = "radius"}, |
| 7392 | {type = "int", name = "slices"}, |
| 7393 | {type = "int", name = "rings"}, |
| 7394 | {type = "Color", name = "color"} |
| 7395 | } |
| 7396 | }, |
| 7397 | { |
| 7398 | name = "DrawCapsuleWires", |
| 7399 | description = "Draw capsule wireframe with the center of its sphere caps at startPos and endPos", |
| 7400 | returnType = "void", |
| 7401 | params = { |
| 7402 | {type = "Vector3", name = "startPos"}, |
| 7403 | {type = "Vector3", name = "endPos"}, |
| 7404 | {type = "float", name = "radius"}, |
| 7405 | {type = "int", name = "slices"}, |
| 7406 | {type = "int", name = "rings"}, |
| 7407 | {type = "Color", name = "color"} |
| 7408 | } |
| 7409 | }, |
| 7410 | { |
| 7411 | name = "DrawPlane", |
| 7412 | description = "Draw a plane XZ", |
| 7413 | returnType = "void", |
| 7414 | params = { |
| 7415 | {type = "Vector3", name = "centerPos"}, |
| 7416 | {type = "Vector2", name = "size"}, |
| 7417 | {type = "Color", name = "color"} |
| 7418 | } |
| 7419 | }, |
| 7420 | { |
| 7421 | name = "DrawRay", |
| 7422 | description = "Draw a ray line", |
| 7423 | returnType = "void", |
| 7424 | params = { |
| 7425 | {type = "Ray", name = "ray"}, |
| 7426 | {type = "Color", name = "color"} |
| 7427 | } |
| 7428 | }, |
| 7429 | { |
| 7430 | name = "DrawGrid", |
| 7431 | description = "Draw a grid (centered at (0, 0, 0))", |
| 7432 | returnType = "void", |
| 7433 | params = { |
| 7434 | {type = "int", name = "slices"}, |
| 7435 | {type = "float", name = "spacing"} |
| 7436 | } |
| 7437 | }, |
| 7438 | { |
| 7439 | name = "LoadModel", |
| 7440 | description = "Load model from files (meshes and materials)", |
| 7441 | returnType = "Model", |
| 7442 | params = { |
| 7443 | {type = "const char *", name = "fileName"} |
| 7444 | } |
| 7445 | }, |
| 7446 | { |
| 7447 | name = "LoadModelFromMesh", |
| 7448 | description = "Load model from generated mesh (default material)", |
| 7449 | returnType = "Model", |
| 7450 | params = { |
| 7451 | {type = "Mesh", name = "mesh"} |
| 7452 | } |
| 7453 | }, |
| 7454 | { |
| 7455 | name = "IsModelValid", |
| 7456 | description = "Check if a model is valid (loaded in GPU, VAO/VBOs)", |
| 7457 | returnType = "bool", |
| 7458 | params = { |
| 7459 | {type = "Model", name = "model"} |
| 7460 | } |
| 7461 | }, |
| 7462 | { |
| 7463 | name = "UnloadModel", |
| 7464 | description = "Unload model (including meshes) from memory (RAM and/or VRAM)", |
| 7465 | returnType = "void", |
| 7466 | params = { |
| 7467 | {type = "Model", name = "model"} |
| 7468 | } |
| 7469 | }, |
| 7470 | { |
| 7471 | name = "GetModelBoundingBox", |
| 7472 | description = "Compute model bounding box limits (considers all meshes)", |
| 7473 | returnType = "BoundingBox", |
| 7474 | params = { |
| 7475 | {type = "Model", name = "model"} |
| 7476 | } |
| 7477 | }, |
| 7478 | { |
| 7479 | name = "DrawModel", |
| 7480 | description = "Draw a model (with texture if set)", |
| 7481 | returnType = "void", |
| 7482 | params = { |
| 7483 | {type = "Model", name = "model"}, |
| 7484 | {type = "Vector3", name = "position"}, |
| 7485 | {type = "float", name = "scale"}, |
| 7486 | {type = "Color", name = "tint"} |
| 7487 | } |
| 7488 | }, |
| 7489 | { |
| 7490 | name = "DrawModelEx", |
| 7491 | description = "Draw a model with extended parameters", |
| 7492 | returnType = "void", |
| 7493 | params = { |
| 7494 | {type = "Model", name = "model"}, |
| 7495 | {type = "Vector3", name = "position"}, |
| 7496 | {type = "Vector3", name = "rotationAxis"}, |
| 7497 | {type = "float", name = "rotationAngle"}, |
| 7498 | {type = "Vector3", name = "scale"}, |
| 7499 | {type = "Color", name = "tint"} |
| 7500 | } |
| 7501 | }, |
| 7502 | { |
| 7503 | name = "DrawModelWires", |
| 7504 | description = "Draw a model wires (with texture if set)", |
| 7505 | returnType = "void", |
| 7506 | params = { |
| 7507 | {type = "Model", name = "model"}, |
| 7508 | {type = "Vector3", name = "position"}, |
| 7509 | {type = "float", name = "scale"}, |
| 7510 | {type = "Color", name = "tint"} |
| 7511 | } |
| 7512 | }, |
| 7513 | { |
| 7514 | name = "DrawModelWiresEx", |
| 7515 | description = "Draw a model wires (with texture if set) with extended parameters", |
| 7516 | returnType = "void", |
| 7517 | params = { |
| 7518 | {type = "Model", name = "model"}, |
| 7519 | {type = "Vector3", name = "position"}, |
| 7520 | {type = "Vector3", name = "rotationAxis"}, |
| 7521 | {type = "float", name = "rotationAngle"}, |
| 7522 | {type = "Vector3", name = "scale"}, |
| 7523 | {type = "Color", name = "tint"} |
| 7524 | } |
| 7525 | }, |
| 7526 | { |
| 7527 | name = "DrawBoundingBox", |
| 7528 | description = "Draw bounding box (wires)", |
| 7529 | returnType = "void", |
| 7530 | params = { |
| 7531 | {type = "BoundingBox", name = "box"}, |
| 7532 | {type = "Color", name = "color"} |
| 7533 | } |
| 7534 | }, |
| 7535 | { |
| 7536 | name = "DrawBillboard", |
| 7537 | description = "Draw a billboard texture", |
| 7538 | returnType = "void", |
| 7539 | params = { |
| 7540 | {type = "Camera", name = "camera"}, |
| 7541 | {type = "Texture2D", name = "texture"}, |
| 7542 | {type = "Vector3", name = "position"}, |
| 7543 | {type = "float", name = "scale"}, |
| 7544 | {type = "Color", name = "tint"} |
| 7545 | } |
| 7546 | }, |
| 7547 | { |
| 7548 | name = "DrawBillboardRec", |
| 7549 | description = "Draw a billboard texture defined by source", |
| 7550 | returnType = "void", |
| 7551 | params = { |
| 7552 | {type = "Camera", name = "camera"}, |
| 7553 | {type = "Texture2D", name = "texture"}, |
| 7554 | {type = "Rectangle", name = "source"}, |
| 7555 | {type = "Vector3", name = "position"}, |
| 7556 | {type = "Vector2", name = "size"}, |
| 7557 | {type = "Color", name = "tint"} |
| 7558 | } |
| 7559 | }, |
| 7560 | { |
| 7561 | name = "DrawBillboardPro", |
| 7562 | description = "Draw a billboard texture defined by source and rotation", |
| 7563 | returnType = "void", |
| 7564 | params = { |
| 7565 | {type = "Camera", name = "camera"}, |
| 7566 | {type = "Texture2D", name = "texture"}, |
| 7567 | {type = "Rectangle", name = "source"}, |
| 7568 | {type = "Vector3", name = "position"}, |
| 7569 | {type = "Vector3", name = "up"}, |
| 7570 | {type = "Vector2", name = "size"}, |
| 7571 | {type = "Vector2", name = "origin"}, |
| 7572 | {type = "float", name = "rotation"}, |
| 7573 | {type = "Color", name = "tint"} |
| 7574 | } |
| 7575 | }, |
| 7576 | { |
| 7577 | name = "UploadMesh", |
| 7578 | description = "Upload mesh vertex data in GPU and provide VAO/VBO ids", |
| 7579 | returnType = "void", |
| 7580 | params = { |
| 7581 | {type = "Mesh *", name = "mesh"}, |
| 7582 | {type = "bool", name = "dynamic"} |
| 7583 | } |
| 7584 | }, |
| 7585 | { |
| 7586 | name = "UpdateMeshBuffer", |
| 7587 | description = "Update mesh vertex data in GPU for a specific buffer index", |
| 7588 | returnType = "void", |
| 7589 | params = { |
| 7590 | {type = "Mesh", name = "mesh"}, |
| 7591 | {type = "int", name = "index"}, |
| 7592 | {type = "const void *", name = "data"}, |
| 7593 | {type = "int", name = "dataSize"}, |
| 7594 | {type = "int", name = "offset"} |
| 7595 | } |
| 7596 | }, |
| 7597 | { |
| 7598 | name = "UnloadMesh", |
| 7599 | description = "Unload mesh data from CPU and GPU", |
| 7600 | returnType = "void", |
| 7601 | params = { |
| 7602 | {type = "Mesh", name = "mesh"} |
| 7603 | } |
| 7604 | }, |
| 7605 | { |
| 7606 | name = "DrawMesh", |
| 7607 | description = "Draw a 3d mesh with material and transform", |
| 7608 | returnType = "void", |
| 7609 | params = { |
| 7610 | {type = "Mesh", name = "mesh"}, |
| 7611 | {type = "Material", name = "material"}, |
| 7612 | {type = "Matrix", name = "transform"} |
| 7613 | } |
| 7614 | }, |
| 7615 | { |
| 7616 | name = "DrawMeshInstanced", |
| 7617 | description = "Draw multiple mesh instances with material and different transforms", |
| 7618 | returnType = "void", |
| 7619 | params = { |
| 7620 | {type = "Mesh", name = "mesh"}, |
| 7621 | {type = "Material", name = "material"}, |
| 7622 | {type = "const Matrix *", name = "transforms"}, |
| 7623 | {type = "int", name = "instances"} |
| 7624 | } |
| 7625 | }, |
| 7626 | { |
| 7627 | name = "GetMeshBoundingBox", |
| 7628 | description = "Compute mesh bounding box limits", |
| 7629 | returnType = "BoundingBox", |
| 7630 | params = { |
| 7631 | {type = "Mesh", name = "mesh"} |
| 7632 | } |
| 7633 | }, |
| 7634 | { |
| 7635 | name = "GenMeshTangents", |
| 7636 | description = "Compute mesh tangents", |
| 7637 | returnType = "void", |
| 7638 | params = { |
| 7639 | {type = "Mesh *", name = "mesh"} |
| 7640 | } |
| 7641 | }, |
| 7642 | { |
| 7643 | name = "ExportMesh", |
| 7644 | description = "Export mesh data to file, returns true on success", |
| 7645 | returnType = "bool", |
| 7646 | params = { |
| 7647 | {type = "Mesh", name = "mesh"}, |
| 7648 | {type = "const char *", name = "fileName"} |
| 7649 | } |
| 7650 | }, |
| 7651 | { |
| 7652 | name = "ExportMeshAsCode", |
| 7653 | description = "Export mesh as code file (.h) defining multiple arrays of vertex attributes", |
| 7654 | returnType = "bool", |
| 7655 | params = { |
| 7656 | {type = "Mesh", name = "mesh"}, |
| 7657 | {type = "const char *", name = "fileName"} |
| 7658 | } |
| 7659 | }, |
| 7660 | { |
| 7661 | name = "GenMeshPoly", |
| 7662 | description = "Generate polygonal mesh", |
| 7663 | returnType = "Mesh", |
| 7664 | params = { |
| 7665 | {type = "int", name = "sides"}, |
| 7666 | {type = "float", name = "radius"} |
| 7667 | } |
| 7668 | }, |
| 7669 | { |
| 7670 | name = "GenMeshPlane", |
| 7671 | description = "Generate plane mesh (with subdivisions)", |
| 7672 | returnType = "Mesh", |
| 7673 | params = { |
| 7674 | {type = "float", name = "width"}, |
| 7675 | {type = "float", name = "length"}, |
| 7676 | {type = "int", name = "resX"}, |
| 7677 | {type = "int", name = "resZ"} |
| 7678 | } |
| 7679 | }, |
| 7680 | { |
| 7681 | name = "GenMeshCube", |
| 7682 | description = "Generate cuboid mesh", |
| 7683 | returnType = "Mesh", |
| 7684 | params = { |
| 7685 | {type = "float", name = "width"}, |
| 7686 | {type = "float", name = "height"}, |
| 7687 | {type = "float", name = "length"} |
| 7688 | } |
| 7689 | }, |
| 7690 | { |
| 7691 | name = "GenMeshSphere", |
| 7692 | description = "Generate sphere mesh (standard sphere)", |
| 7693 | returnType = "Mesh", |
| 7694 | params = { |
| 7695 | {type = "float", name = "radius"}, |
| 7696 | {type = "int", name = "rings"}, |
| 7697 | {type = "int", name = "slices"} |
| 7698 | } |
| 7699 | }, |
| 7700 | { |
| 7701 | name = "GenMeshHemiSphere", |
| 7702 | description = "Generate half-sphere mesh (no bottom cap)", |
| 7703 | returnType = "Mesh", |
| 7704 | params = { |
| 7705 | {type = "float", name = "radius"}, |
| 7706 | {type = "int", name = "rings"}, |
| 7707 | {type = "int", name = "slices"} |
| 7708 | } |
| 7709 | }, |
| 7710 | { |
| 7711 | name = "GenMeshCylinder", |
| 7712 | description = "Generate cylinder mesh", |
| 7713 | returnType = "Mesh", |
| 7714 | params = { |
| 7715 | {type = "float", name = "radius"}, |
| 7716 | {type = "float", name = "height"}, |
| 7717 | {type = "int", name = "slices"} |
| 7718 | } |
| 7719 | }, |
| 7720 | { |
| 7721 | name = "GenMeshCone", |
| 7722 | description = "Generate cone/pyramid mesh", |
| 7723 | returnType = "Mesh", |
| 7724 | params = { |
| 7725 | {type = "float", name = "radius"}, |
| 7726 | {type = "float", name = "height"}, |
| 7727 | {type = "int", name = "slices"} |
| 7728 | } |
| 7729 | }, |
| 7730 | { |
| 7731 | name = "GenMeshTorus", |
| 7732 | description = "Generate torus mesh", |
| 7733 | returnType = "Mesh", |
| 7734 | params = { |
| 7735 | {type = "float", name = "radius"}, |
| 7736 | {type = "float", name = "size"}, |
| 7737 | {type = "int", name = "radSeg"}, |
| 7738 | {type = "int", name = "sides"} |
| 7739 | } |
| 7740 | }, |
| 7741 | { |
| 7742 | name = "GenMeshKnot", |
| 7743 | description = "Generate trefoil knot mesh", |
| 7744 | returnType = "Mesh", |
| 7745 | params = { |
| 7746 | {type = "float", name = "radius"}, |
| 7747 | {type = "float", name = "size"}, |
| 7748 | {type = "int", name = "radSeg"}, |
| 7749 | {type = "int", name = "sides"} |
| 7750 | } |
| 7751 | }, |
| 7752 | { |
| 7753 | name = "GenMeshHeightmap", |
| 7754 | description = "Generate heightmap mesh from image data", |
| 7755 | returnType = "Mesh", |
| 7756 | params = { |
| 7757 | {type = "Image", name = "heightmap"}, |
| 7758 | {type = "Vector3", name = "size"} |
| 7759 | } |
| 7760 | }, |
| 7761 | { |
| 7762 | name = "GenMeshCubicmap", |
| 7763 | description = "Generate cubes-based map mesh from image data", |
| 7764 | returnType = "Mesh", |
| 7765 | params = { |
| 7766 | {type = "Image", name = "cubicmap"}, |
| 7767 | {type = "Vector3", name = "cubeSize"} |
| 7768 | } |
| 7769 | }, |
| 7770 | { |
| 7771 | name = "LoadMaterials", |
| 7772 | description = "Load materials from model file", |
| 7773 | returnType = "Material *", |
| 7774 | params = { |
| 7775 | {type = "const char *", name = "fileName"}, |
| 7776 | {type = "int *", name = "materialCount"} |
| 7777 | } |
| 7778 | }, |
| 7779 | { |
| 7780 | name = "LoadMaterialDefault", |
| 7781 | description = "Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)", |
| 7782 | returnType = "Material" |
| 7783 | }, |
| 7784 | { |
| 7785 | name = "IsMaterialValid", |
| 7786 | description = "Check if a material is valid (shader assigned, map textures loaded in GPU)", |
| 7787 | returnType = "bool", |
| 7788 | params = { |
| 7789 | {type = "Material", name = "material"} |
| 7790 | } |
| 7791 | }, |
| 7792 | { |
| 7793 | name = "UnloadMaterial", |
| 7794 | description = "Unload material from GPU memory (VRAM)", |
| 7795 | returnType = "void", |
| 7796 | params = { |
| 7797 | {type = "Material", name = "material"} |
| 7798 | } |
| 7799 | }, |
| 7800 | { |
| 7801 | name = "SetMaterialTexture", |
| 7802 | description = "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)", |
| 7803 | returnType = "void", |
| 7804 | params = { |
| 7805 | {type = "Material *", name = "material"}, |
| 7806 | {type = "int", name = "mapType"}, |
| 7807 | {type = "Texture2D", name = "texture"} |
| 7808 | } |
| 7809 | }, |
| 7810 | { |
| 7811 | name = "SetModelMeshMaterial", |
| 7812 | description = "Set material for a mesh", |
| 7813 | returnType = "void", |
| 7814 | params = { |
| 7815 | {type = "Model *", name = "model"}, |
| 7816 | {type = "int", name = "meshId"}, |
| 7817 | {type = "int", name = "materialId"} |
| 7818 | } |
| 7819 | }, |
| 7820 | { |
| 7821 | name = "LoadModelAnimations", |
| 7822 | description = "Load model animations from file", |
| 7823 | returnType = "ModelAnimation *", |
| 7824 | params = { |
| 7825 | {type = "const char *", name = "fileName"}, |
| 7826 | {type = "int *", name = "animCount"} |
| 7827 | } |
| 7828 | }, |
| 7829 | { |
| 7830 | name = "UpdateModelAnimation", |
| 7831 | description = "Update model animation pose (vertex buffers and bone matrices)", |
| 7832 | returnType = "void", |
| 7833 | params = { |
| 7834 | {type = "Model", name = "model"}, |
| 7835 | {type = "ModelAnimation", name = "anim"}, |
| 7836 | {type = "float", name = "frame"} |
| 7837 | } |
| 7838 | }, |
| 7839 | { |
| 7840 | name = "UpdateModelAnimationEx", |
| 7841 | description = "Update model animation pose, blending two animations", |
| 7842 | returnType = "void", |
| 7843 | params = { |
| 7844 | {type = "Model", name = "model"}, |
| 7845 | {type = "ModelAnimation", name = "animA"}, |
| 7846 | {type = "float", name = "frameA"}, |
| 7847 | {type = "ModelAnimation", name = "animB"}, |
| 7848 | {type = "float", name = "frameB"}, |
| 7849 | {type = "float", name = "blend"} |
| 7850 | } |
| 7851 | }, |
| 7852 | { |
| 7853 | name = "UnloadModelAnimations", |
| 7854 | description = "Unload animation array data", |
| 7855 | returnType = "void", |
| 7856 | params = { |
| 7857 | {type = "ModelAnimation *", name = "animations"}, |
| 7858 | {type = "int", name = "animCount"} |
| 7859 | } |
| 7860 | }, |
| 7861 | { |
| 7862 | name = "IsModelAnimationValid", |
| 7863 | description = "Check model animation skeleton match", |
| 7864 | returnType = "bool", |
| 7865 | params = { |
| 7866 | {type = "Model", name = "model"}, |
| 7867 | {type = "ModelAnimation", name = "anim"} |
| 7868 | } |
| 7869 | }, |
| 7870 | { |
| 7871 | name = "CheckCollisionSpheres", |
| 7872 | description = "Check collision between two spheres", |
| 7873 | returnType = "bool", |
| 7874 | params = { |
| 7875 | {type = "Vector3", name = "center1"}, |
| 7876 | {type = "float", name = "radius1"}, |
| 7877 | {type = "Vector3", name = "center2"}, |
| 7878 | {type = "float", name = "radius2"} |
| 7879 | } |
| 7880 | }, |
| 7881 | { |
| 7882 | name = "CheckCollisionBoxes", |
| 7883 | description = "Check collision between two bounding boxes", |
| 7884 | returnType = "bool", |
| 7885 | params = { |
| 7886 | {type = "BoundingBox", name = "box1"}, |
| 7887 | {type = "BoundingBox", name = "box2"} |
| 7888 | } |
| 7889 | }, |
| 7890 | { |
| 7891 | name = "CheckCollisionBoxSphere", |
| 7892 | description = "Check collision between box and sphere", |
| 7893 | returnType = "bool", |
| 7894 | params = { |
| 7895 | {type = "BoundingBox", name = "box"}, |
| 7896 | {type = "Vector3", name = "center"}, |
| 7897 | {type = "float", name = "radius"} |
| 7898 | } |
| 7899 | }, |
| 7900 | { |
| 7901 | name = "GetRayCollisionSphere", |
| 7902 | description = "Get collision info between ray and sphere", |
| 7903 | returnType = "RayCollision", |
| 7904 | params = { |
| 7905 | {type = "Ray", name = "ray"}, |
| 7906 | {type = "Vector3", name = "center"}, |
| 7907 | {type = "float", name = "radius"} |
| 7908 | } |
| 7909 | }, |
| 7910 | { |
| 7911 | name = "GetRayCollisionBox", |
| 7912 | description = "Get collision info between ray and box", |
| 7913 | returnType = "RayCollision", |
| 7914 | params = { |
| 7915 | {type = "Ray", name = "ray"}, |
| 7916 | {type = "BoundingBox", name = "box"} |
| 7917 | } |
| 7918 | }, |
| 7919 | { |
| 7920 | name = "GetRayCollisionMesh", |
| 7921 | description = "Get collision info between ray and mesh", |
| 7922 | returnType = "RayCollision", |
| 7923 | params = { |
| 7924 | {type = "Ray", name = "ray"}, |
| 7925 | {type = "Mesh", name = "mesh"}, |
| 7926 | {type = "Matrix", name = "transform"} |
| 7927 | } |
| 7928 | }, |
| 7929 | { |
| 7930 | name = "GetRayCollisionTriangle", |
| 7931 | description = "Get collision info between ray and triangle", |
| 7932 | returnType = "RayCollision", |
| 7933 | params = { |
| 7934 | {type = "Ray", name = "ray"}, |
| 7935 | {type = "Vector3", name = "p1"}, |
| 7936 | {type = "Vector3", name = "p2"}, |
| 7937 | {type = "Vector3", name = "p3"} |
| 7938 | } |
| 7939 | }, |
| 7940 | { |
| 7941 | name = "GetRayCollisionQuad", |
| 7942 | description = "Get collision info between ray and quad", |
| 7943 | returnType = "RayCollision", |
| 7944 | params = { |
| 7945 | {type = "Ray", name = "ray"}, |
| 7946 | {type = "Vector3", name = "p1"}, |
| 7947 | {type = "Vector3", name = "p2"}, |
| 7948 | {type = "Vector3", name = "p3"}, |
| 7949 | {type = "Vector3", name = "p4"} |
| 7950 | } |
| 7951 | }, |
| 7952 | { |
| 7953 | name = "InitAudioDevice", |
| 7954 | description = "Initialize audio device and context", |
| 7955 | returnType = "void" |
| 7956 | }, |
| 7957 | { |
| 7958 | name = "CloseAudioDevice", |
| 7959 | description = "Close the audio device and context", |
| 7960 | returnType = "void" |
| 7961 | }, |
| 7962 | { |
| 7963 | name = "IsAudioDeviceReady", |
| 7964 | description = "Check if audio device has been initialized successfully", |
| 7965 | returnType = "bool" |
| 7966 | }, |
| 7967 | { |
| 7968 | name = "SetMasterVolume", |
| 7969 | description = "Set master volume (listener)", |
| 7970 | returnType = "void", |
| 7971 | params = { |
| 7972 | {type = "float", name = "volume"} |
| 7973 | } |
| 7974 | }, |
| 7975 | { |
| 7976 | name = "GetMasterVolume", |
| 7977 | description = "Get master volume (listener)", |
| 7978 | returnType = "float" |
| 7979 | }, |
| 7980 | { |
| 7981 | name = "LoadWave", |
| 7982 | description = "Load wave data from file", |
| 7983 | returnType = "Wave", |
| 7984 | params = { |
| 7985 | {type = "const char *", name = "fileName"} |
| 7986 | } |
| 7987 | }, |
| 7988 | { |
| 7989 | name = "LoadWaveFromMemory", |
| 7990 | description = "Load wave from memory buffer, fileType refers to extension: i.e. '.wav'", |
| 7991 | returnType = "Wave", |
| 7992 | params = { |
| 7993 | {type = "const char *", name = "fileType"}, |
| 7994 | {type = "const unsigned char *", name = "fileData"}, |
| 7995 | {type = "int", name = "dataSize"} |
| 7996 | } |
| 7997 | }, |
| 7998 | { |
| 7999 | name = "IsWaveValid", |
| 8000 | description = "Checks if wave data is valid (data loaded and parameters)", |
| 8001 | returnType = "bool", |
| 8002 | params = { |
| 8003 | {type = "Wave", name = "wave"} |
| 8004 | } |
| 8005 | }, |
| 8006 | { |
| 8007 | name = "LoadSound", |
| 8008 | description = "Load sound from file", |
| 8009 | returnType = "Sound", |
| 8010 | params = { |
| 8011 | {type = "const char *", name = "fileName"} |
| 8012 | } |
| 8013 | }, |
| 8014 | { |
| 8015 | name = "LoadSoundFromWave", |
| 8016 | description = "Load sound from wave data", |
| 8017 | returnType = "Sound", |
| 8018 | params = { |
| 8019 | {type = "Wave", name = "wave"} |
| 8020 | } |
| 8021 | }, |
| 8022 | { |
| 8023 | name = "LoadSoundAlias", |
| 8024 | description = "Create a new sound that shares the same sample data as the source sound, does not own the sound data", |
| 8025 | returnType = "Sound", |
| 8026 | params = { |
| 8027 | {type = "Sound", name = "source"} |
| 8028 | } |
| 8029 | }, |
| 8030 | { |
| 8031 | name = "IsSoundValid", |
| 8032 | description = "Checks if a sound is valid (data loaded and buffers initialized)", |
| 8033 | returnType = "bool", |
| 8034 | params = { |
| 8035 | {type = "Sound", name = "sound"} |
| 8036 | } |
| 8037 | }, |
| 8038 | { |
| 8039 | name = "UpdateSound", |
| 8040 | description = "Update sound buffer with new data (default data format: 32 bit float, stereo)", |
| 8041 | returnType = "void", |
| 8042 | params = { |
| 8043 | {type = "Sound", name = "sound"}, |
| 8044 | {type = "const void *", name = "data"}, |
| 8045 | {type = "int", name = "sampleCount"} |
| 8046 | } |
| 8047 | }, |
| 8048 | { |
| 8049 | name = "UnloadWave", |
| 8050 | description = "Unload wave data", |
| 8051 | returnType = "void", |
| 8052 | params = { |
| 8053 | {type = "Wave", name = "wave"} |
| 8054 | } |
| 8055 | }, |
| 8056 | { |
| 8057 | name = "UnloadSound", |
| 8058 | description = "Unload sound", |
| 8059 | returnType = "void", |
| 8060 | params = { |
| 8061 | {type = "Sound", name = "sound"} |
| 8062 | } |
| 8063 | }, |
| 8064 | { |
| 8065 | name = "UnloadSoundAlias", |
| 8066 | description = "Unload a sound alias (does not deallocate sample data)", |
| 8067 | returnType = "void", |
| 8068 | params = { |
| 8069 | {type = "Sound", name = "alias"} |
| 8070 | } |
| 8071 | }, |
| 8072 | { |
| 8073 | name = "ExportWave", |
| 8074 | description = "Export wave data to file, returns true on success", |
| 8075 | returnType = "bool", |
| 8076 | params = { |
| 8077 | {type = "Wave", name = "wave"}, |
| 8078 | {type = "const char *", name = "fileName"} |
| 8079 | } |
| 8080 | }, |
| 8081 | { |
| 8082 | name = "ExportWaveAsCode", |
| 8083 | description = "Export wave sample data to code (.h), returns true on success", |
| 8084 | returnType = "bool", |
| 8085 | params = { |
| 8086 | {type = "Wave", name = "wave"}, |
| 8087 | {type = "const char *", name = "fileName"} |
| 8088 | } |
| 8089 | }, |
| 8090 | { |
| 8091 | name = "PlaySound", |
| 8092 | description = "Play a sound", |
| 8093 | returnType = "void", |
| 8094 | params = { |
| 8095 | {type = "Sound", name = "sound"} |
| 8096 | } |
| 8097 | }, |
| 8098 | { |
| 8099 | name = "StopSound", |
| 8100 | description = "Stop playing a sound", |
| 8101 | returnType = "void", |
| 8102 | params = { |
| 8103 | {type = "Sound", name = "sound"} |
| 8104 | } |
| 8105 | }, |
| 8106 | { |
| 8107 | name = "PauseSound", |
| 8108 | description = "Pause a sound", |
| 8109 | returnType = "void", |
| 8110 | params = { |
| 8111 | {type = "Sound", name = "sound"} |
| 8112 | } |
| 8113 | }, |
| 8114 | { |
| 8115 | name = "ResumeSound", |
| 8116 | description = "Resume a paused sound", |
| 8117 | returnType = "void", |
| 8118 | params = { |
| 8119 | {type = "Sound", name = "sound"} |
| 8120 | } |
| 8121 | }, |
| 8122 | { |
| 8123 | name = "IsSoundPlaying", |
| 8124 | description = "Check if a sound is currently playing", |
| 8125 | returnType = "bool", |
| 8126 | params = { |
| 8127 | {type = "Sound", name = "sound"} |
| 8128 | } |
| 8129 | }, |
| 8130 | { |
| 8131 | name = "SetSoundVolume", |
| 8132 | description = "Set volume for a sound (1.0 is max level)", |
| 8133 | returnType = "void", |
| 8134 | params = { |
| 8135 | {type = "Sound", name = "sound"}, |
| 8136 | {type = "float", name = "volume"} |
| 8137 | } |
| 8138 | }, |
| 8139 | { |
| 8140 | name = "SetSoundPitch", |
| 8141 | description = "Set pitch for a sound (1.0 is base level)", |
| 8142 | returnType = "void", |
| 8143 | params = { |
| 8144 | {type = "Sound", name = "sound"}, |
| 8145 | {type = "float", name = "pitch"} |
| 8146 | } |
| 8147 | }, |
| 8148 | { |
| 8149 | name = "SetSoundPan", |
| 8150 | description = "Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)", |
| 8151 | returnType = "void", |
| 8152 | params = { |
| 8153 | {type = "Sound", name = "sound"}, |
| 8154 | {type = "float", name = "pan"} |
| 8155 | } |
| 8156 | }, |
| 8157 | { |
| 8158 | name = "WaveCopy", |
| 8159 | description = "Copy a wave to a new wave", |
| 8160 | returnType = "Wave", |
| 8161 | params = { |
| 8162 | {type = "Wave", name = "wave"} |
| 8163 | } |
| 8164 | }, |
| 8165 | { |
| 8166 | name = "WaveCrop", |
| 8167 | description = "Crop a wave to defined frames range", |
| 8168 | returnType = "void", |
| 8169 | params = { |
| 8170 | {type = "Wave *", name = "wave"}, |
| 8171 | {type = "int", name = "initFrame"}, |
| 8172 | {type = "int", name = "finalFrame"} |
| 8173 | } |
| 8174 | }, |
| 8175 | { |
| 8176 | name = "WaveFormat", |
| 8177 | description = "Convert wave data to desired format", |
| 8178 | returnType = "void", |
| 8179 | params = { |
| 8180 | {type = "Wave *", name = "wave"}, |
| 8181 | {type = "int", name = "sampleRate"}, |
| 8182 | {type = "int", name = "sampleSize"}, |
| 8183 | {type = "int", name = "channels"} |
| 8184 | } |
| 8185 | }, |
| 8186 | { |
| 8187 | name = "LoadWaveSamples", |
| 8188 | description = "Load samples data from wave as a 32bit float data array", |
| 8189 | returnType = "float *", |
| 8190 | params = { |
| 8191 | {type = "Wave", name = "wave"} |
| 8192 | } |
| 8193 | }, |
| 8194 | { |
| 8195 | name = "UnloadWaveSamples", |
| 8196 | description = "Unload samples data loaded with LoadWaveSamples()", |
| 8197 | returnType = "void", |
| 8198 | params = { |
| 8199 | {type = "float *", name = "samples"} |
| 8200 | } |
| 8201 | }, |
| 8202 | { |
| 8203 | name = "LoadMusicStream", |
| 8204 | description = "Load music stream from file", |
| 8205 | returnType = "Music", |
| 8206 | params = { |
| 8207 | {type = "const char *", name = "fileName"} |
| 8208 | } |
| 8209 | }, |
| 8210 | { |
| 8211 | name = "LoadMusicStreamFromMemory", |
| 8212 | description = "Load music stream from data", |
| 8213 | returnType = "Music", |
| 8214 | params = { |
| 8215 | {type = "const char *", name = "fileType"}, |
| 8216 | {type = "const unsigned char *", name = "data"}, |
| 8217 | {type = "int", name = "dataSize"} |
| 8218 | } |
| 8219 | }, |
| 8220 | { |
| 8221 | name = "IsMusicValid", |
| 8222 | description = "Checks if a music stream is valid (context and buffers initialized)", |
| 8223 | returnType = "bool", |
| 8224 | params = { |
| 8225 | {type = "Music", name = "music"} |
| 8226 | } |
| 8227 | }, |
| 8228 | { |
| 8229 | name = "UnloadMusicStream", |
| 8230 | description = "Unload music stream", |
| 8231 | returnType = "void", |
| 8232 | params = { |
| 8233 | {type = "Music", name = "music"} |
| 8234 | } |
| 8235 | }, |
| 8236 | { |
| 8237 | name = "PlayMusicStream", |
| 8238 | description = "Start music playing", |
| 8239 | returnType = "void", |
| 8240 | params = { |
| 8241 | {type = "Music", name = "music"} |
| 8242 | } |
| 8243 | }, |
| 8244 | { |
| 8245 | name = "IsMusicStreamPlaying", |
| 8246 | description = "Check if music is playing", |
| 8247 | returnType = "bool", |
| 8248 | params = { |
| 8249 | {type = "Music", name = "music"} |
| 8250 | } |
| 8251 | }, |
| 8252 | { |
| 8253 | name = "UpdateMusicStream", |
| 8254 | description = "Updates buffers for music streaming", |
| 8255 | returnType = "void", |
| 8256 | params = { |
| 8257 | {type = "Music", name = "music"} |
| 8258 | } |
| 8259 | }, |
| 8260 | { |
| 8261 | name = "StopMusicStream", |
| 8262 | description = "Stop music playing", |
| 8263 | returnType = "void", |
| 8264 | params = { |
| 8265 | {type = "Music", name = "music"} |
| 8266 | } |
| 8267 | }, |
| 8268 | { |
| 8269 | name = "PauseMusicStream", |
| 8270 | description = "Pause music playing", |
| 8271 | returnType = "void", |
| 8272 | params = { |
| 8273 | {type = "Music", name = "music"} |
| 8274 | } |
| 8275 | }, |
| 8276 | { |
| 8277 | name = "ResumeMusicStream", |
| 8278 | description = "Resume playing paused music", |
| 8279 | returnType = "void", |
| 8280 | params = { |
| 8281 | {type = "Music", name = "music"} |
| 8282 | } |
| 8283 | }, |
| 8284 | { |
| 8285 | name = "SeekMusicStream", |
| 8286 | description = "Seek music to a position (in seconds)", |
| 8287 | returnType = "void", |
| 8288 | params = { |
| 8289 | {type = "Music", name = "music"}, |
| 8290 | {type = "float", name = "position"} |
| 8291 | } |
| 8292 | }, |
| 8293 | { |
| 8294 | name = "SetMusicVolume", |
| 8295 | description = "Set volume for music (1.0 is max level)", |
| 8296 | returnType = "void", |
| 8297 | params = { |
| 8298 | {type = "Music", name = "music"}, |
| 8299 | {type = "float", name = "volume"} |
| 8300 | } |
| 8301 | }, |
| 8302 | { |
| 8303 | name = "SetMusicPitch", |
| 8304 | description = "Set pitch for a music (1.0 is base level)", |
| 8305 | returnType = "void", |
| 8306 | params = { |
| 8307 | {type = "Music", name = "music"}, |
| 8308 | {type = "float", name = "pitch"} |
| 8309 | } |
| 8310 | }, |
| 8311 | { |
| 8312 | name = "SetMusicPan", |
| 8313 | description = "Set pan for a music (-1.0 left, 0.0 center, 1.0 right)", |
| 8314 | returnType = "void", |
| 8315 | params = { |
| 8316 | {type = "Music", name = "music"}, |
| 8317 | {type = "float", name = "pan"} |
| 8318 | } |
| 8319 | }, |
| 8320 | { |
| 8321 | name = "GetMusicTimeLength", |
| 8322 | description = "Get music time length (in seconds)", |
| 8323 | returnType = "float", |
| 8324 | params = { |
| 8325 | {type = "Music", name = "music"} |
| 8326 | } |
| 8327 | }, |
| 8328 | { |
| 8329 | name = "GetMusicTimePlayed", |
| 8330 | description = "Get current music time played (in seconds)", |
| 8331 | returnType = "float", |
| 8332 | params = { |
| 8333 | {type = "Music", name = "music"} |
| 8334 | } |
| 8335 | }, |
| 8336 | { |
| 8337 | name = "LoadAudioStream", |
| 8338 | description = "Load audio stream (to stream raw audio pcm data)", |
| 8339 | returnType = "AudioStream", |
| 8340 | params = { |
| 8341 | {type = "unsigned int", name = "sampleRate"}, |
| 8342 | {type = "unsigned int", name = "sampleSize"}, |
| 8343 | {type = "unsigned int", name = "channels"} |
| 8344 | } |
| 8345 | }, |
| 8346 | { |
| 8347 | name = "IsAudioStreamValid", |
| 8348 | description = "Checks if an audio stream is valid (buffers initialized)", |
| 8349 | returnType = "bool", |
| 8350 | params = { |
| 8351 | {type = "AudioStream", name = "stream"} |
| 8352 | } |
| 8353 | }, |
| 8354 | { |
| 8355 | name = "UnloadAudioStream", |
| 8356 | description = "Unload audio stream and free memory", |
| 8357 | returnType = "void", |
| 8358 | params = { |
| 8359 | {type = "AudioStream", name = "stream"} |
| 8360 | } |
| 8361 | }, |
| 8362 | { |
| 8363 | name = "UpdateAudioStream", |
| 8364 | description = "Update audio stream buffers with data", |
| 8365 | returnType = "void", |
| 8366 | params = { |
| 8367 | {type = "AudioStream", name = "stream"}, |
| 8368 | {type = "const void *", name = "data"}, |
| 8369 | {type = "int", name = "frameCount"} |
| 8370 | } |
| 8371 | }, |
| 8372 | { |
| 8373 | name = "IsAudioStreamProcessed", |
| 8374 | description = "Check if any audio stream buffers requires refill", |
| 8375 | returnType = "bool", |
| 8376 | params = { |
| 8377 | {type = "AudioStream", name = "stream"} |
| 8378 | } |
| 8379 | }, |
| 8380 | { |
| 8381 | name = "PlayAudioStream", |
| 8382 | description = "Play audio stream", |
| 8383 | returnType = "void", |
| 8384 | params = { |
| 8385 | {type = "AudioStream", name = "stream"} |
| 8386 | } |
| 8387 | }, |
| 8388 | { |
| 8389 | name = "PauseAudioStream", |
| 8390 | description = "Pause audio stream", |
| 8391 | returnType = "void", |
| 8392 | params = { |
| 8393 | {type = "AudioStream", name = "stream"} |
| 8394 | } |
| 8395 | }, |
| 8396 | { |
| 8397 | name = "ResumeAudioStream", |
| 8398 | description = "Resume audio stream", |
| 8399 | returnType = "void", |
| 8400 | params = { |
| 8401 | {type = "AudioStream", name = "stream"} |
| 8402 | } |
| 8403 | }, |
| 8404 | { |
| 8405 | name = "IsAudioStreamPlaying", |
| 8406 | description = "Check if audio stream is playing", |
| 8407 | returnType = "bool", |
| 8408 | params = { |
| 8409 | {type = "AudioStream", name = "stream"} |
| 8410 | } |
| 8411 | }, |
| 8412 | { |
| 8413 | name = "StopAudioStream", |
| 8414 | description = "Stop audio stream", |
| 8415 | returnType = "void", |
| 8416 | params = { |
| 8417 | {type = "AudioStream", name = "stream"} |
| 8418 | } |
| 8419 | }, |
| 8420 | { |
| 8421 | name = "SetAudioStreamVolume", |
| 8422 | description = "Set volume for audio stream (1.0 is max level)", |
| 8423 | returnType = "void", |
| 8424 | params = { |
| 8425 | {type = "AudioStream", name = "stream"}, |
| 8426 | {type = "float", name = "volume"} |
| 8427 | } |
| 8428 | }, |
| 8429 | { |
| 8430 | name = "SetAudioStreamPitch", |
| 8431 | description = "Set pitch for audio stream (1.0 is base level)", |
| 8432 | returnType = "void", |
| 8433 | params = { |
| 8434 | {type = "AudioStream", name = "stream"}, |
| 8435 | {type = "float", name = "pitch"} |
| 8436 | } |
| 8437 | }, |
| 8438 | { |
| 8439 | name = "SetAudioStreamPan", |
| 8440 | description = "Set pan for audio stream (-1.0 to 1.0 range, 0.0 is centered)", |
| 8441 | returnType = "void", |
| 8442 | params = { |
| 8443 | {type = "AudioStream", name = "stream"}, |
| 8444 | {type = "float", name = "pan"} |
| 8445 | } |
| 8446 | }, |
| 8447 | { |
| 8448 | name = "SetAudioStreamBufferSizeDefault", |
| 8449 | description = "Default size for new audio streams", |
| 8450 | returnType = "void", |
| 8451 | params = { |
| 8452 | {type = "int", name = "size"} |
| 8453 | } |
| 8454 | }, |
| 8455 | { |
| 8456 | name = "SetAudioStreamCallback", |
| 8457 | description = "Audio thread callback to request new data", |
| 8458 | returnType = "void", |
| 8459 | params = { |
| 8460 | {type = "AudioStream", name = "stream"}, |
| 8461 | {type = "AudioCallback", name = "callback"} |
| 8462 | } |
| 8463 | }, |
| 8464 | { |
| 8465 | name = "AttachAudioStreamProcessor", |
| 8466 | description = "Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo)", |
| 8467 | returnType = "void", |
| 8468 | params = { |
| 8469 | {type = "AudioStream", name = "stream"}, |
| 8470 | {type = "AudioCallback", name = "processor"} |
| 8471 | } |
| 8472 | }, |
| 8473 | { |
| 8474 | name = "DetachAudioStreamProcessor", |
| 8475 | description = "Detach audio stream processor from stream", |
| 8476 | returnType = "void", |
| 8477 | params = { |
| 8478 | {type = "AudioStream", name = "stream"}, |
| 8479 | {type = "AudioCallback", name = "processor"} |
| 8480 | } |
| 8481 | }, |
| 8482 | { |
| 8483 | name = "AttachAudioMixedProcessor", |
| 8484 | description = "Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)", |
| 8485 | returnType = "void", |
| 8486 | params = { |
| 8487 | {type = "AudioCallback", name = "processor"} |
| 8488 | } |
| 8489 | }, |
| 8490 | { |
| 8491 | name = "DetachAudioMixedProcessor", |
| 8492 | description = "Detach audio stream processor from the entire audio pipeline", |
| 8493 | returnType = "void", |
| 8494 | params = { |
| 8495 | {type = "AudioCallback", name = "processor"} |
| 8496 | } |
| 8497 | } |
| 8498 | } |
| 8499 | } |