koffi 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog.md +13 -1
- package/build/qemu/2.1.2/koffi_darwin_arm64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_linux_arm32hf.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_openbsd_ia32.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_openbsd_x64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_win32_arm64.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/2.1.2/koffi_win32_x64.tar.gz +0 -0
- package/doc/templates/badges.html +3 -0
- package/package.json +2 -2
- package/src/abi_arm64.cc +35 -1
- package/src/abi_x64_win.cc +2 -8
- package/src/abi_x86.cc +1 -7
- package/src/call.cc +2 -2
- package/src/call.hh +1 -1
- package/src/ffi.hh +1 -1
- package/src/util.hh +6 -0
- package/test/raylib.js +37 -5
- package/vendor/libcc/libcc.cc +488 -254
- package/vendor/libcc/libcc.hh +1463 -1277
- package/vendor/raylib/BINDINGS.md +87 -70
- package/vendor/raylib/CHANGELOG +263 -50
- package/vendor/raylib/CMakeLists.txt +12 -0
- package/vendor/raylib/CMakeOptions.txt +8 -1
- package/vendor/raylib/CONVENTIONS.md +2 -3
- package/vendor/raylib/FAQ.md +137 -0
- package/vendor/raylib/HISTORY.md +62 -29
- package/vendor/raylib/LICENSE +1 -1
- package/vendor/raylib/README.md +22 -17
- package/vendor/raylib/ROADMAP.md +8 -7
- package/vendor/raylib/cmake/CompileDefinitions.cmake +19 -15
- package/vendor/raylib/cmake/GlfwImport.cmake +2 -0
- package/vendor/raylib/cmake/LibraryConfigurations.cmake +22 -16
- package/vendor/raylib/cmake/raylib-config.cmake +52 -49
- package/vendor/raylib/examples/CMakeLists.txt +14 -9
- package/vendor/raylib/examples/Makefile +112 -125
- package/vendor/raylib/examples/Makefile.Android +1 -1
- package/vendor/raylib/examples/Makefile.Web +145 -158
- package/vendor/raylib/examples/README.md +141 -141
- package/vendor/raylib/examples/audio/audio_module_playing.c +9 -4
- package/vendor/raylib/examples/audio/audio_multichannel_sound.c +8 -3
- package/vendor/raylib/examples/audio/audio_music_stream.c +16 -11
- package/vendor/raylib/examples/audio/audio_raw_stream.c +57 -9
- package/vendor/raylib/examples/audio/audio_sound_loading.c +8 -3
- package/vendor/raylib/examples/audio/audio_stream_effects.c +179 -0
- package/vendor/raylib/examples/audio/audio_stream_effects.png +0 -0
- package/vendor/raylib/examples/build.zig +17 -6
- package/vendor/raylib/examples/core/core_2d_camera.c +8 -4
- package/vendor/raylib/examples/core/core_2d_camera_mouse_zoom.c +105 -0
- package/vendor/raylib/examples/core/core_2d_camera_mouse_zoom.png +0 -0
- package/vendor/raylib/examples/core/core_2d_camera_platformer.c +11 -6
- package/vendor/raylib/examples/core/core_3d_camera_first_person.c +9 -4
- package/vendor/raylib/examples/core/core_3d_camera_free.c +9 -4
- package/vendor/raylib/examples/core/core_3d_camera_mode.c +8 -3
- package/vendor/raylib/examples/core/core_3d_picking.c +9 -4
- package/vendor/raylib/examples/core/core_basic_screen_manager.c +9 -7
- package/vendor/raylib/examples/core/core_basic_window.c +8 -3
- package/vendor/raylib/examples/core/core_basic_window_web.c +13 -11
- package/vendor/raylib/examples/core/core_custom_frame_control.c +9 -4
- package/vendor/raylib/examples/core/core_custom_logging.c +12 -8
- package/vendor/raylib/examples/core/core_drop_files.c +20 -12
- package/vendor/raylib/examples/core/core_input_gamepad.c +20 -15
- package/vendor/raylib/examples/core/core_input_gestures.c +19 -15
- package/vendor/raylib/examples/core/core_input_keys.c +8 -3
- package/vendor/raylib/examples/core/core_input_mouse.c +8 -3
- package/vendor/raylib/examples/core/core_input_mouse_wheel.c +8 -3
- package/vendor/raylib/examples/core/core_input_multitouch.c +8 -3
- package/vendor/raylib/examples/core/core_loading_thread.c +10 -6
- package/vendor/raylib/examples/core/core_random_values.c +8 -3
- package/vendor/raylib/examples/core/core_scissor_test.c +8 -3
- package/vendor/raylib/examples/core/core_smooth_pixelperfect.c +9 -4
- package/vendor/raylib/examples/core/core_split_screen.c +8 -3
- package/vendor/raylib/examples/core/core_storage_values.c +109 -3
- package/vendor/raylib/examples/core/core_vr_simulator.c +15 -7
- package/vendor/raylib/examples/core/core_window_flags.c +8 -3
- package/vendor/raylib/examples/core/core_window_letterbox.c +13 -18
- package/vendor/raylib/examples/core/core_window_should_close.c +77 -0
- package/vendor/raylib/examples/core/core_window_should_close.png +0 -0
- package/vendor/raylib/examples/core/core_world_screen.c +9 -4
- package/vendor/raylib/examples/examples_template.c +8 -3
- package/vendor/raylib/examples/models/models_animation.c +11 -7
- package/vendor/raylib/examples/models/models_billboard.c +9 -4
- package/vendor/raylib/examples/models/models_box_collisions.c +8 -3
- package/vendor/raylib/examples/models/models_cubicmap.c +9 -4
- package/vendor/raylib/examples/models/models_first_person_maze.c +9 -4
- package/vendor/raylib/examples/models/models_geometric_shapes.c +8 -3
- package/vendor/raylib/examples/models/models_heightmap.c +9 -4
- package/vendor/raylib/examples/models/models_loading.c +21 -17
- package/vendor/raylib/examples/models/models_loading_gltf.c +15 -41
- package/vendor/raylib/examples/models/models_loading_vox.c +9 -4
- package/vendor/raylib/examples/models/models_mesh_generation.c +71 -58
- package/vendor/raylib/examples/models/models_mesh_picking.c +25 -7
- package/vendor/raylib/examples/models/models_orthographic_projection.c +8 -5
- package/vendor/raylib/examples/models/models_rlgl_solar_system.c +6 -4
- package/vendor/raylib/examples/models/models_skybox.c +16 -12
- package/vendor/raylib/examples/models/models_waving_cubes.c +9 -4
- package/vendor/raylib/examples/models/models_yaw_pitch_roll.c +12 -7
- package/vendor/raylib/examples/models/resources/LICENSE.md +9 -10
- package/vendor/raylib/examples/models/resources/models/gltf/LICENSE +2 -23
- package/vendor/raylib/examples/models/resources/models/gltf/{raylib_32x32.glb → raylib_logo_3d.glb} +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/robot.blend +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/robot.glb +0 -0
- package/vendor/raylib/examples/others/easings_testbed.c +10 -8
- package/vendor/raylib/examples/others/easings_testbed.png +0 -0
- package/vendor/raylib/examples/others/embedded_files_loading.c +10 -5
- package/vendor/raylib/examples/others/embedded_files_loading.png +0 -0
- package/vendor/raylib/examples/others/raylib_opengl_interop.c +10 -6
- package/vendor/raylib/{src/extras/easings.h → examples/others/reasings.h} +38 -38
- package/vendor/raylib/examples/others/rlgl_compute_shader.c +21 -20
- package/vendor/raylib/examples/others/rlgl_compute_shader.png +0 -0
- package/vendor/raylib/examples/others/rlgl_standalone.c +4 -4
- package/vendor/raylib/examples/others/rlgl_standalone.png +0 -0
- package/vendor/raylib/examples/raylib_compile_execute.bat +2 -2
- package/vendor/raylib/examples/shaders/resources/shaders/glsl330/lighting.fs +1 -1
- package/vendor/raylib/examples/shaders/resources/shaders/glsl330/{base_lighting_instanced.vs → lighting_instancing.vs} +2 -2
- package/vendor/raylib/examples/shaders/rlights.h +14 -27
- package/vendor/raylib/examples/shaders/shaders_basic_lighting.c +24 -26
- package/vendor/raylib/examples/shaders/shaders_custom_uniform.c +10 -5
- package/vendor/raylib/examples/shaders/shaders_eratosthenes.c +13 -8
- package/vendor/raylib/examples/shaders/shaders_fog.c +8 -12
- package/vendor/raylib/examples/shaders/shaders_hot_reloading.c +10 -5
- package/vendor/raylib/examples/shaders/shaders_julia_set.c +9 -4
- package/vendor/raylib/examples/shaders/shaders_mesh_instancing.c +45 -119
- package/vendor/raylib/examples/shaders/shaders_model_shader.c +10 -5
- package/vendor/raylib/examples/shaders/shaders_multi_sample2d.c +8 -3
- package/vendor/raylib/examples/shaders/shaders_palette_switch.c +8 -3
- package/vendor/raylib/examples/shaders/shaders_postprocessing.c +9 -4
- package/vendor/raylib/examples/shaders/shaders_raymarching.c +14 -11
- package/vendor/raylib/examples/shaders/shaders_shapes_textures.c +8 -3
- package/vendor/raylib/examples/shaders/shaders_simple_mask.c +10 -5
- package/vendor/raylib/examples/shaders/shaders_spotlight.c +10 -6
- package/vendor/raylib/examples/shaders/shaders_texture_drawing.c +9 -4
- package/vendor/raylib/examples/shaders/shaders_texture_outline.c +8 -3
- package/vendor/raylib/examples/shaders/shaders_texture_waves.c +8 -3
- package/vendor/raylib/{src/extras → examples/shapes}/raygui.h +1290 -1141
- package/vendor/raylib/examples/{others/easings.h → shapes/reasings.h} +40 -40
- package/vendor/raylib/examples/shapes/shapes_basic_shapes.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_bouncing_ball.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_collision_area.c +10 -4
- package/vendor/raylib/examples/shapes/shapes_colors_palette.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_draw_circle_sector.c +9 -4
- package/vendor/raylib/examples/shapes/shapes_draw_rectangle_rounded.c +9 -4
- package/vendor/raylib/examples/shapes/shapes_draw_ring.c +10 -6
- package/vendor/raylib/examples/shapes/shapes_easings_ball_anim.c +9 -4
- package/vendor/raylib/examples/shapes/shapes_easings_box_anim.c +9 -4
- package/vendor/raylib/examples/shapes/shapes_easings_rectangle_array.c +9 -4
- package/vendor/raylib/examples/shapes/shapes_following_eyes.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_lines_bezier.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_logo_raylib.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_logo_raylib_anim.c +8 -3
- package/vendor/raylib/examples/shapes/shapes_rectangle_scaling.c +14 -5
- package/vendor/raylib/examples/shapes/shapes_top_down_lights.c +355 -0
- package/vendor/raylib/examples/shapes/shapes_top_down_lights.png +0 -0
- package/vendor/raylib/examples/text/resources/DotGothic16-Regular.ttf +0 -0
- package/vendor/raylib/examples/text/resources/DotGothic16-Regular_OFL.txt +93 -0
- package/vendor/raylib/examples/text/resources/LICENSE.md +1 -1
- package/vendor/raylib/examples/text/text_codepoints_loading.c +138 -0
- package/vendor/raylib/examples/text/text_codepoints_loading.png +0 -0
- package/vendor/raylib/examples/text/text_draw_3d.c +42 -33
- package/vendor/raylib/examples/text/text_font_filters.c +14 -11
- package/vendor/raylib/examples/text/text_font_loading.c +9 -4
- package/vendor/raylib/examples/text/text_font_sdf.c +9 -4
- package/vendor/raylib/examples/text/text_font_spritefont.c +12 -6
- package/vendor/raylib/examples/text/text_format_text.c +8 -3
- package/vendor/raylib/examples/text/text_input_box.c +8 -3
- package/vendor/raylib/examples/text/text_raylib_fonts.c +9 -4
- package/vendor/raylib/examples/text/text_rectangle_bounds.c +9 -5
- package/vendor/raylib/examples/text/text_unicode.c +9 -7
- package/vendor/raylib/examples/text/text_writing_anim.c +8 -3
- package/vendor/raylib/examples/textures/resources/scarfy_run.gif +0 -0
- package/vendor/raylib/examples/textures/textures_background_scrolling.c +8 -3
- package/vendor/raylib/examples/textures/textures_blend_modes.c +8 -3
- package/vendor/raylib/examples/textures/textures_bunnymark.c +8 -3
- package/vendor/raylib/examples/textures/textures_draw_tiled.c +14 -10
- package/vendor/raylib/examples/textures/textures_fog_of_war.c +154 -0
- package/vendor/raylib/examples/textures/textures_fog_of_war.png +0 -0
- package/vendor/raylib/examples/textures/textures_gif_player.c +121 -0
- package/vendor/raylib/examples/textures/textures_gif_player.png +0 -0
- package/vendor/raylib/examples/textures/textures_image_drawing.c +8 -3
- package/vendor/raylib/examples/textures/textures_image_generation.c +8 -3
- package/vendor/raylib/examples/textures/textures_image_loading.c +8 -3
- package/vendor/raylib/examples/textures/textures_image_processing.c +8 -3
- package/vendor/raylib/examples/textures/textures_image_text.c +8 -3
- package/vendor/raylib/examples/textures/textures_logo_raylib.c +8 -3
- package/vendor/raylib/examples/textures/textures_mouse_painting.c +9 -4
- package/vendor/raylib/examples/textures/textures_npatch_drawing.c +8 -3
- package/vendor/raylib/examples/textures/textures_particles_blending.c +8 -3
- package/vendor/raylib/examples/textures/textures_polygon.c +9 -5
- package/vendor/raylib/examples/textures/textures_raw_data.c +8 -3
- package/vendor/raylib/examples/textures/{textures_rectangle.c → textures_sprite_anim.c} +11 -5
- package/vendor/raylib/examples/textures/{textures_rectangle.png → textures_sprite_anim.png} +0 -0
- package/vendor/raylib/examples/textures/textures_sprite_button.c +8 -3
- package/vendor/raylib/examples/textures/textures_sprite_explosion.c +8 -3
- package/vendor/raylib/examples/textures/textures_srcrec_dstrec.c +8 -3
- package/vendor/raylib/examples/textures/textures_to_image.c +8 -3
- package/vendor/raylib/parser/LICENSE +1 -1
- package/vendor/raylib/parser/Makefile +28 -0
- package/vendor/raylib/parser/README.md +49 -5
- package/vendor/raylib/parser/output/raylib_api.json +10717 -0
- package/vendor/raylib/parser/output/raylib_api.lua +7435 -0
- package/vendor/raylib/parser/{raylib_api.txt → output/raylib_api.txt} +1371 -824
- package/vendor/raylib/parser/{raylib_api.xml → output/raylib_api.xml} +827 -595
- package/vendor/raylib/parser/raylib_parser.c +1174 -196
- package/vendor/raylib/projects/4coder/Makefile +2 -4
- package/vendor/raylib/projects/4coder/main.c +0 -1
- package/vendor/raylib/projects/CMake/CMakeLists.txt +13 -16
- package/vendor/raylib/projects/CMake/README.md +27 -0
- package/vendor/raylib/projects/CMake/core_basic_window.c +52 -31
- package/vendor/raylib/projects/CodeBlocks/README.md +4 -4
- package/vendor/raylib/projects/Geany/core_basic_window.c +1 -1
- package/vendor/raylib/projects/Notepad++/c_raylib.xml +168 -128
- package/vendor/raylib/projects/Notepad++/npes_saved_tcc.txt +0 -0
- package/vendor/raylib/projects/Notepad++/npes_saved_w64devkit.txt +0 -0
- package/vendor/raylib/projects/Notepad++/npes_saved_zig.txt +0 -0
- package/vendor/raylib/projects/Notepad++/raylib_npp_parser/raylib_npp.xml +168 -84
- package/vendor/raylib/projects/Notepad++/raylib_npp_parser/raylib_to_parse.h +67 -51
- package/vendor/raylib/projects/README.md +1 -1
- package/vendor/raylib/projects/VSCode/.vscode/c_cpp_properties.json +1 -1
- package/vendor/raylib/projects/VSCode/Makefile +8 -11
- package/vendor/raylib/projects/VSCode/main.c +53 -26
- package/vendor/raylib/projects/VSCode/resources/LICENSE +1 -0
- package/vendor/raylib/projects/scripts/build-linux.sh +6 -6
- package/vendor/raylib/projects/scripts/build-osx.sh +6 -6
- package/vendor/raylib/projects/scripts/build-rpi.sh +6 -6
- package/vendor/raylib/projects/scripts/build-windows.bat +2 -2
- package/vendor/raylib/src/CMakeLists.txt +6 -7
- package/vendor/raylib/src/Makefile +209 -103
- package/vendor/raylib/src/build.zig +56 -20
- package/vendor/raylib/src/config.h +32 -27
- package/vendor/raylib/src/external/cgltf.h +342 -104
- package/vendor/raylib/src/external/dr_wav.h +487 -225
- package/vendor/raylib/src/external/glfw/src/posix_time.c +1 -3
- package/vendor/raylib/src/external/glfw/src/wl_init.c +1 -3
- package/vendor/raylib/src/external/jar_xm.h +2 -1
- package/vendor/raylib/src/external/miniaudio.h +62251 -42061
- package/vendor/raylib/src/external/qoi.h +671 -0
- package/vendor/raylib/src/external/stb_vorbis.h +1 -1
- package/vendor/raylib/src/external/vox_loader.h +30 -25
- package/vendor/raylib/src/minshell.html +82 -0
- package/vendor/raylib/src/raudio.c +359 -201
- package/vendor/raylib/src/raylib.dll.rc +5 -5
- package/vendor/raylib/src/raylib.dll.rc.data +0 -0
- package/vendor/raylib/src/raylib.h +95 -63
- package/vendor/raylib/src/raylib.rc +5 -5
- package/vendor/raylib/src/raylib.rc.data +0 -0
- package/vendor/raylib/src/raymath.h +391 -133
- package/vendor/raylib/src/rcamera.h +32 -41
- package/vendor/raylib/src/rcore.c +775 -471
- package/vendor/raylib/src/rgestures.h +5 -5
- package/vendor/raylib/src/rglfw.c +3 -3
- package/vendor/raylib/src/rlgl.h +184 -144
- package/vendor/raylib/src/rmodels.c +207 -144
- package/vendor/raylib/src/rshapes.c +105 -47
- package/vendor/raylib/src/rtext.c +255 -38
- package/vendor/raylib/src/rtextures.c +167 -71
- package/vendor/raylib/src/shell.html +63 -63
- package/vendor/raylib/src/utils.c +49 -3
- package/vendor/raylib/src/utils.h +3 -3
- package/build/qemu/2.1.0/koffi_darwin_arm64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_linux_arm32hf.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_openbsd_ia32.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_openbsd_x64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_win32_arm64.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/2.1.0/koffi_win32_x64.tar.gz +0 -0
- package/vendor/raylib/CONTRIBUTORS.md +0 -63
- package/vendor/raylib/SPONSORS.md +0 -68
- package/vendor/raylib/examples/core/core_quat_conversion.c +0 -132
- package/vendor/raylib/examples/core/core_quat_conversion.png +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/AnimatedMorphCube.glb +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/AnimatedTriangle.gltf +0 -118
- package/vendor/raylib/examples/models/resources/models/gltf/BoxAnimated.glb +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/girl.glb +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/rigged_figure.glb +0 -0
- package/vendor/raylib/examples/models/resources/models/gltf/vertex_colored_object.glb +0 -0
- package/vendor/raylib/examples/models/resources/models/iqm/vertex_colored_object.iqm +0 -0
- package/vendor/raylib/examples/models/rlights.h +0 -183
- package/vendor/raylib/examples/others/raudio_standalone.c +0 -152
- package/vendor/raylib/examples/others/resources/audio/country.mp3 +0 -0
- package/vendor/raylib/examples/others/resources/audio/target.ogg +0 -0
- package/vendor/raylib/examples/others/resources/audio/weird.wav +0 -0
- package/vendor/raylib/examples/physics/physics_demo.c +0 -128
- package/vendor/raylib/examples/physics/physics_demo.png +0 -0
- package/vendor/raylib/examples/physics/physics_friction.c +0 -142
- package/vendor/raylib/examples/physics/physics_friction.png +0 -0
- package/vendor/raylib/examples/physics/physics_movement.c +0 -128
- package/vendor/raylib/examples/physics/physics_movement.png +0 -0
- package/vendor/raylib/examples/physics/physics_restitution.c +0 -129
- package/vendor/raylib/examples/physics/physics_restitution.png +0 -0
- package/vendor/raylib/examples/physics/physics_shatter.c +0 -111
- package/vendor/raylib/examples/physics/physics_shatter.png +0 -0
- package/vendor/raylib/parser/raylib_api.json +0 -6668
- package/vendor/raylib/projects/VS2019/raylib/raylib.rc +0 -0
- package/vendor/raylib/projects/VS2019/raylib/resource.h +0 -14
- package/vendor/raylib/src/extras/physac.h +0 -1977
- package/vendor/raylib/src/extras/rmem.h +0 -751
- package/vendor/raylib/src/raudio.h +0 -198
|
@@ -1,59 +1,126 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="Windows-1252" ?>
|
|
2
2
|
<raylibAPI>
|
|
3
|
-
<
|
|
4
|
-
<
|
|
3
|
+
<Defines count="53">
|
|
4
|
+
<Define name="RAYLIB_H" type="GUARD" value="" desc="" />
|
|
5
|
+
<Define name="RAYLIB_VERSION" type="STRING" value="4.2" desc="" />
|
|
6
|
+
<Define name="__declspec(x)" type="MACRO" value="__attribute__((x))" desc="" />
|
|
7
|
+
<Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="We are building the library as a Win32 shared library (.dll)" />
|
|
8
|
+
<Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" />
|
|
9
|
+
<Define name="DEG2RAD" type="FLOAT_MATH" value="(PI/180.0f)" desc="" />
|
|
10
|
+
<Define name="RAD2DEG" type="FLOAT_MATH" value="(180.0f/PI)" desc="" />
|
|
11
|
+
<Define name="RL_MALLOC(sz)" type="MACRO" value="malloc(sz)" desc="" />
|
|
12
|
+
<Define name="RL_CALLOC(n,sz)" type="MACRO" value="calloc(n,sz)" desc="" />
|
|
13
|
+
<Define name="RL_REALLOC(ptr,sz)" type="MACRO" value="realloc(ptr,sz)" desc="" />
|
|
14
|
+
<Define name="RL_FREE(ptr)" type="MACRO" value="free(ptr)" desc="" />
|
|
15
|
+
<Define name="CLITERAL(type)" type="MACRO" value="type" desc="" />
|
|
16
|
+
<Define name="RL_COLOR_TYPE" type="GUARD" value="" desc="" />
|
|
17
|
+
<Define name="RL_RECTANGLE_TYPE" type="GUARD" value="" desc="" />
|
|
18
|
+
<Define name="RL_VECTOR2_TYPE" type="GUARD" value="" desc="" />
|
|
19
|
+
<Define name="RL_VECTOR3_TYPE" type="GUARD" value="" desc="" />
|
|
20
|
+
<Define name="RL_VECTOR4_TYPE" type="GUARD" value="" desc="" />
|
|
21
|
+
<Define name="RL_QUATERNION_TYPE" type="GUARD" value="" desc="" />
|
|
22
|
+
<Define name="RL_MATRIX_TYPE" type="GUARD" value="" desc="" />
|
|
23
|
+
<Define name="LIGHTGRAY" type="COLOR" value="CLITERAL(Color){ 200, 200, 200, 255 }" desc="Light Gray" />
|
|
24
|
+
<Define name="GRAY" type="COLOR" value="CLITERAL(Color){ 130, 130, 130, 255 }" desc="Gray" />
|
|
25
|
+
<Define name="DARKGRAY" type="COLOR" value="CLITERAL(Color){ 80, 80, 80, 255 }" desc="Dark Gray" />
|
|
26
|
+
<Define name="YELLOW" type="COLOR" value="CLITERAL(Color){ 253, 249, 0, 255 }" desc="Yellow" />
|
|
27
|
+
<Define name="GOLD" type="COLOR" value="CLITERAL(Color){ 255, 203, 0, 255 }" desc="Gold" />
|
|
28
|
+
<Define name="ORANGE" type="COLOR" value="CLITERAL(Color){ 255, 161, 0, 255 }" desc="Orange" />
|
|
29
|
+
<Define name="PINK" type="COLOR" value="CLITERAL(Color){ 255, 109, 194, 255 }" desc="Pink" />
|
|
30
|
+
<Define name="RED" type="COLOR" value="CLITERAL(Color){ 230, 41, 55, 255 }" desc="Red" />
|
|
31
|
+
<Define name="MAROON" type="COLOR" value="CLITERAL(Color){ 190, 33, 55, 255 }" desc="Maroon" />
|
|
32
|
+
<Define name="GREEN" type="COLOR" value="CLITERAL(Color){ 0, 228, 48, 255 }" desc="Green" />
|
|
33
|
+
<Define name="LIME" type="COLOR" value="CLITERAL(Color){ 0, 158, 47, 255 }" desc="Lime" />
|
|
34
|
+
<Define name="DARKGREEN" type="COLOR" value="CLITERAL(Color){ 0, 117, 44, 255 }" desc="Dark Green" />
|
|
35
|
+
<Define name="SKYBLUE" type="COLOR" value="CLITERAL(Color){ 102, 191, 255, 255 }" desc="Sky Blue" />
|
|
36
|
+
<Define name="BLUE" type="COLOR" value="CLITERAL(Color){ 0, 121, 241, 255 }" desc="Blue" />
|
|
37
|
+
<Define name="DARKBLUE" type="COLOR" value="CLITERAL(Color){ 0, 82, 172, 255 }" desc="Dark Blue" />
|
|
38
|
+
<Define name="PURPLE" type="COLOR" value="CLITERAL(Color){ 200, 122, 255, 255 }" desc="Purple" />
|
|
39
|
+
<Define name="VIOLET" type="COLOR" value="CLITERAL(Color){ 135, 60, 190, 255 }" desc="Violet" />
|
|
40
|
+
<Define name="DARKPURPLE" type="COLOR" value="CLITERAL(Color){ 112, 31, 126, 255 }" desc="Dark Purple" />
|
|
41
|
+
<Define name="BEIGE" type="COLOR" value="CLITERAL(Color){ 211, 176, 131, 255 }" desc="Beige" />
|
|
42
|
+
<Define name="BROWN" type="COLOR" value="CLITERAL(Color){ 127, 106, 79, 255 }" desc="Brown" />
|
|
43
|
+
<Define name="DARKBROWN" type="COLOR" value="CLITERAL(Color){ 76, 63, 47, 255 }" desc="Dark Brown" />
|
|
44
|
+
<Define name="WHITE" type="COLOR" value="CLITERAL(Color){ 255, 255, 255, 255 }" desc="White" />
|
|
45
|
+
<Define name="BLACK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 255 }" desc="Black" />
|
|
46
|
+
<Define name="BLANK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 0 }" desc="Blank (Transparent)" />
|
|
47
|
+
<Define name="MAGENTA" type="COLOR" value="CLITERAL(Color){ 255, 0, 255, 255 }" desc="Magenta" />
|
|
48
|
+
<Define name="RAYWHITE" type="COLOR" value="CLITERAL(Color){ 245, 245, 245, 255 }" desc="My own White (raylib logo)" />
|
|
49
|
+
<Define name="RL_BOOL_TYPE" type="GUARD" value="" desc="" />
|
|
50
|
+
<Define name="MOUSE_LEFT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_LEFT" desc="" />
|
|
51
|
+
<Define name="MOUSE_RIGHT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_RIGHT" desc="" />
|
|
52
|
+
<Define name="MOUSE_MIDDLE_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_MIDDLE" desc="" />
|
|
53
|
+
<Define name="MATERIAL_MAP_DIFFUSE" type="UNKNOWN" value="MATERIAL_MAP_ALBEDO" desc="" />
|
|
54
|
+
<Define name="MATERIAL_MAP_SPECULAR" type="UNKNOWN" value="MATERIAL_MAP_METALNESS" desc="" />
|
|
55
|
+
<Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" />
|
|
56
|
+
<Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" />
|
|
57
|
+
</Defines>
|
|
58
|
+
<Structs count="32">
|
|
59
|
+
<Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components">
|
|
5
60
|
<Field type="float" name="x" desc="Vector x component" />
|
|
6
61
|
<Field type="float" name="y" desc="Vector y component" />
|
|
7
62
|
</Struct>
|
|
8
|
-
<Struct name="Vector3" fieldCount="3" desc="">
|
|
63
|
+
<Struct name="Vector3" fieldCount="3" desc="Vector3, 3 components">
|
|
9
64
|
<Field type="float" name="x" desc="Vector x component" />
|
|
10
65
|
<Field type="float" name="y" desc="Vector y component" />
|
|
11
66
|
<Field type="float" name="z" desc="Vector z component" />
|
|
12
67
|
</Struct>
|
|
13
|
-
<Struct name="Vector4" fieldCount="4" desc="">
|
|
68
|
+
<Struct name="Vector4" fieldCount="4" desc="Vector4, 4 components">
|
|
14
69
|
<Field type="float" name="x" desc="Vector x component" />
|
|
15
70
|
<Field type="float" name="y" desc="Vector y component" />
|
|
16
71
|
<Field type="float" name="z" desc="Vector z component" />
|
|
17
72
|
<Field type="float" name="w" desc="Vector w component" />
|
|
18
73
|
</Struct>
|
|
19
|
-
<Struct name="Matrix" fieldCount="
|
|
20
|
-
<Field type="float" name="m0
|
|
21
|
-
<Field type="float" name="
|
|
22
|
-
<Field type="float" name="
|
|
23
|
-
<Field type="float" name="
|
|
74
|
+
<Struct name="Matrix" fieldCount="16" desc="Matrix, 4x4 components, column major, OpenGL style, right handed">
|
|
75
|
+
<Field type="float" name="m0" desc="Matrix first row (4 components)" />
|
|
76
|
+
<Field type="float" name="m4" desc="Matrix first row (4 components)" />
|
|
77
|
+
<Field type="float" name="m8" desc="Matrix first row (4 components)" />
|
|
78
|
+
<Field type="float" name="m12" desc="Matrix first row (4 components)" />
|
|
79
|
+
<Field type="float" name="m1" desc="Matrix second row (4 components)" />
|
|
80
|
+
<Field type="float" name="m5" desc="Matrix second row (4 components)" />
|
|
81
|
+
<Field type="float" name="m9" desc="Matrix second row (4 components)" />
|
|
82
|
+
<Field type="float" name="m13" desc="Matrix second row (4 components)" />
|
|
83
|
+
<Field type="float" name="m2" desc="Matrix third row (4 components)" />
|
|
84
|
+
<Field type="float" name="m6" desc="Matrix third row (4 components)" />
|
|
85
|
+
<Field type="float" name="m10" desc="Matrix third row (4 components)" />
|
|
86
|
+
<Field type="float" name="m14" desc="Matrix third row (4 components)" />
|
|
87
|
+
<Field type="float" name="m3" desc="Matrix fourth row (4 components)" />
|
|
88
|
+
<Field type="float" name="m7" desc="Matrix fourth row (4 components)" />
|
|
89
|
+
<Field type="float" name="m11" desc="Matrix fourth row (4 components)" />
|
|
90
|
+
<Field type="float" name="m15" desc="Matrix fourth row (4 components)" />
|
|
24
91
|
</Struct>
|
|
25
|
-
<Struct name="Color" fieldCount="4" desc="">
|
|
92
|
+
<Struct name="Color" fieldCount="4" desc="Color, 4 components, R8G8B8A8 (32bit)">
|
|
26
93
|
<Field type="unsigned char" name="r" desc="Color red value" />
|
|
27
94
|
<Field type="unsigned char" name="g" desc="Color green value" />
|
|
28
95
|
<Field type="unsigned char" name="b" desc="Color blue value" />
|
|
29
96
|
<Field type="unsigned char" name="a" desc="Color alpha value" />
|
|
30
97
|
</Struct>
|
|
31
|
-
<Struct name="Rectangle" fieldCount="4" desc="">
|
|
32
|
-
<Field type="float" name="x" desc="Rectangle top-left corner position x
|
|
98
|
+
<Struct name="Rectangle" fieldCount="4" desc="Rectangle, 4 components">
|
|
99
|
+
<Field type="float" name="x" desc="Rectangle top-left corner position x" />
|
|
33
100
|
<Field type="float" name="y" desc="Rectangle top-left corner position y" />
|
|
34
101
|
<Field type="float" name="width" desc="Rectangle width" />
|
|
35
102
|
<Field type="float" name="height" desc="Rectangle height" />
|
|
36
103
|
</Struct>
|
|
37
|
-
<Struct name="Image" fieldCount="5" desc="">
|
|
104
|
+
<Struct name="Image" fieldCount="5" desc="Image, pixel data stored in CPU memory (RAM)">
|
|
38
105
|
<Field type="void *" name="data" desc="Image raw data" />
|
|
39
106
|
<Field type="int" name="width" desc="Image base width" />
|
|
40
107
|
<Field type="int" name="height" desc="Image base height" />
|
|
41
108
|
<Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" />
|
|
42
109
|
<Field type="int" name="format" desc="Data format (PixelFormat type)" />
|
|
43
110
|
</Struct>
|
|
44
|
-
<Struct name="Texture" fieldCount="5" desc="">
|
|
111
|
+
<Struct name="Texture" fieldCount="5" desc="Texture, tex data stored in GPU memory (VRAM)">
|
|
45
112
|
<Field type="unsigned int" name="id" desc="OpenGL texture id" />
|
|
46
113
|
<Field type="int" name="width" desc="Texture base width" />
|
|
47
114
|
<Field type="int" name="height" desc="Texture base height" />
|
|
48
115
|
<Field type="int" name="mipmaps" desc="Mipmap levels, 1 by default" />
|
|
49
116
|
<Field type="int" name="format" desc="Data format (PixelFormat type)" />
|
|
50
117
|
</Struct>
|
|
51
|
-
<Struct name="RenderTexture" fieldCount="3" desc="">
|
|
118
|
+
<Struct name="RenderTexture" fieldCount="3" desc="RenderTexture, fbo for texture rendering">
|
|
52
119
|
<Field type="unsigned int" name="id" desc="OpenGL framebuffer object id" />
|
|
53
120
|
<Field type="Texture" name="texture" desc="Color buffer attachment texture" />
|
|
54
121
|
<Field type="Texture" name="depth" desc="Depth buffer attachment texture" />
|
|
55
122
|
</Struct>
|
|
56
|
-
<Struct name="NPatchInfo" fieldCount="6" desc="">
|
|
123
|
+
<Struct name="NPatchInfo" fieldCount="6" desc="NPatchInfo, n-patch layout info">
|
|
57
124
|
<Field type="Rectangle" name="source" desc="Texture source rectangle" />
|
|
58
125
|
<Field type="int" name="left" desc="Left border offset" />
|
|
59
126
|
<Field type="int" name="top" desc="Top border offset" />
|
|
@@ -61,75 +128,75 @@
|
|
|
61
128
|
<Field type="int" name="bottom" desc="Bottom border offset" />
|
|
62
129
|
<Field type="int" name="layout" desc="Layout of the n-patch: 3x3, 1x3 or 3x1" />
|
|
63
130
|
</Struct>
|
|
64
|
-
<Struct name="
|
|
131
|
+
<Struct name="GlyphInfo" fieldCount="5" desc="GlyphInfo, font characters glyphs info">
|
|
65
132
|
<Field type="int" name="value" desc="Character value (Unicode)" />
|
|
66
133
|
<Field type="int" name="offsetX" desc="Character offset X when drawing" />
|
|
67
134
|
<Field type="int" name="offsetY" desc="Character offset Y when drawing" />
|
|
68
135
|
<Field type="int" name="advanceX" desc="Character advance position X" />
|
|
69
136
|
<Field type="Image" name="image" desc="Character image data" />
|
|
70
137
|
</Struct>
|
|
71
|
-
<Struct name="Font" fieldCount="6" desc="">
|
|
138
|
+
<Struct name="Font" fieldCount="6" desc="Font, font texture and GlyphInfo array data">
|
|
72
139
|
<Field type="int" name="baseSize" desc="Base size (default chars height)" />
|
|
73
|
-
<Field type="int" name="
|
|
74
|
-
<Field type="int" name="
|
|
75
|
-
<Field type="Texture2D" name="texture" desc="
|
|
76
|
-
<Field type="Rectangle *" name="recs" desc="
|
|
77
|
-
<Field type="
|
|
140
|
+
<Field type="int" name="glyphCount" desc="Number of glyph characters" />
|
|
141
|
+
<Field type="int" name="glyphPadding" desc="Padding around the glyph characters" />
|
|
142
|
+
<Field type="Texture2D" name="texture" desc="Texture atlas containing the glyphs" />
|
|
143
|
+
<Field type="Rectangle *" name="recs" desc="Rectangles in texture for the glyphs" />
|
|
144
|
+
<Field type="GlyphInfo *" name="glyphs" desc="Glyphs info data" />
|
|
78
145
|
</Struct>
|
|
79
|
-
<Struct name="Camera3D" fieldCount="5" desc="">
|
|
146
|
+
<Struct name="Camera3D" fieldCount="5" desc="Camera, defines position/orientation in 3d space">
|
|
80
147
|
<Field type="Vector3" name="position" desc="Camera position" />
|
|
81
148
|
<Field type="Vector3" name="target" desc="Camera target it looks-at" />
|
|
82
149
|
<Field type="Vector3" name="up" desc="Camera up vector (rotation over its axis)" />
|
|
83
150
|
<Field type="float" name="fovy" desc="Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic" />
|
|
84
151
|
<Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
|
|
85
152
|
</Struct>
|
|
86
|
-
<Struct name="Camera2D" fieldCount="4" desc="">
|
|
153
|
+
<Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space">
|
|
87
154
|
<Field type="Vector2" name="offset" desc="Camera offset (displacement from target)" />
|
|
88
155
|
<Field type="Vector2" name="target" desc="Camera target (rotation and zoom origin)" />
|
|
89
156
|
<Field type="float" name="rotation" desc="Camera rotation in degrees" />
|
|
90
157
|
<Field type="float" name="zoom" desc="Camera zoom (scaling), should be 1.0f by default" />
|
|
91
158
|
</Struct>
|
|
92
|
-
<Struct name="Mesh" fieldCount="15" desc="">
|
|
159
|
+
<Struct name="Mesh" fieldCount="15" desc="Mesh, vertex data and vao/vbo">
|
|
93
160
|
<Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
|
|
94
161
|
<Field type="int" name="triangleCount" desc="Number of triangles stored (indexed or not)" />
|
|
95
162
|
<Field type="float *" name="vertices" desc="Vertex position (XYZ - 3 components per vertex) (shader-location = 0)" />
|
|
96
163
|
<Field type="float *" name="texcoords" desc="Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)" />
|
|
97
|
-
<Field type="float *" name="texcoords2" desc="Vertex second
|
|
164
|
+
<Field type="float *" name="texcoords2" desc="Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" />
|
|
98
165
|
<Field type="float *" name="normals" desc="Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)" />
|
|
99
166
|
<Field type="float *" name="tangents" desc="Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)" />
|
|
100
167
|
<Field type="unsigned char *" name="colors" desc="Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)" />
|
|
101
168
|
<Field type="unsigned short *" name="indices" desc="Vertex indices (in case vertex data comes indexed)" />
|
|
102
169
|
<Field type="float *" name="animVertices" desc="Animated vertex positions (after bones transformations)" />
|
|
103
170
|
<Field type="float *" name="animNormals" desc="Animated normals (after bones transformations)" />
|
|
104
|
-
<Field type="
|
|
171
|
+
<Field type="unsigned char *" name="boneIds" desc="Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)" />
|
|
105
172
|
<Field type="float *" name="boneWeights" desc="Vertex bone weight, up to 4 bones influence by vertex (skinning)" />
|
|
106
173
|
<Field type="unsigned int" name="vaoId" desc="OpenGL Vertex Array Object id" />
|
|
107
174
|
<Field type="unsigned int *" name="vboId" desc="OpenGL Vertex Buffer Objects id (default vertex data)" />
|
|
108
175
|
</Struct>
|
|
109
|
-
<Struct name="Shader" fieldCount="2" desc="">
|
|
176
|
+
<Struct name="Shader" fieldCount="2" desc="Shader">
|
|
110
177
|
<Field type="unsigned int" name="id" desc="Shader program id" />
|
|
111
|
-
<Field type="int *" name="locs" desc="Shader locations array (
|
|
178
|
+
<Field type="int *" name="locs" desc="Shader locations array (RL_MAX_SHADER_LOCATIONS)" />
|
|
112
179
|
</Struct>
|
|
113
|
-
<Struct name="MaterialMap" fieldCount="3" desc="">
|
|
180
|
+
<Struct name="MaterialMap" fieldCount="3" desc="MaterialMap">
|
|
114
181
|
<Field type="Texture2D" name="texture" desc="Material map texture" />
|
|
115
182
|
<Field type="Color" name="color" desc="Material map color" />
|
|
116
183
|
<Field type="float" name="value" desc="Material map value" />
|
|
117
184
|
</Struct>
|
|
118
|
-
<Struct name="Material" fieldCount="3" desc="">
|
|
185
|
+
<Struct name="Material" fieldCount="3" desc="Material, includes shader and maps">
|
|
119
186
|
<Field type="Shader" name="shader" desc="Material shader" />
|
|
120
187
|
<Field type="MaterialMap *" name="maps" desc="Material maps array (MAX_MATERIAL_MAPS)" />
|
|
121
|
-
<Field type="float" name="params
|
|
188
|
+
<Field type="float[4]" name="params" desc="Material generic parameters (if required)" />
|
|
122
189
|
</Struct>
|
|
123
|
-
<Struct name="Transform" fieldCount="3" desc="">
|
|
190
|
+
<Struct name="Transform" fieldCount="3" desc="Transform, vectex transformation data">
|
|
124
191
|
<Field type="Vector3" name="translation" desc="Translation" />
|
|
125
192
|
<Field type="Quaternion" name="rotation" desc="Rotation" />
|
|
126
193
|
<Field type="Vector3" name="scale" desc="Scale" />
|
|
127
194
|
</Struct>
|
|
128
|
-
<Struct name="BoneInfo" fieldCount="2" desc="">
|
|
129
|
-
<Field type="char" name="name
|
|
195
|
+
<Struct name="BoneInfo" fieldCount="2" desc="Bone, skeletal animation bone">
|
|
196
|
+
<Field type="char[32]" name="name" desc="Bone name" />
|
|
130
197
|
<Field type="int" name="parent" desc="Bone parent" />
|
|
131
198
|
</Struct>
|
|
132
|
-
<Struct name="Model" fieldCount="9" desc="">
|
|
199
|
+
<Struct name="Model" fieldCount="9" desc="Model, meshes, materials and animation data">
|
|
133
200
|
<Field type="Matrix" name="transform" desc="Local transform matrix" />
|
|
134
201
|
<Field type="int" name="meshCount" desc="Number of meshes" />
|
|
135
202
|
<Field type="int" name="materialCount" desc="Number of materials" />
|
|
@@ -140,51 +207,52 @@
|
|
|
140
207
|
<Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" />
|
|
141
208
|
<Field type="Transform *" name="bindPose" desc="Bones base transformation (pose)" />
|
|
142
209
|
</Struct>
|
|
143
|
-
<Struct name="ModelAnimation" fieldCount="4" desc="">
|
|
210
|
+
<Struct name="ModelAnimation" fieldCount="4" desc="ModelAnimation">
|
|
144
211
|
<Field type="int" name="boneCount" desc="Number of bones" />
|
|
145
212
|
<Field type="int" name="frameCount" desc="Number of animation frames" />
|
|
146
213
|
<Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" />
|
|
147
214
|
<Field type="Transform **" name="framePoses" desc="Poses array by frame" />
|
|
148
215
|
</Struct>
|
|
149
|
-
<Struct name="Ray" fieldCount="2" desc="">
|
|
216
|
+
<Struct name="Ray" fieldCount="2" desc="Ray, ray for raycasting">
|
|
150
217
|
<Field type="Vector3" name="position" desc="Ray position (origin)" />
|
|
151
218
|
<Field type="Vector3" name="direction" desc="Ray direction" />
|
|
152
219
|
</Struct>
|
|
153
|
-
<Struct name="RayCollision" fieldCount="4" desc="">
|
|
220
|
+
<Struct name="RayCollision" fieldCount="4" desc="RayCollision, ray hit information">
|
|
154
221
|
<Field type="bool" name="hit" desc="Did the ray hit something?" />
|
|
155
222
|
<Field type="float" name="distance" desc="Distance to nearest hit" />
|
|
156
223
|
<Field type="Vector3" name="point" desc="Point of nearest hit" />
|
|
157
224
|
<Field type="Vector3" name="normal" desc="Surface normal of hit" />
|
|
158
225
|
</Struct>
|
|
159
|
-
<Struct name="BoundingBox" fieldCount="2" desc="">
|
|
226
|
+
<Struct name="BoundingBox" fieldCount="2" desc="BoundingBox">
|
|
160
227
|
<Field type="Vector3" name="min" desc="Minimum vertex box-corner" />
|
|
161
228
|
<Field type="Vector3" name="max" desc="Maximum vertex box-corner" />
|
|
162
229
|
</Struct>
|
|
163
|
-
<Struct name="Wave" fieldCount="5" desc="">
|
|
164
|
-
<Field type="unsigned int" name="
|
|
230
|
+
<Struct name="Wave" fieldCount="5" desc="Wave, audio wave data">
|
|
231
|
+
<Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
|
|
165
232
|
<Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" />
|
|
166
233
|
<Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" />
|
|
167
|
-
<Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo)" />
|
|
234
|
+
<Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" />
|
|
168
235
|
<Field type="void *" name="data" desc="Buffer data pointer" />
|
|
169
236
|
</Struct>
|
|
170
|
-
<Struct name="AudioStream" fieldCount="
|
|
237
|
+
<Struct name="AudioStream" fieldCount="5" desc="AudioStream, custom audio stream">
|
|
171
238
|
<Field type="rAudioBuffer *" name="buffer" desc="Pointer to internal data used by the audio system" />
|
|
239
|
+
<Field type="rAudioProcessor *" name="processor" desc="Pointer to internal data processor, useful for audio effects" />
|
|
172
240
|
<Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" />
|
|
173
241
|
<Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" />
|
|
174
|
-
<Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo)" />
|
|
242
|
+
<Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" />
|
|
175
243
|
</Struct>
|
|
176
|
-
<Struct name="Sound" fieldCount="2" desc="">
|
|
244
|
+
<Struct name="Sound" fieldCount="2" desc="Sound">
|
|
177
245
|
<Field type="AudioStream" name="stream" desc="Audio stream" />
|
|
178
|
-
<Field type="unsigned int" name="
|
|
246
|
+
<Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
|
|
179
247
|
</Struct>
|
|
180
|
-
<Struct name="Music" fieldCount="5" desc="">
|
|
248
|
+
<Struct name="Music" fieldCount="5" desc="Music, audio stream, anything longer than ~10 seconds should be streamed">
|
|
181
249
|
<Field type="AudioStream" name="stream" desc="Audio stream" />
|
|
182
|
-
<Field type="unsigned int" name="
|
|
250
|
+
<Field type="unsigned int" name="frameCount" desc="Total number of frames (considering channels)" />
|
|
183
251
|
<Field type="bool" name="looping" desc="Music looping enable" />
|
|
184
252
|
<Field type="int" name="ctxType" desc="Type of music context (audio filetype)" />
|
|
185
253
|
<Field type="void *" name="ctxData" desc="Audio context data, depends on type" />
|
|
186
254
|
</Struct>
|
|
187
|
-
<Struct name="VrDeviceInfo" fieldCount="10" desc="">
|
|
255
|
+
<Struct name="VrDeviceInfo" fieldCount="10" desc="VrDeviceInfo, Head-Mounted-Display device parameters">
|
|
188
256
|
<Field type="int" name="hResolution" desc="Horizontal resolution in pixels" />
|
|
189
257
|
<Field type="int" name="vResolution" desc="Vertical resolution in pixels" />
|
|
190
258
|
<Field type="float" name="hScreenSize" desc="Horizontal size in meters" />
|
|
@@ -193,356 +261,397 @@
|
|
|
193
261
|
<Field type="float" name="eyeToScreenDistance" desc="Distance between eye and display in meters" />
|
|
194
262
|
<Field type="float" name="lensSeparationDistance" desc="Lens separation distance in meters" />
|
|
195
263
|
<Field type="float" name="interpupillaryDistance" desc="IPD (distance between pupils) in meters" />
|
|
196
|
-
<Field type="float" name="lensDistortionValues
|
|
197
|
-
<Field type="float" name="chromaAbCorrection
|
|
264
|
+
<Field type="float[4]" name="lensDistortionValues" desc="Lens distortion constant parameters" />
|
|
265
|
+
<Field type="float[4]" name="chromaAbCorrection" desc="Chromatic aberration correction parameters" />
|
|
198
266
|
</Struct>
|
|
199
|
-
<Struct name="VrStereoConfig" fieldCount="8" desc="">
|
|
200
|
-
<Field type="Matrix" name="projection
|
|
201
|
-
<Field type="Matrix" name="viewOffset
|
|
202
|
-
<Field type="float" name="leftLensCenter
|
|
203
|
-
<Field type="float" name="rightLensCenter
|
|
204
|
-
<Field type="float" name="leftScreenCenter
|
|
205
|
-
<Field type="float" name="rightScreenCenter
|
|
206
|
-
<Field type="float" name="scale
|
|
207
|
-
<Field type="float" name="scaleIn
|
|
267
|
+
<Struct name="VrStereoConfig" fieldCount="8" desc="VrStereoConfig, VR stereo rendering configuration for simulator">
|
|
268
|
+
<Field type="Matrix[2]" name="projection" desc="VR projection matrices (per eye)" />
|
|
269
|
+
<Field type="Matrix[2]" name="viewOffset" desc="VR view offset matrices (per eye)" />
|
|
270
|
+
<Field type="float[2]" name="leftLensCenter" desc="VR left lens center" />
|
|
271
|
+
<Field type="float[2]" name="rightLensCenter" desc="VR right lens center" />
|
|
272
|
+
<Field type="float[2]" name="leftScreenCenter" desc="VR left screen center" />
|
|
273
|
+
<Field type="float[2]" name="rightScreenCenter" desc="VR right screen center" />
|
|
274
|
+
<Field type="float[2]" name="scale" desc="VR distortion scale" />
|
|
275
|
+
<Field type="float[2]" name="scaleIn" desc="VR distortion scale in" />
|
|
276
|
+
</Struct>
|
|
277
|
+
<Struct name="FilePathList" fieldCount="3" desc="File path list">
|
|
278
|
+
<Field type="unsigned int" name="capacity" desc="Filepaths max entries" />
|
|
279
|
+
<Field type="unsigned int" name="count" desc="Filepaths entries count" />
|
|
280
|
+
<Field type="char **" name="paths" desc="Filepaths entries" />
|
|
208
281
|
</Struct>
|
|
209
282
|
</Structs>
|
|
283
|
+
<Aliases count="5">
|
|
284
|
+
<Alias type="Quaternion" name="Vector4" desc="Quaternion, 4 components (Vector4 alias)" />
|
|
285
|
+
<Alias type="Texture2D" name="Texture" desc="Texture2D, same as Texture" />
|
|
286
|
+
<Alias type="TextureCubemap" name="Texture" desc="TextureCubemap, same as Texture" />
|
|
287
|
+
<Alias type="RenderTexture2D" name="RenderTexture" desc="RenderTexture2D, same as RenderTexture" />
|
|
288
|
+
<Alias type="Camera" name="Camera3D" desc="Camera type fallback, defaults to Camera3D" />
|
|
289
|
+
</Aliases>
|
|
210
290
|
<Enums count="21">
|
|
211
|
-
<Enum name="ConfigFlags" valueCount="
|
|
212
|
-
<Value name="FLAG_VSYNC_HINT" integer="64" desc="" />
|
|
213
|
-
<Value name="FLAG_FULLSCREEN_MODE" integer="2" desc="" />
|
|
214
|
-
<Value name="FLAG_WINDOW_RESIZABLE" integer="4" desc="" />
|
|
215
|
-
<Value name="FLAG_WINDOW_UNDECORATED" integer="8" desc="" />
|
|
216
|
-
<Value name="FLAG_WINDOW_HIDDEN" integer="128" desc="" />
|
|
217
|
-
<Value name="FLAG_WINDOW_MINIMIZED" integer="512" desc="" />
|
|
218
|
-
<Value name="FLAG_WINDOW_MAXIMIZED" integer="1024" desc="" />
|
|
219
|
-
<Value name="FLAG_WINDOW_UNFOCUSED" integer="2048" desc="" />
|
|
220
|
-
<Value name="FLAG_WINDOW_TOPMOST" integer="4096" desc="" />
|
|
221
|
-
<Value name="FLAG_WINDOW_ALWAYS_RUN" integer="256" desc="" />
|
|
222
|
-
<Value name="FLAG_WINDOW_TRANSPARENT" integer="16" desc="" />
|
|
223
|
-
<Value name="FLAG_WINDOW_HIGHDPI" integer="8192" desc="" />
|
|
224
|
-
<Value name="
|
|
225
|
-
<Value name="
|
|
291
|
+
<Enum name="ConfigFlags" valueCount="15" desc="System/Window config flags">
|
|
292
|
+
<Value name="FLAG_VSYNC_HINT" integer="64" desc="Set to try enabling V-Sync on GPU" />
|
|
293
|
+
<Value name="FLAG_FULLSCREEN_MODE" integer="2" desc="Set to run program in fullscreen" />
|
|
294
|
+
<Value name="FLAG_WINDOW_RESIZABLE" integer="4" desc="Set to allow resizable window" />
|
|
295
|
+
<Value name="FLAG_WINDOW_UNDECORATED" integer="8" desc="Set to disable window decoration (frame and buttons)" />
|
|
296
|
+
<Value name="FLAG_WINDOW_HIDDEN" integer="128" desc="Set to hide window" />
|
|
297
|
+
<Value name="FLAG_WINDOW_MINIMIZED" integer="512" desc="Set to minimize window (iconify)" />
|
|
298
|
+
<Value name="FLAG_WINDOW_MAXIMIZED" integer="1024" desc="Set to maximize window (expanded to monitor)" />
|
|
299
|
+
<Value name="FLAG_WINDOW_UNFOCUSED" integer="2048" desc="Set to window non focused" />
|
|
300
|
+
<Value name="FLAG_WINDOW_TOPMOST" integer="4096" desc="Set to window always on top" />
|
|
301
|
+
<Value name="FLAG_WINDOW_ALWAYS_RUN" integer="256" desc="Set to allow windows running while minimized" />
|
|
302
|
+
<Value name="FLAG_WINDOW_TRANSPARENT" integer="16" desc="Set to allow transparent framebuffer" />
|
|
303
|
+
<Value name="FLAG_WINDOW_HIGHDPI" integer="8192" desc="Set to support HighDPI" />
|
|
304
|
+
<Value name="FLAG_WINDOW_MOUSE_PASSTHROUGH" integer="16384" desc="Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED" />
|
|
305
|
+
<Value name="FLAG_MSAA_4X_HINT" integer="32" desc="Set to try enabling MSAA 4X" />
|
|
306
|
+
<Value name="FLAG_INTERLACED_HINT" integer="65536" desc="Set to try enabling interlaced video format (for V3D)" />
|
|
226
307
|
</Enum>
|
|
227
|
-
<Enum name="TraceLogLevel" valueCount="8" desc="">
|
|
228
|
-
<Value name="LOG_ALL" integer="0" desc="" />
|
|
229
|
-
<Value name="LOG_TRACE" integer="1" desc="" />
|
|
230
|
-
<Value name="LOG_DEBUG" integer="2" desc="" />
|
|
231
|
-
<Value name="LOG_INFO" integer="3" desc="" />
|
|
232
|
-
<Value name="LOG_WARNING" integer="4" desc="" />
|
|
233
|
-
<Value name="LOG_ERROR" integer="5" desc="" />
|
|
234
|
-
<Value name="LOG_FATAL" integer="6" desc="" />
|
|
235
|
-
<Value name="LOG_NONE" integer="7" desc="" />
|
|
308
|
+
<Enum name="TraceLogLevel" valueCount="8" desc="Trace log level">
|
|
309
|
+
<Value name="LOG_ALL" integer="0" desc="Display all logs" />
|
|
310
|
+
<Value name="LOG_TRACE" integer="1" desc="Trace logging, intended for internal use only" />
|
|
311
|
+
<Value name="LOG_DEBUG" integer="2" desc="Debug logging, used for internal debugging, it should be disabled on release builds" />
|
|
312
|
+
<Value name="LOG_INFO" integer="3" desc="Info logging, used for program execution info" />
|
|
313
|
+
<Value name="LOG_WARNING" integer="4" desc="Warning logging, used on recoverable failures" />
|
|
314
|
+
<Value name="LOG_ERROR" integer="5" desc="Error logging, used on unrecoverable failures" />
|
|
315
|
+
<Value name="LOG_FATAL" integer="6" desc="Fatal logging, used to abort program: exit(EXIT_FAILURE)" />
|
|
316
|
+
<Value name="LOG_NONE" integer="7" desc="Disable logging" />
|
|
236
317
|
</Enum>
|
|
237
|
-
<Enum name="KeyboardKey" valueCount="110" desc="">
|
|
238
|
-
<Value name="KEY_NULL" integer="0" desc="" />
|
|
239
|
-
<Value name="KEY_APOSTROPHE" integer="39" desc="" />
|
|
240
|
-
<Value name="KEY_COMMA" integer="44" desc="" />
|
|
241
|
-
<Value name="KEY_MINUS" integer="45" desc="" />
|
|
242
|
-
<Value name="KEY_PERIOD" integer="46" desc="" />
|
|
243
|
-
<Value name="KEY_SLASH" integer="47" desc="" />
|
|
244
|
-
<Value name="KEY_ZERO" integer="48" desc="" />
|
|
245
|
-
<Value name="KEY_ONE" integer="49" desc="" />
|
|
246
|
-
<Value name="KEY_TWO" integer="50" desc="" />
|
|
247
|
-
<Value name="KEY_THREE" integer="51" desc="" />
|
|
248
|
-
<Value name="KEY_FOUR" integer="52" desc="" />
|
|
249
|
-
<Value name="KEY_FIVE" integer="53" desc="" />
|
|
250
|
-
<Value name="KEY_SIX" integer="54" desc="" />
|
|
251
|
-
<Value name="KEY_SEVEN" integer="55" desc="" />
|
|
252
|
-
<Value name="KEY_EIGHT" integer="56" desc="" />
|
|
253
|
-
<Value name="KEY_NINE" integer="57" desc="" />
|
|
254
|
-
<Value name="KEY_SEMICOLON" integer="59" desc="" />
|
|
255
|
-
<Value name="KEY_EQUAL" integer="61" desc="" />
|
|
256
|
-
<Value name="KEY_A" integer="65" desc="" />
|
|
257
|
-
<Value name="KEY_B" integer="66" desc="" />
|
|
258
|
-
<Value name="KEY_C" integer="67" desc="" />
|
|
259
|
-
<Value name="KEY_D" integer="68" desc="" />
|
|
260
|
-
<Value name="KEY_E" integer="69" desc="" />
|
|
261
|
-
<Value name="KEY_F" integer="70" desc="" />
|
|
262
|
-
<Value name="KEY_G" integer="71" desc="" />
|
|
263
|
-
<Value name="KEY_H" integer="72" desc="" />
|
|
264
|
-
<Value name="KEY_I" integer="73" desc="" />
|
|
265
|
-
<Value name="KEY_J" integer="74" desc="" />
|
|
266
|
-
<Value name="KEY_K" integer="75" desc="" />
|
|
267
|
-
<Value name="KEY_L" integer="76" desc="" />
|
|
268
|
-
<Value name="KEY_M" integer="77" desc="" />
|
|
269
|
-
<Value name="KEY_N" integer="78" desc="" />
|
|
270
|
-
<Value name="KEY_O" integer="79" desc="" />
|
|
271
|
-
<Value name="KEY_P" integer="80" desc="" />
|
|
272
|
-
<Value name="KEY_Q" integer="81" desc="" />
|
|
273
|
-
<Value name="KEY_R" integer="82" desc="" />
|
|
274
|
-
<Value name="KEY_S" integer="83" desc="" />
|
|
275
|
-
<Value name="KEY_T" integer="84" desc="" />
|
|
276
|
-
<Value name="KEY_U" integer="85" desc="" />
|
|
277
|
-
<Value name="KEY_V" integer="86" desc="" />
|
|
278
|
-
<Value name="KEY_W" integer="87" desc="" />
|
|
279
|
-
<Value name="KEY_X" integer="88" desc="" />
|
|
280
|
-
<Value name="KEY_Y" integer="89" desc="" />
|
|
281
|
-
<Value name="KEY_Z" integer="90" desc="" />
|
|
282
|
-
<Value name="
|
|
283
|
-
<Value name="
|
|
284
|
-
<Value name="
|
|
285
|
-
<Value name="
|
|
286
|
-
<Value name="
|
|
287
|
-
<Value name="
|
|
288
|
-
<Value name="
|
|
289
|
-
<Value name="
|
|
290
|
-
<Value name="
|
|
291
|
-
<Value name="
|
|
292
|
-
<Value name="
|
|
293
|
-
<Value name="
|
|
294
|
-
<Value name="
|
|
295
|
-
<Value name="
|
|
296
|
-
<Value name="
|
|
297
|
-
<Value name="
|
|
298
|
-
<Value name="
|
|
299
|
-
<Value name="
|
|
300
|
-
<Value name="
|
|
301
|
-
<Value name="
|
|
302
|
-
<Value name="
|
|
303
|
-
<Value name="
|
|
304
|
-
<Value name="
|
|
305
|
-
<Value name="
|
|
306
|
-
<Value name="
|
|
307
|
-
<Value name="
|
|
308
|
-
<Value name="
|
|
309
|
-
<Value name="
|
|
310
|
-
<Value name="
|
|
311
|
-
<Value name="
|
|
312
|
-
<Value name="
|
|
313
|
-
<Value name="
|
|
314
|
-
<Value name="
|
|
315
|
-
<Value name="
|
|
316
|
-
<Value name="
|
|
317
|
-
<Value name="
|
|
318
|
-
<Value name="
|
|
319
|
-
<Value name="
|
|
320
|
-
<Value name="
|
|
321
|
-
<Value name="
|
|
322
|
-
<Value name="
|
|
323
|
-
<Value name="
|
|
324
|
-
<Value name="
|
|
325
|
-
<Value name="
|
|
326
|
-
<Value name="
|
|
327
|
-
<Value name="KEY_KP_0" integer="320" desc="" />
|
|
328
|
-
<Value name="KEY_KP_1" integer="321" desc="" />
|
|
329
|
-
<Value name="KEY_KP_2" integer="322" desc="" />
|
|
330
|
-
<Value name="KEY_KP_3" integer="323" desc="" />
|
|
331
|
-
<Value name="KEY_KP_4" integer="324" desc="" />
|
|
332
|
-
<Value name="KEY_KP_5" integer="325" desc="" />
|
|
333
|
-
<Value name="KEY_KP_6" integer="326" desc="" />
|
|
334
|
-
<Value name="KEY_KP_7" integer="327" desc="" />
|
|
335
|
-
<Value name="KEY_KP_8" integer="328" desc="" />
|
|
336
|
-
<Value name="KEY_KP_9" integer="329" desc="" />
|
|
337
|
-
<Value name="KEY_KP_DECIMAL" integer="330" desc="" />
|
|
338
|
-
<Value name="KEY_KP_DIVIDE" integer="331" desc="" />
|
|
339
|
-
<Value name="KEY_KP_MULTIPLY" integer="332" desc="" />
|
|
340
|
-
<Value name="KEY_KP_SUBTRACT" integer="333" desc="" />
|
|
341
|
-
<Value name="KEY_KP_ADD" integer="334" desc="" />
|
|
342
|
-
<Value name="KEY_KP_ENTER" integer="335" desc="" />
|
|
343
|
-
<Value name="KEY_KP_EQUAL" integer="336" desc="" />
|
|
344
|
-
<Value name="KEY_BACK" integer="4" desc="" />
|
|
345
|
-
<Value name="KEY_MENU" integer="82" desc="" />
|
|
346
|
-
<Value name="KEY_VOLUME_UP" integer="24" desc="" />
|
|
347
|
-
<Value name="KEY_VOLUME_DOWN" integer="25" desc="" />
|
|
318
|
+
<Enum name="KeyboardKey" valueCount="110" desc="Keyboard keys (US keyboard layout)">
|
|
319
|
+
<Value name="KEY_NULL" integer="0" desc="Key: NULL, used for no key pressed" />
|
|
320
|
+
<Value name="KEY_APOSTROPHE" integer="39" desc="Key: '" />
|
|
321
|
+
<Value name="KEY_COMMA" integer="44" desc="Key: ," />
|
|
322
|
+
<Value name="KEY_MINUS" integer="45" desc="Key: -" />
|
|
323
|
+
<Value name="KEY_PERIOD" integer="46" desc="Key: ." />
|
|
324
|
+
<Value name="KEY_SLASH" integer="47" desc="Key: /" />
|
|
325
|
+
<Value name="KEY_ZERO" integer="48" desc="Key: 0" />
|
|
326
|
+
<Value name="KEY_ONE" integer="49" desc="Key: 1" />
|
|
327
|
+
<Value name="KEY_TWO" integer="50" desc="Key: 2" />
|
|
328
|
+
<Value name="KEY_THREE" integer="51" desc="Key: 3" />
|
|
329
|
+
<Value name="KEY_FOUR" integer="52" desc="Key: 4" />
|
|
330
|
+
<Value name="KEY_FIVE" integer="53" desc="Key: 5" />
|
|
331
|
+
<Value name="KEY_SIX" integer="54" desc="Key: 6" />
|
|
332
|
+
<Value name="KEY_SEVEN" integer="55" desc="Key: 7" />
|
|
333
|
+
<Value name="KEY_EIGHT" integer="56" desc="Key: 8" />
|
|
334
|
+
<Value name="KEY_NINE" integer="57" desc="Key: 9" />
|
|
335
|
+
<Value name="KEY_SEMICOLON" integer="59" desc="Key: ;" />
|
|
336
|
+
<Value name="KEY_EQUAL" integer="61" desc="Key: =" />
|
|
337
|
+
<Value name="KEY_A" integer="65" desc="Key: A | a" />
|
|
338
|
+
<Value name="KEY_B" integer="66" desc="Key: B | b" />
|
|
339
|
+
<Value name="KEY_C" integer="67" desc="Key: C | c" />
|
|
340
|
+
<Value name="KEY_D" integer="68" desc="Key: D | d" />
|
|
341
|
+
<Value name="KEY_E" integer="69" desc="Key: E | e" />
|
|
342
|
+
<Value name="KEY_F" integer="70" desc="Key: F | f" />
|
|
343
|
+
<Value name="KEY_G" integer="71" desc="Key: G | g" />
|
|
344
|
+
<Value name="KEY_H" integer="72" desc="Key: H | h" />
|
|
345
|
+
<Value name="KEY_I" integer="73" desc="Key: I | i" />
|
|
346
|
+
<Value name="KEY_J" integer="74" desc="Key: J | j" />
|
|
347
|
+
<Value name="KEY_K" integer="75" desc="Key: K | k" />
|
|
348
|
+
<Value name="KEY_L" integer="76" desc="Key: L | l" />
|
|
349
|
+
<Value name="KEY_M" integer="77" desc="Key: M | m" />
|
|
350
|
+
<Value name="KEY_N" integer="78" desc="Key: N | n" />
|
|
351
|
+
<Value name="KEY_O" integer="79" desc="Key: O | o" />
|
|
352
|
+
<Value name="KEY_P" integer="80" desc="Key: P | p" />
|
|
353
|
+
<Value name="KEY_Q" integer="81" desc="Key: Q | q" />
|
|
354
|
+
<Value name="KEY_R" integer="82" desc="Key: R | r" />
|
|
355
|
+
<Value name="KEY_S" integer="83" desc="Key: S | s" />
|
|
356
|
+
<Value name="KEY_T" integer="84" desc="Key: T | t" />
|
|
357
|
+
<Value name="KEY_U" integer="85" desc="Key: U | u" />
|
|
358
|
+
<Value name="KEY_V" integer="86" desc="Key: V | v" />
|
|
359
|
+
<Value name="KEY_W" integer="87" desc="Key: W | w" />
|
|
360
|
+
<Value name="KEY_X" integer="88" desc="Key: X | x" />
|
|
361
|
+
<Value name="KEY_Y" integer="89" desc="Key: Y | y" />
|
|
362
|
+
<Value name="KEY_Z" integer="90" desc="Key: Z | z" />
|
|
363
|
+
<Value name="KEY_LEFT_BRACKET" integer="91" desc="Key: [" />
|
|
364
|
+
<Value name="KEY_BACKSLASH" integer="92" desc="Key: '\'" />
|
|
365
|
+
<Value name="KEY_RIGHT_BRACKET" integer="93" desc="Key: ]" />
|
|
366
|
+
<Value name="KEY_GRAVE" integer="96" desc="Key: `" />
|
|
367
|
+
<Value name="KEY_SPACE" integer="32" desc="Key: Space" />
|
|
368
|
+
<Value name="KEY_ESCAPE" integer="256" desc="Key: Esc" />
|
|
369
|
+
<Value name="KEY_ENTER" integer="257" desc="Key: Enter" />
|
|
370
|
+
<Value name="KEY_TAB" integer="258" desc="Key: Tab" />
|
|
371
|
+
<Value name="KEY_BACKSPACE" integer="259" desc="Key: Backspace" />
|
|
372
|
+
<Value name="KEY_INSERT" integer="260" desc="Key: Ins" />
|
|
373
|
+
<Value name="KEY_DELETE" integer="261" desc="Key: Del" />
|
|
374
|
+
<Value name="KEY_RIGHT" integer="262" desc="Key: Cursor right" />
|
|
375
|
+
<Value name="KEY_LEFT" integer="263" desc="Key: Cursor left" />
|
|
376
|
+
<Value name="KEY_DOWN" integer="264" desc="Key: Cursor down" />
|
|
377
|
+
<Value name="KEY_UP" integer="265" desc="Key: Cursor up" />
|
|
378
|
+
<Value name="KEY_PAGE_UP" integer="266" desc="Key: Page up" />
|
|
379
|
+
<Value name="KEY_PAGE_DOWN" integer="267" desc="Key: Page down" />
|
|
380
|
+
<Value name="KEY_HOME" integer="268" desc="Key: Home" />
|
|
381
|
+
<Value name="KEY_END" integer="269" desc="Key: End" />
|
|
382
|
+
<Value name="KEY_CAPS_LOCK" integer="280" desc="Key: Caps lock" />
|
|
383
|
+
<Value name="KEY_SCROLL_LOCK" integer="281" desc="Key: Scroll down" />
|
|
384
|
+
<Value name="KEY_NUM_LOCK" integer="282" desc="Key: Num lock" />
|
|
385
|
+
<Value name="KEY_PRINT_SCREEN" integer="283" desc="Key: Print screen" />
|
|
386
|
+
<Value name="KEY_PAUSE" integer="284" desc="Key: Pause" />
|
|
387
|
+
<Value name="KEY_F1" integer="290" desc="Key: F1" />
|
|
388
|
+
<Value name="KEY_F2" integer="291" desc="Key: F2" />
|
|
389
|
+
<Value name="KEY_F3" integer="292" desc="Key: F3" />
|
|
390
|
+
<Value name="KEY_F4" integer="293" desc="Key: F4" />
|
|
391
|
+
<Value name="KEY_F5" integer="294" desc="Key: F5" />
|
|
392
|
+
<Value name="KEY_F6" integer="295" desc="Key: F6" />
|
|
393
|
+
<Value name="KEY_F7" integer="296" desc="Key: F7" />
|
|
394
|
+
<Value name="KEY_F8" integer="297" desc="Key: F8" />
|
|
395
|
+
<Value name="KEY_F9" integer="298" desc="Key: F9" />
|
|
396
|
+
<Value name="KEY_F10" integer="299" desc="Key: F10" />
|
|
397
|
+
<Value name="KEY_F11" integer="300" desc="Key: F11" />
|
|
398
|
+
<Value name="KEY_F12" integer="301" desc="Key: F12" />
|
|
399
|
+
<Value name="KEY_LEFT_SHIFT" integer="340" desc="Key: Shift left" />
|
|
400
|
+
<Value name="KEY_LEFT_CONTROL" integer="341" desc="Key: Control left" />
|
|
401
|
+
<Value name="KEY_LEFT_ALT" integer="342" desc="Key: Alt left" />
|
|
402
|
+
<Value name="KEY_LEFT_SUPER" integer="343" desc="Key: Super left" />
|
|
403
|
+
<Value name="KEY_RIGHT_SHIFT" integer="344" desc="Key: Shift right" />
|
|
404
|
+
<Value name="KEY_RIGHT_CONTROL" integer="345" desc="Key: Control right" />
|
|
405
|
+
<Value name="KEY_RIGHT_ALT" integer="346" desc="Key: Alt right" />
|
|
406
|
+
<Value name="KEY_RIGHT_SUPER" integer="347" desc="Key: Super right" />
|
|
407
|
+
<Value name="KEY_KB_MENU" integer="348" desc="Key: KB menu" />
|
|
408
|
+
<Value name="KEY_KP_0" integer="320" desc="Key: Keypad 0" />
|
|
409
|
+
<Value name="KEY_KP_1" integer="321" desc="Key: Keypad 1" />
|
|
410
|
+
<Value name="KEY_KP_2" integer="322" desc="Key: Keypad 2" />
|
|
411
|
+
<Value name="KEY_KP_3" integer="323" desc="Key: Keypad 3" />
|
|
412
|
+
<Value name="KEY_KP_4" integer="324" desc="Key: Keypad 4" />
|
|
413
|
+
<Value name="KEY_KP_5" integer="325" desc="Key: Keypad 5" />
|
|
414
|
+
<Value name="KEY_KP_6" integer="326" desc="Key: Keypad 6" />
|
|
415
|
+
<Value name="KEY_KP_7" integer="327" desc="Key: Keypad 7" />
|
|
416
|
+
<Value name="KEY_KP_8" integer="328" desc="Key: Keypad 8" />
|
|
417
|
+
<Value name="KEY_KP_9" integer="329" desc="Key: Keypad 9" />
|
|
418
|
+
<Value name="KEY_KP_DECIMAL" integer="330" desc="Key: Keypad ." />
|
|
419
|
+
<Value name="KEY_KP_DIVIDE" integer="331" desc="Key: Keypad /" />
|
|
420
|
+
<Value name="KEY_KP_MULTIPLY" integer="332" desc="Key: Keypad *" />
|
|
421
|
+
<Value name="KEY_KP_SUBTRACT" integer="333" desc="Key: Keypad -" />
|
|
422
|
+
<Value name="KEY_KP_ADD" integer="334" desc="Key: Keypad +" />
|
|
423
|
+
<Value name="KEY_KP_ENTER" integer="335" desc="Key: Keypad Enter" />
|
|
424
|
+
<Value name="KEY_KP_EQUAL" integer="336" desc="Key: Keypad =" />
|
|
425
|
+
<Value name="KEY_BACK" integer="4" desc="Key: Android back button" />
|
|
426
|
+
<Value name="KEY_MENU" integer="82" desc="Key: Android menu button" />
|
|
427
|
+
<Value name="KEY_VOLUME_UP" integer="24" desc="Key: Android volume up button" />
|
|
428
|
+
<Value name="KEY_VOLUME_DOWN" integer="25" desc="Key: Android volume down button" />
|
|
348
429
|
</Enum>
|
|
349
|
-
<Enum name="MouseButton" valueCount="7" desc="">
|
|
350
|
-
<Value name="MOUSE_BUTTON_LEFT" integer="0" desc="" />
|
|
351
|
-
<Value name="MOUSE_BUTTON_RIGHT" integer="1" desc="" />
|
|
352
|
-
<Value name="MOUSE_BUTTON_MIDDLE" integer="2" desc="" />
|
|
353
|
-
<Value name="MOUSE_BUTTON_SIDE" integer="3" desc="" />
|
|
354
|
-
<Value name="MOUSE_BUTTON_EXTRA" integer="4" desc="" />
|
|
355
|
-
<Value name="MOUSE_BUTTON_FORWARD" integer="5" desc="" />
|
|
356
|
-
<Value name="MOUSE_BUTTON_BACK" integer="6" desc="" />
|
|
430
|
+
<Enum name="MouseButton" valueCount="7" desc="Mouse buttons">
|
|
431
|
+
<Value name="MOUSE_BUTTON_LEFT" integer="0" desc="Mouse button left" />
|
|
432
|
+
<Value name="MOUSE_BUTTON_RIGHT" integer="1" desc="Mouse button right" />
|
|
433
|
+
<Value name="MOUSE_BUTTON_MIDDLE" integer="2" desc="Mouse button middle (pressed wheel)" />
|
|
434
|
+
<Value name="MOUSE_BUTTON_SIDE" integer="3" desc="Mouse button side (advanced mouse device)" />
|
|
435
|
+
<Value name="MOUSE_BUTTON_EXTRA" integer="4" desc="Mouse button extra (advanced mouse device)" />
|
|
436
|
+
<Value name="MOUSE_BUTTON_FORWARD" integer="5" desc="Mouse button fordward (advanced mouse device)" />
|
|
437
|
+
<Value name="MOUSE_BUTTON_BACK" integer="6" desc="Mouse button back (advanced mouse device)" />
|
|
357
438
|
</Enum>
|
|
358
|
-
<Enum name="MouseCursor" valueCount="11" desc="">
|
|
359
|
-
<Value name="MOUSE_CURSOR_DEFAULT" integer="0" desc="" />
|
|
360
|
-
<Value name="MOUSE_CURSOR_ARROW" integer="1" desc="" />
|
|
361
|
-
<Value name="MOUSE_CURSOR_IBEAM" integer="2" desc="" />
|
|
362
|
-
<Value name="MOUSE_CURSOR_CROSSHAIR" integer="3" desc="" />
|
|
363
|
-
<Value name="MOUSE_CURSOR_POINTING_HAND" integer="4" desc="" />
|
|
364
|
-
<Value name="MOUSE_CURSOR_RESIZE_EW" integer="5" desc="" />
|
|
365
|
-
<Value name="MOUSE_CURSOR_RESIZE_NS" integer="6" desc="" />
|
|
366
|
-
<Value name="MOUSE_CURSOR_RESIZE_NWSE" integer="7" desc="" />
|
|
367
|
-
<Value name="MOUSE_CURSOR_RESIZE_NESW" integer="8" desc="" />
|
|
368
|
-
<Value name="MOUSE_CURSOR_RESIZE_ALL" integer="9" desc="" />
|
|
369
|
-
<Value name="MOUSE_CURSOR_NOT_ALLOWED" integer="10" desc="" />
|
|
439
|
+
<Enum name="MouseCursor" valueCount="11" desc="Mouse cursor">
|
|
440
|
+
<Value name="MOUSE_CURSOR_DEFAULT" integer="0" desc="Default pointer shape" />
|
|
441
|
+
<Value name="MOUSE_CURSOR_ARROW" integer="1" desc="Arrow shape" />
|
|
442
|
+
<Value name="MOUSE_CURSOR_IBEAM" integer="2" desc="Text writing cursor shape" />
|
|
443
|
+
<Value name="MOUSE_CURSOR_CROSSHAIR" integer="3" desc="Cross shape" />
|
|
444
|
+
<Value name="MOUSE_CURSOR_POINTING_HAND" integer="4" desc="Pointing hand cursor" />
|
|
445
|
+
<Value name="MOUSE_CURSOR_RESIZE_EW" integer="5" desc="Horizontal resize/move arrow shape" />
|
|
446
|
+
<Value name="MOUSE_CURSOR_RESIZE_NS" integer="6" desc="Vertical resize/move arrow shape" />
|
|
447
|
+
<Value name="MOUSE_CURSOR_RESIZE_NWSE" integer="7" desc="Top-left to bottom-right diagonal resize/move arrow shape" />
|
|
448
|
+
<Value name="MOUSE_CURSOR_RESIZE_NESW" integer="8" desc="The top-right to bottom-left diagonal resize/move arrow shape" />
|
|
449
|
+
<Value name="MOUSE_CURSOR_RESIZE_ALL" integer="9" desc="The omni-directional resize/move cursor shape" />
|
|
450
|
+
<Value name="MOUSE_CURSOR_NOT_ALLOWED" integer="10" desc="The operation-not-allowed shape" />
|
|
370
451
|
</Enum>
|
|
371
|
-
<Enum name="GamepadButton" valueCount="18" desc="">
|
|
372
|
-
<Value name="GAMEPAD_BUTTON_UNKNOWN" integer="0" desc="" />
|
|
373
|
-
<Value name="GAMEPAD_BUTTON_LEFT_FACE_UP" integer="1" desc="" />
|
|
374
|
-
<Value name="GAMEPAD_BUTTON_LEFT_FACE_RIGHT" integer="2" desc="" />
|
|
375
|
-
<Value name="GAMEPAD_BUTTON_LEFT_FACE_DOWN" integer="3" desc="" />
|
|
376
|
-
<Value name="GAMEPAD_BUTTON_LEFT_FACE_LEFT" integer="4" desc="" />
|
|
377
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_UP" integer="5" desc="" />
|
|
378
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_RIGHT" integer="6" desc="" />
|
|
379
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_DOWN" integer="7" desc="" />
|
|
380
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_LEFT" integer="8" desc="" />
|
|
381
|
-
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_1" integer="9" desc="" />
|
|
382
|
-
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_2" integer="10" desc="" />
|
|
383
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_1" integer="11" desc="" />
|
|
384
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_2" integer="12" desc="" />
|
|
385
|
-
<Value name="GAMEPAD_BUTTON_MIDDLE_LEFT" integer="13" desc="" />
|
|
386
|
-
<Value name="GAMEPAD_BUTTON_MIDDLE" integer="14" desc="" />
|
|
387
|
-
<Value name="GAMEPAD_BUTTON_MIDDLE_RIGHT" integer="15" desc="" />
|
|
388
|
-
<Value name="GAMEPAD_BUTTON_LEFT_THUMB" integer="16" desc="" />
|
|
389
|
-
<Value name="GAMEPAD_BUTTON_RIGHT_THUMB" integer="17" desc="" />
|
|
452
|
+
<Enum name="GamepadButton" valueCount="18" desc="Gamepad buttons">
|
|
453
|
+
<Value name="GAMEPAD_BUTTON_UNKNOWN" integer="0" desc="Unknown button, just for error checking" />
|
|
454
|
+
<Value name="GAMEPAD_BUTTON_LEFT_FACE_UP" integer="1" desc="Gamepad left DPAD up button" />
|
|
455
|
+
<Value name="GAMEPAD_BUTTON_LEFT_FACE_RIGHT" integer="2" desc="Gamepad left DPAD right button" />
|
|
456
|
+
<Value name="GAMEPAD_BUTTON_LEFT_FACE_DOWN" integer="3" desc="Gamepad left DPAD down button" />
|
|
457
|
+
<Value name="GAMEPAD_BUTTON_LEFT_FACE_LEFT" integer="4" desc="Gamepad left DPAD left button" />
|
|
458
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_UP" integer="5" desc="Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" />
|
|
459
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_RIGHT" integer="6" desc="Gamepad right button right (i.e. PS3: Square, Xbox: X)" />
|
|
460
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_DOWN" integer="7" desc="Gamepad right button down (i.e. PS3: Cross, Xbox: A)" />
|
|
461
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_LEFT" integer="8" desc="Gamepad right button left (i.e. PS3: Circle, Xbox: B)" />
|
|
462
|
+
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_1" integer="9" desc="Gamepad top/back trigger left (first), it could be a trailing button" />
|
|
463
|
+
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_2" integer="10" desc="Gamepad top/back trigger left (second), it could be a trailing button" />
|
|
464
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_1" integer="11" desc="Gamepad top/back trigger right (one), it could be a trailing button" />
|
|
465
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_2" integer="12" desc="Gamepad top/back trigger right (second), it could be a trailing button" />
|
|
466
|
+
<Value name="GAMEPAD_BUTTON_MIDDLE_LEFT" integer="13" desc="Gamepad center buttons, left one (i.e. PS3: Select)" />
|
|
467
|
+
<Value name="GAMEPAD_BUTTON_MIDDLE" integer="14" desc="Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)" />
|
|
468
|
+
<Value name="GAMEPAD_BUTTON_MIDDLE_RIGHT" integer="15" desc="Gamepad center buttons, right one (i.e. PS3: Start)" />
|
|
469
|
+
<Value name="GAMEPAD_BUTTON_LEFT_THUMB" integer="16" desc="Gamepad joystick pressed button left" />
|
|
470
|
+
<Value name="GAMEPAD_BUTTON_RIGHT_THUMB" integer="17" desc="Gamepad joystick pressed button right" />
|
|
390
471
|
</Enum>
|
|
391
|
-
<Enum name="GamepadAxis" valueCount="6" desc="">
|
|
392
|
-
<Value name="GAMEPAD_AXIS_LEFT_X" integer="0" desc="" />
|
|
393
|
-
<Value name="GAMEPAD_AXIS_LEFT_Y" integer="1" desc="" />
|
|
394
|
-
<Value name="GAMEPAD_AXIS_RIGHT_X" integer="2" desc="" />
|
|
395
|
-
<Value name="GAMEPAD_AXIS_RIGHT_Y" integer="3" desc="" />
|
|
396
|
-
<Value name="GAMEPAD_AXIS_LEFT_TRIGGER" integer="4" desc="" />
|
|
397
|
-
<Value name="GAMEPAD_AXIS_RIGHT_TRIGGER" integer="5" desc="" />
|
|
472
|
+
<Enum name="GamepadAxis" valueCount="6" desc="Gamepad axis">
|
|
473
|
+
<Value name="GAMEPAD_AXIS_LEFT_X" integer="0" desc="Gamepad left stick X axis" />
|
|
474
|
+
<Value name="GAMEPAD_AXIS_LEFT_Y" integer="1" desc="Gamepad left stick Y axis" />
|
|
475
|
+
<Value name="GAMEPAD_AXIS_RIGHT_X" integer="2" desc="Gamepad right stick X axis" />
|
|
476
|
+
<Value name="GAMEPAD_AXIS_RIGHT_Y" integer="3" desc="Gamepad right stick Y axis" />
|
|
477
|
+
<Value name="GAMEPAD_AXIS_LEFT_TRIGGER" integer="4" desc="Gamepad back trigger left, pressure level: [1..-1]" />
|
|
478
|
+
<Value name="GAMEPAD_AXIS_RIGHT_TRIGGER" integer="5" desc="Gamepad back trigger right, pressure level: [1..-1]" />
|
|
398
479
|
</Enum>
|
|
399
|
-
<Enum name="MaterialMapIndex" valueCount="11" desc="">
|
|
400
|
-
<Value name="MATERIAL_MAP_ALBEDO" integer="0" desc="" />
|
|
401
|
-
<Value name="MATERIAL_MAP_METALNESS" integer="1" desc="" />
|
|
402
|
-
<Value name="MATERIAL_MAP_NORMAL" integer="2" desc="" />
|
|
403
|
-
<Value name="MATERIAL_MAP_ROUGHNESS" integer="3" desc="" />
|
|
404
|
-
<Value name="MATERIAL_MAP_OCCLUSION" integer="4" desc="" />
|
|
405
|
-
<Value name="MATERIAL_MAP_EMISSION" integer="5" desc="" />
|
|
406
|
-
<Value name="MATERIAL_MAP_HEIGHT" integer="6" desc="" />
|
|
407
|
-
<Value name="MATERIAL_MAP_CUBEMAP" integer="7" desc="" />
|
|
408
|
-
<Value name="MATERIAL_MAP_IRRADIANCE" integer="8" desc="" />
|
|
409
|
-
<Value name="MATERIAL_MAP_PREFILTER" integer="9" desc="" />
|
|
410
|
-
<Value name="MATERIAL_MAP_BRDF" integer="10" desc="" />
|
|
480
|
+
<Enum name="MaterialMapIndex" valueCount="11" desc="Material map index">
|
|
481
|
+
<Value name="MATERIAL_MAP_ALBEDO" integer="0" desc="Albedo material (same as: MATERIAL_MAP_DIFFUSE)" />
|
|
482
|
+
<Value name="MATERIAL_MAP_METALNESS" integer="1" desc="Metalness material (same as: MATERIAL_MAP_SPECULAR)" />
|
|
483
|
+
<Value name="MATERIAL_MAP_NORMAL" integer="2" desc="Normal material" />
|
|
484
|
+
<Value name="MATERIAL_MAP_ROUGHNESS" integer="3" desc="Roughness material" />
|
|
485
|
+
<Value name="MATERIAL_MAP_OCCLUSION" integer="4" desc="Ambient occlusion material" />
|
|
486
|
+
<Value name="MATERIAL_MAP_EMISSION" integer="5" desc="Emission material" />
|
|
487
|
+
<Value name="MATERIAL_MAP_HEIGHT" integer="6" desc="Heightmap material" />
|
|
488
|
+
<Value name="MATERIAL_MAP_CUBEMAP" integer="7" desc="Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" />
|
|
489
|
+
<Value name="MATERIAL_MAP_IRRADIANCE" integer="8" desc="Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" />
|
|
490
|
+
<Value name="MATERIAL_MAP_PREFILTER" integer="9" desc="Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" />
|
|
491
|
+
<Value name="MATERIAL_MAP_BRDF" integer="10" desc="Brdf material" />
|
|
411
492
|
</Enum>
|
|
412
|
-
<Enum name="ShaderLocationIndex" valueCount="26" desc="">
|
|
413
|
-
<Value name="SHADER_LOC_VERTEX_POSITION" integer="0" desc="" />
|
|
414
|
-
<Value name="SHADER_LOC_VERTEX_TEXCOORD01" integer="1" desc="" />
|
|
415
|
-
<Value name="SHADER_LOC_VERTEX_TEXCOORD02" integer="2" desc="" />
|
|
416
|
-
<Value name="SHADER_LOC_VERTEX_NORMAL" integer="3" desc="" />
|
|
417
|
-
<Value name="SHADER_LOC_VERTEX_TANGENT" integer="4" desc="" />
|
|
418
|
-
<Value name="SHADER_LOC_VERTEX_COLOR" integer="5" desc="" />
|
|
419
|
-
<Value name="SHADER_LOC_MATRIX_MVP" integer="6" desc="" />
|
|
420
|
-
<Value name="SHADER_LOC_MATRIX_VIEW" integer="7" desc="" />
|
|
421
|
-
<Value name="SHADER_LOC_MATRIX_PROJECTION" integer="8" desc="" />
|
|
422
|
-
<Value name="SHADER_LOC_MATRIX_MODEL" integer="9" desc="" />
|
|
423
|
-
<Value name="SHADER_LOC_MATRIX_NORMAL" integer="10" desc="" />
|
|
424
|
-
<Value name="SHADER_LOC_VECTOR_VIEW" integer="11" desc="" />
|
|
425
|
-
<Value name="SHADER_LOC_COLOR_DIFFUSE" integer="12" desc="" />
|
|
426
|
-
<Value name="SHADER_LOC_COLOR_SPECULAR" integer="13" desc="" />
|
|
427
|
-
<Value name="SHADER_LOC_COLOR_AMBIENT" integer="14" desc="" />
|
|
428
|
-
<Value name="SHADER_LOC_MAP_ALBEDO" integer="15" desc="" />
|
|
429
|
-
<Value name="SHADER_LOC_MAP_METALNESS" integer="16" desc="" />
|
|
430
|
-
<Value name="SHADER_LOC_MAP_NORMAL" integer="17" desc="" />
|
|
431
|
-
<Value name="SHADER_LOC_MAP_ROUGHNESS" integer="18" desc="" />
|
|
432
|
-
<Value name="SHADER_LOC_MAP_OCCLUSION" integer="19" desc="" />
|
|
433
|
-
<Value name="SHADER_LOC_MAP_EMISSION" integer="20" desc="" />
|
|
434
|
-
<Value name="SHADER_LOC_MAP_HEIGHT" integer="21" desc="" />
|
|
435
|
-
<Value name="SHADER_LOC_MAP_CUBEMAP" integer="22" desc="" />
|
|
436
|
-
<Value name="SHADER_LOC_MAP_IRRADIANCE" integer="23" desc="" />
|
|
437
|
-
<Value name="SHADER_LOC_MAP_PREFILTER" integer="24" desc="" />
|
|
438
|
-
<Value name="SHADER_LOC_MAP_BRDF" integer="25" desc="" />
|
|
493
|
+
<Enum name="ShaderLocationIndex" valueCount="26" desc="Shader location index">
|
|
494
|
+
<Value name="SHADER_LOC_VERTEX_POSITION" integer="0" desc="Shader location: vertex attribute: position" />
|
|
495
|
+
<Value name="SHADER_LOC_VERTEX_TEXCOORD01" integer="1" desc="Shader location: vertex attribute: texcoord01" />
|
|
496
|
+
<Value name="SHADER_LOC_VERTEX_TEXCOORD02" integer="2" desc="Shader location: vertex attribute: texcoord02" />
|
|
497
|
+
<Value name="SHADER_LOC_VERTEX_NORMAL" integer="3" desc="Shader location: vertex attribute: normal" />
|
|
498
|
+
<Value name="SHADER_LOC_VERTEX_TANGENT" integer="4" desc="Shader location: vertex attribute: tangent" />
|
|
499
|
+
<Value name="SHADER_LOC_VERTEX_COLOR" integer="5" desc="Shader location: vertex attribute: color" />
|
|
500
|
+
<Value name="SHADER_LOC_MATRIX_MVP" integer="6" desc="Shader location: matrix uniform: model-view-projection" />
|
|
501
|
+
<Value name="SHADER_LOC_MATRIX_VIEW" integer="7" desc="Shader location: matrix uniform: view (camera transform)" />
|
|
502
|
+
<Value name="SHADER_LOC_MATRIX_PROJECTION" integer="8" desc="Shader location: matrix uniform: projection" />
|
|
503
|
+
<Value name="SHADER_LOC_MATRIX_MODEL" integer="9" desc="Shader location: matrix uniform: model (transform)" />
|
|
504
|
+
<Value name="SHADER_LOC_MATRIX_NORMAL" integer="10" desc="Shader location: matrix uniform: normal" />
|
|
505
|
+
<Value name="SHADER_LOC_VECTOR_VIEW" integer="11" desc="Shader location: vector uniform: view" />
|
|
506
|
+
<Value name="SHADER_LOC_COLOR_DIFFUSE" integer="12" desc="Shader location: vector uniform: diffuse color" />
|
|
507
|
+
<Value name="SHADER_LOC_COLOR_SPECULAR" integer="13" desc="Shader location: vector uniform: specular color" />
|
|
508
|
+
<Value name="SHADER_LOC_COLOR_AMBIENT" integer="14" desc="Shader location: vector uniform: ambient color" />
|
|
509
|
+
<Value name="SHADER_LOC_MAP_ALBEDO" integer="15" desc="Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)" />
|
|
510
|
+
<Value name="SHADER_LOC_MAP_METALNESS" integer="16" desc="Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)" />
|
|
511
|
+
<Value name="SHADER_LOC_MAP_NORMAL" integer="17" desc="Shader location: sampler2d texture: normal" />
|
|
512
|
+
<Value name="SHADER_LOC_MAP_ROUGHNESS" integer="18" desc="Shader location: sampler2d texture: roughness" />
|
|
513
|
+
<Value name="SHADER_LOC_MAP_OCCLUSION" integer="19" desc="Shader location: sampler2d texture: occlusion" />
|
|
514
|
+
<Value name="SHADER_LOC_MAP_EMISSION" integer="20" desc="Shader location: sampler2d texture: emission" />
|
|
515
|
+
<Value name="SHADER_LOC_MAP_HEIGHT" integer="21" desc="Shader location: sampler2d texture: height" />
|
|
516
|
+
<Value name="SHADER_LOC_MAP_CUBEMAP" integer="22" desc="Shader location: samplerCube texture: cubemap" />
|
|
517
|
+
<Value name="SHADER_LOC_MAP_IRRADIANCE" integer="23" desc="Shader location: samplerCube texture: irradiance" />
|
|
518
|
+
<Value name="SHADER_LOC_MAP_PREFILTER" integer="24" desc="Shader location: samplerCube texture: prefilter" />
|
|
519
|
+
<Value name="SHADER_LOC_MAP_BRDF" integer="25" desc="Shader location: sampler2d texture: brdf" />
|
|
439
520
|
</Enum>
|
|
440
|
-
<Enum name="ShaderUniformDataType" valueCount="9" desc="">
|
|
441
|
-
<Value name="SHADER_UNIFORM_FLOAT" integer="0" desc="" />
|
|
442
|
-
<Value name="SHADER_UNIFORM_VEC2" integer="1" desc="" />
|
|
443
|
-
<Value name="SHADER_UNIFORM_VEC3" integer="2" desc="" />
|
|
444
|
-
<Value name="SHADER_UNIFORM_VEC4" integer="3" desc="" />
|
|
445
|
-
<Value name="SHADER_UNIFORM_INT" integer="4" desc="" />
|
|
446
|
-
<Value name="SHADER_UNIFORM_IVEC2" integer="5" desc="" />
|
|
447
|
-
<Value name="SHADER_UNIFORM_IVEC3" integer="6" desc="" />
|
|
448
|
-
<Value name="SHADER_UNIFORM_IVEC4" integer="7" desc="" />
|
|
449
|
-
<Value name="SHADER_UNIFORM_SAMPLER2D" integer="8" desc="" />
|
|
521
|
+
<Enum name="ShaderUniformDataType" valueCount="9" desc="Shader uniform data type">
|
|
522
|
+
<Value name="SHADER_UNIFORM_FLOAT" integer="0" desc="Shader uniform type: float" />
|
|
523
|
+
<Value name="SHADER_UNIFORM_VEC2" integer="1" desc="Shader uniform type: vec2 (2 float)" />
|
|
524
|
+
<Value name="SHADER_UNIFORM_VEC3" integer="2" desc="Shader uniform type: vec3 (3 float)" />
|
|
525
|
+
<Value name="SHADER_UNIFORM_VEC4" integer="3" desc="Shader uniform type: vec4 (4 float)" />
|
|
526
|
+
<Value name="SHADER_UNIFORM_INT" integer="4" desc="Shader uniform type: int" />
|
|
527
|
+
<Value name="SHADER_UNIFORM_IVEC2" integer="5" desc="Shader uniform type: ivec2 (2 int)" />
|
|
528
|
+
<Value name="SHADER_UNIFORM_IVEC3" integer="6" desc="Shader uniform type: ivec3 (3 int)" />
|
|
529
|
+
<Value name="SHADER_UNIFORM_IVEC4" integer="7" desc="Shader uniform type: ivec4 (4 int)" />
|
|
530
|
+
<Value name="SHADER_UNIFORM_SAMPLER2D" integer="8" desc="Shader uniform type: sampler2d" />
|
|
450
531
|
</Enum>
|
|
451
|
-
<Enum name="ShaderAttributeDataType" valueCount="4" desc="">
|
|
452
|
-
<Value name="SHADER_ATTRIB_FLOAT" integer="0" desc="" />
|
|
453
|
-
<Value name="SHADER_ATTRIB_VEC2" integer="1" desc="" />
|
|
454
|
-
<Value name="SHADER_ATTRIB_VEC3" integer="2" desc="" />
|
|
455
|
-
<Value name="SHADER_ATTRIB_VEC4" integer="3" desc="" />
|
|
532
|
+
<Enum name="ShaderAttributeDataType" valueCount="4" desc="Shader attribute data types">
|
|
533
|
+
<Value name="SHADER_ATTRIB_FLOAT" integer="0" desc="Shader attribute type: float" />
|
|
534
|
+
<Value name="SHADER_ATTRIB_VEC2" integer="1" desc="Shader attribute type: vec2 (2 float)" />
|
|
535
|
+
<Value name="SHADER_ATTRIB_VEC3" integer="2" desc="Shader attribute type: vec3 (3 float)" />
|
|
536
|
+
<Value name="SHADER_ATTRIB_VEC4" integer="3" desc="Shader attribute type: vec4 (4 float)" />
|
|
456
537
|
</Enum>
|
|
457
|
-
<Enum name="PixelFormat" valueCount="21" desc="">
|
|
458
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_GRAYSCALE" integer="1" desc="" />
|
|
459
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA" integer="2" desc="" />
|
|
460
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R5G6B5" integer="3" desc="" />
|
|
461
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8" integer="4" desc="" />
|
|
462
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R5G5B5A1" integer="5" desc="" />
|
|
463
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R4G4B4A4" integer="6" desc="" />
|
|
464
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8A8" integer="7" desc="" />
|
|
465
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R32" integer="8" desc="" />
|
|
466
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32" integer="9" desc="" />
|
|
467
|
-
<Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32A32" integer="10" desc="" />
|
|
468
|
-
<Value name="PIXELFORMAT_COMPRESSED_DXT1_RGB" integer="11" desc="" />
|
|
469
|
-
<Value name="PIXELFORMAT_COMPRESSED_DXT1_RGBA" integer="12" desc="" />
|
|
470
|
-
<Value name="PIXELFORMAT_COMPRESSED_DXT3_RGBA" integer="13" desc="" />
|
|
471
|
-
<Value name="PIXELFORMAT_COMPRESSED_DXT5_RGBA" integer="14" desc="" />
|
|
472
|
-
<Value name="PIXELFORMAT_COMPRESSED_ETC1_RGB" integer="15" desc="" />
|
|
473
|
-
<Value name="PIXELFORMAT_COMPRESSED_ETC2_RGB" integer="16" desc="" />
|
|
474
|
-
<Value name="PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA" integer="17" desc="" />
|
|
475
|
-
<Value name="PIXELFORMAT_COMPRESSED_PVRT_RGB" integer="18" desc="" />
|
|
476
|
-
<Value name="PIXELFORMAT_COMPRESSED_PVRT_RGBA" integer="19" desc="" />
|
|
477
|
-
<Value name="PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA" integer="20" desc="" />
|
|
478
|
-
<Value name="PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA" integer="21" desc="" />
|
|
538
|
+
<Enum name="PixelFormat" valueCount="21" desc="Pixel formats">
|
|
539
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_GRAYSCALE" integer="1" desc="8 bit per pixel (no alpha)" />
|
|
540
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA" integer="2" desc="8*2 bpp (2 channels)" />
|
|
541
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R5G6B5" integer="3" desc="16 bpp" />
|
|
542
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8" integer="4" desc="24 bpp" />
|
|
543
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R5G5B5A1" integer="5" desc="16 bpp (1 bit alpha)" />
|
|
544
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R4G4B4A4" integer="6" desc="16 bpp (4 bit alpha)" />
|
|
545
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R8G8B8A8" integer="7" desc="32 bpp" />
|
|
546
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R32" integer="8" desc="32 bpp (1 channel - float)" />
|
|
547
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32" integer="9" desc="32*3 bpp (3 channels - float)" />
|
|
548
|
+
<Value name="PIXELFORMAT_UNCOMPRESSED_R32G32B32A32" integer="10" desc="32*4 bpp (4 channels - float)" />
|
|
549
|
+
<Value name="PIXELFORMAT_COMPRESSED_DXT1_RGB" integer="11" desc="4 bpp (no alpha)" />
|
|
550
|
+
<Value name="PIXELFORMAT_COMPRESSED_DXT1_RGBA" integer="12" desc="4 bpp (1 bit alpha)" />
|
|
551
|
+
<Value name="PIXELFORMAT_COMPRESSED_DXT3_RGBA" integer="13" desc="8 bpp" />
|
|
552
|
+
<Value name="PIXELFORMAT_COMPRESSED_DXT5_RGBA" integer="14" desc="8 bpp" />
|
|
553
|
+
<Value name="PIXELFORMAT_COMPRESSED_ETC1_RGB" integer="15" desc="4 bpp" />
|
|
554
|
+
<Value name="PIXELFORMAT_COMPRESSED_ETC2_RGB" integer="16" desc="4 bpp" />
|
|
555
|
+
<Value name="PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA" integer="17" desc="8 bpp" />
|
|
556
|
+
<Value name="PIXELFORMAT_COMPRESSED_PVRT_RGB" integer="18" desc="4 bpp" />
|
|
557
|
+
<Value name="PIXELFORMAT_COMPRESSED_PVRT_RGBA" integer="19" desc="4 bpp" />
|
|
558
|
+
<Value name="PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA" integer="20" desc="8 bpp" />
|
|
559
|
+
<Value name="PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA" integer="21" desc="2 bpp" />
|
|
479
560
|
</Enum>
|
|
480
|
-
<Enum name="TextureFilter" valueCount="6" desc="">
|
|
481
|
-
<Value name="TEXTURE_FILTER_POINT" integer="0" desc="" />
|
|
482
|
-
<Value name="TEXTURE_FILTER_BILINEAR" integer="1" desc="" />
|
|
483
|
-
<Value name="TEXTURE_FILTER_TRILINEAR" integer="2" desc="" />
|
|
484
|
-
<Value name="TEXTURE_FILTER_ANISOTROPIC_4X" integer="3" desc="" />
|
|
485
|
-
<Value name="TEXTURE_FILTER_ANISOTROPIC_8X" integer="4" desc="" />
|
|
486
|
-
<Value name="TEXTURE_FILTER_ANISOTROPIC_16X" integer="5" desc="" />
|
|
561
|
+
<Enum name="TextureFilter" valueCount="6" desc="Texture parameters: filter mode">
|
|
562
|
+
<Value name="TEXTURE_FILTER_POINT" integer="0" desc="No filter, just pixel approximation" />
|
|
563
|
+
<Value name="TEXTURE_FILTER_BILINEAR" integer="1" desc="Linear filtering" />
|
|
564
|
+
<Value name="TEXTURE_FILTER_TRILINEAR" integer="2" desc="Trilinear filtering (linear with mipmaps)" />
|
|
565
|
+
<Value name="TEXTURE_FILTER_ANISOTROPIC_4X" integer="3" desc="Anisotropic filtering 4x" />
|
|
566
|
+
<Value name="TEXTURE_FILTER_ANISOTROPIC_8X" integer="4" desc="Anisotropic filtering 8x" />
|
|
567
|
+
<Value name="TEXTURE_FILTER_ANISOTROPIC_16X" integer="5" desc="Anisotropic filtering 16x" />
|
|
487
568
|
</Enum>
|
|
488
|
-
<Enum name="TextureWrap" valueCount="4" desc="">
|
|
489
|
-
<Value name="TEXTURE_WRAP_REPEAT" integer="0" desc="" />
|
|
490
|
-
<Value name="TEXTURE_WRAP_CLAMP" integer="1" desc="" />
|
|
491
|
-
<Value name="TEXTURE_WRAP_MIRROR_REPEAT" integer="2" desc="" />
|
|
492
|
-
<Value name="TEXTURE_WRAP_MIRROR_CLAMP" integer="3" desc="" />
|
|
569
|
+
<Enum name="TextureWrap" valueCount="4" desc="Texture parameters: wrap mode">
|
|
570
|
+
<Value name="TEXTURE_WRAP_REPEAT" integer="0" desc="Repeats texture in tiled mode" />
|
|
571
|
+
<Value name="TEXTURE_WRAP_CLAMP" integer="1" desc="Clamps texture to edge pixel in tiled mode" />
|
|
572
|
+
<Value name="TEXTURE_WRAP_MIRROR_REPEAT" integer="2" desc="Mirrors and repeats the texture in tiled mode" />
|
|
573
|
+
<Value name="TEXTURE_WRAP_MIRROR_CLAMP" integer="3" desc="Mirrors and clamps to border the texture in tiled mode" />
|
|
493
574
|
</Enum>
|
|
494
|
-
<Enum name="CubemapLayout" valueCount="6" desc="">
|
|
495
|
-
<Value name="CUBEMAP_LAYOUT_AUTO_DETECT" integer="0" desc="" />
|
|
496
|
-
<Value name="CUBEMAP_LAYOUT_LINE_VERTICAL" integer="1" desc="" />
|
|
497
|
-
<Value name="CUBEMAP_LAYOUT_LINE_HORIZONTAL" integer="2" desc="" />
|
|
498
|
-
<Value name="CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR" integer="3" desc="" />
|
|
499
|
-
<Value name="CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE" integer="4" desc="" />
|
|
500
|
-
<Value name="CUBEMAP_LAYOUT_PANORAMA" integer="5" desc="" />
|
|
575
|
+
<Enum name="CubemapLayout" valueCount="6" desc="Cubemap layouts">
|
|
576
|
+
<Value name="CUBEMAP_LAYOUT_AUTO_DETECT" integer="0" desc="Automatically detect layout type" />
|
|
577
|
+
<Value name="CUBEMAP_LAYOUT_LINE_VERTICAL" integer="1" desc="Layout is defined by a vertical line with faces" />
|
|
578
|
+
<Value name="CUBEMAP_LAYOUT_LINE_HORIZONTAL" integer="2" desc="Layout is defined by an horizontal line with faces" />
|
|
579
|
+
<Value name="CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR" integer="3" desc="Layout is defined by a 3x4 cross with cubemap faces" />
|
|
580
|
+
<Value name="CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE" integer="4" desc="Layout is defined by a 4x3 cross with cubemap faces" />
|
|
581
|
+
<Value name="CUBEMAP_LAYOUT_PANORAMA" integer="5" desc="Layout is defined by a panorama image (equirectangular map)" />
|
|
501
582
|
</Enum>
|
|
502
|
-
<Enum name="FontType" valueCount="3" desc="">
|
|
503
|
-
<Value name="FONT_DEFAULT" integer="0" desc="" />
|
|
504
|
-
<Value name="FONT_BITMAP" integer="1" desc="" />
|
|
505
|
-
<Value name="FONT_SDF" integer="2" desc="" />
|
|
583
|
+
<Enum name="FontType" valueCount="3" desc="Font type, defines generation method">
|
|
584
|
+
<Value name="FONT_DEFAULT" integer="0" desc="Default font generation, anti-aliased" />
|
|
585
|
+
<Value name="FONT_BITMAP" integer="1" desc="Bitmap font generation, no anti-aliasing" />
|
|
586
|
+
<Value name="FONT_SDF" integer="2" desc="SDF font generation, requires external shader" />
|
|
506
587
|
</Enum>
|
|
507
|
-
<Enum name="BlendMode" valueCount="
|
|
508
|
-
<Value name="BLEND_ALPHA" integer="0" desc="" />
|
|
509
|
-
<Value name="BLEND_ADDITIVE" integer="1" desc="" />
|
|
510
|
-
<Value name="BLEND_MULTIPLIED" integer="2" desc="" />
|
|
511
|
-
<Value name="BLEND_ADD_COLORS" integer="3" desc="" />
|
|
512
|
-
<Value name="BLEND_SUBTRACT_COLORS" integer="4" desc="" />
|
|
513
|
-
<Value name="
|
|
588
|
+
<Enum name="BlendMode" valueCount="7" desc="Color blending modes (pre-defined)">
|
|
589
|
+
<Value name="BLEND_ALPHA" integer="0" desc="Blend textures considering alpha (default)" />
|
|
590
|
+
<Value name="BLEND_ADDITIVE" integer="1" desc="Blend textures adding colors" />
|
|
591
|
+
<Value name="BLEND_MULTIPLIED" integer="2" desc="Blend textures multiplying colors" />
|
|
592
|
+
<Value name="BLEND_ADD_COLORS" integer="3" desc="Blend textures adding colors (alternative)" />
|
|
593
|
+
<Value name="BLEND_SUBTRACT_COLORS" integer="4" desc="Blend textures subtracting colors (alternative)" />
|
|
594
|
+
<Value name="BLEND_ALPHA_PREMULTIPLY" integer="5" desc="Blend premultiplied textures considering alpha" />
|
|
595
|
+
<Value name="BLEND_CUSTOM" integer="6" desc="Blend textures using custom src/dst factors (use rlSetBlendMode())" />
|
|
514
596
|
</Enum>
|
|
515
|
-
<Enum name="Gesture" valueCount="11" desc="">
|
|
516
|
-
<Value name="GESTURE_NONE" integer="0" desc="" />
|
|
517
|
-
<Value name="GESTURE_TAP" integer="1" desc="" />
|
|
518
|
-
<Value name="GESTURE_DOUBLETAP" integer="2" desc="" />
|
|
519
|
-
<Value name="GESTURE_HOLD" integer="4" desc="" />
|
|
520
|
-
<Value name="GESTURE_DRAG" integer="8" desc="" />
|
|
521
|
-
<Value name="GESTURE_SWIPE_RIGHT" integer="16" desc="" />
|
|
522
|
-
<Value name="GESTURE_SWIPE_LEFT" integer="32" desc="" />
|
|
523
|
-
<Value name="GESTURE_SWIPE_UP" integer="64" desc="" />
|
|
524
|
-
<Value name="GESTURE_SWIPE_DOWN" integer="128" desc="" />
|
|
525
|
-
<Value name="GESTURE_PINCH_IN" integer="256" desc="" />
|
|
526
|
-
<Value name="GESTURE_PINCH_OUT" integer="512" desc="" />
|
|
597
|
+
<Enum name="Gesture" valueCount="11" desc="Gesture">
|
|
598
|
+
<Value name="GESTURE_NONE" integer="0" desc="No gesture" />
|
|
599
|
+
<Value name="GESTURE_TAP" integer="1" desc="Tap gesture" />
|
|
600
|
+
<Value name="GESTURE_DOUBLETAP" integer="2" desc="Double tap gesture" />
|
|
601
|
+
<Value name="GESTURE_HOLD" integer="4" desc="Hold gesture" />
|
|
602
|
+
<Value name="GESTURE_DRAG" integer="8" desc="Drag gesture" />
|
|
603
|
+
<Value name="GESTURE_SWIPE_RIGHT" integer="16" desc="Swipe right gesture" />
|
|
604
|
+
<Value name="GESTURE_SWIPE_LEFT" integer="32" desc="Swipe left gesture" />
|
|
605
|
+
<Value name="GESTURE_SWIPE_UP" integer="64" desc="Swipe up gesture" />
|
|
606
|
+
<Value name="GESTURE_SWIPE_DOWN" integer="128" desc="Swipe down gesture" />
|
|
607
|
+
<Value name="GESTURE_PINCH_IN" integer="256" desc="Pinch in gesture" />
|
|
608
|
+
<Value name="GESTURE_PINCH_OUT" integer="512" desc="Pinch out gesture" />
|
|
527
609
|
</Enum>
|
|
528
|
-
<Enum name="CameraMode" valueCount="5" desc="">
|
|
529
|
-
<Value name="CAMERA_CUSTOM" integer="0" desc="" />
|
|
530
|
-
<Value name="CAMERA_FREE" integer="1" desc="" />
|
|
531
|
-
<Value name="CAMERA_ORBITAL" integer="2" desc="" />
|
|
532
|
-
<Value name="CAMERA_FIRST_PERSON" integer="3" desc="" />
|
|
533
|
-
<Value name="CAMERA_THIRD_PERSON" integer="4" desc="" />
|
|
610
|
+
<Enum name="CameraMode" valueCount="5" desc="Camera system modes">
|
|
611
|
+
<Value name="CAMERA_CUSTOM" integer="0" desc="Custom camera" />
|
|
612
|
+
<Value name="CAMERA_FREE" integer="1" desc="Free camera" />
|
|
613
|
+
<Value name="CAMERA_ORBITAL" integer="2" desc="Orbital camera" />
|
|
614
|
+
<Value name="CAMERA_FIRST_PERSON" integer="3" desc="First person camera" />
|
|
615
|
+
<Value name="CAMERA_THIRD_PERSON" integer="4" desc="Third person camera" />
|
|
534
616
|
</Enum>
|
|
535
|
-
<Enum name="CameraProjection" valueCount="2" desc="">
|
|
536
|
-
<Value name="CAMERA_PERSPECTIVE" integer="0" desc="" />
|
|
537
|
-
<Value name="CAMERA_ORTHOGRAPHIC" integer="1" desc="" />
|
|
617
|
+
<Enum name="CameraProjection" valueCount="2" desc="Camera projection">
|
|
618
|
+
<Value name="CAMERA_PERSPECTIVE" integer="0" desc="Perspective projection" />
|
|
619
|
+
<Value name="CAMERA_ORTHOGRAPHIC" integer="1" desc="Orthographic projection" />
|
|
538
620
|
</Enum>
|
|
539
|
-
<Enum name="NPatchLayout" valueCount="3" desc="">
|
|
540
|
-
<Value name="NPATCH_NINE_PATCH" integer="0" desc="" />
|
|
541
|
-
<Value name="NPATCH_THREE_PATCH_VERTICAL" integer="1" desc="" />
|
|
542
|
-
<Value name="NPATCH_THREE_PATCH_HORIZONTAL" integer="2" desc="" />
|
|
621
|
+
<Enum name="NPatchLayout" valueCount="3" desc="N-patch layout">
|
|
622
|
+
<Value name="NPATCH_NINE_PATCH" integer="0" desc="Npatch layout: 3x3 tiles" />
|
|
623
|
+
<Value name="NPATCH_THREE_PATCH_VERTICAL" integer="1" desc="Npatch layout: 1x3 tiles" />
|
|
624
|
+
<Value name="NPATCH_THREE_PATCH_HORIZONTAL" integer="2" desc="Npatch layout: 3x1 tiles" />
|
|
543
625
|
</Enum>
|
|
544
626
|
</Enums>
|
|
545
|
-
<
|
|
627
|
+
<Callbacks count="6">
|
|
628
|
+
<Callback name="TraceLogCallback" retType="void" paramCount="3" desc="Logging: Redirect trace log messages">
|
|
629
|
+
<Param type="int" name="logLevel" desc="" />
|
|
630
|
+
<Param type="const char *" name="text" desc="" />
|
|
631
|
+
<Param type="va_list" name="args" desc="" />
|
|
632
|
+
</Callback>
|
|
633
|
+
<Callback name="LoadFileDataCallback" retType="unsigned char *" paramCount="2" desc="FileIO: Load binary data">
|
|
634
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
635
|
+
<Param type="unsigned int *" name="bytesRead" desc="" />
|
|
636
|
+
</Callback>
|
|
637
|
+
<Callback name="SaveFileDataCallback" retType="bool" paramCount="3" desc="FileIO: Save binary data">
|
|
638
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
639
|
+
<Param type="void *" name="data" desc="" />
|
|
640
|
+
<Param type="unsigned int" name="bytesToWrite" desc="" />
|
|
641
|
+
</Callback>
|
|
642
|
+
<Callback name="LoadFileTextCallback" retType="char *" paramCount="1" desc="FileIO: Load text data">
|
|
643
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
644
|
+
</Callback>
|
|
645
|
+
<Callback name="SaveFileTextCallback" retType="bool" paramCount="2" desc="FileIO: Save text data">
|
|
646
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
647
|
+
<Param type="char *" name="text" desc="" />
|
|
648
|
+
</Callback>
|
|
649
|
+
<Callback name="AudioCallback" retType="void" paramCount="2" desc="">
|
|
650
|
+
<Param type="void *" name="bufferData" desc="" />
|
|
651
|
+
<Param type="unsigned int" name="frames" desc="" />
|
|
652
|
+
</Callback>
|
|
653
|
+
</Callbacks>
|
|
654
|
+
<Functions count="502">
|
|
546
655
|
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
|
547
656
|
<Param type="int" name="width" desc="" />
|
|
548
657
|
<Param type="int" name="height" desc="" />
|
|
@@ -569,7 +678,7 @@
|
|
|
569
678
|
<Function name="IsWindowState" retType="bool" paramCount="1" desc="Check if one specific window flag is enabled">
|
|
570
679
|
<Param type="unsigned int" name="flag" desc="" />
|
|
571
680
|
</Function>
|
|
572
|
-
<Function name="SetWindowState" retType="void" paramCount="1" desc="Set window configuration state using flags">
|
|
681
|
+
<Function name="SetWindowState" retType="void" paramCount="1" desc="Set window configuration state using flags (only PLATFORM_DESKTOP)">
|
|
573
682
|
<Param type="unsigned int" name="flags" desc="" />
|
|
574
683
|
</Function>
|
|
575
684
|
<Function name="ClearWindowState" retType="void" paramCount="1" desc="Clear window configuration state flags">
|
|
@@ -604,12 +713,19 @@
|
|
|
604
713
|
<Param type="int" name="width" desc="" />
|
|
605
714
|
<Param type="int" name="height" desc="" />
|
|
606
715
|
</Function>
|
|
716
|
+
<Function name="SetWindowOpacity" retType="void" paramCount="1" desc="Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)">
|
|
717
|
+
<Param type="float" name="opacity" desc="" />
|
|
718
|
+
</Function>
|
|
607
719
|
<Function name="GetWindowHandle" retType="void *" paramCount="0" desc="Get native window handle">
|
|
608
720
|
</Function>
|
|
609
721
|
<Function name="GetScreenWidth" retType="int" paramCount="0" desc="Get current screen width">
|
|
610
722
|
</Function>
|
|
611
723
|
<Function name="GetScreenHeight" retType="int" paramCount="0" desc="Get current screen height">
|
|
612
724
|
</Function>
|
|
725
|
+
<Function name="GetRenderWidth" retType="int" paramCount="0" desc="Get current render width (it considers HiDPI)">
|
|
726
|
+
</Function>
|
|
727
|
+
<Function name="GetRenderHeight" retType="int" paramCount="0" desc="Get current render height (it considers HiDPI)">
|
|
728
|
+
</Function>
|
|
613
729
|
<Function name="GetMonitorCount" retType="int" paramCount="0" desc="Get number of connected monitors">
|
|
614
730
|
</Function>
|
|
615
731
|
<Function name="GetCurrentMonitor" retType="int" paramCount="0" desc="Get current connected monitor">
|
|
@@ -617,10 +733,10 @@
|
|
|
617
733
|
<Function name="GetMonitorPosition" retType="Vector2" paramCount="1" desc="Get specified monitor position">
|
|
618
734
|
<Param type="int" name="monitor" desc="" />
|
|
619
735
|
</Function>
|
|
620
|
-
<Function name="GetMonitorWidth" retType="int" paramCount="1" desc="Get specified monitor width (
|
|
736
|
+
<Function name="GetMonitorWidth" retType="int" paramCount="1" desc="Get specified monitor width (current video mode used by monitor)">
|
|
621
737
|
<Param type="int" name="monitor" desc="" />
|
|
622
738
|
</Function>
|
|
623
|
-
<Function name="GetMonitorHeight" retType="int" paramCount="1" desc="Get specified monitor height (
|
|
739
|
+
<Function name="GetMonitorHeight" retType="int" paramCount="1" desc="Get specified monitor height (current video mode used by monitor)">
|
|
624
740
|
<Param type="int" name="monitor" desc="" />
|
|
625
741
|
</Function>
|
|
626
742
|
<Function name="GetMonitorPhysicalWidth" retType="int" paramCount="1" desc="Get specified monitor physical width in millimetres">
|
|
@@ -644,6 +760,17 @@
|
|
|
644
760
|
</Function>
|
|
645
761
|
<Function name="GetClipboardText" retType="const char *" paramCount="0" desc="Get clipboard text content">
|
|
646
762
|
</Function>
|
|
763
|
+
<Function name="EnableEventWaiting" retType="void" paramCount="0" desc="Enable waiting for events on EndDrawing(), no automatic event polling">
|
|
764
|
+
</Function>
|
|
765
|
+
<Function name="DisableEventWaiting" retType="void" paramCount="0" desc="Disable waiting for events on EndDrawing(), automatic events polling">
|
|
766
|
+
</Function>
|
|
767
|
+
<Function name="SwapScreenBuffer" retType="void" paramCount="0" desc="Swap back buffer with front buffer (screen drawing)">
|
|
768
|
+
</Function>
|
|
769
|
+
<Function name="PollInputEvents" retType="void" paramCount="0" desc="Register all input events">
|
|
770
|
+
</Function>
|
|
771
|
+
<Function name="WaitTime" retType="void" paramCount="1" desc="Wait for some time (halt program execution)">
|
|
772
|
+
<Param type="double" name="seconds" desc="" />
|
|
773
|
+
</Function>
|
|
647
774
|
<Function name="ShowCursor" retType="void" paramCount="0" desc="Shows cursor">
|
|
648
775
|
</Function>
|
|
649
776
|
<Function name="HideCursor" retType="void" paramCount="0" desc="Hides cursor">
|
|
@@ -763,6 +890,10 @@
|
|
|
763
890
|
<Param type="Vector3" name="position" desc="" />
|
|
764
891
|
<Param type="Camera" name="camera" desc="" />
|
|
765
892
|
</Function>
|
|
893
|
+
<Function name="GetScreenToWorld2D" retType="Vector2" paramCount="2" desc="Get the world space position for a 2d camera screen space position">
|
|
894
|
+
<Param type="Vector2" name="position" desc="" />
|
|
895
|
+
<Param type="Camera2D" name="camera" desc="" />
|
|
896
|
+
</Function>
|
|
766
897
|
<Function name="GetWorldToScreenEx" retType="Vector2" paramCount="4" desc="Get size position for a 3d world space position">
|
|
767
898
|
<Param type="Vector3" name="position" desc="" />
|
|
768
899
|
<Param type="Camera" name="camera" desc="" />
|
|
@@ -773,10 +904,6 @@
|
|
|
773
904
|
<Param type="Vector2" name="position" desc="" />
|
|
774
905
|
<Param type="Camera2D" name="camera" desc="" />
|
|
775
906
|
</Function>
|
|
776
|
-
<Function name="GetScreenToWorld2D" retType="Vector2" paramCount="2" desc="Get the world space position for a 2d camera screen space position">
|
|
777
|
-
<Param type="Vector2" name="position" desc="" />
|
|
778
|
-
<Param type="Camera2D" name="camera" desc="" />
|
|
779
|
-
</Function>
|
|
780
907
|
<Function name="SetTargetFPS" retType="void" paramCount="1" desc="Set target FPS (maximum)">
|
|
781
908
|
<Param type="int" name="fps" desc="" />
|
|
782
909
|
</Function>
|
|
@@ -790,6 +917,9 @@
|
|
|
790
917
|
<Param type="int" name="min" desc="" />
|
|
791
918
|
<Param type="int" name="max" desc="" />
|
|
792
919
|
</Function>
|
|
920
|
+
<Function name="SetRandomSeed" retType="void" paramCount="1" desc="Set the seed for the random number generator">
|
|
921
|
+
<Param type="unsigned int" name="seed" desc="" />
|
|
922
|
+
</Function>
|
|
793
923
|
<Function name="TakeScreenshot" retType="void" paramCount="1" desc="Takes a screenshot of current screen (filename extension defines format)">
|
|
794
924
|
<Param type="const char *" name="fileName" desc="" />
|
|
795
925
|
</Function>
|
|
@@ -799,7 +929,7 @@
|
|
|
799
929
|
<Function name="TraceLog" retType="void" paramCount="3" desc="Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)">
|
|
800
930
|
<Param type="int" name="logLevel" desc="" />
|
|
801
931
|
<Param type="const char *" name="text" desc="" />
|
|
802
|
-
<Param type="" name="" desc="" />
|
|
932
|
+
<Param type="..." name="args" desc="" />
|
|
803
933
|
</Function>
|
|
804
934
|
<Function name="SetTraceLogLevel" retType="void" paramCount="1" desc="Set the current threshold (minimum) log level">
|
|
805
935
|
<Param type="int" name="logLevel" desc="" />
|
|
@@ -814,6 +944,9 @@
|
|
|
814
944
|
<Function name="MemFree" retType="void" paramCount="1" desc="Internal memory free">
|
|
815
945
|
<Param type="void *" name="ptr" desc="" />
|
|
816
946
|
</Function>
|
|
947
|
+
<Function name="OpenURL" retType="void" paramCount="1" desc="Open URL with default system browser (if available)">
|
|
948
|
+
<Param type="const char *" name="url" desc="" />
|
|
949
|
+
</Function>
|
|
817
950
|
<Function name="SetTraceLogCallback" retType="void" paramCount="1" desc="Set custom trace log">
|
|
818
951
|
<Param type="TraceLogCallback" name="callback" desc="" />
|
|
819
952
|
</Function>
|
|
@@ -841,6 +974,11 @@
|
|
|
841
974
|
<Param type="void *" name="data" desc="" />
|
|
842
975
|
<Param type="unsigned int" name="bytesToWrite" desc="" />
|
|
843
976
|
</Function>
|
|
977
|
+
<Function name="ExportDataAsCode" retType="bool" paramCount="3" desc="Export data to code (.h), returns true on success">
|
|
978
|
+
<Param type="const char *" name="data" desc="" />
|
|
979
|
+
<Param type="unsigned int" name="size" desc="" />
|
|
980
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
981
|
+
</Function>
|
|
844
982
|
<Function name="LoadFileText" retType="char *" paramCount="1" desc="Load text data from file (read), returns a '\0' terminated string">
|
|
845
983
|
<Param type="const char *" name="fileName" desc="" />
|
|
846
984
|
</Function>
|
|
@@ -861,6 +999,9 @@
|
|
|
861
999
|
<Param type="const char *" name="fileName" desc="" />
|
|
862
1000
|
<Param type="const char *" name="ext" desc="" />
|
|
863
1001
|
</Function>
|
|
1002
|
+
<Function name="GetFileLength" retType="int" paramCount="1" desc="Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)">
|
|
1003
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
1004
|
+
</Function>
|
|
864
1005
|
<Function name="GetFileExtension" retType="const char *" paramCount="1" desc="Get pointer to extension for a filename string (includes dot: '.png')">
|
|
865
1006
|
<Param type="const char *" name="fileName" desc="" />
|
|
866
1007
|
</Function>
|
|
@@ -878,44 +1019,53 @@
|
|
|
878
1019
|
</Function>
|
|
879
1020
|
<Function name="GetWorkingDirectory" retType="const char *" paramCount="0" desc="Get current working directory (uses static string)">
|
|
880
1021
|
</Function>
|
|
881
|
-
<Function name="
|
|
882
|
-
<Param type="const char *" name="dirPath" desc="" />
|
|
883
|
-
<Param type="int *" name="count" desc="" />
|
|
884
|
-
</Function>
|
|
885
|
-
<Function name="ClearDirectoryFiles" retType="void" paramCount="0" desc="Clear directory files paths buffers (free memory)">
|
|
1022
|
+
<Function name="GetApplicationDirectory" retType="const char *" paramCount="0" desc="Get the directory if the running application (uses static string)">
|
|
886
1023
|
</Function>
|
|
887
1024
|
<Function name="ChangeDirectory" retType="bool" paramCount="1" desc="Change working directory, return true on success">
|
|
888
1025
|
<Param type="const char *" name="dir" desc="" />
|
|
889
1026
|
</Function>
|
|
1027
|
+
<Function name="IsPathFile" retType="bool" paramCount="1" desc="Check if a given path is a file or a directory">
|
|
1028
|
+
<Param type="const char *" name="path" desc="" />
|
|
1029
|
+
</Function>
|
|
1030
|
+
<Function name="LoadDirectoryFiles" retType="FilePathList" paramCount="1" desc="Load directory filepaths">
|
|
1031
|
+
<Param type="const char *" name="dirPath" desc="" />
|
|
1032
|
+
</Function>
|
|
1033
|
+
<Function name="LoadDirectoryFilesEx" retType="FilePathList" paramCount="3" desc="Load directory filepaths with extension filtering and recursive directory scan">
|
|
1034
|
+
<Param type="const char *" name="basePath" desc="" />
|
|
1035
|
+
<Param type="const char *" name="filter" desc="" />
|
|
1036
|
+
<Param type="bool" name="scanSubdirs" desc="" />
|
|
1037
|
+
</Function>
|
|
1038
|
+
<Function name="UnloadDirectoryFiles" retType="void" paramCount="1" desc="Unload filepaths">
|
|
1039
|
+
<Param type="FilePathList" name="files" desc="" />
|
|
1040
|
+
</Function>
|
|
890
1041
|
<Function name="IsFileDropped" retType="bool" paramCount="0" desc="Check if a file has been dropped into window">
|
|
891
1042
|
</Function>
|
|
892
|
-
<Function name="
|
|
893
|
-
<Param type="int *" name="count" desc="" />
|
|
1043
|
+
<Function name="LoadDroppedFiles" retType="FilePathList" paramCount="0" desc="Load dropped filepaths">
|
|
894
1044
|
</Function>
|
|
895
|
-
<Function name="
|
|
1045
|
+
<Function name="UnloadDroppedFiles" retType="void" paramCount="1" desc="Unload dropped filepaths">
|
|
1046
|
+
<Param type="FilePathList" name="files" desc="" />
|
|
896
1047
|
</Function>
|
|
897
1048
|
<Function name="GetFileModTime" retType="long" paramCount="1" desc="Get file modification time (last write time)">
|
|
898
1049
|
<Param type="const char *" name="fileName" desc="" />
|
|
899
1050
|
</Function>
|
|
900
|
-
<Function name="CompressData" retType="unsigned char *" paramCount="3" desc="Compress data (DEFLATE algorithm)">
|
|
901
|
-
<Param type="unsigned char *" name="data" desc="" />
|
|
902
|
-
<Param type="int" name="
|
|
903
|
-
<Param type="int *" name="
|
|
904
|
-
</Function>
|
|
905
|
-
<Function name="DecompressData" retType="unsigned char *" paramCount="3" desc="Decompress data (DEFLATE algorithm)">
|
|
906
|
-
<Param type="unsigned char *" name="compData" desc="" />
|
|
907
|
-
<Param type="int" name="compDataLength" desc="" />
|
|
908
|
-
<Param type="int *" name="dataLength" desc="" />
|
|
1051
|
+
<Function name="CompressData" retType="unsigned char *" paramCount="3" desc="Compress data (DEFLATE algorithm), memory must be MemFree()">
|
|
1052
|
+
<Param type="const unsigned char *" name="data" desc="" />
|
|
1053
|
+
<Param type="int" name="dataSize" desc="" />
|
|
1054
|
+
<Param type="int *" name="compDataSize" desc="" />
|
|
909
1055
|
</Function>
|
|
910
|
-
<Function name="
|
|
911
|
-
<Param type="unsigned
|
|
912
|
-
<Param type="int" name="
|
|
1056
|
+
<Function name="DecompressData" retType="unsigned char *" paramCount="3" desc="Decompress data (DEFLATE algorithm), memory must be MemFree()">
|
|
1057
|
+
<Param type="const unsigned char *" name="compData" desc="" />
|
|
1058
|
+
<Param type="int" name="compDataSize" desc="" />
|
|
1059
|
+
<Param type="int *" name="dataSize" desc="" />
|
|
913
1060
|
</Function>
|
|
914
|
-
<Function name="
|
|
915
|
-
<Param type="unsigned
|
|
1061
|
+
<Function name="EncodeDataBase64" retType="char *" paramCount="3" desc="Encode data to Base64 string, memory must be MemFree()">
|
|
1062
|
+
<Param type="const unsigned char *" name="data" desc="" />
|
|
1063
|
+
<Param type="int" name="dataSize" desc="" />
|
|
1064
|
+
<Param type="int *" name="outputSize" desc="" />
|
|
916
1065
|
</Function>
|
|
917
|
-
<Function name="
|
|
918
|
-
<Param type="const char *" name="
|
|
1066
|
+
<Function name="DecodeDataBase64" retType="unsigned char *" paramCount="2" desc="Decode Base64 string data, memory must be MemFree()">
|
|
1067
|
+
<Param type="const unsigned char *" name="data" desc="" />
|
|
1068
|
+
<Param type="int *" name="outputSize" desc="" />
|
|
919
1069
|
</Function>
|
|
920
1070
|
<Function name="IsKeyPressed" retType="bool" paramCount="1" desc="Check if a key has been pressed once">
|
|
921
1071
|
<Param type="int" name="key" desc="" />
|
|
@@ -932,17 +1082,13 @@
|
|
|
932
1082
|
<Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
|
|
933
1083
|
<Param type="int" name="key" desc="" />
|
|
934
1084
|
</Function>
|
|
935
|
-
<Function name="GetKeyPressed" retType="int" paramCount="0" desc="Get key pressed (keycode), call it multiple times for keys queued">
|
|
1085
|
+
<Function name="GetKeyPressed" retType="int" paramCount="0" desc="Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty">
|
|
936
1086
|
</Function>
|
|
937
|
-
<Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued">
|
|
1087
|
+
<Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty">
|
|
938
1088
|
</Function>
|
|
939
1089
|
<Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">
|
|
940
1090
|
<Param type="int" name="gamepad" desc="" />
|
|
941
1091
|
</Function>
|
|
942
|
-
<Function name="IsGamepadName" retType="bool" paramCount="2" desc="Check gamepad name (if available)">
|
|
943
|
-
<Param type="int" name="gamepad" desc="" />
|
|
944
|
-
<Param type="const char *" name="name" desc="" />
|
|
945
|
-
</Function>
|
|
946
1092
|
<Function name="GetGamepadName" retType="const char *" paramCount="1" desc="Get gamepad internal name id">
|
|
947
1093
|
<Param type="int" name="gamepad" desc="" />
|
|
948
1094
|
</Function>
|
|
@@ -992,6 +1138,8 @@
|
|
|
992
1138
|
</Function>
|
|
993
1139
|
<Function name="GetMousePosition" retType="Vector2" paramCount="0" desc="Get mouse position XY">
|
|
994
1140
|
</Function>
|
|
1141
|
+
<Function name="GetMouseDelta" retType="Vector2" paramCount="0" desc="Get mouse delta between frames">
|
|
1142
|
+
</Function>
|
|
995
1143
|
<Function name="SetMousePosition" retType="void" paramCount="2" desc="Set mouse position XY">
|
|
996
1144
|
<Param type="int" name="x" desc="" />
|
|
997
1145
|
<Param type="int" name="y" desc="" />
|
|
@@ -1004,7 +1152,9 @@
|
|
|
1004
1152
|
<Param type="float" name="scaleX" desc="" />
|
|
1005
1153
|
<Param type="float" name="scaleY" desc="" />
|
|
1006
1154
|
</Function>
|
|
1007
|
-
<Function name="GetMouseWheelMove" retType="float" paramCount="0" desc="Get mouse wheel movement Y">
|
|
1155
|
+
<Function name="GetMouseWheelMove" retType="float" paramCount="0" desc="Get mouse wheel movement for X or Y, whichever is larger">
|
|
1156
|
+
</Function>
|
|
1157
|
+
<Function name="GetMouseWheelMoveV" retType="Vector2" paramCount="0" desc="Get mouse wheel movement for both X and Y">
|
|
1008
1158
|
</Function>
|
|
1009
1159
|
<Function name="SetMouseCursor" retType="void" paramCount="1" desc="Set mouse cursor">
|
|
1010
1160
|
<Param type="int" name="cursor" desc="" />
|
|
@@ -1016,6 +1166,11 @@
|
|
|
1016
1166
|
<Function name="GetTouchPosition" retType="Vector2" paramCount="1" desc="Get touch position XY for a touch point index (relative to screen size)">
|
|
1017
1167
|
<Param type="int" name="index" desc="" />
|
|
1018
1168
|
</Function>
|
|
1169
|
+
<Function name="GetTouchPointId" retType="int" paramCount="1" desc="Get touch point identifier for given index">
|
|
1170
|
+
<Param type="int" name="index" desc="" />
|
|
1171
|
+
</Function>
|
|
1172
|
+
<Function name="GetTouchPointCount" retType="int" paramCount="0" desc="Get number of touch points">
|
|
1173
|
+
</Function>
|
|
1019
1174
|
<Function name="SetGesturesEnabled" retType="void" paramCount="1" desc="Enable a set of gestures using flags">
|
|
1020
1175
|
<Param type="unsigned int" name="flags" desc="" />
|
|
1021
1176
|
</Function>
|
|
@@ -1024,8 +1179,6 @@
|
|
|
1024
1179
|
</Function>
|
|
1025
1180
|
<Function name="GetGestureDetected" retType="int" paramCount="0" desc="Get latest detected gesture">
|
|
1026
1181
|
</Function>
|
|
1027
|
-
<Function name="GetTouchPointsCount" retType="int" paramCount="0" desc="Get touch points count">
|
|
1028
|
-
</Function>
|
|
1029
1182
|
<Function name="GetGestureHoldDuration" retType="float" paramCount="0" desc="Get gesture hold time in milliseconds">
|
|
1030
1183
|
</Function>
|
|
1031
1184
|
<Function name="GetGestureDragVector" retType="Vector2" paramCount="0" desc="Get gesture drag vector">
|
|
@@ -1097,16 +1250,24 @@
|
|
|
1097
1250
|
<Param type="float" name="thick" desc="" />
|
|
1098
1251
|
<Param type="Color" name="color" desc="" />
|
|
1099
1252
|
</Function>
|
|
1100
|
-
<Function name="DrawLineBezierQuad" retType="void" paramCount="5" desc="
|
|
1253
|
+
<Function name="DrawLineBezierQuad" retType="void" paramCount="5" desc="Draw line using quadratic bezier curves with a control point">
|
|
1101
1254
|
<Param type="Vector2" name="startPos" desc="" />
|
|
1102
1255
|
<Param type="Vector2" name="endPos" desc="" />
|
|
1103
1256
|
<Param type="Vector2" name="controlPos" desc="" />
|
|
1104
1257
|
<Param type="float" name="thick" desc="" />
|
|
1105
1258
|
<Param type="Color" name="color" desc="" />
|
|
1106
1259
|
</Function>
|
|
1260
|
+
<Function name="DrawLineBezierCubic" retType="void" paramCount="6" desc="Draw line using cubic bezier curves with 2 control points">
|
|
1261
|
+
<Param type="Vector2" name="startPos" desc="" />
|
|
1262
|
+
<Param type="Vector2" name="endPos" desc="" />
|
|
1263
|
+
<Param type="Vector2" name="startControlPos" desc="" />
|
|
1264
|
+
<Param type="Vector2" name="endControlPos" desc="" />
|
|
1265
|
+
<Param type="float" name="thick" desc="" />
|
|
1266
|
+
<Param type="Color" name="color" desc="" />
|
|
1267
|
+
</Function>
|
|
1107
1268
|
<Function name="DrawLineStrip" retType="void" paramCount="3" desc="Draw lines sequence">
|
|
1108
1269
|
<Param type="Vector2 *" name="points" desc="" />
|
|
1109
|
-
<Param type="int" name="
|
|
1270
|
+
<Param type="int" name="pointCount" desc="" />
|
|
1110
1271
|
<Param type="Color" name="color" desc="" />
|
|
1111
1272
|
</Function>
|
|
1112
1273
|
<Function name="DrawCircle" retType="void" paramCount="4" desc="Draw a color-filled circle">
|
|
@@ -1265,12 +1426,12 @@
|
|
|
1265
1426
|
</Function>
|
|
1266
1427
|
<Function name="DrawTriangleFan" retType="void" paramCount="3" desc="Draw a triangle fan defined by points (first vertex is the center)">
|
|
1267
1428
|
<Param type="Vector2 *" name="points" desc="" />
|
|
1268
|
-
<Param type="int" name="
|
|
1429
|
+
<Param type="int" name="pointCount" desc="" />
|
|
1269
1430
|
<Param type="Color" name="color" desc="" />
|
|
1270
1431
|
</Function>
|
|
1271
1432
|
<Function name="DrawTriangleStrip" retType="void" paramCount="3" desc="Draw a triangle strip defined by points">
|
|
1272
1433
|
<Param type="Vector2 *" name="points" desc="" />
|
|
1273
|
-
<Param type="int" name="
|
|
1434
|
+
<Param type="int" name="pointCount" desc="" />
|
|
1274
1435
|
<Param type="Color" name="color" desc="" />
|
|
1275
1436
|
</Function>
|
|
1276
1437
|
<Function name="DrawPoly" retType="void" paramCount="5" desc="Draw a regular polygon (Vector version)">
|
|
@@ -1332,6 +1493,12 @@
|
|
|
1332
1493
|
<Param type="Vector2" name="endPos2" desc="" />
|
|
1333
1494
|
<Param type="Vector2 *" name="collisionPoint" desc="" />
|
|
1334
1495
|
</Function>
|
|
1496
|
+
<Function name="CheckCollisionPointLine" retType="bool" paramCount="4" desc="Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]">
|
|
1497
|
+
<Param type="Vector2" name="point" desc="" />
|
|
1498
|
+
<Param type="Vector2" name="p1" desc="" />
|
|
1499
|
+
<Param type="Vector2" name="p2" desc="" />
|
|
1500
|
+
<Param type="int" name="threshold" desc="" />
|
|
1501
|
+
</Function>
|
|
1335
1502
|
<Function name="GetCollisionRec" retType="Rectangle" paramCount="2" desc="Get collision rectangle for two rectangles collision">
|
|
1336
1503
|
<Param type="Rectangle" name="rec1" desc="" />
|
|
1337
1504
|
<Param type="Rectangle" name="rec2" desc="" />
|
|
@@ -1355,6 +1522,11 @@
|
|
|
1355
1522
|
<Param type="const unsigned char *" name="fileData" desc="" />
|
|
1356
1523
|
<Param type="int" name="dataSize" desc="" />
|
|
1357
1524
|
</Function>
|
|
1525
|
+
<Function name="LoadImageFromTexture" retType="Image" paramCount="1" desc="Load image from GPU texture data">
|
|
1526
|
+
<Param type="Texture2D" name="texture" desc="" />
|
|
1527
|
+
</Function>
|
|
1528
|
+
<Function name="LoadImageFromScreen" retType="Image" paramCount="0" desc="Load image from screen buffer and (screenshot)">
|
|
1529
|
+
</Function>
|
|
1358
1530
|
<Function name="UnloadImage" retType="void" paramCount="1" desc="Unload image from CPU memory (RAM)">
|
|
1359
1531
|
<Param type="Image" name="image" desc="" />
|
|
1360
1532
|
</Function>
|
|
@@ -1403,14 +1575,7 @@
|
|
|
1403
1575
|
<Param type="int" name="height" desc="" />
|
|
1404
1576
|
<Param type="float" name="factor" desc="" />
|
|
1405
1577
|
</Function>
|
|
1406
|
-
<Function name="
|
|
1407
|
-
<Param type="int" name="width" desc="" />
|
|
1408
|
-
<Param type="int" name="height" desc="" />
|
|
1409
|
-
<Param type="int" name="offsetX" desc="" />
|
|
1410
|
-
<Param type="int" name="offsetY" desc="" />
|
|
1411
|
-
<Param type="float" name="scale" desc="" />
|
|
1412
|
-
</Function>
|
|
1413
|
-
<Function name="GenImageCellular" retType="Image" paramCount="3" desc="Generate image: cellular algorithm. Bigger tileSize means bigger cells">
|
|
1578
|
+
<Function name="GenImageCellular" retType="Image" paramCount="3" desc="Generate image: cellular algorithm, bigger tileSize means bigger cells">
|
|
1414
1579
|
<Param type="int" name="width" desc="" />
|
|
1415
1580
|
<Param type="int" name="height" desc="" />
|
|
1416
1581
|
<Param type="int" name="tileSize" desc="" />
|
|
@@ -1531,7 +1696,7 @@
|
|
|
1531
1696
|
<Function name="LoadImagePalette" retType="Color *" paramCount="3" desc="Load colors palette from image as a Color array (RGBA - 32bit)">
|
|
1532
1697
|
<Param type="Image" name="image" desc="" />
|
|
1533
1698
|
<Param type="int" name="maxPaletteSize" desc="" />
|
|
1534
|
-
<Param type="int *" name="
|
|
1699
|
+
<Param type="int *" name="colorCount" desc="" />
|
|
1535
1700
|
</Function>
|
|
1536
1701
|
<Function name="UnloadImageColors" retType="void" paramCount="1" desc="Unload color data loaded with LoadImageColors()">
|
|
1537
1702
|
<Param type="Color *" name="colors" desc="" />
|
|
@@ -1543,6 +1708,11 @@
|
|
|
1543
1708
|
<Param type="Image" name="image" desc="" />
|
|
1544
1709
|
<Param type="float" name="threshold" desc="" />
|
|
1545
1710
|
</Function>
|
|
1711
|
+
<Function name="GetImageColor" retType="Color" paramCount="3" desc="Get image pixel color at (x, y) position">
|
|
1712
|
+
<Param type="Image" name="image" desc="" />
|
|
1713
|
+
<Param type="int" name="x" desc="" />
|
|
1714
|
+
<Param type="int" name="y" desc="" />
|
|
1715
|
+
</Function>
|
|
1546
1716
|
<Function name="ImageClearBackground" retType="void" paramCount="2" desc="Clear image background with given color">
|
|
1547
1717
|
<Param type="Image *" name="dst" desc="" />
|
|
1548
1718
|
<Param type="Color" name="color" desc="" />
|
|
@@ -1663,11 +1833,6 @@
|
|
|
1663
1833
|
<Param type="Rectangle" name="rec" desc="" />
|
|
1664
1834
|
<Param type="const void *" name="pixels" desc="" />
|
|
1665
1835
|
</Function>
|
|
1666
|
-
<Function name="GetTextureData" retType="Image" paramCount="1" desc="Get pixel data from GPU texture and return an Image">
|
|
1667
|
-
<Param type="Texture2D" name="texture" desc="" />
|
|
1668
|
-
</Function>
|
|
1669
|
-
<Function name="GetScreenData" retType="Image" paramCount="0" desc="Get pixel data from screen buffer and return an Image (screenshot)">
|
|
1670
|
-
</Function>
|
|
1671
1836
|
<Function name="GenTextureMipmaps" retType="void" paramCount="1" desc="Generate GPU mipmaps for a texture">
|
|
1672
1837
|
<Param type="Texture2D *" name="texture" desc="" />
|
|
1673
1838
|
</Function>
|
|
@@ -1740,7 +1905,7 @@
|
|
|
1740
1905
|
<Param type="Vector2" name="center" desc="" />
|
|
1741
1906
|
<Param type="Vector2 *" name="points" desc="" />
|
|
1742
1907
|
<Param type="Vector2 *" name="texcoords" desc="" />
|
|
1743
|
-
<Param type="int" name="
|
|
1908
|
+
<Param type="int" name="pointCount" desc="" />
|
|
1744
1909
|
<Param type="Color" name="tint" desc="" />
|
|
1745
1910
|
</Function>
|
|
1746
1911
|
<Function name="Fade" retType="Color" paramCount="2" desc="Get color with alpha applied, alpha goes from 0.0f to 1.0f">
|
|
@@ -1774,7 +1939,7 @@
|
|
|
1774
1939
|
<Param type="Color" name="tint" desc="" />
|
|
1775
1940
|
</Function>
|
|
1776
1941
|
<Function name="GetColor" retType="Color" paramCount="1" desc="Get Color structure from hexadecimal value">
|
|
1777
|
-
<Param type="int" name="hexValue" desc="" />
|
|
1942
|
+
<Param type="unsigned int" name="hexValue" desc="" />
|
|
1778
1943
|
</Function>
|
|
1779
1944
|
<Function name="GetPixelColor" retType="Color" paramCount="2" desc="Get Color from a source pixel pointer of certain format">
|
|
1780
1945
|
<Param type="void *" name="srcPtr" desc="" />
|
|
@@ -1795,11 +1960,11 @@
|
|
|
1795
1960
|
<Function name="LoadFont" retType="Font" paramCount="1" desc="Load font from file into GPU memory (VRAM)">
|
|
1796
1961
|
<Param type="const char *" name="fileName" desc="" />
|
|
1797
1962
|
</Function>
|
|
1798
|
-
<Function name="LoadFontEx" retType="Font" paramCount="4" desc="Load font from file with extended parameters">
|
|
1963
|
+
<Function name="LoadFontEx" retType="Font" paramCount="4" desc="Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set">
|
|
1799
1964
|
<Param type="const char *" name="fileName" desc="" />
|
|
1800
1965
|
<Param type="int" name="fontSize" desc="" />
|
|
1801
1966
|
<Param type="int *" name="fontChars" desc="" />
|
|
1802
|
-
<Param type="int" name="
|
|
1967
|
+
<Param type="int" name="glyphCount" desc="" />
|
|
1803
1968
|
</Function>
|
|
1804
1969
|
<Function name="LoadFontFromImage" retType="Font" paramCount="3" desc="Load font from Image (XNA style)">
|
|
1805
1970
|
<Param type="Image" name="image" desc="" />
|
|
@@ -1812,30 +1977,34 @@
|
|
|
1812
1977
|
<Param type="int" name="dataSize" desc="" />
|
|
1813
1978
|
<Param type="int" name="fontSize" desc="" />
|
|
1814
1979
|
<Param type="int *" name="fontChars" desc="" />
|
|
1815
|
-
<Param type="int" name="
|
|
1980
|
+
<Param type="int" name="glyphCount" desc="" />
|
|
1816
1981
|
</Function>
|
|
1817
|
-
<Function name="LoadFontData" retType="
|
|
1982
|
+
<Function name="LoadFontData" retType="GlyphInfo *" paramCount="6" desc="Load font data for further use">
|
|
1818
1983
|
<Param type="const unsigned char *" name="fileData" desc="" />
|
|
1819
1984
|
<Param type="int" name="dataSize" desc="" />
|
|
1820
1985
|
<Param type="int" name="fontSize" desc="" />
|
|
1821
1986
|
<Param type="int *" name="fontChars" desc="" />
|
|
1822
|
-
<Param type="int" name="
|
|
1987
|
+
<Param type="int" name="glyphCount" desc="" />
|
|
1823
1988
|
<Param type="int" name="type" desc="" />
|
|
1824
1989
|
</Function>
|
|
1825
1990
|
<Function name="GenImageFontAtlas" retType="Image" paramCount="6" desc="Generate image font atlas using chars info">
|
|
1826
|
-
<Param type="const
|
|
1991
|
+
<Param type="const GlyphInfo *" name="chars" desc="" />
|
|
1827
1992
|
<Param type="Rectangle **" name="recs" desc="" />
|
|
1828
|
-
<Param type="int" name="
|
|
1993
|
+
<Param type="int" name="glyphCount" desc="" />
|
|
1829
1994
|
<Param type="int" name="fontSize" desc="" />
|
|
1830
1995
|
<Param type="int" name="padding" desc="" />
|
|
1831
1996
|
<Param type="int" name="packMethod" desc="" />
|
|
1832
1997
|
</Function>
|
|
1833
1998
|
<Function name="UnloadFontData" retType="void" paramCount="2" desc="Unload font chars info data (RAM)">
|
|
1834
|
-
<Param type="
|
|
1835
|
-
<Param type="int" name="
|
|
1999
|
+
<Param type="GlyphInfo *" name="chars" desc="" />
|
|
2000
|
+
<Param type="int" name="glyphCount" desc="" />
|
|
2001
|
+
</Function>
|
|
2002
|
+
<Function name="UnloadFont" retType="void" paramCount="1" desc="Unload font from GPU memory (VRAM)">
|
|
2003
|
+
<Param type="Font" name="font" desc="" />
|
|
1836
2004
|
</Function>
|
|
1837
|
-
<Function name="
|
|
2005
|
+
<Function name="ExportFontAsCode" retType="bool" paramCount="2" desc="Export font as code file, returns true on success">
|
|
1838
2006
|
<Param type="Font" name="font" desc="" />
|
|
2007
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
1839
2008
|
</Function>
|
|
1840
2009
|
<Function name="DrawFPS" retType="void" paramCount="2" desc="Draw current FPS">
|
|
1841
2010
|
<Param type="int" name="posX" desc="" />
|
|
@@ -1856,33 +2025,30 @@
|
|
|
1856
2025
|
<Param type="float" name="spacing" desc="" />
|
|
1857
2026
|
<Param type="Color" name="tint" desc="" />
|
|
1858
2027
|
</Function>
|
|
1859
|
-
<Function name="
|
|
2028
|
+
<Function name="DrawTextPro" retType="void" paramCount="8" desc="Draw text using Font and pro parameters (rotation)">
|
|
1860
2029
|
<Param type="Font" name="font" desc="" />
|
|
1861
2030
|
<Param type="const char *" name="text" desc="" />
|
|
1862
|
-
<Param type="
|
|
2031
|
+
<Param type="Vector2" name="position" desc="" />
|
|
2032
|
+
<Param type="Vector2" name="origin" desc="" />
|
|
2033
|
+
<Param type="float" name="rotation" desc="" />
|
|
1863
2034
|
<Param type="float" name="fontSize" desc="" />
|
|
1864
2035
|
<Param type="float" name="spacing" desc="" />
|
|
1865
|
-
<Param type="bool" name="wordWrap" desc="" />
|
|
1866
2036
|
<Param type="Color" name="tint" desc="" />
|
|
1867
2037
|
</Function>
|
|
1868
|
-
<Function name="
|
|
2038
|
+
<Function name="DrawTextCodepoint" retType="void" paramCount="5" desc="Draw one character (codepoint)">
|
|
1869
2039
|
<Param type="Font" name="font" desc="" />
|
|
1870
|
-
<Param type="
|
|
1871
|
-
<Param type="
|
|
2040
|
+
<Param type="int" name="codepoint" desc="" />
|
|
2041
|
+
<Param type="Vector2" name="position" desc="" />
|
|
1872
2042
|
<Param type="float" name="fontSize" desc="" />
|
|
1873
|
-
<Param type="float" name="spacing" desc="" />
|
|
1874
|
-
<Param type="bool" name="wordWrap" desc="" />
|
|
1875
2043
|
<Param type="Color" name="tint" desc="" />
|
|
1876
|
-
<Param type="int" name="selectStart" desc="" />
|
|
1877
|
-
<Param type="int" name="selectLength" desc="" />
|
|
1878
|
-
<Param type="Color" name="selectTint" desc="" />
|
|
1879
|
-
<Param type="Color" name="selectBackTint" desc="" />
|
|
1880
2044
|
</Function>
|
|
1881
|
-
<Function name="
|
|
2045
|
+
<Function name="DrawTextCodepoints" retType="void" paramCount="7" desc="Draw multiple character (codepoint)">
|
|
1882
2046
|
<Param type="Font" name="font" desc="" />
|
|
1883
|
-
<Param type="int" name="
|
|
2047
|
+
<Param type="const int *" name="codepoints" desc="" />
|
|
2048
|
+
<Param type="int" name="count" desc="" />
|
|
1884
2049
|
<Param type="Vector2" name="position" desc="" />
|
|
1885
2050
|
<Param type="float" name="fontSize" desc="" />
|
|
2051
|
+
<Param type="float" name="spacing" desc="" />
|
|
1886
2052
|
<Param type="Color" name="tint" desc="" />
|
|
1887
2053
|
</Function>
|
|
1888
2054
|
<Function name="MeasureText" retType="int" paramCount="2" desc="Measure string width for default font">
|
|
@@ -1895,10 +2061,40 @@
|
|
|
1895
2061
|
<Param type="float" name="fontSize" desc="" />
|
|
1896
2062
|
<Param type="float" name="spacing" desc="" />
|
|
1897
2063
|
</Function>
|
|
1898
|
-
<Function name="GetGlyphIndex" retType="int" paramCount="2" desc="Get index position for a unicode character
|
|
2064
|
+
<Function name="GetGlyphIndex" retType="int" paramCount="2" desc="Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found">
|
|
2065
|
+
<Param type="Font" name="font" desc="" />
|
|
2066
|
+
<Param type="int" name="codepoint" desc="" />
|
|
2067
|
+
</Function>
|
|
2068
|
+
<Function name="GetGlyphInfo" retType="GlyphInfo" paramCount="2" desc="Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found">
|
|
1899
2069
|
<Param type="Font" name="font" desc="" />
|
|
1900
2070
|
<Param type="int" name="codepoint" desc="" />
|
|
1901
2071
|
</Function>
|
|
2072
|
+
<Function name="GetGlyphAtlasRec" retType="Rectangle" paramCount="2" desc="Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found">
|
|
2073
|
+
<Param type="Font" name="font" desc="" />
|
|
2074
|
+
<Param type="int" name="codepoint" desc="" />
|
|
2075
|
+
</Function>
|
|
2076
|
+
<Function name="LoadCodepoints" retType="int *" paramCount="2" desc="Load all codepoints from a UTF-8 text string, codepoints count returned by parameter">
|
|
2077
|
+
<Param type="const char *" name="text" desc="" />
|
|
2078
|
+
<Param type="int *" name="count" desc="" />
|
|
2079
|
+
</Function>
|
|
2080
|
+
<Function name="UnloadCodepoints" retType="void" paramCount="1" desc="Unload codepoints data from memory">
|
|
2081
|
+
<Param type="int *" name="codepoints" desc="" />
|
|
2082
|
+
</Function>
|
|
2083
|
+
<Function name="GetCodepointCount" retType="int" paramCount="1" desc="Get total number of codepoints in a UTF-8 encoded string">
|
|
2084
|
+
<Param type="const char *" name="text" desc="" />
|
|
2085
|
+
</Function>
|
|
2086
|
+
<Function name="GetCodepoint" retType="int" paramCount="2" desc="Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure">
|
|
2087
|
+
<Param type="const char *" name="text" desc="" />
|
|
2088
|
+
<Param type="int *" name="bytesProcessed" desc="" />
|
|
2089
|
+
</Function>
|
|
2090
|
+
<Function name="CodepointToUTF8" retType="const char *" paramCount="2" desc="Encode one codepoint into UTF-8 byte array (array length returned as parameter)">
|
|
2091
|
+
<Param type="int" name="codepoint" desc="" />
|
|
2092
|
+
<Param type="int *" name="byteSize" desc="" />
|
|
2093
|
+
</Function>
|
|
2094
|
+
<Function name="TextCodepointsToUTF8" retType="char *" paramCount="2" desc="Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)">
|
|
2095
|
+
<Param type="const int *" name="codepoints" desc="" />
|
|
2096
|
+
<Param type="int" name="length" desc="" />
|
|
2097
|
+
</Function>
|
|
1902
2098
|
<Function name="TextCopy" retType="int" paramCount="2" desc="Copy one string to another, returns bytes copied">
|
|
1903
2099
|
<Param type="char *" name="dst" desc="" />
|
|
1904
2100
|
<Param type="const char *" name="src" desc="" />
|
|
@@ -1910,21 +2106,21 @@
|
|
|
1910
2106
|
<Function name="TextLength" retType="unsigned int" paramCount="1" desc="Get text length, checks for '\0' ending">
|
|
1911
2107
|
<Param type="const char *" name="text" desc="" />
|
|
1912
2108
|
</Function>
|
|
1913
|
-
<Function name="TextFormat" retType="const char *" paramCount="2" desc="Text formatting with variables (sprintf style)">
|
|
2109
|
+
<Function name="TextFormat" retType="const char *" paramCount="2" desc="Text formatting with variables (sprintf() style)">
|
|
1914
2110
|
<Param type="const char *" name="text" desc="" />
|
|
1915
|
-
<Param type="" name="" desc="" />
|
|
2111
|
+
<Param type="..." name="args" desc="" />
|
|
1916
2112
|
</Function>
|
|
1917
2113
|
<Function name="TextSubtext" retType="const char *" paramCount="3" desc="Get a piece of a text string">
|
|
1918
2114
|
<Param type="const char *" name="text" desc="" />
|
|
1919
2115
|
<Param type="int" name="position" desc="" />
|
|
1920
2116
|
<Param type="int" name="length" desc="" />
|
|
1921
2117
|
</Function>
|
|
1922
|
-
<Function name="TextReplace" retType="char *" paramCount="3" desc="Replace text string (memory must be freed!)">
|
|
2118
|
+
<Function name="TextReplace" retType="char *" paramCount="3" desc="Replace text string (WARNING: memory must be freed!)">
|
|
1923
2119
|
<Param type="char *" name="text" desc="" />
|
|
1924
2120
|
<Param type="const char *" name="replace" desc="" />
|
|
1925
2121
|
<Param type="const char *" name="by" desc="" />
|
|
1926
2122
|
</Function>
|
|
1927
|
-
<Function name="TextInsert" retType="char *" paramCount="3" desc="Insert text in a position (memory must be freed!)">
|
|
2123
|
+
<Function name="TextInsert" retType="char *" paramCount="3" desc="Insert text in a position (WARNING: memory must be freed!)">
|
|
1928
2124
|
<Param type="const char *" name="text" desc="" />
|
|
1929
2125
|
<Param type="const char *" name="insert" desc="" />
|
|
1930
2126
|
<Param type="int" name="position" desc="" />
|
|
@@ -1960,25 +2156,6 @@
|
|
|
1960
2156
|
<Function name="TextToInteger" retType="int" paramCount="1" desc="Get integer value from text (negative values not supported)">
|
|
1961
2157
|
<Param type="const char *" name="text" desc="" />
|
|
1962
2158
|
</Function>
|
|
1963
|
-
<Function name="TextToUtf8" retType="char *" paramCount="2" desc="Encode text codepoint into utf8 text (memory must be freed!)">
|
|
1964
|
-
<Param type="int *" name="codepoints" desc="" />
|
|
1965
|
-
<Param type="int" name="length" desc="" />
|
|
1966
|
-
</Function>
|
|
1967
|
-
<Function name="GetCodepoints" retType="int *" paramCount="2" desc="Get all codepoints in a string, codepoints count returned by parameters">
|
|
1968
|
-
<Param type="const char *" name="text" desc="" />
|
|
1969
|
-
<Param type="int *" name="count" desc="" />
|
|
1970
|
-
</Function>
|
|
1971
|
-
<Function name="GetCodepointsCount" retType="int" paramCount="1" desc="Get total number of characters (codepoints) in a UTF8 encoded string">
|
|
1972
|
-
<Param type="const char *" name="text" desc="" />
|
|
1973
|
-
</Function>
|
|
1974
|
-
<Function name="GetNextCodepoint" retType="int" paramCount="2" desc="Get next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure">
|
|
1975
|
-
<Param type="const char *" name="text" desc="" />
|
|
1976
|
-
<Param type="int *" name="bytesProcessed" desc="" />
|
|
1977
|
-
</Function>
|
|
1978
|
-
<Function name="CodepointToUtf8" retType="const char *" paramCount="2" desc="Encode codepoint into utf8 text (char array length returned as parameter)">
|
|
1979
|
-
<Param type="int" name="codepoint" desc="" />
|
|
1980
|
-
<Param type="int *" name="byteLength" desc="" />
|
|
1981
|
-
</Function>
|
|
1982
2159
|
<Function name="DrawLine3D" retType="void" paramCount="3" desc="Draw a line in 3D world space">
|
|
1983
2160
|
<Param type="Vector3" name="startPos" desc="" />
|
|
1984
2161
|
<Param type="Vector3" name="endPos" desc="" />
|
|
@@ -2003,7 +2180,7 @@
|
|
|
2003
2180
|
</Function>
|
|
2004
2181
|
<Function name="DrawTriangleStrip3D" retType="void" paramCount="3" desc="Draw a triangle strip defined by points">
|
|
2005
2182
|
<Param type="Vector3 *" name="points" desc="" />
|
|
2006
|
-
<Param type="int" name="
|
|
2183
|
+
<Param type="int" name="pointCount" desc="" />
|
|
2007
2184
|
<Param type="Color" name="color" desc="" />
|
|
2008
2185
|
</Function>
|
|
2009
2186
|
<Function name="DrawCube" retType="void" paramCount="5" desc="Draw cube">
|
|
@@ -2038,6 +2215,15 @@
|
|
|
2038
2215
|
<Param type="float" name="length" desc="" />
|
|
2039
2216
|
<Param type="Color" name="color" desc="" />
|
|
2040
2217
|
</Function>
|
|
2218
|
+
<Function name="DrawCubeTextureRec" retType="void" paramCount="7" desc="Draw cube with a region of a texture">
|
|
2219
|
+
<Param type="Texture2D" name="texture" desc="" />
|
|
2220
|
+
<Param type="Rectangle" name="source" desc="" />
|
|
2221
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2222
|
+
<Param type="float" name="width" desc="" />
|
|
2223
|
+
<Param type="float" name="height" desc="" />
|
|
2224
|
+
<Param type="float" name="length" desc="" />
|
|
2225
|
+
<Param type="Color" name="color" desc="" />
|
|
2226
|
+
</Function>
|
|
2041
2227
|
<Function name="DrawSphere" retType="void" paramCount="3" desc="Draw sphere">
|
|
2042
2228
|
<Param type="Vector3" name="centerPos" desc="" />
|
|
2043
2229
|
<Param type="float" name="radius" desc="" />
|
|
@@ -2065,6 +2251,14 @@
|
|
|
2065
2251
|
<Param type="int" name="slices" desc="" />
|
|
2066
2252
|
<Param type="Color" name="color" desc="" />
|
|
2067
2253
|
</Function>
|
|
2254
|
+
<Function name="DrawCylinderEx" retType="void" paramCount="6" desc="Draw a cylinder with base at startPos and top at endPos">
|
|
2255
|
+
<Param type="Vector3" name="startPos" desc="" />
|
|
2256
|
+
<Param type="Vector3" name="endPos" desc="" />
|
|
2257
|
+
<Param type="float" name="startRadius" desc="" />
|
|
2258
|
+
<Param type="float" name="endRadius" desc="" />
|
|
2259
|
+
<Param type="int" name="sides" desc="" />
|
|
2260
|
+
<Param type="Color" name="color" desc="" />
|
|
2261
|
+
</Function>
|
|
2068
2262
|
<Function name="DrawCylinderWires" retType="void" paramCount="6" desc="Draw a cylinder/cone wires">
|
|
2069
2263
|
<Param type="Vector3" name="position" desc="" />
|
|
2070
2264
|
<Param type="float" name="radiusTop" desc="" />
|
|
@@ -2073,6 +2267,14 @@
|
|
|
2073
2267
|
<Param type="int" name="slices" desc="" />
|
|
2074
2268
|
<Param type="Color" name="color" desc="" />
|
|
2075
2269
|
</Function>
|
|
2270
|
+
<Function name="DrawCylinderWiresEx" retType="void" paramCount="6" desc="Draw a cylinder wires with base at startPos and top at endPos">
|
|
2271
|
+
<Param type="Vector3" name="startPos" desc="" />
|
|
2272
|
+
<Param type="Vector3" name="endPos" desc="" />
|
|
2273
|
+
<Param type="float" name="startRadius" desc="" />
|
|
2274
|
+
<Param type="float" name="endRadius" desc="" />
|
|
2275
|
+
<Param type="int" name="sides" desc="" />
|
|
2276
|
+
<Param type="Color" name="color" desc="" />
|
|
2277
|
+
</Function>
|
|
2076
2278
|
<Function name="DrawPlane" retType="void" paramCount="3" desc="Draw a plane XZ">
|
|
2077
2279
|
<Param type="Vector3" name="centerPos" desc="" />
|
|
2078
2280
|
<Param type="Vector2" name="size" desc="" />
|
|
@@ -2098,6 +2300,67 @@
|
|
|
2098
2300
|
<Function name="UnloadModelKeepMeshes" retType="void" paramCount="1" desc="Unload model (but not meshes) from memory (RAM and/or VRAM)">
|
|
2099
2301
|
<Param type="Model" name="model" desc="" />
|
|
2100
2302
|
</Function>
|
|
2303
|
+
<Function name="GetModelBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute model bounding box limits (considers all meshes)">
|
|
2304
|
+
<Param type="Model" name="model" desc="" />
|
|
2305
|
+
</Function>
|
|
2306
|
+
<Function name="DrawModel" retType="void" paramCount="4" desc="Draw a model (with texture if set)">
|
|
2307
|
+
<Param type="Model" name="model" desc="" />
|
|
2308
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2309
|
+
<Param type="float" name="scale" desc="" />
|
|
2310
|
+
<Param type="Color" name="tint" desc="" />
|
|
2311
|
+
</Function>
|
|
2312
|
+
<Function name="DrawModelEx" retType="void" paramCount="6" desc="Draw a model with extended parameters">
|
|
2313
|
+
<Param type="Model" name="model" desc="" />
|
|
2314
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2315
|
+
<Param type="Vector3" name="rotationAxis" desc="" />
|
|
2316
|
+
<Param type="float" name="rotationAngle" desc="" />
|
|
2317
|
+
<Param type="Vector3" name="scale" desc="" />
|
|
2318
|
+
<Param type="Color" name="tint" desc="" />
|
|
2319
|
+
</Function>
|
|
2320
|
+
<Function name="DrawModelWires" retType="void" paramCount="4" desc="Draw a model wires (with texture if set)">
|
|
2321
|
+
<Param type="Model" name="model" desc="" />
|
|
2322
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2323
|
+
<Param type="float" name="scale" desc="" />
|
|
2324
|
+
<Param type="Color" name="tint" desc="" />
|
|
2325
|
+
</Function>
|
|
2326
|
+
<Function name="DrawModelWiresEx" retType="void" paramCount="6" desc="Draw a model wires (with texture if set) with extended parameters">
|
|
2327
|
+
<Param type="Model" name="model" desc="" />
|
|
2328
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2329
|
+
<Param type="Vector3" name="rotationAxis" desc="" />
|
|
2330
|
+
<Param type="float" name="rotationAngle" desc="" />
|
|
2331
|
+
<Param type="Vector3" name="scale" desc="" />
|
|
2332
|
+
<Param type="Color" name="tint" desc="" />
|
|
2333
|
+
</Function>
|
|
2334
|
+
<Function name="DrawBoundingBox" retType="void" paramCount="2" desc="Draw bounding box (wires)">
|
|
2335
|
+
<Param type="BoundingBox" name="box" desc="" />
|
|
2336
|
+
<Param type="Color" name="color" desc="" />
|
|
2337
|
+
</Function>
|
|
2338
|
+
<Function name="DrawBillboard" retType="void" paramCount="5" desc="Draw a billboard texture">
|
|
2339
|
+
<Param type="Camera" name="camera" desc="" />
|
|
2340
|
+
<Param type="Texture2D" name="texture" desc="" />
|
|
2341
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2342
|
+
<Param type="float" name="size" desc="" />
|
|
2343
|
+
<Param type="Color" name="tint" desc="" />
|
|
2344
|
+
</Function>
|
|
2345
|
+
<Function name="DrawBillboardRec" retType="void" paramCount="6" desc="Draw a billboard texture defined by source">
|
|
2346
|
+
<Param type="Camera" name="camera" desc="" />
|
|
2347
|
+
<Param type="Texture2D" name="texture" desc="" />
|
|
2348
|
+
<Param type="Rectangle" name="source" desc="" />
|
|
2349
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2350
|
+
<Param type="Vector2" name="size" desc="" />
|
|
2351
|
+
<Param type="Color" name="tint" desc="" />
|
|
2352
|
+
</Function>
|
|
2353
|
+
<Function name="DrawBillboardPro" retType="void" paramCount="9" desc="Draw a billboard texture defined by source and rotation">
|
|
2354
|
+
<Param type="Camera" name="camera" desc="" />
|
|
2355
|
+
<Param type="Texture2D" name="texture" desc="" />
|
|
2356
|
+
<Param type="Rectangle" name="source" desc="" />
|
|
2357
|
+
<Param type="Vector3" name="position" desc="" />
|
|
2358
|
+
<Param type="Vector3" name="up" desc="" />
|
|
2359
|
+
<Param type="Vector2" name="size" desc="" />
|
|
2360
|
+
<Param type="Vector2" name="origin" desc="" />
|
|
2361
|
+
<Param type="float" name="rotation" desc="" />
|
|
2362
|
+
<Param type="Color" name="tint" desc="" />
|
|
2363
|
+
</Function>
|
|
2101
2364
|
<Function name="UploadMesh" retType="void" paramCount="2" desc="Upload mesh vertex data in GPU and provide VAO/VBO ids">
|
|
2102
2365
|
<Param type="Mesh *" name="mesh" desc="" />
|
|
2103
2366
|
<Param type="bool" name="dynamic" desc="" />
|
|
@@ -2105,10 +2368,13 @@
|
|
|
2105
2368
|
<Function name="UpdateMeshBuffer" retType="void" paramCount="5" desc="Update mesh vertex data in GPU for a specific buffer index">
|
|
2106
2369
|
<Param type="Mesh" name="mesh" desc="" />
|
|
2107
2370
|
<Param type="int" name="index" desc="" />
|
|
2108
|
-
<Param type="void *" name="data" desc="" />
|
|
2371
|
+
<Param type="const void *" name="data" desc="" />
|
|
2109
2372
|
<Param type="int" name="dataSize" desc="" />
|
|
2110
2373
|
<Param type="int" name="offset" desc="" />
|
|
2111
2374
|
</Function>
|
|
2375
|
+
<Function name="UnloadMesh" retType="void" paramCount="1" desc="Unload mesh data from CPU and GPU">
|
|
2376
|
+
<Param type="Mesh" name="mesh" desc="" />
|
|
2377
|
+
</Function>
|
|
2112
2378
|
<Function name="DrawMesh" retType="void" paramCount="3" desc="Draw a 3d mesh with material and transform">
|
|
2113
2379
|
<Param type="Mesh" name="mesh" desc="" />
|
|
2114
2380
|
<Param type="Material" name="material" desc="" />
|
|
@@ -2117,54 +2383,18 @@
|
|
|
2117
2383
|
<Function name="DrawMeshInstanced" retType="void" paramCount="4" desc="Draw multiple mesh instances with material and different transforms">
|
|
2118
2384
|
<Param type="Mesh" name="mesh" desc="" />
|
|
2119
2385
|
<Param type="Material" name="material" desc="" />
|
|
2120
|
-
<Param type="Matrix *" name="transforms" desc="" />
|
|
2386
|
+
<Param type="const Matrix *" name="transforms" desc="" />
|
|
2121
2387
|
<Param type="int" name="instances" desc="" />
|
|
2122
2388
|
</Function>
|
|
2123
|
-
<Function name="UnloadMesh" retType="void" paramCount="1" desc="Unload mesh data from CPU and GPU">
|
|
2124
|
-
<Param type="Mesh" name="mesh" desc="" />
|
|
2125
|
-
</Function>
|
|
2126
2389
|
<Function name="ExportMesh" retType="bool" paramCount="2" desc="Export mesh data to file, returns true on success">
|
|
2127
2390
|
<Param type="Mesh" name="mesh" desc="" />
|
|
2128
2391
|
<Param type="const char *" name="fileName" desc="" />
|
|
2129
2392
|
</Function>
|
|
2130
|
-
<Function name="
|
|
2131
|
-
<Param type="
|
|
2132
|
-
<Param type="int *" name="materialCount" desc="" />
|
|
2133
|
-
</Function>
|
|
2134
|
-
<Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)">
|
|
2135
|
-
</Function>
|
|
2136
|
-
<Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)">
|
|
2137
|
-
<Param type="Material" name="material" desc="" />
|
|
2138
|
-
</Function>
|
|
2139
|
-
<Function name="SetMaterialTexture" retType="void" paramCount="3" desc="Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)">
|
|
2140
|
-
<Param type="Material *" name="material" desc="" />
|
|
2141
|
-
<Param type="int" name="mapType" desc="" />
|
|
2142
|
-
<Param type="Texture2D" name="texture" desc="" />
|
|
2143
|
-
</Function>
|
|
2144
|
-
<Function name="SetModelMeshMaterial" retType="void" paramCount="3" desc="Set material for a mesh">
|
|
2145
|
-
<Param type="Model *" name="model" desc="" />
|
|
2146
|
-
<Param type="int" name="meshId" desc="" />
|
|
2147
|
-
<Param type="int" name="materialId" desc="" />
|
|
2148
|
-
</Function>
|
|
2149
|
-
<Function name="LoadModelAnimations" retType="ModelAnimation *" paramCount="2" desc="Load model animations from file">
|
|
2150
|
-
<Param type="const char *" name="fileName" desc="" />
|
|
2151
|
-
<Param type="int *" name="animsCount" desc="" />
|
|
2152
|
-
</Function>
|
|
2153
|
-
<Function name="UpdateModelAnimation" retType="void" paramCount="3" desc="Update model animation pose">
|
|
2154
|
-
<Param type="Model" name="model" desc="" />
|
|
2155
|
-
<Param type="ModelAnimation" name="anim" desc="" />
|
|
2156
|
-
<Param type="int" name="frame" desc="" />
|
|
2157
|
-
</Function>
|
|
2158
|
-
<Function name="UnloadModelAnimation" retType="void" paramCount="1" desc="Unload animation data">
|
|
2159
|
-
<Param type="ModelAnimation" name="anim" desc="" />
|
|
2160
|
-
</Function>
|
|
2161
|
-
<Function name="UnloadModelAnimations" retType="void" paramCount="2" desc="Unload animation array data">
|
|
2162
|
-
<Param type="ModelAnimation*" name="animations" desc="" />
|
|
2163
|
-
<Param type="unsigned int" name="count" desc="" />
|
|
2393
|
+
<Function name="GetMeshBoundingBox" retType="BoundingBox" paramCount="1" desc="Compute mesh bounding box limits">
|
|
2394
|
+
<Param type="Mesh" name="mesh" desc="" />
|
|
2164
2395
|
</Function>
|
|
2165
|
-
<Function name="
|
|
2166
|
-
<Param type="
|
|
2167
|
-
<Param type="ModelAnimation" name="anim" desc="" />
|
|
2396
|
+
<Function name="GenMeshTangents" retType="void" paramCount="1" desc="Compute mesh tangents">
|
|
2397
|
+
<Param type="Mesh *" name="mesh" desc="" />
|
|
2168
2398
|
</Function>
|
|
2169
2399
|
<Function name="GenMeshPoly" retType="Mesh" paramCount="2" desc="Generate polygonal mesh">
|
|
2170
2400
|
<Param type="int" name="sides" desc="" />
|
|
@@ -2196,6 +2426,11 @@
|
|
|
2196
2426
|
<Param type="float" name="height" desc="" />
|
|
2197
2427
|
<Param type="int" name="slices" desc="" />
|
|
2198
2428
|
</Function>
|
|
2429
|
+
<Function name="GenMeshCone" retType="Mesh" paramCount="3" desc="Generate cone/pyramid mesh">
|
|
2430
|
+
<Param type="float" name="radius" desc="" />
|
|
2431
|
+
<Param type="float" name="height" desc="" />
|
|
2432
|
+
<Param type="int" name="slices" desc="" />
|
|
2433
|
+
</Function>
|
|
2199
2434
|
<Function name="GenMeshTorus" retType="Mesh" paramCount="4" desc="Generate torus mesh">
|
|
2200
2435
|
<Param type="float" name="radius" desc="" />
|
|
2201
2436
|
<Param type="float" name="size" desc="" />
|
|
@@ -2216,71 +2451,44 @@
|
|
|
2216
2451
|
<Param type="Image" name="cubicmap" desc="" />
|
|
2217
2452
|
<Param type="Vector3" name="cubeSize" desc="" />
|
|
2218
2453
|
</Function>
|
|
2219
|
-
<Function name="
|
|
2220
|
-
<Param type="
|
|
2454
|
+
<Function name="LoadMaterials" retType="Material *" paramCount="2" desc="Load materials from model file">
|
|
2455
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
2456
|
+
<Param type="int *" name="materialCount" desc="" />
|
|
2221
2457
|
</Function>
|
|
2222
|
-
<Function name="
|
|
2223
|
-
<Param type="Mesh *" name="mesh" desc="" />
|
|
2458
|
+
<Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)">
|
|
2224
2459
|
</Function>
|
|
2225
|
-
<Function name="
|
|
2226
|
-
<Param type="
|
|
2460
|
+
<Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)">
|
|
2461
|
+
<Param type="Material" name="material" desc="" />
|
|
2227
2462
|
</Function>
|
|
2228
|
-
<Function name="
|
|
2229
|
-
<Param type="
|
|
2230
|
-
<Param type="
|
|
2231
|
-
<Param type="
|
|
2232
|
-
<Param type="Color" name="tint" desc="" />
|
|
2463
|
+
<Function name="SetMaterialTexture" retType="void" paramCount="3" desc="Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)">
|
|
2464
|
+
<Param type="Material *" name="material" desc="" />
|
|
2465
|
+
<Param type="int" name="mapType" desc="" />
|
|
2466
|
+
<Param type="Texture2D" name="texture" desc="" />
|
|
2233
2467
|
</Function>
|
|
2234
|
-
<Function name="
|
|
2235
|
-
<Param type="Model" name="model" desc="" />
|
|
2236
|
-
<Param type="
|
|
2237
|
-
<Param type="
|
|
2238
|
-
<Param type="float" name="rotationAngle" desc="" />
|
|
2239
|
-
<Param type="Vector3" name="scale" desc="" />
|
|
2240
|
-
<Param type="Color" name="tint" desc="" />
|
|
2468
|
+
<Function name="SetModelMeshMaterial" retType="void" paramCount="3" desc="Set material for a mesh">
|
|
2469
|
+
<Param type="Model *" name="model" desc="" />
|
|
2470
|
+
<Param type="int" name="meshId" desc="" />
|
|
2471
|
+
<Param type="int" name="materialId" desc="" />
|
|
2241
2472
|
</Function>
|
|
2242
|
-
<Function name="
|
|
2243
|
-
<Param type="
|
|
2244
|
-
<Param type="
|
|
2245
|
-
<Param type="float" name="scale" desc="" />
|
|
2246
|
-
<Param type="Color" name="tint" desc="" />
|
|
2473
|
+
<Function name="LoadModelAnimations" retType="ModelAnimation *" paramCount="2" desc="Load model animations from file">
|
|
2474
|
+
<Param type="const char *" name="fileName" desc="" />
|
|
2475
|
+
<Param type="unsigned int *" name="animCount" desc="" />
|
|
2247
2476
|
</Function>
|
|
2248
|
-
<Function name="
|
|
2477
|
+
<Function name="UpdateModelAnimation" retType="void" paramCount="3" desc="Update model animation pose">
|
|
2249
2478
|
<Param type="Model" name="model" desc="" />
|
|
2250
|
-
<Param type="
|
|
2251
|
-
<Param type="
|
|
2252
|
-
<Param type="float" name="rotationAngle" desc="" />
|
|
2253
|
-
<Param type="Vector3" name="scale" desc="" />
|
|
2254
|
-
<Param type="Color" name="tint" desc="" />
|
|
2255
|
-
</Function>
|
|
2256
|
-
<Function name="DrawBoundingBox" retType="void" paramCount="2" desc="Draw bounding box (wires)">
|
|
2257
|
-
<Param type="BoundingBox" name="box" desc="" />
|
|
2258
|
-
<Param type="Color" name="color" desc="" />
|
|
2479
|
+
<Param type="ModelAnimation" name="anim" desc="" />
|
|
2480
|
+
<Param type="int" name="frame" desc="" />
|
|
2259
2481
|
</Function>
|
|
2260
|
-
<Function name="
|
|
2261
|
-
<Param type="
|
|
2262
|
-
<Param type="Texture2D" name="texture" desc="" />
|
|
2263
|
-
<Param type="Vector3" name="position" desc="" />
|
|
2264
|
-
<Param type="float" name="size" desc="" />
|
|
2265
|
-
<Param type="Color" name="tint" desc="" />
|
|
2482
|
+
<Function name="UnloadModelAnimation" retType="void" paramCount="1" desc="Unload animation data">
|
|
2483
|
+
<Param type="ModelAnimation" name="anim" desc="" />
|
|
2266
2484
|
</Function>
|
|
2267
|
-
<Function name="
|
|
2268
|
-
<Param type="
|
|
2269
|
-
<Param type="
|
|
2270
|
-
<Param type="Rectangle" name="source" desc="" />
|
|
2271
|
-
<Param type="Vector3" name="position" desc="" />
|
|
2272
|
-
<Param type="Vector2" name="size" desc="" />
|
|
2273
|
-
<Param type="Color" name="tint" desc="" />
|
|
2485
|
+
<Function name="UnloadModelAnimations" retType="void" paramCount="2" desc="Unload animation array data">
|
|
2486
|
+
<Param type="ModelAnimation *" name="animations" desc="" />
|
|
2487
|
+
<Param type="unsigned int" name="count" desc="" />
|
|
2274
2488
|
</Function>
|
|
2275
|
-
<Function name="
|
|
2276
|
-
<Param type="
|
|
2277
|
-
<Param type="
|
|
2278
|
-
<Param type="Rectangle" name="source" desc="" />
|
|
2279
|
-
<Param type="Vector3" name="position" desc="" />
|
|
2280
|
-
<Param type="Vector2" name="size" desc="" />
|
|
2281
|
-
<Param type="Vector2" name="origin" desc="" />
|
|
2282
|
-
<Param type="float" name="rotation" desc="" />
|
|
2283
|
-
<Param type="Color" name="tint" desc="" />
|
|
2489
|
+
<Function name="IsModelAnimationValid" retType="bool" paramCount="2" desc="Check model animation skeleton match">
|
|
2490
|
+
<Param type="Model" name="model" desc="" />
|
|
2491
|
+
<Param type="ModelAnimation" name="anim" desc="" />
|
|
2284
2492
|
</Function>
|
|
2285
2493
|
<Function name="CheckCollisionSpheres" retType="bool" paramCount="4" desc="Check collision between two spheres">
|
|
2286
2494
|
<Param type="Vector3" name="center1" desc="" />
|
|
@@ -2306,10 +2514,6 @@
|
|
|
2306
2514
|
<Param type="Ray" name="ray" desc="" />
|
|
2307
2515
|
<Param type="BoundingBox" name="box" desc="" />
|
|
2308
2516
|
</Function>
|
|
2309
|
-
<Function name="GetRayCollisionModel" retType="RayCollision" paramCount="2" desc="Get collision info between ray and model">
|
|
2310
|
-
<Param type="Ray" name="ray" desc="" />
|
|
2311
|
-
<Param type="Model" name="model" desc="" />
|
|
2312
|
-
</Function>
|
|
2313
2517
|
<Function name="GetRayCollisionMesh" retType="RayCollision" paramCount="3" desc="Get collision info between ray and mesh">
|
|
2314
2518
|
<Param type="Ray" name="ray" desc="" />
|
|
2315
2519
|
<Param type="Mesh" name="mesh" desc="" />
|
|
@@ -2354,7 +2558,7 @@
|
|
|
2354
2558
|
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data">
|
|
2355
2559
|
<Param type="Sound" name="sound" desc="" />
|
|
2356
2560
|
<Param type="const void *" name="data" desc="" />
|
|
2357
|
-
<Param type="int" name="
|
|
2561
|
+
<Param type="int" name="sampleCount" desc="" />
|
|
2358
2562
|
</Function>
|
|
2359
2563
|
<Function name="UnloadWave" retType="void" paramCount="1" desc="Unload wave data">
|
|
2360
2564
|
<Param type="Wave" name="wave" desc="" />
|
|
@@ -2400,11 +2604,9 @@
|
|
|
2400
2604
|
<Param type="Sound" name="sound" desc="" />
|
|
2401
2605
|
<Param type="float" name="pitch" desc="" />
|
|
2402
2606
|
</Function>
|
|
2403
|
-
<Function name="
|
|
2404
|
-
<Param type="
|
|
2405
|
-
<Param type="
|
|
2406
|
-
<Param type="int" name="sampleSize" desc="" />
|
|
2407
|
-
<Param type="int" name="channels" desc="" />
|
|
2607
|
+
<Function name="SetSoundPan" retType="void" paramCount="2" desc="Set pan for a sound (0.5 is center)">
|
|
2608
|
+
<Param type="Sound" name="sound" desc="" />
|
|
2609
|
+
<Param type="float" name="pan" desc="" />
|
|
2408
2610
|
</Function>
|
|
2409
2611
|
<Function name="WaveCopy" retType="Wave" paramCount="1" desc="Copy a wave to a new wave">
|
|
2410
2612
|
<Param type="Wave" name="wave" desc="" />
|
|
@@ -2414,7 +2616,13 @@
|
|
|
2414
2616
|
<Param type="int" name="initSample" desc="" />
|
|
2415
2617
|
<Param type="int" name="finalSample" desc="" />
|
|
2416
2618
|
</Function>
|
|
2417
|
-
<Function name="
|
|
2619
|
+
<Function name="WaveFormat" retType="void" paramCount="4" desc="Convert wave data to desired format">
|
|
2620
|
+
<Param type="Wave *" name="wave" desc="" />
|
|
2621
|
+
<Param type="int" name="sampleRate" desc="" />
|
|
2622
|
+
<Param type="int" name="sampleSize" desc="" />
|
|
2623
|
+
<Param type="int" name="channels" desc="" />
|
|
2624
|
+
</Function>
|
|
2625
|
+
<Function name="LoadWaveSamples" retType="float *" paramCount="1" desc="Load samples data from wave as a 32bit float data array">
|
|
2418
2626
|
<Param type="Wave" name="wave" desc="" />
|
|
2419
2627
|
</Function>
|
|
2420
2628
|
<Function name="UnloadWaveSamples" retType="void" paramCount="1" desc="Unload samples data loaded with LoadWaveSamples()">
|
|
@@ -2425,7 +2633,7 @@
|
|
|
2425
2633
|
</Function>
|
|
2426
2634
|
<Function name="LoadMusicStreamFromMemory" retType="Music" paramCount="3" desc="Load music stream from data">
|
|
2427
2635
|
<Param type="const char *" name="fileType" desc="" />
|
|
2428
|
-
<Param type="unsigned char *" name="data" desc="" />
|
|
2636
|
+
<Param type="const unsigned char *" name="data" desc="" />
|
|
2429
2637
|
<Param type="int" name="dataSize" desc="" />
|
|
2430
2638
|
</Function>
|
|
2431
2639
|
<Function name="UnloadMusicStream" retType="void" paramCount="1" desc="Unload music stream">
|
|
@@ -2449,6 +2657,10 @@
|
|
|
2449
2657
|
<Function name="ResumeMusicStream" retType="void" paramCount="1" desc="Resume playing paused music">
|
|
2450
2658
|
<Param type="Music" name="music" desc="" />
|
|
2451
2659
|
</Function>
|
|
2660
|
+
<Function name="SeekMusicStream" retType="void" paramCount="2" desc="Seek music to a position (in seconds)">
|
|
2661
|
+
<Param type="Music" name="music" desc="" />
|
|
2662
|
+
<Param type="float" name="position" desc="" />
|
|
2663
|
+
</Function>
|
|
2452
2664
|
<Function name="SetMusicVolume" retType="void" paramCount="2" desc="Set volume for music (1.0 is max level)">
|
|
2453
2665
|
<Param type="Music" name="music" desc="" />
|
|
2454
2666
|
<Param type="float" name="volume" desc="" />
|
|
@@ -2457,6 +2669,10 @@
|
|
|
2457
2669
|
<Param type="Music" name="music" desc="" />
|
|
2458
2670
|
<Param type="float" name="pitch" desc="" />
|
|
2459
2671
|
</Function>
|
|
2672
|
+
<Function name="SetMusicPan" retType="void" paramCount="2" desc="Set pan for a music (0.5 is center)">
|
|
2673
|
+
<Param type="Music" name="music" desc="" />
|
|
2674
|
+
<Param type="float" name="pan" desc="" />
|
|
2675
|
+
</Function>
|
|
2460
2676
|
<Function name="GetMusicTimeLength" retType="float" paramCount="1" desc="Get music time length (in seconds)">
|
|
2461
2677
|
<Param type="Music" name="music" desc="" />
|
|
2462
2678
|
</Function>
|
|
@@ -2474,7 +2690,7 @@
|
|
|
2474
2690
|
<Function name="UpdateAudioStream" retType="void" paramCount="3" desc="Update audio stream buffers with data">
|
|
2475
2691
|
<Param type="AudioStream" name="stream" desc="" />
|
|
2476
2692
|
<Param type="const void *" name="data" desc="" />
|
|
2477
|
-
<Param type="int" name="
|
|
2693
|
+
<Param type="int" name="frameCount" desc="" />
|
|
2478
2694
|
</Function>
|
|
2479
2695
|
<Function name="IsAudioStreamProcessed" retType="bool" paramCount="1" desc="Check if any audio stream buffers requires refill">
|
|
2480
2696
|
<Param type="AudioStream" name="stream" desc="" />
|
|
@@ -2502,8 +2718,24 @@
|
|
|
2502
2718
|
<Param type="AudioStream" name="stream" desc="" />
|
|
2503
2719
|
<Param type="float" name="pitch" desc="" />
|
|
2504
2720
|
</Function>
|
|
2721
|
+
<Function name="SetAudioStreamPan" retType="void" paramCount="2" desc="Set pan for audio stream (0.5 is centered)">
|
|
2722
|
+
<Param type="AudioStream" name="stream" desc="" />
|
|
2723
|
+
<Param type="float" name="pan" desc="" />
|
|
2724
|
+
</Function>
|
|
2505
2725
|
<Function name="SetAudioStreamBufferSizeDefault" retType="void" paramCount="1" desc="Default size for new audio streams">
|
|
2506
2726
|
<Param type="int" name="size" desc="" />
|
|
2507
2727
|
</Function>
|
|
2728
|
+
<Function name="SetAudioStreamCallback" retType="void" paramCount="2" desc="Audio thread callback to request new data">
|
|
2729
|
+
<Param type="AudioStream" name="stream" desc="" />
|
|
2730
|
+
<Param type="AudioCallback" name="callback" desc="" />
|
|
2731
|
+
</Function>
|
|
2732
|
+
<Function name="AttachAudioStreamProcessor" retType="void" paramCount="2" desc="">
|
|
2733
|
+
<Param type="AudioStream" name="stream" desc="" />
|
|
2734
|
+
<Param type="AudioCallback" name="processor" desc="" />
|
|
2735
|
+
</Function>
|
|
2736
|
+
<Function name="DetachAudioStreamProcessor" retType="void" paramCount="2" desc="">
|
|
2737
|
+
<Param type="AudioStream" name="stream" desc="" />
|
|
2738
|
+
<Param type="AudioCallback" name="processor" desc="" />
|
|
2739
|
+
</Function>
|
|
2508
2740
|
</Functions>
|
|
2509
2741
|
</raylibAPI>
|