koffi 2.1.1 → 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 +6 -0
- 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/ffi.hh +1 -1
- package/src/util.hh +6 -0
- package/test/raylib.js +37 -5
- package/vendor/libcc/libcc.cc +430 -196
- package/vendor/libcc/libcc.hh +1417 -1283
- 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.1/koffi_darwin_arm64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_darwin_x64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_freebsd_arm64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_freebsd_ia32.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_freebsd_x64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_linux_arm32hf.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_linux_arm64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_linux_ia32.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_linux_riscv64hf64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_linux_x64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_openbsd_ia32.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_openbsd_x64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_win32_arm64.tar.gz +0 -0
- package/build/qemu/2.1.1/koffi_win32_ia32.tar.gz +0 -0
- package/build/qemu/2.1.1/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,48 +1,328 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
Defines found: 53
|
|
3
|
+
|
|
4
|
+
Define 001: RAYLIB_H
|
|
5
|
+
Name: RAYLIB_H
|
|
6
|
+
Type: GUARD
|
|
7
|
+
Value:
|
|
8
|
+
Description:
|
|
9
|
+
Define 002: RAYLIB_VERSION
|
|
10
|
+
Name: RAYLIB_VERSION
|
|
11
|
+
Type: STRING
|
|
12
|
+
Value: "4.2"
|
|
13
|
+
Description:
|
|
14
|
+
Define 003: __declspec(x)
|
|
15
|
+
Name: __declspec(x)
|
|
16
|
+
Type: MACRO
|
|
17
|
+
Value: __attribute__((x))
|
|
18
|
+
Description:
|
|
19
|
+
Define 004: RLAPI
|
|
20
|
+
Name: RLAPI
|
|
21
|
+
Type: UNKNOWN
|
|
22
|
+
Value: __declspec(dllexport)
|
|
23
|
+
Description: We are building the library as a Win32 shared library (.dll)
|
|
24
|
+
Define 005: PI
|
|
25
|
+
Name: PI
|
|
26
|
+
Type: FLOAT
|
|
27
|
+
Value: 3.14159265358979323846
|
|
28
|
+
Description:
|
|
29
|
+
Define 006: DEG2RAD
|
|
30
|
+
Name: DEG2RAD
|
|
31
|
+
Type: FLOAT_MATH
|
|
32
|
+
Value: (PI/180.0f)
|
|
33
|
+
Description:
|
|
34
|
+
Define 007: RAD2DEG
|
|
35
|
+
Name: RAD2DEG
|
|
36
|
+
Type: FLOAT_MATH
|
|
37
|
+
Value: (180.0f/PI)
|
|
38
|
+
Description:
|
|
39
|
+
Define 008: RL_MALLOC(sz)
|
|
40
|
+
Name: RL_MALLOC(sz)
|
|
41
|
+
Type: MACRO
|
|
42
|
+
Value: malloc(sz)
|
|
43
|
+
Description:
|
|
44
|
+
Define 009: RL_CALLOC(n,sz)
|
|
45
|
+
Name: RL_CALLOC(n,sz)
|
|
46
|
+
Type: MACRO
|
|
47
|
+
Value: calloc(n,sz)
|
|
48
|
+
Description:
|
|
49
|
+
Define 010: RL_REALLOC(ptr,sz)
|
|
50
|
+
Name: RL_REALLOC(ptr,sz)
|
|
51
|
+
Type: MACRO
|
|
52
|
+
Value: realloc(ptr,sz)
|
|
53
|
+
Description:
|
|
54
|
+
Define 011: RL_FREE(ptr)
|
|
55
|
+
Name: RL_FREE(ptr)
|
|
56
|
+
Type: MACRO
|
|
57
|
+
Value: free(ptr)
|
|
58
|
+
Description:
|
|
59
|
+
Define 012: CLITERAL(type)
|
|
60
|
+
Name: CLITERAL(type)
|
|
61
|
+
Type: MACRO
|
|
62
|
+
Value: type
|
|
63
|
+
Description:
|
|
64
|
+
Define 013: RL_COLOR_TYPE
|
|
65
|
+
Name: RL_COLOR_TYPE
|
|
66
|
+
Type: GUARD
|
|
67
|
+
Value:
|
|
68
|
+
Description:
|
|
69
|
+
Define 014: RL_RECTANGLE_TYPE
|
|
70
|
+
Name: RL_RECTANGLE_TYPE
|
|
71
|
+
Type: GUARD
|
|
72
|
+
Value:
|
|
73
|
+
Description:
|
|
74
|
+
Define 015: RL_VECTOR2_TYPE
|
|
75
|
+
Name: RL_VECTOR2_TYPE
|
|
76
|
+
Type: GUARD
|
|
77
|
+
Value:
|
|
78
|
+
Description:
|
|
79
|
+
Define 016: RL_VECTOR3_TYPE
|
|
80
|
+
Name: RL_VECTOR3_TYPE
|
|
81
|
+
Type: GUARD
|
|
82
|
+
Value:
|
|
83
|
+
Description:
|
|
84
|
+
Define 017: RL_VECTOR4_TYPE
|
|
85
|
+
Name: RL_VECTOR4_TYPE
|
|
86
|
+
Type: GUARD
|
|
87
|
+
Value:
|
|
88
|
+
Description:
|
|
89
|
+
Define 018: RL_QUATERNION_TYPE
|
|
90
|
+
Name: RL_QUATERNION_TYPE
|
|
91
|
+
Type: GUARD
|
|
92
|
+
Value:
|
|
93
|
+
Description:
|
|
94
|
+
Define 019: RL_MATRIX_TYPE
|
|
95
|
+
Name: RL_MATRIX_TYPE
|
|
96
|
+
Type: GUARD
|
|
97
|
+
Value:
|
|
98
|
+
Description:
|
|
99
|
+
Define 020: LIGHTGRAY
|
|
100
|
+
Name: LIGHTGRAY
|
|
101
|
+
Type: COLOR
|
|
102
|
+
Value: CLITERAL(Color){ 200, 200, 200, 255 }
|
|
103
|
+
Description: Light Gray
|
|
104
|
+
Define 021: GRAY
|
|
105
|
+
Name: GRAY
|
|
106
|
+
Type: COLOR
|
|
107
|
+
Value: CLITERAL(Color){ 130, 130, 130, 255 }
|
|
108
|
+
Description: Gray
|
|
109
|
+
Define 022: DARKGRAY
|
|
110
|
+
Name: DARKGRAY
|
|
111
|
+
Type: COLOR
|
|
112
|
+
Value: CLITERAL(Color){ 80, 80, 80, 255 }
|
|
113
|
+
Description: Dark Gray
|
|
114
|
+
Define 023: YELLOW
|
|
115
|
+
Name: YELLOW
|
|
116
|
+
Type: COLOR
|
|
117
|
+
Value: CLITERAL(Color){ 253, 249, 0, 255 }
|
|
118
|
+
Description: Yellow
|
|
119
|
+
Define 024: GOLD
|
|
120
|
+
Name: GOLD
|
|
121
|
+
Type: COLOR
|
|
122
|
+
Value: CLITERAL(Color){ 255, 203, 0, 255 }
|
|
123
|
+
Description: Gold
|
|
124
|
+
Define 025: ORANGE
|
|
125
|
+
Name: ORANGE
|
|
126
|
+
Type: COLOR
|
|
127
|
+
Value: CLITERAL(Color){ 255, 161, 0, 255 }
|
|
128
|
+
Description: Orange
|
|
129
|
+
Define 026: PINK
|
|
130
|
+
Name: PINK
|
|
131
|
+
Type: COLOR
|
|
132
|
+
Value: CLITERAL(Color){ 255, 109, 194, 255 }
|
|
133
|
+
Description: Pink
|
|
134
|
+
Define 027: RED
|
|
135
|
+
Name: RED
|
|
136
|
+
Type: COLOR
|
|
137
|
+
Value: CLITERAL(Color){ 230, 41, 55, 255 }
|
|
138
|
+
Description: Red
|
|
139
|
+
Define 028: MAROON
|
|
140
|
+
Name: MAROON
|
|
141
|
+
Type: COLOR
|
|
142
|
+
Value: CLITERAL(Color){ 190, 33, 55, 255 }
|
|
143
|
+
Description: Maroon
|
|
144
|
+
Define 029: GREEN
|
|
145
|
+
Name: GREEN
|
|
146
|
+
Type: COLOR
|
|
147
|
+
Value: CLITERAL(Color){ 0, 228, 48, 255 }
|
|
148
|
+
Description: Green
|
|
149
|
+
Define 030: LIME
|
|
150
|
+
Name: LIME
|
|
151
|
+
Type: COLOR
|
|
152
|
+
Value: CLITERAL(Color){ 0, 158, 47, 255 }
|
|
153
|
+
Description: Lime
|
|
154
|
+
Define 031: DARKGREEN
|
|
155
|
+
Name: DARKGREEN
|
|
156
|
+
Type: COLOR
|
|
157
|
+
Value: CLITERAL(Color){ 0, 117, 44, 255 }
|
|
158
|
+
Description: Dark Green
|
|
159
|
+
Define 032: SKYBLUE
|
|
160
|
+
Name: SKYBLUE
|
|
161
|
+
Type: COLOR
|
|
162
|
+
Value: CLITERAL(Color){ 102, 191, 255, 255 }
|
|
163
|
+
Description: Sky Blue
|
|
164
|
+
Define 033: BLUE
|
|
165
|
+
Name: BLUE
|
|
166
|
+
Type: COLOR
|
|
167
|
+
Value: CLITERAL(Color){ 0, 121, 241, 255 }
|
|
168
|
+
Description: Blue
|
|
169
|
+
Define 034: DARKBLUE
|
|
170
|
+
Name: DARKBLUE
|
|
171
|
+
Type: COLOR
|
|
172
|
+
Value: CLITERAL(Color){ 0, 82, 172, 255 }
|
|
173
|
+
Description: Dark Blue
|
|
174
|
+
Define 035: PURPLE
|
|
175
|
+
Name: PURPLE
|
|
176
|
+
Type: COLOR
|
|
177
|
+
Value: CLITERAL(Color){ 200, 122, 255, 255 }
|
|
178
|
+
Description: Purple
|
|
179
|
+
Define 036: VIOLET
|
|
180
|
+
Name: VIOLET
|
|
181
|
+
Type: COLOR
|
|
182
|
+
Value: CLITERAL(Color){ 135, 60, 190, 255 }
|
|
183
|
+
Description: Violet
|
|
184
|
+
Define 037: DARKPURPLE
|
|
185
|
+
Name: DARKPURPLE
|
|
186
|
+
Type: COLOR
|
|
187
|
+
Value: CLITERAL(Color){ 112, 31, 126, 255 }
|
|
188
|
+
Description: Dark Purple
|
|
189
|
+
Define 038: BEIGE
|
|
190
|
+
Name: BEIGE
|
|
191
|
+
Type: COLOR
|
|
192
|
+
Value: CLITERAL(Color){ 211, 176, 131, 255 }
|
|
193
|
+
Description: Beige
|
|
194
|
+
Define 039: BROWN
|
|
195
|
+
Name: BROWN
|
|
196
|
+
Type: COLOR
|
|
197
|
+
Value: CLITERAL(Color){ 127, 106, 79, 255 }
|
|
198
|
+
Description: Brown
|
|
199
|
+
Define 040: DARKBROWN
|
|
200
|
+
Name: DARKBROWN
|
|
201
|
+
Type: COLOR
|
|
202
|
+
Value: CLITERAL(Color){ 76, 63, 47, 255 }
|
|
203
|
+
Description: Dark Brown
|
|
204
|
+
Define 041: WHITE
|
|
205
|
+
Name: WHITE
|
|
206
|
+
Type: COLOR
|
|
207
|
+
Value: CLITERAL(Color){ 255, 255, 255, 255 }
|
|
208
|
+
Description: White
|
|
209
|
+
Define 042: BLACK
|
|
210
|
+
Name: BLACK
|
|
211
|
+
Type: COLOR
|
|
212
|
+
Value: CLITERAL(Color){ 0, 0, 0, 255 }
|
|
213
|
+
Description: Black
|
|
214
|
+
Define 043: BLANK
|
|
215
|
+
Name: BLANK
|
|
216
|
+
Type: COLOR
|
|
217
|
+
Value: CLITERAL(Color){ 0, 0, 0, 0 }
|
|
218
|
+
Description: Blank (Transparent)
|
|
219
|
+
Define 044: MAGENTA
|
|
220
|
+
Name: MAGENTA
|
|
221
|
+
Type: COLOR
|
|
222
|
+
Value: CLITERAL(Color){ 255, 0, 255, 255 }
|
|
223
|
+
Description: Magenta
|
|
224
|
+
Define 045: RAYWHITE
|
|
225
|
+
Name: RAYWHITE
|
|
226
|
+
Type: COLOR
|
|
227
|
+
Value: CLITERAL(Color){ 245, 245, 245, 255 }
|
|
228
|
+
Description: My own White (raylib logo)
|
|
229
|
+
Define 046: RL_BOOL_TYPE
|
|
230
|
+
Name: RL_BOOL_TYPE
|
|
231
|
+
Type: GUARD
|
|
232
|
+
Value:
|
|
233
|
+
Description:
|
|
234
|
+
Define 047: MOUSE_LEFT_BUTTON
|
|
235
|
+
Name: MOUSE_LEFT_BUTTON
|
|
236
|
+
Type: UNKNOWN
|
|
237
|
+
Value: MOUSE_BUTTON_LEFT
|
|
238
|
+
Description:
|
|
239
|
+
Define 048: MOUSE_RIGHT_BUTTON
|
|
240
|
+
Name: MOUSE_RIGHT_BUTTON
|
|
241
|
+
Type: UNKNOWN
|
|
242
|
+
Value: MOUSE_BUTTON_RIGHT
|
|
243
|
+
Description:
|
|
244
|
+
Define 049: MOUSE_MIDDLE_BUTTON
|
|
245
|
+
Name: MOUSE_MIDDLE_BUTTON
|
|
246
|
+
Type: UNKNOWN
|
|
247
|
+
Value: MOUSE_BUTTON_MIDDLE
|
|
248
|
+
Description:
|
|
249
|
+
Define 050: MATERIAL_MAP_DIFFUSE
|
|
250
|
+
Name: MATERIAL_MAP_DIFFUSE
|
|
251
|
+
Type: UNKNOWN
|
|
252
|
+
Value: MATERIAL_MAP_ALBEDO
|
|
253
|
+
Description:
|
|
254
|
+
Define 051: MATERIAL_MAP_SPECULAR
|
|
255
|
+
Name: MATERIAL_MAP_SPECULAR
|
|
256
|
+
Type: UNKNOWN
|
|
257
|
+
Value: MATERIAL_MAP_METALNESS
|
|
258
|
+
Description:
|
|
259
|
+
Define 052: SHADER_LOC_MAP_DIFFUSE
|
|
260
|
+
Name: SHADER_LOC_MAP_DIFFUSE
|
|
261
|
+
Type: UNKNOWN
|
|
262
|
+
Value: SHADER_LOC_MAP_ALBEDO
|
|
263
|
+
Description:
|
|
264
|
+
Define 053: SHADER_LOC_MAP_SPECULAR
|
|
265
|
+
Name: SHADER_LOC_MAP_SPECULAR
|
|
266
|
+
Type: UNKNOWN
|
|
267
|
+
Value: SHADER_LOC_MAP_METALNESS
|
|
268
|
+
Description:
|
|
269
|
+
|
|
270
|
+
Structures found: 32
|
|
3
271
|
|
|
4
272
|
Struct 01: Vector2 (2 fields)
|
|
5
273
|
Name: Vector2
|
|
6
|
-
Description:
|
|
274
|
+
Description: Vector2, 2 components
|
|
7
275
|
Field[1]: float x // Vector x component
|
|
8
276
|
Field[2]: float y // Vector y component
|
|
9
277
|
Struct 02: Vector3 (3 fields)
|
|
10
278
|
Name: Vector3
|
|
11
|
-
Description:
|
|
279
|
+
Description: Vector3, 3 components
|
|
12
280
|
Field[1]: float x // Vector x component
|
|
13
281
|
Field[2]: float y // Vector y component
|
|
14
282
|
Field[3]: float z // Vector z component
|
|
15
283
|
Struct 03: Vector4 (4 fields)
|
|
16
284
|
Name: Vector4
|
|
17
|
-
Description:
|
|
285
|
+
Description: Vector4, 4 components
|
|
18
286
|
Field[1]: float x // Vector x component
|
|
19
287
|
Field[2]: float y // Vector y component
|
|
20
288
|
Field[3]: float z // Vector z component
|
|
21
289
|
Field[4]: float w // Vector w component
|
|
22
|
-
Struct 04: Matrix (
|
|
290
|
+
Struct 04: Matrix (16 fields)
|
|
23
291
|
Name: Matrix
|
|
24
|
-
Description:
|
|
25
|
-
Field[1]: float m0
|
|
26
|
-
Field[2]: float
|
|
27
|
-
Field[3]: float
|
|
28
|
-
Field[4]: float
|
|
292
|
+
Description: Matrix, 4x4 components, column major, OpenGL style, right handed
|
|
293
|
+
Field[1]: float m0 // Matrix first row (4 components)
|
|
294
|
+
Field[2]: float m4 // Matrix first row (4 components)
|
|
295
|
+
Field[3]: float m8 // Matrix first row (4 components)
|
|
296
|
+
Field[4]: float m12 // Matrix first row (4 components)
|
|
297
|
+
Field[5]: float m1 // Matrix second row (4 components)
|
|
298
|
+
Field[6]: float m5 // Matrix second row (4 components)
|
|
299
|
+
Field[7]: float m9 // Matrix second row (4 components)
|
|
300
|
+
Field[8]: float m13 // Matrix second row (4 components)
|
|
301
|
+
Field[9]: float m2 // Matrix third row (4 components)
|
|
302
|
+
Field[10]: float m6 // Matrix third row (4 components)
|
|
303
|
+
Field[11]: float m10 // Matrix third row (4 components)
|
|
304
|
+
Field[12]: float m14 // Matrix third row (4 components)
|
|
305
|
+
Field[13]: float m3 // Matrix fourth row (4 components)
|
|
306
|
+
Field[14]: float m7 // Matrix fourth row (4 components)
|
|
307
|
+
Field[15]: float m11 // Matrix fourth row (4 components)
|
|
308
|
+
Field[16]: float m15 // Matrix fourth row (4 components)
|
|
29
309
|
Struct 05: Color (4 fields)
|
|
30
310
|
Name: Color
|
|
31
|
-
Description:
|
|
311
|
+
Description: Color, 4 components, R8G8B8A8 (32bit)
|
|
32
312
|
Field[1]: unsigned char r // Color red value
|
|
33
313
|
Field[2]: unsigned char g // Color green value
|
|
34
314
|
Field[3]: unsigned char b // Color blue value
|
|
35
315
|
Field[4]: unsigned char a // Color alpha value
|
|
36
316
|
Struct 06: Rectangle (4 fields)
|
|
37
317
|
Name: Rectangle
|
|
38
|
-
Description:
|
|
39
|
-
Field[1]: float x // Rectangle top-left corner position x
|
|
318
|
+
Description: Rectangle, 4 components
|
|
319
|
+
Field[1]: float x // Rectangle top-left corner position x
|
|
40
320
|
Field[2]: float y // Rectangle top-left corner position y
|
|
41
321
|
Field[3]: float width // Rectangle width
|
|
42
322
|
Field[4]: float height // Rectangle height
|
|
43
323
|
Struct 07: Image (5 fields)
|
|
44
324
|
Name: Image
|
|
45
|
-
Description:
|
|
325
|
+
Description: Image, pixel data stored in CPU memory (RAM)
|
|
46
326
|
Field[1]: void * data // Image raw data
|
|
47
327
|
Field[2]: int width // Image base width
|
|
48
328
|
Field[3]: int height // Image base height
|
|
@@ -50,7 +330,7 @@ Struct 07: Image (5 fields)
|
|
|
50
330
|
Field[5]: int format // Data format (PixelFormat type)
|
|
51
331
|
Struct 08: Texture (5 fields)
|
|
52
332
|
Name: Texture
|
|
53
|
-
Description:
|
|
333
|
+
Description: Texture, tex data stored in GPU memory (VRAM)
|
|
54
334
|
Field[1]: unsigned int id // OpenGL texture id
|
|
55
335
|
Field[2]: int width // Texture base width
|
|
56
336
|
Field[3]: int height // Texture base height
|
|
@@ -58,22 +338,22 @@ Struct 08: Texture (5 fields)
|
|
|
58
338
|
Field[5]: int format // Data format (PixelFormat type)
|
|
59
339
|
Struct 09: RenderTexture (3 fields)
|
|
60
340
|
Name: RenderTexture
|
|
61
|
-
Description:
|
|
341
|
+
Description: RenderTexture, fbo for texture rendering
|
|
62
342
|
Field[1]: unsigned int id // OpenGL framebuffer object id
|
|
63
343
|
Field[2]: Texture texture // Color buffer attachment texture
|
|
64
344
|
Field[3]: Texture depth // Depth buffer attachment texture
|
|
65
345
|
Struct 10: NPatchInfo (6 fields)
|
|
66
346
|
Name: NPatchInfo
|
|
67
|
-
Description:
|
|
347
|
+
Description: NPatchInfo, n-patch layout info
|
|
68
348
|
Field[1]: Rectangle source // Texture source rectangle
|
|
69
349
|
Field[2]: int left // Left border offset
|
|
70
350
|
Field[3]: int top // Top border offset
|
|
71
351
|
Field[4]: int right // Right border offset
|
|
72
352
|
Field[5]: int bottom // Bottom border offset
|
|
73
353
|
Field[6]: int layout // Layout of the n-patch: 3x3, 1x3 or 3x1
|
|
74
|
-
Struct 11:
|
|
75
|
-
Name:
|
|
76
|
-
Description:
|
|
354
|
+
Struct 11: GlyphInfo (5 fields)
|
|
355
|
+
Name: GlyphInfo
|
|
356
|
+
Description: GlyphInfo, font characters glyphs info
|
|
77
357
|
Field[1]: int value // Character value (Unicode)
|
|
78
358
|
Field[2]: int offsetX // Character offset X when drawing
|
|
79
359
|
Field[3]: int offsetY // Character offset Y when drawing
|
|
@@ -81,16 +361,16 @@ Struct 11: CharInfo (5 fields)
|
|
|
81
361
|
Field[5]: Image image // Character image data
|
|
82
362
|
Struct 12: Font (6 fields)
|
|
83
363
|
Name: Font
|
|
84
|
-
Description:
|
|
364
|
+
Description: Font, font texture and GlyphInfo array data
|
|
85
365
|
Field[1]: int baseSize // Base size (default chars height)
|
|
86
|
-
Field[2]: int
|
|
87
|
-
Field[3]: int
|
|
88
|
-
Field[4]: Texture2D texture //
|
|
89
|
-
Field[5]: Rectangle * recs //
|
|
90
|
-
Field[6]:
|
|
366
|
+
Field[2]: int glyphCount // Number of glyph characters
|
|
367
|
+
Field[3]: int glyphPadding // Padding around the glyph characters
|
|
368
|
+
Field[4]: Texture2D texture // Texture atlas containing the glyphs
|
|
369
|
+
Field[5]: Rectangle * recs // Rectangles in texture for the glyphs
|
|
370
|
+
Field[6]: GlyphInfo * glyphs // Glyphs info data
|
|
91
371
|
Struct 13: Camera3D (5 fields)
|
|
92
372
|
Name: Camera3D
|
|
93
|
-
Description:
|
|
373
|
+
Description: Camera, defines position/orientation in 3d space
|
|
94
374
|
Field[1]: Vector3 position // Camera position
|
|
95
375
|
Field[2]: Vector3 target // Camera target it looks-at
|
|
96
376
|
Field[3]: Vector3 up // Camera up vector (rotation over its axis)
|
|
@@ -98,60 +378,60 @@ Struct 13: Camera3D (5 fields)
|
|
|
98
378
|
Field[5]: int projection // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
|
|
99
379
|
Struct 14: Camera2D (4 fields)
|
|
100
380
|
Name: Camera2D
|
|
101
|
-
Description:
|
|
381
|
+
Description: Camera2D, defines position/orientation in 2d space
|
|
102
382
|
Field[1]: Vector2 offset // Camera offset (displacement from target)
|
|
103
383
|
Field[2]: Vector2 target // Camera target (rotation and zoom origin)
|
|
104
384
|
Field[3]: float rotation // Camera rotation in degrees
|
|
105
385
|
Field[4]: float zoom // Camera zoom (scaling), should be 1.0f by default
|
|
106
386
|
Struct 15: Mesh (15 fields)
|
|
107
387
|
Name: Mesh
|
|
108
|
-
Description:
|
|
388
|
+
Description: Mesh, vertex data and vao/vbo
|
|
109
389
|
Field[1]: int vertexCount // Number of vertices stored in arrays
|
|
110
390
|
Field[2]: int triangleCount // Number of triangles stored (indexed or not)
|
|
111
391
|
Field[3]: float * vertices // Vertex position (XYZ - 3 components per vertex) (shader-location = 0)
|
|
112
392
|
Field[4]: float * texcoords // Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)
|
|
113
|
-
Field[5]: float * texcoords2 // Vertex second
|
|
393
|
+
Field[5]: float * texcoords2 // Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)
|
|
114
394
|
Field[6]: float * normals // Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)
|
|
115
395
|
Field[7]: float * tangents // Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)
|
|
116
396
|
Field[8]: unsigned char * colors // Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)
|
|
117
397
|
Field[9]: unsigned short * indices // Vertex indices (in case vertex data comes indexed)
|
|
118
398
|
Field[10]: float * animVertices // Animated vertex positions (after bones transformations)
|
|
119
399
|
Field[11]: float * animNormals // Animated normals (after bones transformations)
|
|
120
|
-
Field[12]:
|
|
400
|
+
Field[12]: unsigned char * boneIds // Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)
|
|
121
401
|
Field[13]: float * boneWeights // Vertex bone weight, up to 4 bones influence by vertex (skinning)
|
|
122
402
|
Field[14]: unsigned int vaoId // OpenGL Vertex Array Object id
|
|
123
403
|
Field[15]: unsigned int * vboId // OpenGL Vertex Buffer Objects id (default vertex data)
|
|
124
404
|
Struct 16: Shader (2 fields)
|
|
125
405
|
Name: Shader
|
|
126
|
-
Description:
|
|
406
|
+
Description: Shader
|
|
127
407
|
Field[1]: unsigned int id // Shader program id
|
|
128
|
-
Field[2]: int * locs // Shader locations array (
|
|
408
|
+
Field[2]: int * locs // Shader locations array (RL_MAX_SHADER_LOCATIONS)
|
|
129
409
|
Struct 17: MaterialMap (3 fields)
|
|
130
410
|
Name: MaterialMap
|
|
131
|
-
Description:
|
|
411
|
+
Description: MaterialMap
|
|
132
412
|
Field[1]: Texture2D texture // Material map texture
|
|
133
413
|
Field[2]: Color color // Material map color
|
|
134
414
|
Field[3]: float value // Material map value
|
|
135
415
|
Struct 18: Material (3 fields)
|
|
136
416
|
Name: Material
|
|
137
|
-
Description:
|
|
417
|
+
Description: Material, includes shader and maps
|
|
138
418
|
Field[1]: Shader shader // Material shader
|
|
139
419
|
Field[2]: MaterialMap * maps // Material maps array (MAX_MATERIAL_MAPS)
|
|
140
|
-
Field[3]: float
|
|
420
|
+
Field[3]: float[4] params // Material generic parameters (if required)
|
|
141
421
|
Struct 19: Transform (3 fields)
|
|
142
422
|
Name: Transform
|
|
143
|
-
Description:
|
|
423
|
+
Description: Transform, vectex transformation data
|
|
144
424
|
Field[1]: Vector3 translation // Translation
|
|
145
425
|
Field[2]: Quaternion rotation // Rotation
|
|
146
426
|
Field[3]: Vector3 scale // Scale
|
|
147
427
|
Struct 20: BoneInfo (2 fields)
|
|
148
428
|
Name: BoneInfo
|
|
149
|
-
Description:
|
|
150
|
-
Field[1]: char
|
|
429
|
+
Description: Bone, skeletal animation bone
|
|
430
|
+
Field[1]: char[32] name // Bone name
|
|
151
431
|
Field[2]: int parent // Bone parent
|
|
152
432
|
Struct 21: Model (9 fields)
|
|
153
433
|
Name: Model
|
|
154
|
-
Description:
|
|
434
|
+
Description: Model, meshes, materials and animation data
|
|
155
435
|
Field[1]: Matrix transform // Local transform matrix
|
|
156
436
|
Field[2]: int meshCount // Number of meshes
|
|
157
437
|
Field[3]: int materialCount // Number of materials
|
|
@@ -163,59 +443,60 @@ Struct 21: Model (9 fields)
|
|
|
163
443
|
Field[9]: Transform * bindPose // Bones base transformation (pose)
|
|
164
444
|
Struct 22: ModelAnimation (4 fields)
|
|
165
445
|
Name: ModelAnimation
|
|
166
|
-
Description:
|
|
446
|
+
Description: ModelAnimation
|
|
167
447
|
Field[1]: int boneCount // Number of bones
|
|
168
448
|
Field[2]: int frameCount // Number of animation frames
|
|
169
449
|
Field[3]: BoneInfo * bones // Bones information (skeleton)
|
|
170
450
|
Field[4]: Transform ** framePoses // Poses array by frame
|
|
171
451
|
Struct 23: Ray (2 fields)
|
|
172
452
|
Name: Ray
|
|
173
|
-
Description:
|
|
453
|
+
Description: Ray, ray for raycasting
|
|
174
454
|
Field[1]: Vector3 position // Ray position (origin)
|
|
175
455
|
Field[2]: Vector3 direction // Ray direction
|
|
176
456
|
Struct 24: RayCollision (4 fields)
|
|
177
457
|
Name: RayCollision
|
|
178
|
-
Description:
|
|
458
|
+
Description: RayCollision, ray hit information
|
|
179
459
|
Field[1]: bool hit // Did the ray hit something?
|
|
180
460
|
Field[2]: float distance // Distance to nearest hit
|
|
181
461
|
Field[3]: Vector3 point // Point of nearest hit
|
|
182
462
|
Field[4]: Vector3 normal // Surface normal of hit
|
|
183
463
|
Struct 25: BoundingBox (2 fields)
|
|
184
464
|
Name: BoundingBox
|
|
185
|
-
Description:
|
|
465
|
+
Description: BoundingBox
|
|
186
466
|
Field[1]: Vector3 min // Minimum vertex box-corner
|
|
187
467
|
Field[2]: Vector3 max // Maximum vertex box-corner
|
|
188
468
|
Struct 26: Wave (5 fields)
|
|
189
469
|
Name: Wave
|
|
190
|
-
Description:
|
|
191
|
-
Field[1]: unsigned int
|
|
470
|
+
Description: Wave, audio wave data
|
|
471
|
+
Field[1]: unsigned int frameCount // Total number of frames (considering channels)
|
|
192
472
|
Field[2]: unsigned int sampleRate // Frequency (samples per second)
|
|
193
473
|
Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
|
|
194
|
-
Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo)
|
|
474
|
+
Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...)
|
|
195
475
|
Field[5]: void * data // Buffer data pointer
|
|
196
|
-
Struct 27: AudioStream (
|
|
476
|
+
Struct 27: AudioStream (5 fields)
|
|
197
477
|
Name: AudioStream
|
|
198
|
-
Description:
|
|
478
|
+
Description: AudioStream, custom audio stream
|
|
199
479
|
Field[1]: rAudioBuffer * buffer // Pointer to internal data used by the audio system
|
|
200
|
-
Field[2]:
|
|
201
|
-
Field[3]: unsigned int
|
|
202
|
-
Field[4]: unsigned int
|
|
480
|
+
Field[2]: rAudioProcessor * processor // Pointer to internal data processor, useful for audio effects
|
|
481
|
+
Field[3]: unsigned int sampleRate // Frequency (samples per second)
|
|
482
|
+
Field[4]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
|
|
483
|
+
Field[5]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...)
|
|
203
484
|
Struct 28: Sound (2 fields)
|
|
204
485
|
Name: Sound
|
|
205
|
-
Description:
|
|
486
|
+
Description: Sound
|
|
206
487
|
Field[1]: AudioStream stream // Audio stream
|
|
207
|
-
Field[2]: unsigned int
|
|
488
|
+
Field[2]: unsigned int frameCount // Total number of frames (considering channels)
|
|
208
489
|
Struct 29: Music (5 fields)
|
|
209
490
|
Name: Music
|
|
210
|
-
Description:
|
|
491
|
+
Description: Music, audio stream, anything longer than ~10 seconds should be streamed
|
|
211
492
|
Field[1]: AudioStream stream // Audio stream
|
|
212
|
-
Field[2]: unsigned int
|
|
493
|
+
Field[2]: unsigned int frameCount // Total number of frames (considering channels)
|
|
213
494
|
Field[3]: bool looping // Music looping enable
|
|
214
495
|
Field[4]: int ctxType // Type of music context (audio filetype)
|
|
215
496
|
Field[5]: void * ctxData // Audio context data, depends on type
|
|
216
497
|
Struct 30: VrDeviceInfo (10 fields)
|
|
217
498
|
Name: VrDeviceInfo
|
|
218
|
-
Description:
|
|
499
|
+
Description: VrDeviceInfo, Head-Mounted-Display device parameters
|
|
219
500
|
Field[1]: int hResolution // Horizontal resolution in pixels
|
|
220
501
|
Field[2]: int vResolution // Vertical resolution in pixels
|
|
221
502
|
Field[3]: float hScreenSize // Horizontal size in meters
|
|
@@ -224,25 +505,54 @@ Struct 30: VrDeviceInfo (10 fields)
|
|
|
224
505
|
Field[6]: float eyeToScreenDistance // Distance between eye and display in meters
|
|
225
506
|
Field[7]: float lensSeparationDistance // Lens separation distance in meters
|
|
226
507
|
Field[8]: float interpupillaryDistance // IPD (distance between pupils) in meters
|
|
227
|
-
Field[9]: float
|
|
228
|
-
Field[10]: float
|
|
508
|
+
Field[9]: float[4] lensDistortionValues // Lens distortion constant parameters
|
|
509
|
+
Field[10]: float[4] chromaAbCorrection // Chromatic aberration correction parameters
|
|
229
510
|
Struct 31: VrStereoConfig (8 fields)
|
|
230
511
|
Name: VrStereoConfig
|
|
231
|
-
Description:
|
|
232
|
-
Field[1]: Matrix
|
|
233
|
-
Field[2]: Matrix
|
|
234
|
-
Field[3]: float
|
|
235
|
-
Field[4]: float
|
|
236
|
-
Field[5]: float
|
|
237
|
-
Field[6]: float
|
|
238
|
-
Field[7]: float
|
|
239
|
-
Field[8]: float
|
|
512
|
+
Description: VrStereoConfig, VR stereo rendering configuration for simulator
|
|
513
|
+
Field[1]: Matrix[2] projection // VR projection matrices (per eye)
|
|
514
|
+
Field[2]: Matrix[2] viewOffset // VR view offset matrices (per eye)
|
|
515
|
+
Field[3]: float[2] leftLensCenter // VR left lens center
|
|
516
|
+
Field[4]: float[2] rightLensCenter // VR right lens center
|
|
517
|
+
Field[5]: float[2] leftScreenCenter // VR left screen center
|
|
518
|
+
Field[6]: float[2] rightScreenCenter // VR right screen center
|
|
519
|
+
Field[7]: float[2] scale // VR distortion scale
|
|
520
|
+
Field[8]: float[2] scaleIn // VR distortion scale in
|
|
521
|
+
Struct 32: FilePathList (3 fields)
|
|
522
|
+
Name: FilePathList
|
|
523
|
+
Description: File path list
|
|
524
|
+
Field[1]: unsigned int capacity // Filepaths max entries
|
|
525
|
+
Field[2]: unsigned int count // Filepaths entries count
|
|
526
|
+
Field[3]: char ** paths // Filepaths entries
|
|
527
|
+
|
|
528
|
+
Aliases found: 5
|
|
529
|
+
|
|
530
|
+
Alias 001: Quaternion
|
|
531
|
+
Type: Vector4
|
|
532
|
+
Name: Quaternion
|
|
533
|
+
Description: Quaternion, 4 components (Vector4 alias)
|
|
534
|
+
Alias 002: Texture2D
|
|
535
|
+
Type: Texture
|
|
536
|
+
Name: Texture2D
|
|
537
|
+
Description: Texture2D, same as Texture
|
|
538
|
+
Alias 003: TextureCubemap
|
|
539
|
+
Type: Texture
|
|
540
|
+
Name: TextureCubemap
|
|
541
|
+
Description: TextureCubemap, same as Texture
|
|
542
|
+
Alias 004: RenderTexture2D
|
|
543
|
+
Type: RenderTexture
|
|
544
|
+
Name: RenderTexture2D
|
|
545
|
+
Description: RenderTexture2D, same as RenderTexture
|
|
546
|
+
Alias 005: Camera
|
|
547
|
+
Type: Camera3D
|
|
548
|
+
Name: Camera
|
|
549
|
+
Description: Camera type fallback, defaults to Camera3D
|
|
240
550
|
|
|
241
551
|
Enums found: 21
|
|
242
552
|
|
|
243
|
-
Enum 01: ConfigFlags (
|
|
553
|
+
Enum 01: ConfigFlags (15 values)
|
|
244
554
|
Name: ConfigFlags
|
|
245
|
-
|
|
555
|
+
Description: System/Window config flags
|
|
246
556
|
Value[FLAG_VSYNC_HINT]: 64
|
|
247
557
|
Value[FLAG_FULLSCREEN_MODE]: 2
|
|
248
558
|
Value[FLAG_WINDOW_RESIZABLE]: 4
|
|
@@ -255,11 +565,12 @@ Enum 01: ConfigFlags (14 values)
|
|
|
255
565
|
Value[FLAG_WINDOW_ALWAYS_RUN]: 256
|
|
256
566
|
Value[FLAG_WINDOW_TRANSPARENT]: 16
|
|
257
567
|
Value[FLAG_WINDOW_HIGHDPI]: 8192
|
|
568
|
+
Value[FLAG_WINDOW_MOUSE_PASSTHROUGH]: 16384
|
|
258
569
|
Value[FLAG_MSAA_4X_HINT]: 32
|
|
259
570
|
Value[FLAG_INTERLACED_HINT]: 65536
|
|
260
571
|
Enum 02: TraceLogLevel (8 values)
|
|
261
572
|
Name: TraceLogLevel
|
|
262
|
-
|
|
573
|
+
Description: Trace log level
|
|
263
574
|
Value[LOG_ALL]: 0
|
|
264
575
|
Value[LOG_TRACE]: 1
|
|
265
576
|
Value[LOG_DEBUG]: 2
|
|
@@ -270,7 +581,7 @@ Enum 02: TraceLogLevel (8 values)
|
|
|
270
581
|
Value[LOG_NONE]: 7
|
|
271
582
|
Enum 03: KeyboardKey (110 values)
|
|
272
583
|
Name: KeyboardKey
|
|
273
|
-
|
|
584
|
+
Description: Keyboard keys (US keyboard layout)
|
|
274
585
|
Value[KEY_NULL]: 0
|
|
275
586
|
Value[KEY_APOSTROPHE]: 39
|
|
276
587
|
Value[KEY_COMMA]: 44
|
|
@@ -315,6 +626,10 @@ Enum 03: KeyboardKey (110 values)
|
|
|
315
626
|
Value[KEY_X]: 88
|
|
316
627
|
Value[KEY_Y]: 89
|
|
317
628
|
Value[KEY_Z]: 90
|
|
629
|
+
Value[KEY_LEFT_BRACKET]: 91
|
|
630
|
+
Value[KEY_BACKSLASH]: 92
|
|
631
|
+
Value[KEY_RIGHT_BRACKET]: 93
|
|
632
|
+
Value[KEY_GRAVE]: 96
|
|
318
633
|
Value[KEY_SPACE]: 32
|
|
319
634
|
Value[KEY_ESCAPE]: 256
|
|
320
635
|
Value[KEY_ENTER]: 257
|
|
@@ -356,10 +671,6 @@ Enum 03: KeyboardKey (110 values)
|
|
|
356
671
|
Value[KEY_RIGHT_ALT]: 346
|
|
357
672
|
Value[KEY_RIGHT_SUPER]: 347
|
|
358
673
|
Value[KEY_KB_MENU]: 348
|
|
359
|
-
Value[KEY_LEFT_BRACKET]: 91
|
|
360
|
-
Value[KEY_BACKSLASH]: 92
|
|
361
|
-
Value[KEY_RIGHT_BRACKET]: 93
|
|
362
|
-
Value[KEY_GRAVE]: 96
|
|
363
674
|
Value[KEY_KP_0]: 320
|
|
364
675
|
Value[KEY_KP_1]: 321
|
|
365
676
|
Value[KEY_KP_2]: 322
|
|
@@ -383,7 +694,7 @@ Enum 03: KeyboardKey (110 values)
|
|
|
383
694
|
Value[KEY_VOLUME_DOWN]: 25
|
|
384
695
|
Enum 04: MouseButton (7 values)
|
|
385
696
|
Name: MouseButton
|
|
386
|
-
|
|
697
|
+
Description: Mouse buttons
|
|
387
698
|
Value[MOUSE_BUTTON_LEFT]: 0
|
|
388
699
|
Value[MOUSE_BUTTON_RIGHT]: 1
|
|
389
700
|
Value[MOUSE_BUTTON_MIDDLE]: 2
|
|
@@ -393,7 +704,7 @@ Enum 04: MouseButton (7 values)
|
|
|
393
704
|
Value[MOUSE_BUTTON_BACK]: 6
|
|
394
705
|
Enum 05: MouseCursor (11 values)
|
|
395
706
|
Name: MouseCursor
|
|
396
|
-
|
|
707
|
+
Description: Mouse cursor
|
|
397
708
|
Value[MOUSE_CURSOR_DEFAULT]: 0
|
|
398
709
|
Value[MOUSE_CURSOR_ARROW]: 1
|
|
399
710
|
Value[MOUSE_CURSOR_IBEAM]: 2
|
|
@@ -407,7 +718,7 @@ Enum 05: MouseCursor (11 values)
|
|
|
407
718
|
Value[MOUSE_CURSOR_NOT_ALLOWED]: 10
|
|
408
719
|
Enum 06: GamepadButton (18 values)
|
|
409
720
|
Name: GamepadButton
|
|
410
|
-
|
|
721
|
+
Description: Gamepad buttons
|
|
411
722
|
Value[GAMEPAD_BUTTON_UNKNOWN]: 0
|
|
412
723
|
Value[GAMEPAD_BUTTON_LEFT_FACE_UP]: 1
|
|
413
724
|
Value[GAMEPAD_BUTTON_LEFT_FACE_RIGHT]: 2
|
|
@@ -428,7 +739,7 @@ Enum 06: GamepadButton (18 values)
|
|
|
428
739
|
Value[GAMEPAD_BUTTON_RIGHT_THUMB]: 17
|
|
429
740
|
Enum 07: GamepadAxis (6 values)
|
|
430
741
|
Name: GamepadAxis
|
|
431
|
-
|
|
742
|
+
Description: Gamepad axis
|
|
432
743
|
Value[GAMEPAD_AXIS_LEFT_X]: 0
|
|
433
744
|
Value[GAMEPAD_AXIS_LEFT_Y]: 1
|
|
434
745
|
Value[GAMEPAD_AXIS_RIGHT_X]: 2
|
|
@@ -437,7 +748,7 @@ Enum 07: GamepadAxis (6 values)
|
|
|
437
748
|
Value[GAMEPAD_AXIS_RIGHT_TRIGGER]: 5
|
|
438
749
|
Enum 08: MaterialMapIndex (11 values)
|
|
439
750
|
Name: MaterialMapIndex
|
|
440
|
-
|
|
751
|
+
Description: Material map index
|
|
441
752
|
Value[MATERIAL_MAP_ALBEDO]: 0
|
|
442
753
|
Value[MATERIAL_MAP_METALNESS]: 1
|
|
443
754
|
Value[MATERIAL_MAP_NORMAL]: 2
|
|
@@ -451,7 +762,7 @@ Enum 08: MaterialMapIndex (11 values)
|
|
|
451
762
|
Value[MATERIAL_MAP_BRDF]: 10
|
|
452
763
|
Enum 09: ShaderLocationIndex (26 values)
|
|
453
764
|
Name: ShaderLocationIndex
|
|
454
|
-
|
|
765
|
+
Description: Shader location index
|
|
455
766
|
Value[SHADER_LOC_VERTEX_POSITION]: 0
|
|
456
767
|
Value[SHADER_LOC_VERTEX_TEXCOORD01]: 1
|
|
457
768
|
Value[SHADER_LOC_VERTEX_TEXCOORD02]: 2
|
|
@@ -480,7 +791,7 @@ Enum 09: ShaderLocationIndex (26 values)
|
|
|
480
791
|
Value[SHADER_LOC_MAP_BRDF]: 25
|
|
481
792
|
Enum 10: ShaderUniformDataType (9 values)
|
|
482
793
|
Name: ShaderUniformDataType
|
|
483
|
-
|
|
794
|
+
Description: Shader uniform data type
|
|
484
795
|
Value[SHADER_UNIFORM_FLOAT]: 0
|
|
485
796
|
Value[SHADER_UNIFORM_VEC2]: 1
|
|
486
797
|
Value[SHADER_UNIFORM_VEC3]: 2
|
|
@@ -492,14 +803,14 @@ Enum 10: ShaderUniformDataType (9 values)
|
|
|
492
803
|
Value[SHADER_UNIFORM_SAMPLER2D]: 8
|
|
493
804
|
Enum 11: ShaderAttributeDataType (4 values)
|
|
494
805
|
Name: ShaderAttributeDataType
|
|
495
|
-
|
|
806
|
+
Description: Shader attribute data types
|
|
496
807
|
Value[SHADER_ATTRIB_FLOAT]: 0
|
|
497
808
|
Value[SHADER_ATTRIB_VEC2]: 1
|
|
498
809
|
Value[SHADER_ATTRIB_VEC3]: 2
|
|
499
810
|
Value[SHADER_ATTRIB_VEC4]: 3
|
|
500
811
|
Enum 12: PixelFormat (21 values)
|
|
501
812
|
Name: PixelFormat
|
|
502
|
-
|
|
813
|
+
Description: Pixel formats
|
|
503
814
|
Value[PIXELFORMAT_UNCOMPRESSED_GRAYSCALE]: 1
|
|
504
815
|
Value[PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA]: 2
|
|
505
816
|
Value[PIXELFORMAT_UNCOMPRESSED_R5G6B5]: 3
|
|
@@ -523,7 +834,7 @@ Enum 12: PixelFormat (21 values)
|
|
|
523
834
|
Value[PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA]: 21
|
|
524
835
|
Enum 13: TextureFilter (6 values)
|
|
525
836
|
Name: TextureFilter
|
|
526
|
-
|
|
837
|
+
Description: Texture parameters: filter mode
|
|
527
838
|
Value[TEXTURE_FILTER_POINT]: 0
|
|
528
839
|
Value[TEXTURE_FILTER_BILINEAR]: 1
|
|
529
840
|
Value[TEXTURE_FILTER_TRILINEAR]: 2
|
|
@@ -532,14 +843,14 @@ Enum 13: TextureFilter (6 values)
|
|
|
532
843
|
Value[TEXTURE_FILTER_ANISOTROPIC_16X]: 5
|
|
533
844
|
Enum 14: TextureWrap (4 values)
|
|
534
845
|
Name: TextureWrap
|
|
535
|
-
|
|
846
|
+
Description: Texture parameters: wrap mode
|
|
536
847
|
Value[TEXTURE_WRAP_REPEAT]: 0
|
|
537
848
|
Value[TEXTURE_WRAP_CLAMP]: 1
|
|
538
849
|
Value[TEXTURE_WRAP_MIRROR_REPEAT]: 2
|
|
539
850
|
Value[TEXTURE_WRAP_MIRROR_CLAMP]: 3
|
|
540
851
|
Enum 15: CubemapLayout (6 values)
|
|
541
852
|
Name: CubemapLayout
|
|
542
|
-
|
|
853
|
+
Description: Cubemap layouts
|
|
543
854
|
Value[CUBEMAP_LAYOUT_AUTO_DETECT]: 0
|
|
544
855
|
Value[CUBEMAP_LAYOUT_LINE_VERTICAL]: 1
|
|
545
856
|
Value[CUBEMAP_LAYOUT_LINE_HORIZONTAL]: 2
|
|
@@ -548,22 +859,23 @@ Enum 15: CubemapLayout (6 values)
|
|
|
548
859
|
Value[CUBEMAP_LAYOUT_PANORAMA]: 5
|
|
549
860
|
Enum 16: FontType (3 values)
|
|
550
861
|
Name: FontType
|
|
551
|
-
|
|
862
|
+
Description: Font type, defines generation method
|
|
552
863
|
Value[FONT_DEFAULT]: 0
|
|
553
864
|
Value[FONT_BITMAP]: 1
|
|
554
865
|
Value[FONT_SDF]: 2
|
|
555
|
-
Enum 17: BlendMode (
|
|
866
|
+
Enum 17: BlendMode (7 values)
|
|
556
867
|
Name: BlendMode
|
|
557
|
-
|
|
868
|
+
Description: Color blending modes (pre-defined)
|
|
558
869
|
Value[BLEND_ALPHA]: 0
|
|
559
870
|
Value[BLEND_ADDITIVE]: 1
|
|
560
871
|
Value[BLEND_MULTIPLIED]: 2
|
|
561
872
|
Value[BLEND_ADD_COLORS]: 3
|
|
562
873
|
Value[BLEND_SUBTRACT_COLORS]: 4
|
|
563
|
-
Value[
|
|
874
|
+
Value[BLEND_ALPHA_PREMULTIPLY]: 5
|
|
875
|
+
Value[BLEND_CUSTOM]: 6
|
|
564
876
|
Enum 18: Gesture (11 values)
|
|
565
877
|
Name: Gesture
|
|
566
|
-
|
|
878
|
+
Description: Gesture
|
|
567
879
|
Value[GESTURE_NONE]: 0
|
|
568
880
|
Value[GESTURE_TAP]: 1
|
|
569
881
|
Value[GESTURE_DOUBLETAP]: 2
|
|
@@ -577,7 +889,7 @@ Enum 18: Gesture (11 values)
|
|
|
577
889
|
Value[GESTURE_PINCH_OUT]: 512
|
|
578
890
|
Enum 19: CameraMode (5 values)
|
|
579
891
|
Name: CameraMode
|
|
580
|
-
|
|
892
|
+
Description: Camera system modes
|
|
581
893
|
Value[CAMERA_CUSTOM]: 0
|
|
582
894
|
Value[CAMERA_FREE]: 1
|
|
583
895
|
Value[CAMERA_ORBITAL]: 2
|
|
@@ -585,17 +897,57 @@ Enum 19: CameraMode (5 values)
|
|
|
585
897
|
Value[CAMERA_THIRD_PERSON]: 4
|
|
586
898
|
Enum 20: CameraProjection (2 values)
|
|
587
899
|
Name: CameraProjection
|
|
588
|
-
|
|
900
|
+
Description: Camera projection
|
|
589
901
|
Value[CAMERA_PERSPECTIVE]: 0
|
|
590
902
|
Value[CAMERA_ORTHOGRAPHIC]: 1
|
|
591
903
|
Enum 21: NPatchLayout (3 values)
|
|
592
904
|
Name: NPatchLayout
|
|
593
|
-
|
|
905
|
+
Description: N-patch layout
|
|
594
906
|
Value[NPATCH_NINE_PATCH]: 0
|
|
595
907
|
Value[NPATCH_THREE_PATCH_VERTICAL]: 1
|
|
596
908
|
Value[NPATCH_THREE_PATCH_HORIZONTAL]: 2
|
|
597
909
|
|
|
598
|
-
|
|
910
|
+
Callbacks found: 6
|
|
911
|
+
|
|
912
|
+
Callback 001: TraceLogCallback() (3 input parameters)
|
|
913
|
+
Name: TraceLogCallback
|
|
914
|
+
Return type: void
|
|
915
|
+
Description: Logging: Redirect trace log messages
|
|
916
|
+
Param[1]: logLevel (type: int)
|
|
917
|
+
Param[2]: text (type: const char *)
|
|
918
|
+
Param[3]: args (type: va_list)
|
|
919
|
+
Callback 002: LoadFileDataCallback() (2 input parameters)
|
|
920
|
+
Name: LoadFileDataCallback
|
|
921
|
+
Return type: unsigned char *
|
|
922
|
+
Description: FileIO: Load binary data
|
|
923
|
+
Param[1]: fileName (type: const char *)
|
|
924
|
+
Param[2]: bytesRead (type: unsigned int *)
|
|
925
|
+
Callback 003: SaveFileDataCallback() (3 input parameters)
|
|
926
|
+
Name: SaveFileDataCallback
|
|
927
|
+
Return type: bool
|
|
928
|
+
Description: FileIO: Save binary data
|
|
929
|
+
Param[1]: fileName (type: const char *)
|
|
930
|
+
Param[2]: data (type: void *)
|
|
931
|
+
Param[3]: bytesToWrite (type: unsigned int)
|
|
932
|
+
Callback 004: LoadFileTextCallback() (1 input parameters)
|
|
933
|
+
Name: LoadFileTextCallback
|
|
934
|
+
Return type: char *
|
|
935
|
+
Description: FileIO: Load text data
|
|
936
|
+
Param[1]: fileName (type: const char *)
|
|
937
|
+
Callback 005: SaveFileTextCallback() (2 input parameters)
|
|
938
|
+
Name: SaveFileTextCallback
|
|
939
|
+
Return type: bool
|
|
940
|
+
Description: FileIO: Save text data
|
|
941
|
+
Param[1]: fileName (type: const char *)
|
|
942
|
+
Param[2]: text (type: char *)
|
|
943
|
+
Callback 006: AudioCallback() (2 input parameters)
|
|
944
|
+
Name: AudioCallback
|
|
945
|
+
Return type: void
|
|
946
|
+
Description:
|
|
947
|
+
Param[1]: bufferData (type: void *)
|
|
948
|
+
Param[2]: frames (type: unsigned int)
|
|
949
|
+
|
|
950
|
+
Functions found: 502
|
|
599
951
|
|
|
600
952
|
Function 001: InitWindow() (3 input parameters)
|
|
601
953
|
Name: InitWindow
|
|
@@ -657,7 +1009,7 @@ Function 011: IsWindowState() (1 input parameters)
|
|
|
657
1009
|
Function 012: SetWindowState() (1 input parameters)
|
|
658
1010
|
Name: SetWindowState
|
|
659
1011
|
Return type: void
|
|
660
|
-
Description: Set window configuration state using flags
|
|
1012
|
+
Description: Set window configuration state using flags (only PLATFORM_DESKTOP)
|
|
661
1013
|
Param[1]: flags (type: unsigned int)
|
|
662
1014
|
Function 013: ClearWindowState() (1 input parameters)
|
|
663
1015
|
Name: ClearWindowState
|
|
@@ -717,182 +1069,222 @@ Function 023: SetWindowSize() (2 input parameters)
|
|
|
717
1069
|
Description: Set window dimensions
|
|
718
1070
|
Param[1]: width (type: int)
|
|
719
1071
|
Param[2]: height (type: int)
|
|
720
|
-
Function 024:
|
|
1072
|
+
Function 024: SetWindowOpacity() (1 input parameters)
|
|
1073
|
+
Name: SetWindowOpacity
|
|
1074
|
+
Return type: void
|
|
1075
|
+
Description: Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
|
|
1076
|
+
Param[1]: opacity (type: float)
|
|
1077
|
+
Function 025: GetWindowHandle() (0 input parameters)
|
|
721
1078
|
Name: GetWindowHandle
|
|
722
1079
|
Return type: void *
|
|
723
1080
|
Description: Get native window handle
|
|
724
1081
|
No input parameters
|
|
725
|
-
Function
|
|
1082
|
+
Function 026: GetScreenWidth() (0 input parameters)
|
|
726
1083
|
Name: GetScreenWidth
|
|
727
1084
|
Return type: int
|
|
728
1085
|
Description: Get current screen width
|
|
729
1086
|
No input parameters
|
|
730
|
-
Function
|
|
1087
|
+
Function 027: GetScreenHeight() (0 input parameters)
|
|
731
1088
|
Name: GetScreenHeight
|
|
732
1089
|
Return type: int
|
|
733
1090
|
Description: Get current screen height
|
|
734
1091
|
No input parameters
|
|
735
|
-
Function
|
|
1092
|
+
Function 028: GetRenderWidth() (0 input parameters)
|
|
1093
|
+
Name: GetRenderWidth
|
|
1094
|
+
Return type: int
|
|
1095
|
+
Description: Get current render width (it considers HiDPI)
|
|
1096
|
+
No input parameters
|
|
1097
|
+
Function 029: GetRenderHeight() (0 input parameters)
|
|
1098
|
+
Name: GetRenderHeight
|
|
1099
|
+
Return type: int
|
|
1100
|
+
Description: Get current render height (it considers HiDPI)
|
|
1101
|
+
No input parameters
|
|
1102
|
+
Function 030: GetMonitorCount() (0 input parameters)
|
|
736
1103
|
Name: GetMonitorCount
|
|
737
1104
|
Return type: int
|
|
738
1105
|
Description: Get number of connected monitors
|
|
739
1106
|
No input parameters
|
|
740
|
-
Function
|
|
1107
|
+
Function 031: GetCurrentMonitor() (0 input parameters)
|
|
741
1108
|
Name: GetCurrentMonitor
|
|
742
1109
|
Return type: int
|
|
743
1110
|
Description: Get current connected monitor
|
|
744
1111
|
No input parameters
|
|
745
|
-
Function
|
|
1112
|
+
Function 032: GetMonitorPosition() (1 input parameters)
|
|
746
1113
|
Name: GetMonitorPosition
|
|
747
1114
|
Return type: Vector2
|
|
748
1115
|
Description: Get specified monitor position
|
|
749
1116
|
Param[1]: monitor (type: int)
|
|
750
|
-
Function
|
|
1117
|
+
Function 033: GetMonitorWidth() (1 input parameters)
|
|
751
1118
|
Name: GetMonitorWidth
|
|
752
1119
|
Return type: int
|
|
753
|
-
Description: Get specified monitor width (
|
|
1120
|
+
Description: Get specified monitor width (current video mode used by monitor)
|
|
754
1121
|
Param[1]: monitor (type: int)
|
|
755
|
-
Function
|
|
1122
|
+
Function 034: GetMonitorHeight() (1 input parameters)
|
|
756
1123
|
Name: GetMonitorHeight
|
|
757
1124
|
Return type: int
|
|
758
|
-
Description: Get specified monitor height (
|
|
1125
|
+
Description: Get specified monitor height (current video mode used by monitor)
|
|
759
1126
|
Param[1]: monitor (type: int)
|
|
760
|
-
Function
|
|
1127
|
+
Function 035: GetMonitorPhysicalWidth() (1 input parameters)
|
|
761
1128
|
Name: GetMonitorPhysicalWidth
|
|
762
1129
|
Return type: int
|
|
763
1130
|
Description: Get specified monitor physical width in millimetres
|
|
764
1131
|
Param[1]: monitor (type: int)
|
|
765
|
-
Function
|
|
1132
|
+
Function 036: GetMonitorPhysicalHeight() (1 input parameters)
|
|
766
1133
|
Name: GetMonitorPhysicalHeight
|
|
767
1134
|
Return type: int
|
|
768
1135
|
Description: Get specified monitor physical height in millimetres
|
|
769
1136
|
Param[1]: monitor (type: int)
|
|
770
|
-
Function
|
|
1137
|
+
Function 037: GetMonitorRefreshRate() (1 input parameters)
|
|
771
1138
|
Name: GetMonitorRefreshRate
|
|
772
1139
|
Return type: int
|
|
773
1140
|
Description: Get specified monitor refresh rate
|
|
774
1141
|
Param[1]: monitor (type: int)
|
|
775
|
-
Function
|
|
1142
|
+
Function 038: GetWindowPosition() (0 input parameters)
|
|
776
1143
|
Name: GetWindowPosition
|
|
777
1144
|
Return type: Vector2
|
|
778
1145
|
Description: Get window position XY on monitor
|
|
779
1146
|
No input parameters
|
|
780
|
-
Function
|
|
1147
|
+
Function 039: GetWindowScaleDPI() (0 input parameters)
|
|
781
1148
|
Name: GetWindowScaleDPI
|
|
782
1149
|
Return type: Vector2
|
|
783
1150
|
Description: Get window scale DPI factor
|
|
784
1151
|
No input parameters
|
|
785
|
-
Function
|
|
1152
|
+
Function 040: GetMonitorName() (1 input parameters)
|
|
786
1153
|
Name: GetMonitorName
|
|
787
1154
|
Return type: const char *
|
|
788
1155
|
Description: Get the human-readable, UTF-8 encoded name of the primary monitor
|
|
789
1156
|
Param[1]: monitor (type: int)
|
|
790
|
-
Function
|
|
1157
|
+
Function 041: SetClipboardText() (1 input parameters)
|
|
791
1158
|
Name: SetClipboardText
|
|
792
1159
|
Return type: void
|
|
793
1160
|
Description: Set clipboard text content
|
|
794
1161
|
Param[1]: text (type: const char *)
|
|
795
|
-
Function
|
|
1162
|
+
Function 042: GetClipboardText() (0 input parameters)
|
|
796
1163
|
Name: GetClipboardText
|
|
797
1164
|
Return type: const char *
|
|
798
1165
|
Description: Get clipboard text content
|
|
799
1166
|
No input parameters
|
|
800
|
-
Function
|
|
1167
|
+
Function 043: EnableEventWaiting() (0 input parameters)
|
|
1168
|
+
Name: EnableEventWaiting
|
|
1169
|
+
Return type: void
|
|
1170
|
+
Description: Enable waiting for events on EndDrawing(), no automatic event polling
|
|
1171
|
+
No input parameters
|
|
1172
|
+
Function 044: DisableEventWaiting() (0 input parameters)
|
|
1173
|
+
Name: DisableEventWaiting
|
|
1174
|
+
Return type: void
|
|
1175
|
+
Description: Disable waiting for events on EndDrawing(), automatic events polling
|
|
1176
|
+
No input parameters
|
|
1177
|
+
Function 045: SwapScreenBuffer() (0 input parameters)
|
|
1178
|
+
Name: SwapScreenBuffer
|
|
1179
|
+
Return type: void
|
|
1180
|
+
Description: Swap back buffer with front buffer (screen drawing)
|
|
1181
|
+
No input parameters
|
|
1182
|
+
Function 046: PollInputEvents() (0 input parameters)
|
|
1183
|
+
Name: PollInputEvents
|
|
1184
|
+
Return type: void
|
|
1185
|
+
Description: Register all input events
|
|
1186
|
+
No input parameters
|
|
1187
|
+
Function 047: WaitTime() (1 input parameters)
|
|
1188
|
+
Name: WaitTime
|
|
1189
|
+
Return type: void
|
|
1190
|
+
Description: Wait for some time (halt program execution)
|
|
1191
|
+
Param[1]: seconds (type: double)
|
|
1192
|
+
Function 048: ShowCursor() (0 input parameters)
|
|
801
1193
|
Name: ShowCursor
|
|
802
1194
|
Return type: void
|
|
803
1195
|
Description: Shows cursor
|
|
804
1196
|
No input parameters
|
|
805
|
-
Function
|
|
1197
|
+
Function 049: HideCursor() (0 input parameters)
|
|
806
1198
|
Name: HideCursor
|
|
807
1199
|
Return type: void
|
|
808
1200
|
Description: Hides cursor
|
|
809
1201
|
No input parameters
|
|
810
|
-
Function
|
|
1202
|
+
Function 050: IsCursorHidden() (0 input parameters)
|
|
811
1203
|
Name: IsCursorHidden
|
|
812
1204
|
Return type: bool
|
|
813
1205
|
Description: Check if cursor is not visible
|
|
814
1206
|
No input parameters
|
|
815
|
-
Function
|
|
1207
|
+
Function 051: EnableCursor() (0 input parameters)
|
|
816
1208
|
Name: EnableCursor
|
|
817
1209
|
Return type: void
|
|
818
1210
|
Description: Enables cursor (unlock cursor)
|
|
819
1211
|
No input parameters
|
|
820
|
-
Function
|
|
1212
|
+
Function 052: DisableCursor() (0 input parameters)
|
|
821
1213
|
Name: DisableCursor
|
|
822
1214
|
Return type: void
|
|
823
1215
|
Description: Disables cursor (lock cursor)
|
|
824
1216
|
No input parameters
|
|
825
|
-
Function
|
|
1217
|
+
Function 053: IsCursorOnScreen() (0 input parameters)
|
|
826
1218
|
Name: IsCursorOnScreen
|
|
827
1219
|
Return type: bool
|
|
828
1220
|
Description: Check if cursor is on the screen
|
|
829
1221
|
No input parameters
|
|
830
|
-
Function
|
|
1222
|
+
Function 054: ClearBackground() (1 input parameters)
|
|
831
1223
|
Name: ClearBackground
|
|
832
1224
|
Return type: void
|
|
833
1225
|
Description: Set background color (framebuffer clear color)
|
|
834
1226
|
Param[1]: color (type: Color)
|
|
835
|
-
Function
|
|
1227
|
+
Function 055: BeginDrawing() (0 input parameters)
|
|
836
1228
|
Name: BeginDrawing
|
|
837
1229
|
Return type: void
|
|
838
1230
|
Description: Setup canvas (framebuffer) to start drawing
|
|
839
1231
|
No input parameters
|
|
840
|
-
Function
|
|
1232
|
+
Function 056: EndDrawing() (0 input parameters)
|
|
841
1233
|
Name: EndDrawing
|
|
842
1234
|
Return type: void
|
|
843
1235
|
Description: End canvas drawing and swap buffers (double buffering)
|
|
844
1236
|
No input parameters
|
|
845
|
-
Function
|
|
1237
|
+
Function 057: BeginMode2D() (1 input parameters)
|
|
846
1238
|
Name: BeginMode2D
|
|
847
1239
|
Return type: void
|
|
848
1240
|
Description: Begin 2D mode with custom camera (2D)
|
|
849
1241
|
Param[1]: camera (type: Camera2D)
|
|
850
|
-
Function
|
|
1242
|
+
Function 058: EndMode2D() (0 input parameters)
|
|
851
1243
|
Name: EndMode2D
|
|
852
1244
|
Return type: void
|
|
853
1245
|
Description: Ends 2D mode with custom camera
|
|
854
1246
|
No input parameters
|
|
855
|
-
Function
|
|
1247
|
+
Function 059: BeginMode3D() (1 input parameters)
|
|
856
1248
|
Name: BeginMode3D
|
|
857
1249
|
Return type: void
|
|
858
1250
|
Description: Begin 3D mode with custom camera (3D)
|
|
859
1251
|
Param[1]: camera (type: Camera3D)
|
|
860
|
-
Function
|
|
1252
|
+
Function 060: EndMode3D() (0 input parameters)
|
|
861
1253
|
Name: EndMode3D
|
|
862
1254
|
Return type: void
|
|
863
1255
|
Description: Ends 3D mode and returns to default 2D orthographic mode
|
|
864
1256
|
No input parameters
|
|
865
|
-
Function
|
|
1257
|
+
Function 061: BeginTextureMode() (1 input parameters)
|
|
866
1258
|
Name: BeginTextureMode
|
|
867
1259
|
Return type: void
|
|
868
1260
|
Description: Begin drawing to render texture
|
|
869
1261
|
Param[1]: target (type: RenderTexture2D)
|
|
870
|
-
Function
|
|
1262
|
+
Function 062: EndTextureMode() (0 input parameters)
|
|
871
1263
|
Name: EndTextureMode
|
|
872
1264
|
Return type: void
|
|
873
1265
|
Description: Ends drawing to render texture
|
|
874
1266
|
No input parameters
|
|
875
|
-
Function
|
|
1267
|
+
Function 063: BeginShaderMode() (1 input parameters)
|
|
876
1268
|
Name: BeginShaderMode
|
|
877
1269
|
Return type: void
|
|
878
1270
|
Description: Begin custom shader drawing
|
|
879
1271
|
Param[1]: shader (type: Shader)
|
|
880
|
-
Function
|
|
1272
|
+
Function 064: EndShaderMode() (0 input parameters)
|
|
881
1273
|
Name: EndShaderMode
|
|
882
1274
|
Return type: void
|
|
883
1275
|
Description: End custom shader drawing (use default shader)
|
|
884
1276
|
No input parameters
|
|
885
|
-
Function
|
|
1277
|
+
Function 065: BeginBlendMode() (1 input parameters)
|
|
886
1278
|
Name: BeginBlendMode
|
|
887
1279
|
Return type: void
|
|
888
1280
|
Description: Begin blending mode (alpha, additive, multiplied, subtract, custom)
|
|
889
1281
|
Param[1]: mode (type: int)
|
|
890
|
-
Function
|
|
1282
|
+
Function 066: EndBlendMode() (0 input parameters)
|
|
891
1283
|
Name: EndBlendMode
|
|
892
1284
|
Return type: void
|
|
893
1285
|
Description: End blending mode (reset to default: alpha blending)
|
|
894
1286
|
No input parameters
|
|
895
|
-
Function
|
|
1287
|
+
Function 067: BeginScissorMode() (4 input parameters)
|
|
896
1288
|
Name: BeginScissorMode
|
|
897
1289
|
Return type: void
|
|
898
1290
|
Description: Begin scissor mode (define screen area for following drawing)
|
|
@@ -900,56 +1292,56 @@ Function 059: BeginScissorMode() (4 input parameters)
|
|
|
900
1292
|
Param[2]: y (type: int)
|
|
901
1293
|
Param[3]: width (type: int)
|
|
902
1294
|
Param[4]: height (type: int)
|
|
903
|
-
Function
|
|
1295
|
+
Function 068: EndScissorMode() (0 input parameters)
|
|
904
1296
|
Name: EndScissorMode
|
|
905
1297
|
Return type: void
|
|
906
1298
|
Description: End scissor mode
|
|
907
1299
|
No input parameters
|
|
908
|
-
Function
|
|
1300
|
+
Function 069: BeginVrStereoMode() (1 input parameters)
|
|
909
1301
|
Name: BeginVrStereoMode
|
|
910
1302
|
Return type: void
|
|
911
1303
|
Description: Begin stereo rendering (requires VR simulator)
|
|
912
1304
|
Param[1]: config (type: VrStereoConfig)
|
|
913
|
-
Function
|
|
1305
|
+
Function 070: EndVrStereoMode() (0 input parameters)
|
|
914
1306
|
Name: EndVrStereoMode
|
|
915
1307
|
Return type: void
|
|
916
1308
|
Description: End stereo rendering (requires VR simulator)
|
|
917
1309
|
No input parameters
|
|
918
|
-
Function
|
|
1310
|
+
Function 071: LoadVrStereoConfig() (1 input parameters)
|
|
919
1311
|
Name: LoadVrStereoConfig
|
|
920
1312
|
Return type: VrStereoConfig
|
|
921
1313
|
Description: Load VR stereo config for VR simulator device parameters
|
|
922
1314
|
Param[1]: device (type: VrDeviceInfo)
|
|
923
|
-
Function
|
|
1315
|
+
Function 072: UnloadVrStereoConfig() (1 input parameters)
|
|
924
1316
|
Name: UnloadVrStereoConfig
|
|
925
1317
|
Return type: void
|
|
926
1318
|
Description: Unload VR stereo config
|
|
927
1319
|
Param[1]: config (type: VrStereoConfig)
|
|
928
|
-
Function
|
|
1320
|
+
Function 073: LoadShader() (2 input parameters)
|
|
929
1321
|
Name: LoadShader
|
|
930
1322
|
Return type: Shader
|
|
931
1323
|
Description: Load shader from files and bind default locations
|
|
932
1324
|
Param[1]: vsFileName (type: const char *)
|
|
933
1325
|
Param[2]: fsFileName (type: const char *)
|
|
934
|
-
Function
|
|
1326
|
+
Function 074: LoadShaderFromMemory() (2 input parameters)
|
|
935
1327
|
Name: LoadShaderFromMemory
|
|
936
1328
|
Return type: Shader
|
|
937
1329
|
Description: Load shader from code strings and bind default locations
|
|
938
1330
|
Param[1]: vsCode (type: const char *)
|
|
939
1331
|
Param[2]: fsCode (type: const char *)
|
|
940
|
-
Function
|
|
1332
|
+
Function 075: GetShaderLocation() (2 input parameters)
|
|
941
1333
|
Name: GetShaderLocation
|
|
942
1334
|
Return type: int
|
|
943
1335
|
Description: Get shader uniform location
|
|
944
1336
|
Param[1]: shader (type: Shader)
|
|
945
1337
|
Param[2]: uniformName (type: const char *)
|
|
946
|
-
Function
|
|
1338
|
+
Function 076: GetShaderLocationAttrib() (2 input parameters)
|
|
947
1339
|
Name: GetShaderLocationAttrib
|
|
948
1340
|
Return type: int
|
|
949
1341
|
Description: Get shader attribute location
|
|
950
1342
|
Param[1]: shader (type: Shader)
|
|
951
1343
|
Param[2]: attribName (type: const char *)
|
|
952
|
-
Function
|
|
1344
|
+
Function 077: SetShaderValue() (4 input parameters)
|
|
953
1345
|
Name: SetShaderValue
|
|
954
1346
|
Return type: void
|
|
955
1347
|
Description: Set shader uniform value
|
|
@@ -957,7 +1349,7 @@ Function 069: SetShaderValue() (4 input parameters)
|
|
|
957
1349
|
Param[2]: locIndex (type: int)
|
|
958
1350
|
Param[3]: value (type: const void *)
|
|
959
1351
|
Param[4]: uniformType (type: int)
|
|
960
|
-
Function
|
|
1352
|
+
Function 078: SetShaderValueV() (5 input parameters)
|
|
961
1353
|
Name: SetShaderValueV
|
|
962
1354
|
Return type: void
|
|
963
1355
|
Description: Set shader uniform value vector
|
|
@@ -966,48 +1358,54 @@ Function 070: SetShaderValueV() (5 input parameters)
|
|
|
966
1358
|
Param[3]: value (type: const void *)
|
|
967
1359
|
Param[4]: uniformType (type: int)
|
|
968
1360
|
Param[5]: count (type: int)
|
|
969
|
-
Function
|
|
1361
|
+
Function 079: SetShaderValueMatrix() (3 input parameters)
|
|
970
1362
|
Name: SetShaderValueMatrix
|
|
971
1363
|
Return type: void
|
|
972
1364
|
Description: Set shader uniform value (matrix 4x4)
|
|
973
1365
|
Param[1]: shader (type: Shader)
|
|
974
1366
|
Param[2]: locIndex (type: int)
|
|
975
1367
|
Param[3]: mat (type: Matrix)
|
|
976
|
-
Function
|
|
1368
|
+
Function 080: SetShaderValueTexture() (3 input parameters)
|
|
977
1369
|
Name: SetShaderValueTexture
|
|
978
1370
|
Return type: void
|
|
979
1371
|
Description: Set shader uniform value for texture (sampler2d)
|
|
980
1372
|
Param[1]: shader (type: Shader)
|
|
981
1373
|
Param[2]: locIndex (type: int)
|
|
982
1374
|
Param[3]: texture (type: Texture2D)
|
|
983
|
-
Function
|
|
1375
|
+
Function 081: UnloadShader() (1 input parameters)
|
|
984
1376
|
Name: UnloadShader
|
|
985
1377
|
Return type: void
|
|
986
1378
|
Description: Unload shader from GPU memory (VRAM)
|
|
987
1379
|
Param[1]: shader (type: Shader)
|
|
988
|
-
Function
|
|
1380
|
+
Function 082: GetMouseRay() (2 input parameters)
|
|
989
1381
|
Name: GetMouseRay
|
|
990
1382
|
Return type: Ray
|
|
991
1383
|
Description: Get a ray trace from mouse position
|
|
992
1384
|
Param[1]: mousePosition (type: Vector2)
|
|
993
1385
|
Param[2]: camera (type: Camera)
|
|
994
|
-
Function
|
|
1386
|
+
Function 083: GetCameraMatrix() (1 input parameters)
|
|
995
1387
|
Name: GetCameraMatrix
|
|
996
1388
|
Return type: Matrix
|
|
997
1389
|
Description: Get camera transform matrix (view matrix)
|
|
998
1390
|
Param[1]: camera (type: Camera)
|
|
999
|
-
Function
|
|
1391
|
+
Function 084: GetCameraMatrix2D() (1 input parameters)
|
|
1000
1392
|
Name: GetCameraMatrix2D
|
|
1001
1393
|
Return type: Matrix
|
|
1002
1394
|
Description: Get camera 2d transform matrix
|
|
1003
1395
|
Param[1]: camera (type: Camera2D)
|
|
1004
|
-
Function
|
|
1396
|
+
Function 085: GetWorldToScreen() (2 input parameters)
|
|
1005
1397
|
Name: GetWorldToScreen
|
|
1006
1398
|
Return type: Vector2
|
|
1007
1399
|
Description: Get the screen space position for a 3d world space position
|
|
1008
1400
|
Param[1]: position (type: Vector3)
|
|
1009
1401
|
Param[2]: camera (type: Camera)
|
|
1010
|
-
Function
|
|
1402
|
+
Function 086: GetScreenToWorld2D() (2 input parameters)
|
|
1403
|
+
Name: GetScreenToWorld2D
|
|
1404
|
+
Return type: Vector2
|
|
1405
|
+
Description: Get the world space position for a 2d camera screen space position
|
|
1406
|
+
Param[1]: position (type: Vector2)
|
|
1407
|
+
Param[2]: camera (type: Camera2D)
|
|
1408
|
+
Function 087: GetWorldToScreenEx() (4 input parameters)
|
|
1011
1409
|
Name: GetWorldToScreenEx
|
|
1012
1410
|
Return type: Vector2
|
|
1013
1411
|
Description: Get size position for a 3d world space position
|
|
@@ -1015,499 +1413,537 @@ Function 078: GetWorldToScreenEx() (4 input parameters)
|
|
|
1015
1413
|
Param[2]: camera (type: Camera)
|
|
1016
1414
|
Param[3]: width (type: int)
|
|
1017
1415
|
Param[4]: height (type: int)
|
|
1018
|
-
Function
|
|
1416
|
+
Function 088: GetWorldToScreen2D() (2 input parameters)
|
|
1019
1417
|
Name: GetWorldToScreen2D
|
|
1020
1418
|
Return type: Vector2
|
|
1021
1419
|
Description: Get the screen space position for a 2d camera world space position
|
|
1022
1420
|
Param[1]: position (type: Vector2)
|
|
1023
1421
|
Param[2]: camera (type: Camera2D)
|
|
1024
|
-
Function
|
|
1025
|
-
Name: GetScreenToWorld2D
|
|
1026
|
-
Return type: Vector2
|
|
1027
|
-
Description: Get the world space position for a 2d camera screen space position
|
|
1028
|
-
Param[1]: position (type: Vector2)
|
|
1029
|
-
Param[2]: camera (type: Camera2D)
|
|
1030
|
-
Function 081: SetTargetFPS() (1 input parameters)
|
|
1422
|
+
Function 089: SetTargetFPS() (1 input parameters)
|
|
1031
1423
|
Name: SetTargetFPS
|
|
1032
1424
|
Return type: void
|
|
1033
1425
|
Description: Set target FPS (maximum)
|
|
1034
1426
|
Param[1]: fps (type: int)
|
|
1035
|
-
Function
|
|
1427
|
+
Function 090: GetFPS() (0 input parameters)
|
|
1036
1428
|
Name: GetFPS
|
|
1037
1429
|
Return type: int
|
|
1038
1430
|
Description: Get current FPS
|
|
1039
1431
|
No input parameters
|
|
1040
|
-
Function
|
|
1432
|
+
Function 091: GetFrameTime() (0 input parameters)
|
|
1041
1433
|
Name: GetFrameTime
|
|
1042
1434
|
Return type: float
|
|
1043
1435
|
Description: Get time in seconds for last frame drawn (delta time)
|
|
1044
1436
|
No input parameters
|
|
1045
|
-
Function
|
|
1437
|
+
Function 092: GetTime() (0 input parameters)
|
|
1046
1438
|
Name: GetTime
|
|
1047
1439
|
Return type: double
|
|
1048
1440
|
Description: Get elapsed time in seconds since InitWindow()
|
|
1049
1441
|
No input parameters
|
|
1050
|
-
Function
|
|
1442
|
+
Function 093: GetRandomValue() (2 input parameters)
|
|
1051
1443
|
Name: GetRandomValue
|
|
1052
1444
|
Return type: int
|
|
1053
1445
|
Description: Get a random value between min and max (both included)
|
|
1054
1446
|
Param[1]: min (type: int)
|
|
1055
1447
|
Param[2]: max (type: int)
|
|
1056
|
-
Function
|
|
1448
|
+
Function 094: SetRandomSeed() (1 input parameters)
|
|
1449
|
+
Name: SetRandomSeed
|
|
1450
|
+
Return type: void
|
|
1451
|
+
Description: Set the seed for the random number generator
|
|
1452
|
+
Param[1]: seed (type: unsigned int)
|
|
1453
|
+
Function 095: TakeScreenshot() (1 input parameters)
|
|
1057
1454
|
Name: TakeScreenshot
|
|
1058
1455
|
Return type: void
|
|
1059
1456
|
Description: Takes a screenshot of current screen (filename extension defines format)
|
|
1060
1457
|
Param[1]: fileName (type: const char *)
|
|
1061
|
-
Function
|
|
1458
|
+
Function 096: SetConfigFlags() (1 input parameters)
|
|
1062
1459
|
Name: SetConfigFlags
|
|
1063
1460
|
Return type: void
|
|
1064
1461
|
Description: Setup init configuration flags (view FLAGS)
|
|
1065
1462
|
Param[1]: flags (type: unsigned int)
|
|
1066
|
-
Function
|
|
1463
|
+
Function 097: TraceLog() (3 input parameters)
|
|
1067
1464
|
Name: TraceLog
|
|
1068
1465
|
Return type: void
|
|
1069
1466
|
Description: Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)
|
|
1070
1467
|
Param[1]: logLevel (type: int)
|
|
1071
1468
|
Param[2]: text (type: const char *)
|
|
1072
|
-
Param[3]:
|
|
1073
|
-
Function
|
|
1469
|
+
Param[3]: args (type: ...)
|
|
1470
|
+
Function 098: SetTraceLogLevel() (1 input parameters)
|
|
1074
1471
|
Name: SetTraceLogLevel
|
|
1075
1472
|
Return type: void
|
|
1076
1473
|
Description: Set the current threshold (minimum) log level
|
|
1077
1474
|
Param[1]: logLevel (type: int)
|
|
1078
|
-
Function
|
|
1475
|
+
Function 099: MemAlloc() (1 input parameters)
|
|
1079
1476
|
Name: MemAlloc
|
|
1080
1477
|
Return type: void *
|
|
1081
1478
|
Description: Internal memory allocator
|
|
1082
1479
|
Param[1]: size (type: int)
|
|
1083
|
-
Function
|
|
1480
|
+
Function 100: MemRealloc() (2 input parameters)
|
|
1084
1481
|
Name: MemRealloc
|
|
1085
1482
|
Return type: void *
|
|
1086
1483
|
Description: Internal memory reallocator
|
|
1087
1484
|
Param[1]: ptr (type: void *)
|
|
1088
1485
|
Param[2]: size (type: int)
|
|
1089
|
-
Function
|
|
1486
|
+
Function 101: MemFree() (1 input parameters)
|
|
1090
1487
|
Name: MemFree
|
|
1091
1488
|
Return type: void
|
|
1092
1489
|
Description: Internal memory free
|
|
1093
1490
|
Param[1]: ptr (type: void *)
|
|
1094
|
-
Function
|
|
1491
|
+
Function 102: OpenURL() (1 input parameters)
|
|
1492
|
+
Name: OpenURL
|
|
1493
|
+
Return type: void
|
|
1494
|
+
Description: Open URL with default system browser (if available)
|
|
1495
|
+
Param[1]: url (type: const char *)
|
|
1496
|
+
Function 103: SetTraceLogCallback() (1 input parameters)
|
|
1095
1497
|
Name: SetTraceLogCallback
|
|
1096
1498
|
Return type: void
|
|
1097
1499
|
Description: Set custom trace log
|
|
1098
1500
|
Param[1]: callback (type: TraceLogCallback)
|
|
1099
|
-
Function
|
|
1501
|
+
Function 104: SetLoadFileDataCallback() (1 input parameters)
|
|
1100
1502
|
Name: SetLoadFileDataCallback
|
|
1101
1503
|
Return type: void
|
|
1102
1504
|
Description: Set custom file binary data loader
|
|
1103
1505
|
Param[1]: callback (type: LoadFileDataCallback)
|
|
1104
|
-
Function
|
|
1506
|
+
Function 105: SetSaveFileDataCallback() (1 input parameters)
|
|
1105
1507
|
Name: SetSaveFileDataCallback
|
|
1106
1508
|
Return type: void
|
|
1107
1509
|
Description: Set custom file binary data saver
|
|
1108
1510
|
Param[1]: callback (type: SaveFileDataCallback)
|
|
1109
|
-
Function
|
|
1511
|
+
Function 106: SetLoadFileTextCallback() (1 input parameters)
|
|
1110
1512
|
Name: SetLoadFileTextCallback
|
|
1111
1513
|
Return type: void
|
|
1112
1514
|
Description: Set custom file text data loader
|
|
1113
1515
|
Param[1]: callback (type: LoadFileTextCallback)
|
|
1114
|
-
Function
|
|
1516
|
+
Function 107: SetSaveFileTextCallback() (1 input parameters)
|
|
1115
1517
|
Name: SetSaveFileTextCallback
|
|
1116
1518
|
Return type: void
|
|
1117
1519
|
Description: Set custom file text data saver
|
|
1118
1520
|
Param[1]: callback (type: SaveFileTextCallback)
|
|
1119
|
-
Function
|
|
1521
|
+
Function 108: LoadFileData() (2 input parameters)
|
|
1120
1522
|
Name: LoadFileData
|
|
1121
1523
|
Return type: unsigned char *
|
|
1122
1524
|
Description: Load file data as byte array (read)
|
|
1123
1525
|
Param[1]: fileName (type: const char *)
|
|
1124
1526
|
Param[2]: bytesRead (type: unsigned int *)
|
|
1125
|
-
Function
|
|
1527
|
+
Function 109: UnloadFileData() (1 input parameters)
|
|
1126
1528
|
Name: UnloadFileData
|
|
1127
1529
|
Return type: void
|
|
1128
1530
|
Description: Unload file data allocated by LoadFileData()
|
|
1129
1531
|
Param[1]: data (type: unsigned char *)
|
|
1130
|
-
Function
|
|
1532
|
+
Function 110: SaveFileData() (3 input parameters)
|
|
1131
1533
|
Name: SaveFileData
|
|
1132
1534
|
Return type: bool
|
|
1133
1535
|
Description: Save data to file from byte array (write), returns true on success
|
|
1134
1536
|
Param[1]: fileName (type: const char *)
|
|
1135
1537
|
Param[2]: data (type: void *)
|
|
1136
1538
|
Param[3]: bytesToWrite (type: unsigned int)
|
|
1137
|
-
Function
|
|
1539
|
+
Function 111: ExportDataAsCode() (3 input parameters)
|
|
1540
|
+
Name: ExportDataAsCode
|
|
1541
|
+
Return type: bool
|
|
1542
|
+
Description: Export data to code (.h), returns true on success
|
|
1543
|
+
Param[1]: data (type: const char *)
|
|
1544
|
+
Param[2]: size (type: unsigned int)
|
|
1545
|
+
Param[3]: fileName (type: const char *)
|
|
1546
|
+
Function 112: LoadFileText() (1 input parameters)
|
|
1138
1547
|
Name: LoadFileText
|
|
1139
1548
|
Return type: char *
|
|
1140
1549
|
Description: Load text data from file (read), returns a '\0' terminated string
|
|
1141
1550
|
Param[1]: fileName (type: const char *)
|
|
1142
|
-
Function
|
|
1551
|
+
Function 113: UnloadFileText() (1 input parameters)
|
|
1143
1552
|
Name: UnloadFileText
|
|
1144
1553
|
Return type: void
|
|
1145
1554
|
Description: Unload file text data allocated by LoadFileText()
|
|
1146
1555
|
Param[1]: text (type: char *)
|
|
1147
|
-
Function
|
|
1556
|
+
Function 114: SaveFileText() (2 input parameters)
|
|
1148
1557
|
Name: SaveFileText
|
|
1149
1558
|
Return type: bool
|
|
1150
1559
|
Description: Save text data to file (write), string must be '\0' terminated, returns true on success
|
|
1151
1560
|
Param[1]: fileName (type: const char *)
|
|
1152
1561
|
Param[2]: text (type: char *)
|
|
1153
|
-
Function
|
|
1562
|
+
Function 115: FileExists() (1 input parameters)
|
|
1154
1563
|
Name: FileExists
|
|
1155
1564
|
Return type: bool
|
|
1156
1565
|
Description: Check if file exists
|
|
1157
1566
|
Param[1]: fileName (type: const char *)
|
|
1158
|
-
Function
|
|
1567
|
+
Function 116: DirectoryExists() (1 input parameters)
|
|
1159
1568
|
Name: DirectoryExists
|
|
1160
1569
|
Return type: bool
|
|
1161
1570
|
Description: Check if a directory path exists
|
|
1162
1571
|
Param[1]: dirPath (type: const char *)
|
|
1163
|
-
Function
|
|
1572
|
+
Function 117: IsFileExtension() (2 input parameters)
|
|
1164
1573
|
Name: IsFileExtension
|
|
1165
1574
|
Return type: bool
|
|
1166
1575
|
Description: Check file extension (including point: .png, .wav)
|
|
1167
1576
|
Param[1]: fileName (type: const char *)
|
|
1168
1577
|
Param[2]: ext (type: const char *)
|
|
1169
|
-
Function
|
|
1578
|
+
Function 118: GetFileLength() (1 input parameters)
|
|
1579
|
+
Name: GetFileLength
|
|
1580
|
+
Return type: int
|
|
1581
|
+
Description: Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)
|
|
1582
|
+
Param[1]: fileName (type: const char *)
|
|
1583
|
+
Function 119: GetFileExtension() (1 input parameters)
|
|
1170
1584
|
Name: GetFileExtension
|
|
1171
1585
|
Return type: const char *
|
|
1172
1586
|
Description: Get pointer to extension for a filename string (includes dot: '.png')
|
|
1173
1587
|
Param[1]: fileName (type: const char *)
|
|
1174
|
-
Function
|
|
1588
|
+
Function 120: GetFileName() (1 input parameters)
|
|
1175
1589
|
Name: GetFileName
|
|
1176
1590
|
Return type: const char *
|
|
1177
1591
|
Description: Get pointer to filename for a path string
|
|
1178
1592
|
Param[1]: filePath (type: const char *)
|
|
1179
|
-
Function
|
|
1593
|
+
Function 121: GetFileNameWithoutExt() (1 input parameters)
|
|
1180
1594
|
Name: GetFileNameWithoutExt
|
|
1181
1595
|
Return type: const char *
|
|
1182
1596
|
Description: Get filename string without extension (uses static string)
|
|
1183
1597
|
Param[1]: filePath (type: const char *)
|
|
1184
|
-
Function
|
|
1598
|
+
Function 122: GetDirectoryPath() (1 input parameters)
|
|
1185
1599
|
Name: GetDirectoryPath
|
|
1186
1600
|
Return type: const char *
|
|
1187
1601
|
Description: Get full path for a given fileName with path (uses static string)
|
|
1188
1602
|
Param[1]: filePath (type: const char *)
|
|
1189
|
-
Function
|
|
1603
|
+
Function 123: GetPrevDirectoryPath() (1 input parameters)
|
|
1190
1604
|
Name: GetPrevDirectoryPath
|
|
1191
1605
|
Return type: const char *
|
|
1192
1606
|
Description: Get previous directory path for a given path (uses static string)
|
|
1193
1607
|
Param[1]: dirPath (type: const char *)
|
|
1194
|
-
Function
|
|
1608
|
+
Function 124: GetWorkingDirectory() (0 input parameters)
|
|
1195
1609
|
Name: GetWorkingDirectory
|
|
1196
1610
|
Return type: const char *
|
|
1197
1611
|
Description: Get current working directory (uses static string)
|
|
1198
1612
|
No input parameters
|
|
1199
|
-
Function
|
|
1200
|
-
Name:
|
|
1201
|
-
Return type: char
|
|
1202
|
-
Description: Get
|
|
1203
|
-
Param[1]: dirPath (type: const char *)
|
|
1204
|
-
Param[2]: count (type: int *)
|
|
1205
|
-
Function 114: ClearDirectoryFiles() (0 input parameters)
|
|
1206
|
-
Name: ClearDirectoryFiles
|
|
1207
|
-
Return type: void
|
|
1208
|
-
Description: Clear directory files paths buffers (free memory)
|
|
1613
|
+
Function 125: GetApplicationDirectory() (0 input parameters)
|
|
1614
|
+
Name: GetApplicationDirectory
|
|
1615
|
+
Return type: const char *
|
|
1616
|
+
Description: Get the directory if the running application (uses static string)
|
|
1209
1617
|
No input parameters
|
|
1210
|
-
Function
|
|
1618
|
+
Function 126: ChangeDirectory() (1 input parameters)
|
|
1211
1619
|
Name: ChangeDirectory
|
|
1212
1620
|
Return type: bool
|
|
1213
1621
|
Description: Change working directory, return true on success
|
|
1214
1622
|
Param[1]: dir (type: const char *)
|
|
1215
|
-
Function
|
|
1623
|
+
Function 127: IsPathFile() (1 input parameters)
|
|
1624
|
+
Name: IsPathFile
|
|
1625
|
+
Return type: bool
|
|
1626
|
+
Description: Check if a given path is a file or a directory
|
|
1627
|
+
Param[1]: path (type: const char *)
|
|
1628
|
+
Function 128: LoadDirectoryFiles() (1 input parameters)
|
|
1629
|
+
Name: LoadDirectoryFiles
|
|
1630
|
+
Return type: FilePathList
|
|
1631
|
+
Description: Load directory filepaths
|
|
1632
|
+
Param[1]: dirPath (type: const char *)
|
|
1633
|
+
Function 129: LoadDirectoryFilesEx() (3 input parameters)
|
|
1634
|
+
Name: LoadDirectoryFilesEx
|
|
1635
|
+
Return type: FilePathList
|
|
1636
|
+
Description: Load directory filepaths with extension filtering and recursive directory scan
|
|
1637
|
+
Param[1]: basePath (type: const char *)
|
|
1638
|
+
Param[2]: filter (type: const char *)
|
|
1639
|
+
Param[3]: scanSubdirs (type: bool)
|
|
1640
|
+
Function 130: UnloadDirectoryFiles() (1 input parameters)
|
|
1641
|
+
Name: UnloadDirectoryFiles
|
|
1642
|
+
Return type: void
|
|
1643
|
+
Description: Unload filepaths
|
|
1644
|
+
Param[1]: files (type: FilePathList)
|
|
1645
|
+
Function 131: IsFileDropped() (0 input parameters)
|
|
1216
1646
|
Name: IsFileDropped
|
|
1217
1647
|
Return type: bool
|
|
1218
1648
|
Description: Check if a file has been dropped into window
|
|
1219
1649
|
No input parameters
|
|
1220
|
-
Function
|
|
1221
|
-
Name:
|
|
1222
|
-
Return type:
|
|
1223
|
-
Description:
|
|
1224
|
-
Param[1]: count (type: int *)
|
|
1225
|
-
Function 118: ClearDroppedFiles() (0 input parameters)
|
|
1226
|
-
Name: ClearDroppedFiles
|
|
1227
|
-
Return type: void
|
|
1228
|
-
Description: Clear dropped files paths buffer (free memory)
|
|
1650
|
+
Function 132: LoadDroppedFiles() (0 input parameters)
|
|
1651
|
+
Name: LoadDroppedFiles
|
|
1652
|
+
Return type: FilePathList
|
|
1653
|
+
Description: Load dropped filepaths
|
|
1229
1654
|
No input parameters
|
|
1230
|
-
Function
|
|
1655
|
+
Function 133: UnloadDroppedFiles() (1 input parameters)
|
|
1656
|
+
Name: UnloadDroppedFiles
|
|
1657
|
+
Return type: void
|
|
1658
|
+
Description: Unload dropped filepaths
|
|
1659
|
+
Param[1]: files (type: FilePathList)
|
|
1660
|
+
Function 134: GetFileModTime() (1 input parameters)
|
|
1231
1661
|
Name: GetFileModTime
|
|
1232
1662
|
Return type: long
|
|
1233
1663
|
Description: Get file modification time (last write time)
|
|
1234
1664
|
Param[1]: fileName (type: const char *)
|
|
1235
|
-
Function
|
|
1665
|
+
Function 135: CompressData() (3 input parameters)
|
|
1236
1666
|
Name: CompressData
|
|
1237
1667
|
Return type: unsigned char *
|
|
1238
|
-
Description: Compress data (DEFLATE algorithm)
|
|
1239
|
-
Param[1]: data (type: unsigned char *)
|
|
1240
|
-
Param[2]:
|
|
1241
|
-
Param[3]:
|
|
1242
|
-
Function
|
|
1668
|
+
Description: Compress data (DEFLATE algorithm), memory must be MemFree()
|
|
1669
|
+
Param[1]: data (type: const unsigned char *)
|
|
1670
|
+
Param[2]: dataSize (type: int)
|
|
1671
|
+
Param[3]: compDataSize (type: int *)
|
|
1672
|
+
Function 136: DecompressData() (3 input parameters)
|
|
1243
1673
|
Name: DecompressData
|
|
1244
1674
|
Return type: unsigned char *
|
|
1245
|
-
Description: Decompress data (DEFLATE algorithm)
|
|
1246
|
-
Param[1]: compData (type: unsigned char *)
|
|
1247
|
-
Param[2]:
|
|
1248
|
-
Param[3]:
|
|
1249
|
-
Function
|
|
1250
|
-
Name:
|
|
1251
|
-
Return type:
|
|
1252
|
-
Description:
|
|
1253
|
-
Param[1]:
|
|
1254
|
-
Param[2]:
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
Description: Open URL with default system browser (if available)
|
|
1264
|
-
Param[1]: url (type: const char *)
|
|
1265
|
-
Function 125: IsKeyPressed() (1 input parameters)
|
|
1675
|
+
Description: Decompress data (DEFLATE algorithm), memory must be MemFree()
|
|
1676
|
+
Param[1]: compData (type: const unsigned char *)
|
|
1677
|
+
Param[2]: compDataSize (type: int)
|
|
1678
|
+
Param[3]: dataSize (type: int *)
|
|
1679
|
+
Function 137: EncodeDataBase64() (3 input parameters)
|
|
1680
|
+
Name: EncodeDataBase64
|
|
1681
|
+
Return type: char *
|
|
1682
|
+
Description: Encode data to Base64 string, memory must be MemFree()
|
|
1683
|
+
Param[1]: data (type: const unsigned char *)
|
|
1684
|
+
Param[2]: dataSize (type: int)
|
|
1685
|
+
Param[3]: outputSize (type: int *)
|
|
1686
|
+
Function 138: DecodeDataBase64() (2 input parameters)
|
|
1687
|
+
Name: DecodeDataBase64
|
|
1688
|
+
Return type: unsigned char *
|
|
1689
|
+
Description: Decode Base64 string data, memory must be MemFree()
|
|
1690
|
+
Param[1]: data (type: const unsigned char *)
|
|
1691
|
+
Param[2]: outputSize (type: int *)
|
|
1692
|
+
Function 139: IsKeyPressed() (1 input parameters)
|
|
1266
1693
|
Name: IsKeyPressed
|
|
1267
1694
|
Return type: bool
|
|
1268
1695
|
Description: Check if a key has been pressed once
|
|
1269
1696
|
Param[1]: key (type: int)
|
|
1270
|
-
Function
|
|
1697
|
+
Function 140: IsKeyDown() (1 input parameters)
|
|
1271
1698
|
Name: IsKeyDown
|
|
1272
1699
|
Return type: bool
|
|
1273
1700
|
Description: Check if a key is being pressed
|
|
1274
1701
|
Param[1]: key (type: int)
|
|
1275
|
-
Function
|
|
1702
|
+
Function 141: IsKeyReleased() (1 input parameters)
|
|
1276
1703
|
Name: IsKeyReleased
|
|
1277
1704
|
Return type: bool
|
|
1278
1705
|
Description: Check if a key has been released once
|
|
1279
1706
|
Param[1]: key (type: int)
|
|
1280
|
-
Function
|
|
1707
|
+
Function 142: IsKeyUp() (1 input parameters)
|
|
1281
1708
|
Name: IsKeyUp
|
|
1282
1709
|
Return type: bool
|
|
1283
1710
|
Description: Check if a key is NOT being pressed
|
|
1284
1711
|
Param[1]: key (type: int)
|
|
1285
|
-
Function
|
|
1712
|
+
Function 143: SetExitKey() (1 input parameters)
|
|
1286
1713
|
Name: SetExitKey
|
|
1287
1714
|
Return type: void
|
|
1288
1715
|
Description: Set a custom key to exit program (default is ESC)
|
|
1289
1716
|
Param[1]: key (type: int)
|
|
1290
|
-
Function
|
|
1717
|
+
Function 144: GetKeyPressed() (0 input parameters)
|
|
1291
1718
|
Name: GetKeyPressed
|
|
1292
1719
|
Return type: int
|
|
1293
|
-
Description: Get key pressed (keycode), call it multiple times for keys queued
|
|
1720
|
+
Description: Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
|
|
1294
1721
|
No input parameters
|
|
1295
|
-
Function
|
|
1722
|
+
Function 145: GetCharPressed() (0 input parameters)
|
|
1296
1723
|
Name: GetCharPressed
|
|
1297
1724
|
Return type: int
|
|
1298
|
-
Description: Get char pressed (unicode), call it multiple times for chars queued
|
|
1725
|
+
Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
|
|
1299
1726
|
No input parameters
|
|
1300
|
-
Function
|
|
1727
|
+
Function 146: IsGamepadAvailable() (1 input parameters)
|
|
1301
1728
|
Name: IsGamepadAvailable
|
|
1302
1729
|
Return type: bool
|
|
1303
1730
|
Description: Check if a gamepad is available
|
|
1304
1731
|
Param[1]: gamepad (type: int)
|
|
1305
|
-
Function
|
|
1306
|
-
Name: IsGamepadName
|
|
1307
|
-
Return type: bool
|
|
1308
|
-
Description: Check gamepad name (if available)
|
|
1309
|
-
Param[1]: gamepad (type: int)
|
|
1310
|
-
Param[2]: name (type: const char *)
|
|
1311
|
-
Function 134: GetGamepadName() (1 input parameters)
|
|
1732
|
+
Function 147: GetGamepadName() (1 input parameters)
|
|
1312
1733
|
Name: GetGamepadName
|
|
1313
1734
|
Return type: const char *
|
|
1314
1735
|
Description: Get gamepad internal name id
|
|
1315
1736
|
Param[1]: gamepad (type: int)
|
|
1316
|
-
Function
|
|
1737
|
+
Function 148: IsGamepadButtonPressed() (2 input parameters)
|
|
1317
1738
|
Name: IsGamepadButtonPressed
|
|
1318
1739
|
Return type: bool
|
|
1319
1740
|
Description: Check if a gamepad button has been pressed once
|
|
1320
1741
|
Param[1]: gamepad (type: int)
|
|
1321
1742
|
Param[2]: button (type: int)
|
|
1322
|
-
Function
|
|
1743
|
+
Function 149: IsGamepadButtonDown() (2 input parameters)
|
|
1323
1744
|
Name: IsGamepadButtonDown
|
|
1324
1745
|
Return type: bool
|
|
1325
1746
|
Description: Check if a gamepad button is being pressed
|
|
1326
1747
|
Param[1]: gamepad (type: int)
|
|
1327
1748
|
Param[2]: button (type: int)
|
|
1328
|
-
Function
|
|
1749
|
+
Function 150: IsGamepadButtonReleased() (2 input parameters)
|
|
1329
1750
|
Name: IsGamepadButtonReleased
|
|
1330
1751
|
Return type: bool
|
|
1331
1752
|
Description: Check if a gamepad button has been released once
|
|
1332
1753
|
Param[1]: gamepad (type: int)
|
|
1333
1754
|
Param[2]: button (type: int)
|
|
1334
|
-
Function
|
|
1755
|
+
Function 151: IsGamepadButtonUp() (2 input parameters)
|
|
1335
1756
|
Name: IsGamepadButtonUp
|
|
1336
1757
|
Return type: bool
|
|
1337
1758
|
Description: Check if a gamepad button is NOT being pressed
|
|
1338
1759
|
Param[1]: gamepad (type: int)
|
|
1339
1760
|
Param[2]: button (type: int)
|
|
1340
|
-
Function
|
|
1761
|
+
Function 152: GetGamepadButtonPressed() (0 input parameters)
|
|
1341
1762
|
Name: GetGamepadButtonPressed
|
|
1342
1763
|
Return type: int
|
|
1343
1764
|
Description: Get the last gamepad button pressed
|
|
1344
1765
|
No input parameters
|
|
1345
|
-
Function
|
|
1766
|
+
Function 153: GetGamepadAxisCount() (1 input parameters)
|
|
1346
1767
|
Name: GetGamepadAxisCount
|
|
1347
1768
|
Return type: int
|
|
1348
1769
|
Description: Get gamepad axis count for a gamepad
|
|
1349
1770
|
Param[1]: gamepad (type: int)
|
|
1350
|
-
Function
|
|
1771
|
+
Function 154: GetGamepadAxisMovement() (2 input parameters)
|
|
1351
1772
|
Name: GetGamepadAxisMovement
|
|
1352
1773
|
Return type: float
|
|
1353
1774
|
Description: Get axis movement value for a gamepad axis
|
|
1354
1775
|
Param[1]: gamepad (type: int)
|
|
1355
1776
|
Param[2]: axis (type: int)
|
|
1356
|
-
Function
|
|
1777
|
+
Function 155: SetGamepadMappings() (1 input parameters)
|
|
1357
1778
|
Name: SetGamepadMappings
|
|
1358
1779
|
Return type: int
|
|
1359
1780
|
Description: Set internal gamepad mappings (SDL_GameControllerDB)
|
|
1360
1781
|
Param[1]: mappings (type: const char *)
|
|
1361
|
-
Function
|
|
1782
|
+
Function 156: IsMouseButtonPressed() (1 input parameters)
|
|
1362
1783
|
Name: IsMouseButtonPressed
|
|
1363
1784
|
Return type: bool
|
|
1364
1785
|
Description: Check if a mouse button has been pressed once
|
|
1365
1786
|
Param[1]: button (type: int)
|
|
1366
|
-
Function
|
|
1787
|
+
Function 157: IsMouseButtonDown() (1 input parameters)
|
|
1367
1788
|
Name: IsMouseButtonDown
|
|
1368
1789
|
Return type: bool
|
|
1369
1790
|
Description: Check if a mouse button is being pressed
|
|
1370
1791
|
Param[1]: button (type: int)
|
|
1371
|
-
Function
|
|
1792
|
+
Function 158: IsMouseButtonReleased() (1 input parameters)
|
|
1372
1793
|
Name: IsMouseButtonReleased
|
|
1373
1794
|
Return type: bool
|
|
1374
1795
|
Description: Check if a mouse button has been released once
|
|
1375
1796
|
Param[1]: button (type: int)
|
|
1376
|
-
Function
|
|
1797
|
+
Function 159: IsMouseButtonUp() (1 input parameters)
|
|
1377
1798
|
Name: IsMouseButtonUp
|
|
1378
1799
|
Return type: bool
|
|
1379
1800
|
Description: Check if a mouse button is NOT being pressed
|
|
1380
1801
|
Param[1]: button (type: int)
|
|
1381
|
-
Function
|
|
1802
|
+
Function 160: GetMouseX() (0 input parameters)
|
|
1382
1803
|
Name: GetMouseX
|
|
1383
1804
|
Return type: int
|
|
1384
1805
|
Description: Get mouse position X
|
|
1385
1806
|
No input parameters
|
|
1386
|
-
Function
|
|
1807
|
+
Function 161: GetMouseY() (0 input parameters)
|
|
1387
1808
|
Name: GetMouseY
|
|
1388
1809
|
Return type: int
|
|
1389
1810
|
Description: Get mouse position Y
|
|
1390
1811
|
No input parameters
|
|
1391
|
-
Function
|
|
1812
|
+
Function 162: GetMousePosition() (0 input parameters)
|
|
1392
1813
|
Name: GetMousePosition
|
|
1393
1814
|
Return type: Vector2
|
|
1394
1815
|
Description: Get mouse position XY
|
|
1395
1816
|
No input parameters
|
|
1396
|
-
Function
|
|
1817
|
+
Function 163: GetMouseDelta() (0 input parameters)
|
|
1818
|
+
Name: GetMouseDelta
|
|
1819
|
+
Return type: Vector2
|
|
1820
|
+
Description: Get mouse delta between frames
|
|
1821
|
+
No input parameters
|
|
1822
|
+
Function 164: SetMousePosition() (2 input parameters)
|
|
1397
1823
|
Name: SetMousePosition
|
|
1398
1824
|
Return type: void
|
|
1399
1825
|
Description: Set mouse position XY
|
|
1400
1826
|
Param[1]: x (type: int)
|
|
1401
1827
|
Param[2]: y (type: int)
|
|
1402
|
-
Function
|
|
1828
|
+
Function 165: SetMouseOffset() (2 input parameters)
|
|
1403
1829
|
Name: SetMouseOffset
|
|
1404
1830
|
Return type: void
|
|
1405
1831
|
Description: Set mouse offset
|
|
1406
1832
|
Param[1]: offsetX (type: int)
|
|
1407
1833
|
Param[2]: offsetY (type: int)
|
|
1408
|
-
Function
|
|
1834
|
+
Function 166: SetMouseScale() (2 input parameters)
|
|
1409
1835
|
Name: SetMouseScale
|
|
1410
1836
|
Return type: void
|
|
1411
1837
|
Description: Set mouse scaling
|
|
1412
1838
|
Param[1]: scaleX (type: float)
|
|
1413
1839
|
Param[2]: scaleY (type: float)
|
|
1414
|
-
Function
|
|
1840
|
+
Function 167: GetMouseWheelMove() (0 input parameters)
|
|
1415
1841
|
Name: GetMouseWheelMove
|
|
1416
1842
|
Return type: float
|
|
1417
|
-
Description: Get mouse wheel movement Y
|
|
1843
|
+
Description: Get mouse wheel movement for X or Y, whichever is larger
|
|
1844
|
+
No input parameters
|
|
1845
|
+
Function 168: GetMouseWheelMoveV() (0 input parameters)
|
|
1846
|
+
Name: GetMouseWheelMoveV
|
|
1847
|
+
Return type: Vector2
|
|
1848
|
+
Description: Get mouse wheel movement for both X and Y
|
|
1418
1849
|
No input parameters
|
|
1419
|
-
Function
|
|
1850
|
+
Function 169: SetMouseCursor() (1 input parameters)
|
|
1420
1851
|
Name: SetMouseCursor
|
|
1421
1852
|
Return type: void
|
|
1422
1853
|
Description: Set mouse cursor
|
|
1423
1854
|
Param[1]: cursor (type: int)
|
|
1424
|
-
Function
|
|
1855
|
+
Function 170: GetTouchX() (0 input parameters)
|
|
1425
1856
|
Name: GetTouchX
|
|
1426
1857
|
Return type: int
|
|
1427
1858
|
Description: Get touch position X for touch point 0 (relative to screen size)
|
|
1428
1859
|
No input parameters
|
|
1429
|
-
Function
|
|
1860
|
+
Function 171: GetTouchY() (0 input parameters)
|
|
1430
1861
|
Name: GetTouchY
|
|
1431
1862
|
Return type: int
|
|
1432
1863
|
Description: Get touch position Y for touch point 0 (relative to screen size)
|
|
1433
1864
|
No input parameters
|
|
1434
|
-
Function
|
|
1865
|
+
Function 172: GetTouchPosition() (1 input parameters)
|
|
1435
1866
|
Name: GetTouchPosition
|
|
1436
1867
|
Return type: Vector2
|
|
1437
1868
|
Description: Get touch position XY for a touch point index (relative to screen size)
|
|
1438
1869
|
Param[1]: index (type: int)
|
|
1439
|
-
Function
|
|
1870
|
+
Function 173: GetTouchPointId() (1 input parameters)
|
|
1871
|
+
Name: GetTouchPointId
|
|
1872
|
+
Return type: int
|
|
1873
|
+
Description: Get touch point identifier for given index
|
|
1874
|
+
Param[1]: index (type: int)
|
|
1875
|
+
Function 174: GetTouchPointCount() (0 input parameters)
|
|
1876
|
+
Name: GetTouchPointCount
|
|
1877
|
+
Return type: int
|
|
1878
|
+
Description: Get number of touch points
|
|
1879
|
+
No input parameters
|
|
1880
|
+
Function 175: SetGesturesEnabled() (1 input parameters)
|
|
1440
1881
|
Name: SetGesturesEnabled
|
|
1441
1882
|
Return type: void
|
|
1442
1883
|
Description: Enable a set of gestures using flags
|
|
1443
1884
|
Param[1]: flags (type: unsigned int)
|
|
1444
|
-
Function
|
|
1885
|
+
Function 176: IsGestureDetected() (1 input parameters)
|
|
1445
1886
|
Name: IsGestureDetected
|
|
1446
1887
|
Return type: bool
|
|
1447
1888
|
Description: Check if a gesture have been detected
|
|
1448
1889
|
Param[1]: gesture (type: int)
|
|
1449
|
-
Function
|
|
1890
|
+
Function 177: GetGestureDetected() (0 input parameters)
|
|
1450
1891
|
Name: GetGestureDetected
|
|
1451
1892
|
Return type: int
|
|
1452
1893
|
Description: Get latest detected gesture
|
|
1453
1894
|
No input parameters
|
|
1454
|
-
Function
|
|
1455
|
-
Name: GetTouchPointsCount
|
|
1456
|
-
Return type: int
|
|
1457
|
-
Description: Get touch points count
|
|
1458
|
-
No input parameters
|
|
1459
|
-
Function 162: GetGestureHoldDuration() (0 input parameters)
|
|
1895
|
+
Function 178: GetGestureHoldDuration() (0 input parameters)
|
|
1460
1896
|
Name: GetGestureHoldDuration
|
|
1461
1897
|
Return type: float
|
|
1462
1898
|
Description: Get gesture hold time in milliseconds
|
|
1463
1899
|
No input parameters
|
|
1464
|
-
Function
|
|
1900
|
+
Function 179: GetGestureDragVector() (0 input parameters)
|
|
1465
1901
|
Name: GetGestureDragVector
|
|
1466
1902
|
Return type: Vector2
|
|
1467
1903
|
Description: Get gesture drag vector
|
|
1468
1904
|
No input parameters
|
|
1469
|
-
Function
|
|
1905
|
+
Function 180: GetGestureDragAngle() (0 input parameters)
|
|
1470
1906
|
Name: GetGestureDragAngle
|
|
1471
1907
|
Return type: float
|
|
1472
1908
|
Description: Get gesture drag angle
|
|
1473
1909
|
No input parameters
|
|
1474
|
-
Function
|
|
1910
|
+
Function 181: GetGesturePinchVector() (0 input parameters)
|
|
1475
1911
|
Name: GetGesturePinchVector
|
|
1476
1912
|
Return type: Vector2
|
|
1477
1913
|
Description: Get gesture pinch delta
|
|
1478
1914
|
No input parameters
|
|
1479
|
-
Function
|
|
1915
|
+
Function 182: GetGesturePinchAngle() (0 input parameters)
|
|
1480
1916
|
Name: GetGesturePinchAngle
|
|
1481
1917
|
Return type: float
|
|
1482
1918
|
Description: Get gesture pinch angle
|
|
1483
1919
|
No input parameters
|
|
1484
|
-
Function
|
|
1920
|
+
Function 183: SetCameraMode() (2 input parameters)
|
|
1485
1921
|
Name: SetCameraMode
|
|
1486
1922
|
Return type: void
|
|
1487
1923
|
Description: Set camera mode (multiple camera modes available)
|
|
1488
1924
|
Param[1]: camera (type: Camera)
|
|
1489
1925
|
Param[2]: mode (type: int)
|
|
1490
|
-
Function
|
|
1926
|
+
Function 184: UpdateCamera() (1 input parameters)
|
|
1491
1927
|
Name: UpdateCamera
|
|
1492
1928
|
Return type: void
|
|
1493
1929
|
Description: Update camera position for selected mode
|
|
1494
1930
|
Param[1]: camera (type: Camera *)
|
|
1495
|
-
Function
|
|
1931
|
+
Function 185: SetCameraPanControl() (1 input parameters)
|
|
1496
1932
|
Name: SetCameraPanControl
|
|
1497
1933
|
Return type: void
|
|
1498
1934
|
Description: Set camera pan key to combine with mouse movement (free camera)
|
|
1499
1935
|
Param[1]: keyPan (type: int)
|
|
1500
|
-
Function
|
|
1936
|
+
Function 186: SetCameraAltControl() (1 input parameters)
|
|
1501
1937
|
Name: SetCameraAltControl
|
|
1502
1938
|
Return type: void
|
|
1503
1939
|
Description: Set camera alt key to combine with mouse movement (free camera)
|
|
1504
1940
|
Param[1]: keyAlt (type: int)
|
|
1505
|
-
Function
|
|
1941
|
+
Function 187: SetCameraSmoothZoomControl() (1 input parameters)
|
|
1506
1942
|
Name: SetCameraSmoothZoomControl
|
|
1507
1943
|
Return type: void
|
|
1508
1944
|
Description: Set camera smooth zoom key to combine with mouse (free camera)
|
|
1509
1945
|
Param[1]: keySmoothZoom (type: int)
|
|
1510
|
-
Function
|
|
1946
|
+
Function 188: SetCameraMoveControls() (6 input parameters)
|
|
1511
1947
|
Name: SetCameraMoveControls
|
|
1512
1948
|
Return type: void
|
|
1513
1949
|
Description: Set camera move controls (1st person and 3rd person cameras)
|
|
@@ -1517,26 +1953,26 @@ Function 172: SetCameraMoveControls() (6 input parameters)
|
|
|
1517
1953
|
Param[4]: keyLeft (type: int)
|
|
1518
1954
|
Param[5]: keyUp (type: int)
|
|
1519
1955
|
Param[6]: keyDown (type: int)
|
|
1520
|
-
Function
|
|
1956
|
+
Function 189: SetShapesTexture() (2 input parameters)
|
|
1521
1957
|
Name: SetShapesTexture
|
|
1522
1958
|
Return type: void
|
|
1523
1959
|
Description: Set texture and rectangle to be used on shapes drawing
|
|
1524
1960
|
Param[1]: texture (type: Texture2D)
|
|
1525
1961
|
Param[2]: source (type: Rectangle)
|
|
1526
|
-
Function
|
|
1962
|
+
Function 190: DrawPixel() (3 input parameters)
|
|
1527
1963
|
Name: DrawPixel
|
|
1528
1964
|
Return type: void
|
|
1529
1965
|
Description: Draw a pixel
|
|
1530
1966
|
Param[1]: posX (type: int)
|
|
1531
1967
|
Param[2]: posY (type: int)
|
|
1532
1968
|
Param[3]: color (type: Color)
|
|
1533
|
-
Function
|
|
1969
|
+
Function 191: DrawPixelV() (2 input parameters)
|
|
1534
1970
|
Name: DrawPixelV
|
|
1535
1971
|
Return type: void
|
|
1536
1972
|
Description: Draw a pixel (Vector version)
|
|
1537
1973
|
Param[1]: position (type: Vector2)
|
|
1538
1974
|
Param[2]: color (type: Color)
|
|
1539
|
-
Function
|
|
1975
|
+
Function 192: DrawLine() (5 input parameters)
|
|
1540
1976
|
Name: DrawLine
|
|
1541
1977
|
Return type: void
|
|
1542
1978
|
Description: Draw a line
|
|
@@ -1545,14 +1981,14 @@ Function 176: DrawLine() (5 input parameters)
|
|
|
1545
1981
|
Param[3]: endPosX (type: int)
|
|
1546
1982
|
Param[4]: endPosY (type: int)
|
|
1547
1983
|
Param[5]: color (type: Color)
|
|
1548
|
-
Function
|
|
1984
|
+
Function 193: DrawLineV() (3 input parameters)
|
|
1549
1985
|
Name: DrawLineV
|
|
1550
1986
|
Return type: void
|
|
1551
1987
|
Description: Draw a line (Vector version)
|
|
1552
1988
|
Param[1]: startPos (type: Vector2)
|
|
1553
1989
|
Param[2]: endPos (type: Vector2)
|
|
1554
1990
|
Param[3]: color (type: Color)
|
|
1555
|
-
Function
|
|
1991
|
+
Function 194: DrawLineEx() (4 input parameters)
|
|
1556
1992
|
Name: DrawLineEx
|
|
1557
1993
|
Return type: void
|
|
1558
1994
|
Description: Draw a line defining thickness
|
|
@@ -1560,7 +1996,7 @@ Function 178: DrawLineEx() (4 input parameters)
|
|
|
1560
1996
|
Param[2]: endPos (type: Vector2)
|
|
1561
1997
|
Param[3]: thick (type: float)
|
|
1562
1998
|
Param[4]: color (type: Color)
|
|
1563
|
-
Function
|
|
1999
|
+
Function 195: DrawLineBezier() (4 input parameters)
|
|
1564
2000
|
Name: DrawLineBezier
|
|
1565
2001
|
Return type: void
|
|
1566
2002
|
Description: Draw a line using cubic-bezier curves in-out
|
|
@@ -1568,23 +2004,33 @@ Function 179: DrawLineBezier() (4 input parameters)
|
|
|
1568
2004
|
Param[2]: endPos (type: Vector2)
|
|
1569
2005
|
Param[3]: thick (type: float)
|
|
1570
2006
|
Param[4]: color (type: Color)
|
|
1571
|
-
Function
|
|
2007
|
+
Function 196: DrawLineBezierQuad() (5 input parameters)
|
|
1572
2008
|
Name: DrawLineBezierQuad
|
|
1573
2009
|
Return type: void
|
|
1574
|
-
Description:
|
|
2010
|
+
Description: Draw line using quadratic bezier curves with a control point
|
|
1575
2011
|
Param[1]: startPos (type: Vector2)
|
|
1576
2012
|
Param[2]: endPos (type: Vector2)
|
|
1577
2013
|
Param[3]: controlPos (type: Vector2)
|
|
1578
2014
|
Param[4]: thick (type: float)
|
|
1579
2015
|
Param[5]: color (type: Color)
|
|
1580
|
-
Function
|
|
2016
|
+
Function 197: DrawLineBezierCubic() (6 input parameters)
|
|
2017
|
+
Name: DrawLineBezierCubic
|
|
2018
|
+
Return type: void
|
|
2019
|
+
Description: Draw line using cubic bezier curves with 2 control points
|
|
2020
|
+
Param[1]: startPos (type: Vector2)
|
|
2021
|
+
Param[2]: endPos (type: Vector2)
|
|
2022
|
+
Param[3]: startControlPos (type: Vector2)
|
|
2023
|
+
Param[4]: endControlPos (type: Vector2)
|
|
2024
|
+
Param[5]: thick (type: float)
|
|
2025
|
+
Param[6]: color (type: Color)
|
|
2026
|
+
Function 198: DrawLineStrip() (3 input parameters)
|
|
1581
2027
|
Name: DrawLineStrip
|
|
1582
2028
|
Return type: void
|
|
1583
2029
|
Description: Draw lines sequence
|
|
1584
2030
|
Param[1]: points (type: Vector2 *)
|
|
1585
|
-
Param[2]:
|
|
2031
|
+
Param[2]: pointCount (type: int)
|
|
1586
2032
|
Param[3]: color (type: Color)
|
|
1587
|
-
Function
|
|
2033
|
+
Function 199: DrawCircle() (4 input parameters)
|
|
1588
2034
|
Name: DrawCircle
|
|
1589
2035
|
Return type: void
|
|
1590
2036
|
Description: Draw a color-filled circle
|
|
@@ -1592,7 +2038,7 @@ Function 182: DrawCircle() (4 input parameters)
|
|
|
1592
2038
|
Param[2]: centerY (type: int)
|
|
1593
2039
|
Param[3]: radius (type: float)
|
|
1594
2040
|
Param[4]: color (type: Color)
|
|
1595
|
-
Function
|
|
2041
|
+
Function 200: DrawCircleSector() (6 input parameters)
|
|
1596
2042
|
Name: DrawCircleSector
|
|
1597
2043
|
Return type: void
|
|
1598
2044
|
Description: Draw a piece of a circle
|
|
@@ -1602,7 +2048,7 @@ Function 183: DrawCircleSector() (6 input parameters)
|
|
|
1602
2048
|
Param[4]: endAngle (type: float)
|
|
1603
2049
|
Param[5]: segments (type: int)
|
|
1604
2050
|
Param[6]: color (type: Color)
|
|
1605
|
-
Function
|
|
2051
|
+
Function 201: DrawCircleSectorLines() (6 input parameters)
|
|
1606
2052
|
Name: DrawCircleSectorLines
|
|
1607
2053
|
Return type: void
|
|
1608
2054
|
Description: Draw circle sector outline
|
|
@@ -1612,7 +2058,7 @@ Function 184: DrawCircleSectorLines() (6 input parameters)
|
|
|
1612
2058
|
Param[4]: endAngle (type: float)
|
|
1613
2059
|
Param[5]: segments (type: int)
|
|
1614
2060
|
Param[6]: color (type: Color)
|
|
1615
|
-
Function
|
|
2061
|
+
Function 202: DrawCircleGradient() (5 input parameters)
|
|
1616
2062
|
Name: DrawCircleGradient
|
|
1617
2063
|
Return type: void
|
|
1618
2064
|
Description: Draw a gradient-filled circle
|
|
@@ -1621,14 +2067,14 @@ Function 185: DrawCircleGradient() (5 input parameters)
|
|
|
1621
2067
|
Param[3]: radius (type: float)
|
|
1622
2068
|
Param[4]: color1 (type: Color)
|
|
1623
2069
|
Param[5]: color2 (type: Color)
|
|
1624
|
-
Function
|
|
2070
|
+
Function 203: DrawCircleV() (3 input parameters)
|
|
1625
2071
|
Name: DrawCircleV
|
|
1626
2072
|
Return type: void
|
|
1627
2073
|
Description: Draw a color-filled circle (Vector version)
|
|
1628
2074
|
Param[1]: center (type: Vector2)
|
|
1629
2075
|
Param[2]: radius (type: float)
|
|
1630
2076
|
Param[3]: color (type: Color)
|
|
1631
|
-
Function
|
|
2077
|
+
Function 204: DrawCircleLines() (4 input parameters)
|
|
1632
2078
|
Name: DrawCircleLines
|
|
1633
2079
|
Return type: void
|
|
1634
2080
|
Description: Draw circle outline
|
|
@@ -1636,7 +2082,7 @@ Function 187: DrawCircleLines() (4 input parameters)
|
|
|
1636
2082
|
Param[2]: centerY (type: int)
|
|
1637
2083
|
Param[3]: radius (type: float)
|
|
1638
2084
|
Param[4]: color (type: Color)
|
|
1639
|
-
Function
|
|
2085
|
+
Function 205: DrawEllipse() (5 input parameters)
|
|
1640
2086
|
Name: DrawEllipse
|
|
1641
2087
|
Return type: void
|
|
1642
2088
|
Description: Draw ellipse
|
|
@@ -1645,7 +2091,7 @@ Function 188: DrawEllipse() (5 input parameters)
|
|
|
1645
2091
|
Param[3]: radiusH (type: float)
|
|
1646
2092
|
Param[4]: radiusV (type: float)
|
|
1647
2093
|
Param[5]: color (type: Color)
|
|
1648
|
-
Function
|
|
2094
|
+
Function 206: DrawEllipseLines() (5 input parameters)
|
|
1649
2095
|
Name: DrawEllipseLines
|
|
1650
2096
|
Return type: void
|
|
1651
2097
|
Description: Draw ellipse outline
|
|
@@ -1654,7 +2100,7 @@ Function 189: DrawEllipseLines() (5 input parameters)
|
|
|
1654
2100
|
Param[3]: radiusH (type: float)
|
|
1655
2101
|
Param[4]: radiusV (type: float)
|
|
1656
2102
|
Param[5]: color (type: Color)
|
|
1657
|
-
Function
|
|
2103
|
+
Function 207: DrawRing() (7 input parameters)
|
|
1658
2104
|
Name: DrawRing
|
|
1659
2105
|
Return type: void
|
|
1660
2106
|
Description: Draw ring
|
|
@@ -1665,7 +2111,7 @@ Function 190: DrawRing() (7 input parameters)
|
|
|
1665
2111
|
Param[5]: endAngle (type: float)
|
|
1666
2112
|
Param[6]: segments (type: int)
|
|
1667
2113
|
Param[7]: color (type: Color)
|
|
1668
|
-
Function
|
|
2114
|
+
Function 208: DrawRingLines() (7 input parameters)
|
|
1669
2115
|
Name: DrawRingLines
|
|
1670
2116
|
Return type: void
|
|
1671
2117
|
Description: Draw ring outline
|
|
@@ -1676,7 +2122,7 @@ Function 191: DrawRingLines() (7 input parameters)
|
|
|
1676
2122
|
Param[5]: endAngle (type: float)
|
|
1677
2123
|
Param[6]: segments (type: int)
|
|
1678
2124
|
Param[7]: color (type: Color)
|
|
1679
|
-
Function
|
|
2125
|
+
Function 209: DrawRectangle() (5 input parameters)
|
|
1680
2126
|
Name: DrawRectangle
|
|
1681
2127
|
Return type: void
|
|
1682
2128
|
Description: Draw a color-filled rectangle
|
|
@@ -1685,20 +2131,20 @@ Function 192: DrawRectangle() (5 input parameters)
|
|
|
1685
2131
|
Param[3]: width (type: int)
|
|
1686
2132
|
Param[4]: height (type: int)
|
|
1687
2133
|
Param[5]: color (type: Color)
|
|
1688
|
-
Function
|
|
2134
|
+
Function 210: DrawRectangleV() (3 input parameters)
|
|
1689
2135
|
Name: DrawRectangleV
|
|
1690
2136
|
Return type: void
|
|
1691
2137
|
Description: Draw a color-filled rectangle (Vector version)
|
|
1692
2138
|
Param[1]: position (type: Vector2)
|
|
1693
2139
|
Param[2]: size (type: Vector2)
|
|
1694
2140
|
Param[3]: color (type: Color)
|
|
1695
|
-
Function
|
|
2141
|
+
Function 211: DrawRectangleRec() (2 input parameters)
|
|
1696
2142
|
Name: DrawRectangleRec
|
|
1697
2143
|
Return type: void
|
|
1698
2144
|
Description: Draw a color-filled rectangle
|
|
1699
2145
|
Param[1]: rec (type: Rectangle)
|
|
1700
2146
|
Param[2]: color (type: Color)
|
|
1701
|
-
Function
|
|
2147
|
+
Function 212: DrawRectanglePro() (4 input parameters)
|
|
1702
2148
|
Name: DrawRectanglePro
|
|
1703
2149
|
Return type: void
|
|
1704
2150
|
Description: Draw a color-filled rectangle with pro parameters
|
|
@@ -1706,7 +2152,7 @@ Function 195: DrawRectanglePro() (4 input parameters)
|
|
|
1706
2152
|
Param[2]: origin (type: Vector2)
|
|
1707
2153
|
Param[3]: rotation (type: float)
|
|
1708
2154
|
Param[4]: color (type: Color)
|
|
1709
|
-
Function
|
|
2155
|
+
Function 213: DrawRectangleGradientV() (6 input parameters)
|
|
1710
2156
|
Name: DrawRectangleGradientV
|
|
1711
2157
|
Return type: void
|
|
1712
2158
|
Description: Draw a vertical-gradient-filled rectangle
|
|
@@ -1716,7 +2162,7 @@ Function 196: DrawRectangleGradientV() (6 input parameters)
|
|
|
1716
2162
|
Param[4]: height (type: int)
|
|
1717
2163
|
Param[5]: color1 (type: Color)
|
|
1718
2164
|
Param[6]: color2 (type: Color)
|
|
1719
|
-
Function
|
|
2165
|
+
Function 214: DrawRectangleGradientH() (6 input parameters)
|
|
1720
2166
|
Name: DrawRectangleGradientH
|
|
1721
2167
|
Return type: void
|
|
1722
2168
|
Description: Draw a horizontal-gradient-filled rectangle
|
|
@@ -1726,7 +2172,7 @@ Function 197: DrawRectangleGradientH() (6 input parameters)
|
|
|
1726
2172
|
Param[4]: height (type: int)
|
|
1727
2173
|
Param[5]: color1 (type: Color)
|
|
1728
2174
|
Param[6]: color2 (type: Color)
|
|
1729
|
-
Function
|
|
2175
|
+
Function 215: DrawRectangleGradientEx() (5 input parameters)
|
|
1730
2176
|
Name: DrawRectangleGradientEx
|
|
1731
2177
|
Return type: void
|
|
1732
2178
|
Description: Draw a gradient-filled rectangle with custom vertex colors
|
|
@@ -1735,7 +2181,7 @@ Function 198: DrawRectangleGradientEx() (5 input parameters)
|
|
|
1735
2181
|
Param[3]: col2 (type: Color)
|
|
1736
2182
|
Param[4]: col3 (type: Color)
|
|
1737
2183
|
Param[5]: col4 (type: Color)
|
|
1738
|
-
Function
|
|
2184
|
+
Function 216: DrawRectangleLines() (5 input parameters)
|
|
1739
2185
|
Name: DrawRectangleLines
|
|
1740
2186
|
Return type: void
|
|
1741
2187
|
Description: Draw rectangle outline
|
|
@@ -1744,14 +2190,14 @@ Function 199: DrawRectangleLines() (5 input parameters)
|
|
|
1744
2190
|
Param[3]: width (type: int)
|
|
1745
2191
|
Param[4]: height (type: int)
|
|
1746
2192
|
Param[5]: color (type: Color)
|
|
1747
|
-
Function
|
|
2193
|
+
Function 217: DrawRectangleLinesEx() (3 input parameters)
|
|
1748
2194
|
Name: DrawRectangleLinesEx
|
|
1749
2195
|
Return type: void
|
|
1750
2196
|
Description: Draw rectangle outline with extended parameters
|
|
1751
2197
|
Param[1]: rec (type: Rectangle)
|
|
1752
2198
|
Param[2]: lineThick (type: float)
|
|
1753
2199
|
Param[3]: color (type: Color)
|
|
1754
|
-
Function
|
|
2200
|
+
Function 218: DrawRectangleRounded() (4 input parameters)
|
|
1755
2201
|
Name: DrawRectangleRounded
|
|
1756
2202
|
Return type: void
|
|
1757
2203
|
Description: Draw rectangle with rounded edges
|
|
@@ -1759,7 +2205,7 @@ Function 201: DrawRectangleRounded() (4 input parameters)
|
|
|
1759
2205
|
Param[2]: roundness (type: float)
|
|
1760
2206
|
Param[3]: segments (type: int)
|
|
1761
2207
|
Param[4]: color (type: Color)
|
|
1762
|
-
Function
|
|
2208
|
+
Function 219: DrawRectangleRoundedLines() (5 input parameters)
|
|
1763
2209
|
Name: DrawRectangleRoundedLines
|
|
1764
2210
|
Return type: void
|
|
1765
2211
|
Description: Draw rectangle with rounded edges outline
|
|
@@ -1768,7 +2214,7 @@ Function 202: DrawRectangleRoundedLines() (5 input parameters)
|
|
|
1768
2214
|
Param[3]: segments (type: int)
|
|
1769
2215
|
Param[4]: lineThick (type: float)
|
|
1770
2216
|
Param[5]: color (type: Color)
|
|
1771
|
-
Function
|
|
2217
|
+
Function 220: DrawTriangle() (4 input parameters)
|
|
1772
2218
|
Name: DrawTriangle
|
|
1773
2219
|
Return type: void
|
|
1774
2220
|
Description: Draw a color-filled triangle (vertex in counter-clockwise order!)
|
|
@@ -1776,7 +2222,7 @@ Function 203: DrawTriangle() (4 input parameters)
|
|
|
1776
2222
|
Param[2]: v2 (type: Vector2)
|
|
1777
2223
|
Param[3]: v3 (type: Vector2)
|
|
1778
2224
|
Param[4]: color (type: Color)
|
|
1779
|
-
Function
|
|
2225
|
+
Function 221: DrawTriangleLines() (4 input parameters)
|
|
1780
2226
|
Name: DrawTriangleLines
|
|
1781
2227
|
Return type: void
|
|
1782
2228
|
Description: Draw triangle outline (vertex in counter-clockwise order!)
|
|
@@ -1784,21 +2230,21 @@ Function 204: DrawTriangleLines() (4 input parameters)
|
|
|
1784
2230
|
Param[2]: v2 (type: Vector2)
|
|
1785
2231
|
Param[3]: v3 (type: Vector2)
|
|
1786
2232
|
Param[4]: color (type: Color)
|
|
1787
|
-
Function
|
|
2233
|
+
Function 222: DrawTriangleFan() (3 input parameters)
|
|
1788
2234
|
Name: DrawTriangleFan
|
|
1789
2235
|
Return type: void
|
|
1790
2236
|
Description: Draw a triangle fan defined by points (first vertex is the center)
|
|
1791
2237
|
Param[1]: points (type: Vector2 *)
|
|
1792
|
-
Param[2]:
|
|
2238
|
+
Param[2]: pointCount (type: int)
|
|
1793
2239
|
Param[3]: color (type: Color)
|
|
1794
|
-
Function
|
|
2240
|
+
Function 223: DrawTriangleStrip() (3 input parameters)
|
|
1795
2241
|
Name: DrawTriangleStrip
|
|
1796
2242
|
Return type: void
|
|
1797
2243
|
Description: Draw a triangle strip defined by points
|
|
1798
2244
|
Param[1]: points (type: Vector2 *)
|
|
1799
|
-
Param[2]:
|
|
2245
|
+
Param[2]: pointCount (type: int)
|
|
1800
2246
|
Param[3]: color (type: Color)
|
|
1801
|
-
Function
|
|
2247
|
+
Function 224: DrawPoly() (5 input parameters)
|
|
1802
2248
|
Name: DrawPoly
|
|
1803
2249
|
Return type: void
|
|
1804
2250
|
Description: Draw a regular polygon (Vector version)
|
|
@@ -1807,7 +2253,7 @@ Function 207: DrawPoly() (5 input parameters)
|
|
|
1807
2253
|
Param[3]: radius (type: float)
|
|
1808
2254
|
Param[4]: rotation (type: float)
|
|
1809
2255
|
Param[5]: color (type: Color)
|
|
1810
|
-
Function
|
|
2256
|
+
Function 225: DrawPolyLines() (5 input parameters)
|
|
1811
2257
|
Name: DrawPolyLines
|
|
1812
2258
|
Return type: void
|
|
1813
2259
|
Description: Draw a polygon outline of n sides
|
|
@@ -1816,7 +2262,7 @@ Function 208: DrawPolyLines() (5 input parameters)
|
|
|
1816
2262
|
Param[3]: radius (type: float)
|
|
1817
2263
|
Param[4]: rotation (type: float)
|
|
1818
2264
|
Param[5]: color (type: Color)
|
|
1819
|
-
Function
|
|
2265
|
+
Function 226: DrawPolyLinesEx() (6 input parameters)
|
|
1820
2266
|
Name: DrawPolyLinesEx
|
|
1821
2267
|
Return type: void
|
|
1822
2268
|
Description: Draw a polygon outline of n sides with extended parameters
|
|
@@ -1826,13 +2272,13 @@ Function 209: DrawPolyLinesEx() (6 input parameters)
|
|
|
1826
2272
|
Param[4]: rotation (type: float)
|
|
1827
2273
|
Param[5]: lineThick (type: float)
|
|
1828
2274
|
Param[6]: color (type: Color)
|
|
1829
|
-
Function
|
|
2275
|
+
Function 227: CheckCollisionRecs() (2 input parameters)
|
|
1830
2276
|
Name: CheckCollisionRecs
|
|
1831
2277
|
Return type: bool
|
|
1832
2278
|
Description: Check collision between two rectangles
|
|
1833
2279
|
Param[1]: rec1 (type: Rectangle)
|
|
1834
2280
|
Param[2]: rec2 (type: Rectangle)
|
|
1835
|
-
Function
|
|
2281
|
+
Function 228: CheckCollisionCircles() (4 input parameters)
|
|
1836
2282
|
Name: CheckCollisionCircles
|
|
1837
2283
|
Return type: bool
|
|
1838
2284
|
Description: Check collision between two circles
|
|
@@ -1840,27 +2286,27 @@ Function 211: CheckCollisionCircles() (4 input parameters)
|
|
|
1840
2286
|
Param[2]: radius1 (type: float)
|
|
1841
2287
|
Param[3]: center2 (type: Vector2)
|
|
1842
2288
|
Param[4]: radius2 (type: float)
|
|
1843
|
-
Function
|
|
2289
|
+
Function 229: CheckCollisionCircleRec() (3 input parameters)
|
|
1844
2290
|
Name: CheckCollisionCircleRec
|
|
1845
2291
|
Return type: bool
|
|
1846
2292
|
Description: Check collision between circle and rectangle
|
|
1847
2293
|
Param[1]: center (type: Vector2)
|
|
1848
2294
|
Param[2]: radius (type: float)
|
|
1849
2295
|
Param[3]: rec (type: Rectangle)
|
|
1850
|
-
Function
|
|
2296
|
+
Function 230: CheckCollisionPointRec() (2 input parameters)
|
|
1851
2297
|
Name: CheckCollisionPointRec
|
|
1852
2298
|
Return type: bool
|
|
1853
2299
|
Description: Check if point is inside rectangle
|
|
1854
2300
|
Param[1]: point (type: Vector2)
|
|
1855
2301
|
Param[2]: rec (type: Rectangle)
|
|
1856
|
-
Function
|
|
2302
|
+
Function 231: CheckCollisionPointCircle() (3 input parameters)
|
|
1857
2303
|
Name: CheckCollisionPointCircle
|
|
1858
2304
|
Return type: bool
|
|
1859
2305
|
Description: Check if point is inside circle
|
|
1860
2306
|
Param[1]: point (type: Vector2)
|
|
1861
2307
|
Param[2]: center (type: Vector2)
|
|
1862
2308
|
Param[3]: radius (type: float)
|
|
1863
|
-
Function
|
|
2309
|
+
Function 232: CheckCollisionPointTriangle() (4 input parameters)
|
|
1864
2310
|
Name: CheckCollisionPointTriangle
|
|
1865
2311
|
Return type: bool
|
|
1866
2312
|
Description: Check if point is inside a triangle
|
|
@@ -1868,7 +2314,7 @@ Function 215: CheckCollisionPointTriangle() (4 input parameters)
|
|
|
1868
2314
|
Param[2]: p1 (type: Vector2)
|
|
1869
2315
|
Param[3]: p2 (type: Vector2)
|
|
1870
2316
|
Param[4]: p3 (type: Vector2)
|
|
1871
|
-
Function
|
|
2317
|
+
Function 233: CheckCollisionLines() (5 input parameters)
|
|
1872
2318
|
Name: CheckCollisionLines
|
|
1873
2319
|
Return type: bool
|
|
1874
2320
|
Description: Check the collision between two lines defined by two points each, returns collision point by reference
|
|
@@ -1877,18 +2323,26 @@ Function 216: CheckCollisionLines() (5 input parameters)
|
|
|
1877
2323
|
Param[3]: startPos2 (type: Vector2)
|
|
1878
2324
|
Param[4]: endPos2 (type: Vector2)
|
|
1879
2325
|
Param[5]: collisionPoint (type: Vector2 *)
|
|
1880
|
-
Function
|
|
2326
|
+
Function 234: CheckCollisionPointLine() (4 input parameters)
|
|
2327
|
+
Name: CheckCollisionPointLine
|
|
2328
|
+
Return type: bool
|
|
2329
|
+
Description: Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]
|
|
2330
|
+
Param[1]: point (type: Vector2)
|
|
2331
|
+
Param[2]: p1 (type: Vector2)
|
|
2332
|
+
Param[3]: p2 (type: Vector2)
|
|
2333
|
+
Param[4]: threshold (type: int)
|
|
2334
|
+
Function 235: GetCollisionRec() (2 input parameters)
|
|
1881
2335
|
Name: GetCollisionRec
|
|
1882
2336
|
Return type: Rectangle
|
|
1883
2337
|
Description: Get collision rectangle for two rectangles collision
|
|
1884
2338
|
Param[1]: rec1 (type: Rectangle)
|
|
1885
2339
|
Param[2]: rec2 (type: Rectangle)
|
|
1886
|
-
Function
|
|
2340
|
+
Function 236: LoadImage() (1 input parameters)
|
|
1887
2341
|
Name: LoadImage
|
|
1888
2342
|
Return type: Image
|
|
1889
2343
|
Description: Load image from file into CPU memory (RAM)
|
|
1890
2344
|
Param[1]: fileName (type: const char *)
|
|
1891
|
-
Function
|
|
2345
|
+
Function 237: LoadImageRaw() (5 input parameters)
|
|
1892
2346
|
Name: LoadImageRaw
|
|
1893
2347
|
Return type: Image
|
|
1894
2348
|
Description: Load image from RAW file data
|
|
@@ -1897,44 +2351,54 @@ Function 219: LoadImageRaw() (5 input parameters)
|
|
|
1897
2351
|
Param[3]: height (type: int)
|
|
1898
2352
|
Param[4]: format (type: int)
|
|
1899
2353
|
Param[5]: headerSize (type: int)
|
|
1900
|
-
Function
|
|
2354
|
+
Function 238: LoadImageAnim() (2 input parameters)
|
|
1901
2355
|
Name: LoadImageAnim
|
|
1902
2356
|
Return type: Image
|
|
1903
2357
|
Description: Load image sequence from file (frames appended to image.data)
|
|
1904
2358
|
Param[1]: fileName (type: const char *)
|
|
1905
2359
|
Param[2]: frames (type: int *)
|
|
1906
|
-
Function
|
|
2360
|
+
Function 239: LoadImageFromMemory() (3 input parameters)
|
|
1907
2361
|
Name: LoadImageFromMemory
|
|
1908
2362
|
Return type: Image
|
|
1909
2363
|
Description: Load image from memory buffer, fileType refers to extension: i.e. '.png'
|
|
1910
2364
|
Param[1]: fileType (type: const char *)
|
|
1911
2365
|
Param[2]: fileData (type: const unsigned char *)
|
|
1912
2366
|
Param[3]: dataSize (type: int)
|
|
1913
|
-
Function
|
|
2367
|
+
Function 240: LoadImageFromTexture() (1 input parameters)
|
|
2368
|
+
Name: LoadImageFromTexture
|
|
2369
|
+
Return type: Image
|
|
2370
|
+
Description: Load image from GPU texture data
|
|
2371
|
+
Param[1]: texture (type: Texture2D)
|
|
2372
|
+
Function 241: LoadImageFromScreen() (0 input parameters)
|
|
2373
|
+
Name: LoadImageFromScreen
|
|
2374
|
+
Return type: Image
|
|
2375
|
+
Description: Load image from screen buffer and (screenshot)
|
|
2376
|
+
No input parameters
|
|
2377
|
+
Function 242: UnloadImage() (1 input parameters)
|
|
1914
2378
|
Name: UnloadImage
|
|
1915
2379
|
Return type: void
|
|
1916
2380
|
Description: Unload image from CPU memory (RAM)
|
|
1917
2381
|
Param[1]: image (type: Image)
|
|
1918
|
-
Function
|
|
2382
|
+
Function 243: ExportImage() (2 input parameters)
|
|
1919
2383
|
Name: ExportImage
|
|
1920
2384
|
Return type: bool
|
|
1921
2385
|
Description: Export image data to file, returns true on success
|
|
1922
2386
|
Param[1]: image (type: Image)
|
|
1923
2387
|
Param[2]: fileName (type: const char *)
|
|
1924
|
-
Function
|
|
2388
|
+
Function 244: ExportImageAsCode() (2 input parameters)
|
|
1925
2389
|
Name: ExportImageAsCode
|
|
1926
2390
|
Return type: bool
|
|
1927
2391
|
Description: Export image as code file defining an array of bytes, returns true on success
|
|
1928
2392
|
Param[1]: image (type: Image)
|
|
1929
2393
|
Param[2]: fileName (type: const char *)
|
|
1930
|
-
Function
|
|
2394
|
+
Function 245: GenImageColor() (3 input parameters)
|
|
1931
2395
|
Name: GenImageColor
|
|
1932
2396
|
Return type: Image
|
|
1933
2397
|
Description: Generate image: plain color
|
|
1934
2398
|
Param[1]: width (type: int)
|
|
1935
2399
|
Param[2]: height (type: int)
|
|
1936
2400
|
Param[3]: color (type: Color)
|
|
1937
|
-
Function
|
|
2401
|
+
Function 246: GenImageGradientV() (4 input parameters)
|
|
1938
2402
|
Name: GenImageGradientV
|
|
1939
2403
|
Return type: Image
|
|
1940
2404
|
Description: Generate image: vertical gradient
|
|
@@ -1942,7 +2406,7 @@ Function 226: GenImageGradientV() (4 input parameters)
|
|
|
1942
2406
|
Param[2]: height (type: int)
|
|
1943
2407
|
Param[3]: top (type: Color)
|
|
1944
2408
|
Param[4]: bottom (type: Color)
|
|
1945
|
-
Function
|
|
2409
|
+
Function 247: GenImageGradientH() (4 input parameters)
|
|
1946
2410
|
Name: GenImageGradientH
|
|
1947
2411
|
Return type: Image
|
|
1948
2412
|
Description: Generate image: horizontal gradient
|
|
@@ -1950,7 +2414,7 @@ Function 227: GenImageGradientH() (4 input parameters)
|
|
|
1950
2414
|
Param[2]: height (type: int)
|
|
1951
2415
|
Param[3]: left (type: Color)
|
|
1952
2416
|
Param[4]: right (type: Color)
|
|
1953
|
-
Function
|
|
2417
|
+
Function 248: GenImageGradientRadial() (5 input parameters)
|
|
1954
2418
|
Name: GenImageGradientRadial
|
|
1955
2419
|
Return type: Image
|
|
1956
2420
|
Description: Generate image: radial gradient
|
|
@@ -1959,7 +2423,7 @@ Function 228: GenImageGradientRadial() (5 input parameters)
|
|
|
1959
2423
|
Param[3]: density (type: float)
|
|
1960
2424
|
Param[4]: inner (type: Color)
|
|
1961
2425
|
Param[5]: outer (type: Color)
|
|
1962
|
-
Function
|
|
2426
|
+
Function 249: GenImageChecked() (6 input parameters)
|
|
1963
2427
|
Name: GenImageChecked
|
|
1964
2428
|
Return type: Image
|
|
1965
2429
|
Description: Generate image: checked
|
|
@@ -1969,48 +2433,39 @@ Function 229: GenImageChecked() (6 input parameters)
|
|
|
1969
2433
|
Param[4]: checksY (type: int)
|
|
1970
2434
|
Param[5]: col1 (type: Color)
|
|
1971
2435
|
Param[6]: col2 (type: Color)
|
|
1972
|
-
Function
|
|
2436
|
+
Function 250: GenImageWhiteNoise() (3 input parameters)
|
|
1973
2437
|
Name: GenImageWhiteNoise
|
|
1974
2438
|
Return type: Image
|
|
1975
2439
|
Description: Generate image: white noise
|
|
1976
2440
|
Param[1]: width (type: int)
|
|
1977
2441
|
Param[2]: height (type: int)
|
|
1978
2442
|
Param[3]: factor (type: float)
|
|
1979
|
-
Function
|
|
1980
|
-
Name: GenImagePerlinNoise
|
|
1981
|
-
Return type: Image
|
|
1982
|
-
Description: Generate image: perlin noise
|
|
1983
|
-
Param[1]: width (type: int)
|
|
1984
|
-
Param[2]: height (type: int)
|
|
1985
|
-
Param[3]: offsetX (type: int)
|
|
1986
|
-
Param[4]: offsetY (type: int)
|
|
1987
|
-
Param[5]: scale (type: float)
|
|
1988
|
-
Function 232: GenImageCellular() (3 input parameters)
|
|
2443
|
+
Function 251: GenImageCellular() (3 input parameters)
|
|
1989
2444
|
Name: GenImageCellular
|
|
1990
2445
|
Return type: Image
|
|
1991
|
-
Description: Generate image: cellular algorithm
|
|
2446
|
+
Description: Generate image: cellular algorithm, bigger tileSize means bigger cells
|
|
1992
2447
|
Param[1]: width (type: int)
|
|
1993
2448
|
Param[2]: height (type: int)
|
|
1994
2449
|
Param[3]: tileSize (type: int)
|
|
1995
|
-
Function
|
|
2450
|
+
Function 252: ImageCopy() (1 input parameters)
|
|
1996
2451
|
Name: ImageCopy
|
|
1997
2452
|
Return type: Image
|
|
1998
2453
|
Description: Create an image duplicate (useful for transformations)
|
|
1999
2454
|
Param[1]: image (type: Image)
|
|
2000
|
-
Function
|
|
2455
|
+
Function 253: ImageFromImage() (2 input parameters)
|
|
2001
2456
|
Name: ImageFromImage
|
|
2002
2457
|
Return type: Image
|
|
2003
2458
|
Description: Create an image from another image piece
|
|
2004
2459
|
Param[1]: image (type: Image)
|
|
2005
2460
|
Param[2]: rec (type: Rectangle)
|
|
2006
|
-
Function
|
|
2461
|
+
Function 254: ImageText() (3 input parameters)
|
|
2007
2462
|
Name: ImageText
|
|
2008
2463
|
Return type: Image
|
|
2009
2464
|
Description: Create an image from text (default font)
|
|
2010
2465
|
Param[1]: text (type: const char *)
|
|
2011
2466
|
Param[2]: fontSize (type: int)
|
|
2012
2467
|
Param[3]: color (type: Color)
|
|
2013
|
-
Function
|
|
2468
|
+
Function 255: ImageTextEx() (5 input parameters)
|
|
2014
2469
|
Name: ImageTextEx
|
|
2015
2470
|
Return type: Image
|
|
2016
2471
|
Description: Create an image from text (custom sprite font)
|
|
@@ -2019,63 +2474,63 @@ Function 236: ImageTextEx() (5 input parameters)
|
|
|
2019
2474
|
Param[3]: fontSize (type: float)
|
|
2020
2475
|
Param[4]: spacing (type: float)
|
|
2021
2476
|
Param[5]: tint (type: Color)
|
|
2022
|
-
Function
|
|
2477
|
+
Function 256: ImageFormat() (2 input parameters)
|
|
2023
2478
|
Name: ImageFormat
|
|
2024
2479
|
Return type: void
|
|
2025
2480
|
Description: Convert image data to desired format
|
|
2026
2481
|
Param[1]: image (type: Image *)
|
|
2027
2482
|
Param[2]: newFormat (type: int)
|
|
2028
|
-
Function
|
|
2483
|
+
Function 257: ImageToPOT() (2 input parameters)
|
|
2029
2484
|
Name: ImageToPOT
|
|
2030
2485
|
Return type: void
|
|
2031
2486
|
Description: Convert image to POT (power-of-two)
|
|
2032
2487
|
Param[1]: image (type: Image *)
|
|
2033
2488
|
Param[2]: fill (type: Color)
|
|
2034
|
-
Function
|
|
2489
|
+
Function 258: ImageCrop() (2 input parameters)
|
|
2035
2490
|
Name: ImageCrop
|
|
2036
2491
|
Return type: void
|
|
2037
2492
|
Description: Crop an image to a defined rectangle
|
|
2038
2493
|
Param[1]: image (type: Image *)
|
|
2039
2494
|
Param[2]: crop (type: Rectangle)
|
|
2040
|
-
Function
|
|
2495
|
+
Function 259: ImageAlphaCrop() (2 input parameters)
|
|
2041
2496
|
Name: ImageAlphaCrop
|
|
2042
2497
|
Return type: void
|
|
2043
2498
|
Description: Crop image depending on alpha value
|
|
2044
2499
|
Param[1]: image (type: Image *)
|
|
2045
2500
|
Param[2]: threshold (type: float)
|
|
2046
|
-
Function
|
|
2501
|
+
Function 260: ImageAlphaClear() (3 input parameters)
|
|
2047
2502
|
Name: ImageAlphaClear
|
|
2048
2503
|
Return type: void
|
|
2049
2504
|
Description: Clear alpha channel to desired color
|
|
2050
2505
|
Param[1]: image (type: Image *)
|
|
2051
2506
|
Param[2]: color (type: Color)
|
|
2052
2507
|
Param[3]: threshold (type: float)
|
|
2053
|
-
Function
|
|
2508
|
+
Function 261: ImageAlphaMask() (2 input parameters)
|
|
2054
2509
|
Name: ImageAlphaMask
|
|
2055
2510
|
Return type: void
|
|
2056
2511
|
Description: Apply alpha mask to image
|
|
2057
2512
|
Param[1]: image (type: Image *)
|
|
2058
2513
|
Param[2]: alphaMask (type: Image)
|
|
2059
|
-
Function
|
|
2514
|
+
Function 262: ImageAlphaPremultiply() (1 input parameters)
|
|
2060
2515
|
Name: ImageAlphaPremultiply
|
|
2061
2516
|
Return type: void
|
|
2062
2517
|
Description: Premultiply alpha channel
|
|
2063
2518
|
Param[1]: image (type: Image *)
|
|
2064
|
-
Function
|
|
2519
|
+
Function 263: ImageResize() (3 input parameters)
|
|
2065
2520
|
Name: ImageResize
|
|
2066
2521
|
Return type: void
|
|
2067
2522
|
Description: Resize image (Bicubic scaling algorithm)
|
|
2068
2523
|
Param[1]: image (type: Image *)
|
|
2069
2524
|
Param[2]: newWidth (type: int)
|
|
2070
2525
|
Param[3]: newHeight (type: int)
|
|
2071
|
-
Function
|
|
2526
|
+
Function 264: ImageResizeNN() (3 input parameters)
|
|
2072
2527
|
Name: ImageResizeNN
|
|
2073
2528
|
Return type: void
|
|
2074
2529
|
Description: Resize image (Nearest-Neighbor scaling algorithm)
|
|
2075
2530
|
Param[1]: image (type: Image *)
|
|
2076
2531
|
Param[2]: newWidth (type: int)
|
|
2077
2532
|
Param[3]: newHeight (type: int)
|
|
2078
|
-
Function
|
|
2533
|
+
Function 265: ImageResizeCanvas() (6 input parameters)
|
|
2079
2534
|
Name: ImageResizeCanvas
|
|
2080
2535
|
Return type: void
|
|
2081
2536
|
Description: Resize canvas and fill with color
|
|
@@ -2085,12 +2540,12 @@ Function 246: ImageResizeCanvas() (6 input parameters)
|
|
|
2085
2540
|
Param[4]: offsetX (type: int)
|
|
2086
2541
|
Param[5]: offsetY (type: int)
|
|
2087
2542
|
Param[6]: fill (type: Color)
|
|
2088
|
-
Function
|
|
2543
|
+
Function 266: ImageMipmaps() (1 input parameters)
|
|
2089
2544
|
Name: ImageMipmaps
|
|
2090
2545
|
Return type: void
|
|
2091
2546
|
Description: Compute all mipmap levels for a provided image
|
|
2092
2547
|
Param[1]: image (type: Image *)
|
|
2093
|
-
Function
|
|
2548
|
+
Function 267: ImageDither() (5 input parameters)
|
|
2094
2549
|
Name: ImageDither
|
|
2095
2550
|
Return type: void
|
|
2096
2551
|
Description: Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
|
|
@@ -2099,96 +2554,103 @@ Function 248: ImageDither() (5 input parameters)
|
|
|
2099
2554
|
Param[3]: gBpp (type: int)
|
|
2100
2555
|
Param[4]: bBpp (type: int)
|
|
2101
2556
|
Param[5]: aBpp (type: int)
|
|
2102
|
-
Function
|
|
2557
|
+
Function 268: ImageFlipVertical() (1 input parameters)
|
|
2103
2558
|
Name: ImageFlipVertical
|
|
2104
2559
|
Return type: void
|
|
2105
2560
|
Description: Flip image vertically
|
|
2106
2561
|
Param[1]: image (type: Image *)
|
|
2107
|
-
Function
|
|
2562
|
+
Function 269: ImageFlipHorizontal() (1 input parameters)
|
|
2108
2563
|
Name: ImageFlipHorizontal
|
|
2109
2564
|
Return type: void
|
|
2110
2565
|
Description: Flip image horizontally
|
|
2111
2566
|
Param[1]: image (type: Image *)
|
|
2112
|
-
Function
|
|
2567
|
+
Function 270: ImageRotateCW() (1 input parameters)
|
|
2113
2568
|
Name: ImageRotateCW
|
|
2114
2569
|
Return type: void
|
|
2115
2570
|
Description: Rotate image clockwise 90deg
|
|
2116
2571
|
Param[1]: image (type: Image *)
|
|
2117
|
-
Function
|
|
2572
|
+
Function 271: ImageRotateCCW() (1 input parameters)
|
|
2118
2573
|
Name: ImageRotateCCW
|
|
2119
2574
|
Return type: void
|
|
2120
2575
|
Description: Rotate image counter-clockwise 90deg
|
|
2121
2576
|
Param[1]: image (type: Image *)
|
|
2122
|
-
Function
|
|
2577
|
+
Function 272: ImageColorTint() (2 input parameters)
|
|
2123
2578
|
Name: ImageColorTint
|
|
2124
2579
|
Return type: void
|
|
2125
2580
|
Description: Modify image color: tint
|
|
2126
2581
|
Param[1]: image (type: Image *)
|
|
2127
2582
|
Param[2]: color (type: Color)
|
|
2128
|
-
Function
|
|
2583
|
+
Function 273: ImageColorInvert() (1 input parameters)
|
|
2129
2584
|
Name: ImageColorInvert
|
|
2130
2585
|
Return type: void
|
|
2131
2586
|
Description: Modify image color: invert
|
|
2132
2587
|
Param[1]: image (type: Image *)
|
|
2133
|
-
Function
|
|
2588
|
+
Function 274: ImageColorGrayscale() (1 input parameters)
|
|
2134
2589
|
Name: ImageColorGrayscale
|
|
2135
2590
|
Return type: void
|
|
2136
2591
|
Description: Modify image color: grayscale
|
|
2137
2592
|
Param[1]: image (type: Image *)
|
|
2138
|
-
Function
|
|
2593
|
+
Function 275: ImageColorContrast() (2 input parameters)
|
|
2139
2594
|
Name: ImageColorContrast
|
|
2140
2595
|
Return type: void
|
|
2141
2596
|
Description: Modify image color: contrast (-100 to 100)
|
|
2142
2597
|
Param[1]: image (type: Image *)
|
|
2143
2598
|
Param[2]: contrast (type: float)
|
|
2144
|
-
Function
|
|
2599
|
+
Function 276: ImageColorBrightness() (2 input parameters)
|
|
2145
2600
|
Name: ImageColorBrightness
|
|
2146
2601
|
Return type: void
|
|
2147
2602
|
Description: Modify image color: brightness (-255 to 255)
|
|
2148
2603
|
Param[1]: image (type: Image *)
|
|
2149
2604
|
Param[2]: brightness (type: int)
|
|
2150
|
-
Function
|
|
2605
|
+
Function 277: ImageColorReplace() (3 input parameters)
|
|
2151
2606
|
Name: ImageColorReplace
|
|
2152
2607
|
Return type: void
|
|
2153
2608
|
Description: Modify image color: replace color
|
|
2154
2609
|
Param[1]: image (type: Image *)
|
|
2155
2610
|
Param[2]: color (type: Color)
|
|
2156
2611
|
Param[3]: replace (type: Color)
|
|
2157
|
-
Function
|
|
2612
|
+
Function 278: LoadImageColors() (1 input parameters)
|
|
2158
2613
|
Name: LoadImageColors
|
|
2159
2614
|
Return type: Color *
|
|
2160
2615
|
Description: Load color data from image as a Color array (RGBA - 32bit)
|
|
2161
2616
|
Param[1]: image (type: Image)
|
|
2162
|
-
Function
|
|
2617
|
+
Function 279: LoadImagePalette() (3 input parameters)
|
|
2163
2618
|
Name: LoadImagePalette
|
|
2164
2619
|
Return type: Color *
|
|
2165
2620
|
Description: Load colors palette from image as a Color array (RGBA - 32bit)
|
|
2166
2621
|
Param[1]: image (type: Image)
|
|
2167
2622
|
Param[2]: maxPaletteSize (type: int)
|
|
2168
|
-
Param[3]:
|
|
2169
|
-
Function
|
|
2623
|
+
Param[3]: colorCount (type: int *)
|
|
2624
|
+
Function 280: UnloadImageColors() (1 input parameters)
|
|
2170
2625
|
Name: UnloadImageColors
|
|
2171
2626
|
Return type: void
|
|
2172
2627
|
Description: Unload color data loaded with LoadImageColors()
|
|
2173
2628
|
Param[1]: colors (type: Color *)
|
|
2174
|
-
Function
|
|
2629
|
+
Function 281: UnloadImagePalette() (1 input parameters)
|
|
2175
2630
|
Name: UnloadImagePalette
|
|
2176
2631
|
Return type: void
|
|
2177
2632
|
Description: Unload colors palette loaded with LoadImagePalette()
|
|
2178
2633
|
Param[1]: colors (type: Color *)
|
|
2179
|
-
Function
|
|
2634
|
+
Function 282: GetImageAlphaBorder() (2 input parameters)
|
|
2180
2635
|
Name: GetImageAlphaBorder
|
|
2181
2636
|
Return type: Rectangle
|
|
2182
2637
|
Description: Get image alpha border rectangle
|
|
2183
2638
|
Param[1]: image (type: Image)
|
|
2184
2639
|
Param[2]: threshold (type: float)
|
|
2185
|
-
Function
|
|
2640
|
+
Function 283: GetImageColor() (3 input parameters)
|
|
2641
|
+
Name: GetImageColor
|
|
2642
|
+
Return type: Color
|
|
2643
|
+
Description: Get image pixel color at (x, y) position
|
|
2644
|
+
Param[1]: image (type: Image)
|
|
2645
|
+
Param[2]: x (type: int)
|
|
2646
|
+
Param[3]: y (type: int)
|
|
2647
|
+
Function 284: ImageClearBackground() (2 input parameters)
|
|
2186
2648
|
Name: ImageClearBackground
|
|
2187
2649
|
Return type: void
|
|
2188
2650
|
Description: Clear image background with given color
|
|
2189
2651
|
Param[1]: dst (type: Image *)
|
|
2190
2652
|
Param[2]: color (type: Color)
|
|
2191
|
-
Function
|
|
2653
|
+
Function 285: ImageDrawPixel() (4 input parameters)
|
|
2192
2654
|
Name: ImageDrawPixel
|
|
2193
2655
|
Return type: void
|
|
2194
2656
|
Description: Draw pixel within an image
|
|
@@ -2196,14 +2658,14 @@ Function 265: ImageDrawPixel() (4 input parameters)
|
|
|
2196
2658
|
Param[2]: posX (type: int)
|
|
2197
2659
|
Param[3]: posY (type: int)
|
|
2198
2660
|
Param[4]: color (type: Color)
|
|
2199
|
-
Function
|
|
2661
|
+
Function 286: ImageDrawPixelV() (3 input parameters)
|
|
2200
2662
|
Name: ImageDrawPixelV
|
|
2201
2663
|
Return type: void
|
|
2202
2664
|
Description: Draw pixel within an image (Vector version)
|
|
2203
2665
|
Param[1]: dst (type: Image *)
|
|
2204
2666
|
Param[2]: position (type: Vector2)
|
|
2205
2667
|
Param[3]: color (type: Color)
|
|
2206
|
-
Function
|
|
2668
|
+
Function 287: ImageDrawLine() (6 input parameters)
|
|
2207
2669
|
Name: ImageDrawLine
|
|
2208
2670
|
Return type: void
|
|
2209
2671
|
Description: Draw line within an image
|
|
@@ -2213,7 +2675,7 @@ Function 267: ImageDrawLine() (6 input parameters)
|
|
|
2213
2675
|
Param[4]: endPosX (type: int)
|
|
2214
2676
|
Param[5]: endPosY (type: int)
|
|
2215
2677
|
Param[6]: color (type: Color)
|
|
2216
|
-
Function
|
|
2678
|
+
Function 288: ImageDrawLineV() (4 input parameters)
|
|
2217
2679
|
Name: ImageDrawLineV
|
|
2218
2680
|
Return type: void
|
|
2219
2681
|
Description: Draw line within an image (Vector version)
|
|
@@ -2221,7 +2683,7 @@ Function 268: ImageDrawLineV() (4 input parameters)
|
|
|
2221
2683
|
Param[2]: start (type: Vector2)
|
|
2222
2684
|
Param[3]: end (type: Vector2)
|
|
2223
2685
|
Param[4]: color (type: Color)
|
|
2224
|
-
Function
|
|
2686
|
+
Function 289: ImageDrawCircle() (5 input parameters)
|
|
2225
2687
|
Name: ImageDrawCircle
|
|
2226
2688
|
Return type: void
|
|
2227
2689
|
Description: Draw circle within an image
|
|
@@ -2230,7 +2692,7 @@ Function 269: ImageDrawCircle() (5 input parameters)
|
|
|
2230
2692
|
Param[3]: centerY (type: int)
|
|
2231
2693
|
Param[4]: radius (type: int)
|
|
2232
2694
|
Param[5]: color (type: Color)
|
|
2233
|
-
Function
|
|
2695
|
+
Function 290: ImageDrawCircleV() (4 input parameters)
|
|
2234
2696
|
Name: ImageDrawCircleV
|
|
2235
2697
|
Return type: void
|
|
2236
2698
|
Description: Draw circle within an image (Vector version)
|
|
@@ -2238,7 +2700,7 @@ Function 270: ImageDrawCircleV() (4 input parameters)
|
|
|
2238
2700
|
Param[2]: center (type: Vector2)
|
|
2239
2701
|
Param[3]: radius (type: int)
|
|
2240
2702
|
Param[4]: color (type: Color)
|
|
2241
|
-
Function
|
|
2703
|
+
Function 291: ImageDrawRectangle() (6 input parameters)
|
|
2242
2704
|
Name: ImageDrawRectangle
|
|
2243
2705
|
Return type: void
|
|
2244
2706
|
Description: Draw rectangle within an image
|
|
@@ -2248,7 +2710,7 @@ Function 271: ImageDrawRectangle() (6 input parameters)
|
|
|
2248
2710
|
Param[4]: width (type: int)
|
|
2249
2711
|
Param[5]: height (type: int)
|
|
2250
2712
|
Param[6]: color (type: Color)
|
|
2251
|
-
Function
|
|
2713
|
+
Function 292: ImageDrawRectangleV() (4 input parameters)
|
|
2252
2714
|
Name: ImageDrawRectangleV
|
|
2253
2715
|
Return type: void
|
|
2254
2716
|
Description: Draw rectangle within an image (Vector version)
|
|
@@ -2256,14 +2718,14 @@ Function 272: ImageDrawRectangleV() (4 input parameters)
|
|
|
2256
2718
|
Param[2]: position (type: Vector2)
|
|
2257
2719
|
Param[3]: size (type: Vector2)
|
|
2258
2720
|
Param[4]: color (type: Color)
|
|
2259
|
-
Function
|
|
2721
|
+
Function 293: ImageDrawRectangleRec() (3 input parameters)
|
|
2260
2722
|
Name: ImageDrawRectangleRec
|
|
2261
2723
|
Return type: void
|
|
2262
2724
|
Description: Draw rectangle within an image
|
|
2263
2725
|
Param[1]: dst (type: Image *)
|
|
2264
2726
|
Param[2]: rec (type: Rectangle)
|
|
2265
2727
|
Param[3]: color (type: Color)
|
|
2266
|
-
Function
|
|
2728
|
+
Function 294: ImageDrawRectangleLines() (4 input parameters)
|
|
2267
2729
|
Name: ImageDrawRectangleLines
|
|
2268
2730
|
Return type: void
|
|
2269
2731
|
Description: Draw rectangle lines within an image
|
|
@@ -2271,7 +2733,7 @@ Function 274: ImageDrawRectangleLines() (4 input parameters)
|
|
|
2271
2733
|
Param[2]: rec (type: Rectangle)
|
|
2272
2734
|
Param[3]: thick (type: int)
|
|
2273
2735
|
Param[4]: color (type: Color)
|
|
2274
|
-
Function
|
|
2736
|
+
Function 295: ImageDraw() (5 input parameters)
|
|
2275
2737
|
Name: ImageDraw
|
|
2276
2738
|
Return type: void
|
|
2277
2739
|
Description: Draw a source image within a destination image (tint applied to source)
|
|
@@ -2280,7 +2742,7 @@ Function 275: ImageDraw() (5 input parameters)
|
|
|
2280
2742
|
Param[3]: srcRec (type: Rectangle)
|
|
2281
2743
|
Param[4]: dstRec (type: Rectangle)
|
|
2282
2744
|
Param[5]: tint (type: Color)
|
|
2283
|
-
Function
|
|
2745
|
+
Function 296: ImageDrawText() (6 input parameters)
|
|
2284
2746
|
Name: ImageDrawText
|
|
2285
2747
|
Return type: void
|
|
2286
2748
|
Description: Draw text (using default font) within an image (destination)
|
|
@@ -2290,7 +2752,7 @@ Function 276: ImageDrawText() (6 input parameters)
|
|
|
2290
2752
|
Param[4]: posY (type: int)
|
|
2291
2753
|
Param[5]: fontSize (type: int)
|
|
2292
2754
|
Param[6]: color (type: Color)
|
|
2293
|
-
Function
|
|
2755
|
+
Function 297: ImageDrawTextEx() (7 input parameters)
|
|
2294
2756
|
Name: ImageDrawTextEx
|
|
2295
2757
|
Return type: void
|
|
2296
2758
|
Description: Draw text (custom sprite font) within an image (destination)
|
|
@@ -2301,79 +2763,69 @@ Function 277: ImageDrawTextEx() (7 input parameters)
|
|
|
2301
2763
|
Param[5]: fontSize (type: float)
|
|
2302
2764
|
Param[6]: spacing (type: float)
|
|
2303
2765
|
Param[7]: tint (type: Color)
|
|
2304
|
-
Function
|
|
2766
|
+
Function 298: LoadTexture() (1 input parameters)
|
|
2305
2767
|
Name: LoadTexture
|
|
2306
2768
|
Return type: Texture2D
|
|
2307
2769
|
Description: Load texture from file into GPU memory (VRAM)
|
|
2308
2770
|
Param[1]: fileName (type: const char *)
|
|
2309
|
-
Function
|
|
2771
|
+
Function 299: LoadTextureFromImage() (1 input parameters)
|
|
2310
2772
|
Name: LoadTextureFromImage
|
|
2311
2773
|
Return type: Texture2D
|
|
2312
2774
|
Description: Load texture from image data
|
|
2313
2775
|
Param[1]: image (type: Image)
|
|
2314
|
-
Function
|
|
2776
|
+
Function 300: LoadTextureCubemap() (2 input parameters)
|
|
2315
2777
|
Name: LoadTextureCubemap
|
|
2316
2778
|
Return type: TextureCubemap
|
|
2317
2779
|
Description: Load cubemap from image, multiple image cubemap layouts supported
|
|
2318
2780
|
Param[1]: image (type: Image)
|
|
2319
2781
|
Param[2]: layout (type: int)
|
|
2320
|
-
Function
|
|
2782
|
+
Function 301: LoadRenderTexture() (2 input parameters)
|
|
2321
2783
|
Name: LoadRenderTexture
|
|
2322
2784
|
Return type: RenderTexture2D
|
|
2323
2785
|
Description: Load texture for rendering (framebuffer)
|
|
2324
2786
|
Param[1]: width (type: int)
|
|
2325
2787
|
Param[2]: height (type: int)
|
|
2326
|
-
Function
|
|
2788
|
+
Function 302: UnloadTexture() (1 input parameters)
|
|
2327
2789
|
Name: UnloadTexture
|
|
2328
2790
|
Return type: void
|
|
2329
2791
|
Description: Unload texture from GPU memory (VRAM)
|
|
2330
2792
|
Param[1]: texture (type: Texture2D)
|
|
2331
|
-
Function
|
|
2793
|
+
Function 303: UnloadRenderTexture() (1 input parameters)
|
|
2332
2794
|
Name: UnloadRenderTexture
|
|
2333
2795
|
Return type: void
|
|
2334
2796
|
Description: Unload render texture from GPU memory (VRAM)
|
|
2335
2797
|
Param[1]: target (type: RenderTexture2D)
|
|
2336
|
-
Function
|
|
2798
|
+
Function 304: UpdateTexture() (2 input parameters)
|
|
2337
2799
|
Name: UpdateTexture
|
|
2338
2800
|
Return type: void
|
|
2339
2801
|
Description: Update GPU texture with new data
|
|
2340
2802
|
Param[1]: texture (type: Texture2D)
|
|
2341
2803
|
Param[2]: pixels (type: const void *)
|
|
2342
|
-
Function
|
|
2804
|
+
Function 305: UpdateTextureRec() (3 input parameters)
|
|
2343
2805
|
Name: UpdateTextureRec
|
|
2344
2806
|
Return type: void
|
|
2345
2807
|
Description: Update GPU texture rectangle with new data
|
|
2346
2808
|
Param[1]: texture (type: Texture2D)
|
|
2347
2809
|
Param[2]: rec (type: Rectangle)
|
|
2348
2810
|
Param[3]: pixels (type: const void *)
|
|
2349
|
-
Function
|
|
2350
|
-
Name: GetTextureData
|
|
2351
|
-
Return type: Image
|
|
2352
|
-
Description: Get pixel data from GPU texture and return an Image
|
|
2353
|
-
Param[1]: texture (type: Texture2D)
|
|
2354
|
-
Function 287: GetScreenData() (0 input parameters)
|
|
2355
|
-
Name: GetScreenData
|
|
2356
|
-
Return type: Image
|
|
2357
|
-
Description: Get pixel data from screen buffer and return an Image (screenshot)
|
|
2358
|
-
No input parameters
|
|
2359
|
-
Function 288: GenTextureMipmaps() (1 input parameters)
|
|
2811
|
+
Function 306: GenTextureMipmaps() (1 input parameters)
|
|
2360
2812
|
Name: GenTextureMipmaps
|
|
2361
2813
|
Return type: void
|
|
2362
2814
|
Description: Generate GPU mipmaps for a texture
|
|
2363
2815
|
Param[1]: texture (type: Texture2D *)
|
|
2364
|
-
Function
|
|
2816
|
+
Function 307: SetTextureFilter() (2 input parameters)
|
|
2365
2817
|
Name: SetTextureFilter
|
|
2366
2818
|
Return type: void
|
|
2367
2819
|
Description: Set texture scaling filter mode
|
|
2368
2820
|
Param[1]: texture (type: Texture2D)
|
|
2369
2821
|
Param[2]: filter (type: int)
|
|
2370
|
-
Function
|
|
2822
|
+
Function 308: SetTextureWrap() (2 input parameters)
|
|
2371
2823
|
Name: SetTextureWrap
|
|
2372
2824
|
Return type: void
|
|
2373
2825
|
Description: Set texture wrapping mode
|
|
2374
2826
|
Param[1]: texture (type: Texture2D)
|
|
2375
2827
|
Param[2]: wrap (type: int)
|
|
2376
|
-
Function
|
|
2828
|
+
Function 309: DrawTexture() (4 input parameters)
|
|
2377
2829
|
Name: DrawTexture
|
|
2378
2830
|
Return type: void
|
|
2379
2831
|
Description: Draw a Texture2D
|
|
@@ -2381,14 +2833,14 @@ Function 291: DrawTexture() (4 input parameters)
|
|
|
2381
2833
|
Param[2]: posX (type: int)
|
|
2382
2834
|
Param[3]: posY (type: int)
|
|
2383
2835
|
Param[4]: tint (type: Color)
|
|
2384
|
-
Function
|
|
2836
|
+
Function 310: DrawTextureV() (3 input parameters)
|
|
2385
2837
|
Name: DrawTextureV
|
|
2386
2838
|
Return type: void
|
|
2387
2839
|
Description: Draw a Texture2D with position defined as Vector2
|
|
2388
2840
|
Param[1]: texture (type: Texture2D)
|
|
2389
2841
|
Param[2]: position (type: Vector2)
|
|
2390
2842
|
Param[3]: tint (type: Color)
|
|
2391
|
-
Function
|
|
2843
|
+
Function 311: DrawTextureEx() (5 input parameters)
|
|
2392
2844
|
Name: DrawTextureEx
|
|
2393
2845
|
Return type: void
|
|
2394
2846
|
Description: Draw a Texture2D with extended parameters
|
|
@@ -2397,7 +2849,7 @@ Function 293: DrawTextureEx() (5 input parameters)
|
|
|
2397
2849
|
Param[3]: rotation (type: float)
|
|
2398
2850
|
Param[4]: scale (type: float)
|
|
2399
2851
|
Param[5]: tint (type: Color)
|
|
2400
|
-
Function
|
|
2852
|
+
Function 312: DrawTextureRec() (4 input parameters)
|
|
2401
2853
|
Name: DrawTextureRec
|
|
2402
2854
|
Return type: void
|
|
2403
2855
|
Description: Draw a part of a texture defined by a rectangle
|
|
@@ -2405,7 +2857,7 @@ Function 294: DrawTextureRec() (4 input parameters)
|
|
|
2405
2857
|
Param[2]: source (type: Rectangle)
|
|
2406
2858
|
Param[3]: position (type: Vector2)
|
|
2407
2859
|
Param[4]: tint (type: Color)
|
|
2408
|
-
Function
|
|
2860
|
+
Function 313: DrawTextureQuad() (5 input parameters)
|
|
2409
2861
|
Name: DrawTextureQuad
|
|
2410
2862
|
Return type: void
|
|
2411
2863
|
Description: Draw texture quad with tiling and offset parameters
|
|
@@ -2414,7 +2866,7 @@ Function 295: DrawTextureQuad() (5 input parameters)
|
|
|
2414
2866
|
Param[3]: offset (type: Vector2)
|
|
2415
2867
|
Param[4]: quad (type: Rectangle)
|
|
2416
2868
|
Param[5]: tint (type: Color)
|
|
2417
|
-
Function
|
|
2869
|
+
Function 314: DrawTextureTiled() (7 input parameters)
|
|
2418
2870
|
Name: DrawTextureTiled
|
|
2419
2871
|
Return type: void
|
|
2420
2872
|
Description: Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
|
|
@@ -2425,7 +2877,7 @@ Function 296: DrawTextureTiled() (7 input parameters)
|
|
|
2425
2877
|
Param[5]: rotation (type: float)
|
|
2426
2878
|
Param[6]: scale (type: float)
|
|
2427
2879
|
Param[7]: tint (type: Color)
|
|
2428
|
-
Function
|
|
2880
|
+
Function 315: DrawTexturePro() (6 input parameters)
|
|
2429
2881
|
Name: DrawTexturePro
|
|
2430
2882
|
Return type: void
|
|
2431
2883
|
Description: Draw a part of a texture defined by a rectangle with 'pro' parameters
|
|
@@ -2435,7 +2887,7 @@ Function 297: DrawTexturePro() (6 input parameters)
|
|
|
2435
2887
|
Param[4]: origin (type: Vector2)
|
|
2436
2888
|
Param[5]: rotation (type: float)
|
|
2437
2889
|
Param[6]: tint (type: Color)
|
|
2438
|
-
Function
|
|
2890
|
+
Function 316: DrawTextureNPatch() (6 input parameters)
|
|
2439
2891
|
Name: DrawTextureNPatch
|
|
2440
2892
|
Return type: void
|
|
2441
2893
|
Description: Draws a texture (or part of it) that stretches or shrinks nicely
|
|
@@ -2445,7 +2897,7 @@ Function 298: DrawTextureNPatch() (6 input parameters)
|
|
|
2445
2897
|
Param[4]: origin (type: Vector2)
|
|
2446
2898
|
Param[5]: rotation (type: float)
|
|
2447
2899
|
Param[6]: tint (type: Color)
|
|
2448
|
-
Function
|
|
2900
|
+
Function 317: DrawTexturePoly() (6 input parameters)
|
|
2449
2901
|
Name: DrawTexturePoly
|
|
2450
2902
|
Return type: void
|
|
2451
2903
|
Description: Draw a textured polygon
|
|
@@ -2453,105 +2905,105 @@ Function 299: DrawTexturePoly() (6 input parameters)
|
|
|
2453
2905
|
Param[2]: center (type: Vector2)
|
|
2454
2906
|
Param[3]: points (type: Vector2 *)
|
|
2455
2907
|
Param[4]: texcoords (type: Vector2 *)
|
|
2456
|
-
Param[5]:
|
|
2908
|
+
Param[5]: pointCount (type: int)
|
|
2457
2909
|
Param[6]: tint (type: Color)
|
|
2458
|
-
Function
|
|
2910
|
+
Function 318: Fade() (2 input parameters)
|
|
2459
2911
|
Name: Fade
|
|
2460
2912
|
Return type: Color
|
|
2461
2913
|
Description: Get color with alpha applied, alpha goes from 0.0f to 1.0f
|
|
2462
2914
|
Param[1]: color (type: Color)
|
|
2463
2915
|
Param[2]: alpha (type: float)
|
|
2464
|
-
Function
|
|
2916
|
+
Function 319: ColorToInt() (1 input parameters)
|
|
2465
2917
|
Name: ColorToInt
|
|
2466
2918
|
Return type: int
|
|
2467
2919
|
Description: Get hexadecimal value for a Color
|
|
2468
2920
|
Param[1]: color (type: Color)
|
|
2469
|
-
Function
|
|
2921
|
+
Function 320: ColorNormalize() (1 input parameters)
|
|
2470
2922
|
Name: ColorNormalize
|
|
2471
2923
|
Return type: Vector4
|
|
2472
2924
|
Description: Get Color normalized as float [0..1]
|
|
2473
2925
|
Param[1]: color (type: Color)
|
|
2474
|
-
Function
|
|
2926
|
+
Function 321: ColorFromNormalized() (1 input parameters)
|
|
2475
2927
|
Name: ColorFromNormalized
|
|
2476
2928
|
Return type: Color
|
|
2477
2929
|
Description: Get Color from normalized values [0..1]
|
|
2478
2930
|
Param[1]: normalized (type: Vector4)
|
|
2479
|
-
Function
|
|
2931
|
+
Function 322: ColorToHSV() (1 input parameters)
|
|
2480
2932
|
Name: ColorToHSV
|
|
2481
2933
|
Return type: Vector3
|
|
2482
2934
|
Description: Get HSV values for a Color, hue [0..360], saturation/value [0..1]
|
|
2483
2935
|
Param[1]: color (type: Color)
|
|
2484
|
-
Function
|
|
2936
|
+
Function 323: ColorFromHSV() (3 input parameters)
|
|
2485
2937
|
Name: ColorFromHSV
|
|
2486
2938
|
Return type: Color
|
|
2487
2939
|
Description: Get a Color from HSV values, hue [0..360], saturation/value [0..1]
|
|
2488
2940
|
Param[1]: hue (type: float)
|
|
2489
2941
|
Param[2]: saturation (type: float)
|
|
2490
2942
|
Param[3]: value (type: float)
|
|
2491
|
-
Function
|
|
2943
|
+
Function 324: ColorAlpha() (2 input parameters)
|
|
2492
2944
|
Name: ColorAlpha
|
|
2493
2945
|
Return type: Color
|
|
2494
2946
|
Description: Get color with alpha applied, alpha goes from 0.0f to 1.0f
|
|
2495
2947
|
Param[1]: color (type: Color)
|
|
2496
2948
|
Param[2]: alpha (type: float)
|
|
2497
|
-
Function
|
|
2949
|
+
Function 325: ColorAlphaBlend() (3 input parameters)
|
|
2498
2950
|
Name: ColorAlphaBlend
|
|
2499
2951
|
Return type: Color
|
|
2500
2952
|
Description: Get src alpha-blended into dst color with tint
|
|
2501
2953
|
Param[1]: dst (type: Color)
|
|
2502
2954
|
Param[2]: src (type: Color)
|
|
2503
2955
|
Param[3]: tint (type: Color)
|
|
2504
|
-
Function
|
|
2956
|
+
Function 326: GetColor() (1 input parameters)
|
|
2505
2957
|
Name: GetColor
|
|
2506
2958
|
Return type: Color
|
|
2507
2959
|
Description: Get Color structure from hexadecimal value
|
|
2508
2960
|
Param[1]: hexValue (type: unsigned int)
|
|
2509
|
-
Function
|
|
2961
|
+
Function 327: GetPixelColor() (2 input parameters)
|
|
2510
2962
|
Name: GetPixelColor
|
|
2511
2963
|
Return type: Color
|
|
2512
2964
|
Description: Get Color from a source pixel pointer of certain format
|
|
2513
2965
|
Param[1]: srcPtr (type: void *)
|
|
2514
2966
|
Param[2]: format (type: int)
|
|
2515
|
-
Function
|
|
2967
|
+
Function 328: SetPixelColor() (3 input parameters)
|
|
2516
2968
|
Name: SetPixelColor
|
|
2517
2969
|
Return type: void
|
|
2518
2970
|
Description: Set color formatted into destination pixel pointer
|
|
2519
2971
|
Param[1]: dstPtr (type: void *)
|
|
2520
2972
|
Param[2]: color (type: Color)
|
|
2521
2973
|
Param[3]: format (type: int)
|
|
2522
|
-
Function
|
|
2974
|
+
Function 329: GetPixelDataSize() (3 input parameters)
|
|
2523
2975
|
Name: GetPixelDataSize
|
|
2524
2976
|
Return type: int
|
|
2525
2977
|
Description: Get pixel data size in bytes for certain format
|
|
2526
2978
|
Param[1]: width (type: int)
|
|
2527
2979
|
Param[2]: height (type: int)
|
|
2528
2980
|
Param[3]: format (type: int)
|
|
2529
|
-
Function
|
|
2981
|
+
Function 330: GetFontDefault() (0 input parameters)
|
|
2530
2982
|
Name: GetFontDefault
|
|
2531
2983
|
Return type: Font
|
|
2532
2984
|
Description: Get the default Font
|
|
2533
2985
|
No input parameters
|
|
2534
|
-
Function
|
|
2986
|
+
Function 331: LoadFont() (1 input parameters)
|
|
2535
2987
|
Name: LoadFont
|
|
2536
2988
|
Return type: Font
|
|
2537
2989
|
Description: Load font from file into GPU memory (VRAM)
|
|
2538
2990
|
Param[1]: fileName (type: const char *)
|
|
2539
|
-
Function
|
|
2991
|
+
Function 332: LoadFontEx() (4 input parameters)
|
|
2540
2992
|
Name: LoadFontEx
|
|
2541
2993
|
Return type: Font
|
|
2542
|
-
Description: Load font from file with extended parameters
|
|
2994
|
+
Description: Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set
|
|
2543
2995
|
Param[1]: fileName (type: const char *)
|
|
2544
2996
|
Param[2]: fontSize (type: int)
|
|
2545
2997
|
Param[3]: fontChars (type: int *)
|
|
2546
|
-
Param[4]:
|
|
2547
|
-
Function
|
|
2998
|
+
Param[4]: glyphCount (type: int)
|
|
2999
|
+
Function 333: LoadFontFromImage() (3 input parameters)
|
|
2548
3000
|
Name: LoadFontFromImage
|
|
2549
3001
|
Return type: Font
|
|
2550
3002
|
Description: Load font from Image (XNA style)
|
|
2551
3003
|
Param[1]: image (type: Image)
|
|
2552
3004
|
Param[2]: key (type: Color)
|
|
2553
3005
|
Param[3]: firstChar (type: int)
|
|
2554
|
-
Function
|
|
3006
|
+
Function 334: LoadFontFromMemory() (6 input parameters)
|
|
2555
3007
|
Name: LoadFontFromMemory
|
|
2556
3008
|
Return type: Font
|
|
2557
3009
|
Description: Load font from memory buffer, fileType refers to extension: i.e. '.ttf'
|
|
@@ -2560,45 +3012,51 @@ Function 316: LoadFontFromMemory() (6 input parameters)
|
|
|
2560
3012
|
Param[3]: dataSize (type: int)
|
|
2561
3013
|
Param[4]: fontSize (type: int)
|
|
2562
3014
|
Param[5]: fontChars (type: int *)
|
|
2563
|
-
Param[6]:
|
|
2564
|
-
Function
|
|
3015
|
+
Param[6]: glyphCount (type: int)
|
|
3016
|
+
Function 335: LoadFontData() (6 input parameters)
|
|
2565
3017
|
Name: LoadFontData
|
|
2566
|
-
Return type:
|
|
3018
|
+
Return type: GlyphInfo *
|
|
2567
3019
|
Description: Load font data for further use
|
|
2568
3020
|
Param[1]: fileData (type: const unsigned char *)
|
|
2569
3021
|
Param[2]: dataSize (type: int)
|
|
2570
3022
|
Param[3]: fontSize (type: int)
|
|
2571
3023
|
Param[4]: fontChars (type: int *)
|
|
2572
|
-
Param[5]:
|
|
3024
|
+
Param[5]: glyphCount (type: int)
|
|
2573
3025
|
Param[6]: type (type: int)
|
|
2574
|
-
Function
|
|
3026
|
+
Function 336: GenImageFontAtlas() (6 input parameters)
|
|
2575
3027
|
Name: GenImageFontAtlas
|
|
2576
3028
|
Return type: Image
|
|
2577
3029
|
Description: Generate image font atlas using chars info
|
|
2578
|
-
Param[1]: chars (type: const
|
|
3030
|
+
Param[1]: chars (type: const GlyphInfo *)
|
|
2579
3031
|
Param[2]: recs (type: Rectangle **)
|
|
2580
|
-
Param[3]:
|
|
3032
|
+
Param[3]: glyphCount (type: int)
|
|
2581
3033
|
Param[4]: fontSize (type: int)
|
|
2582
3034
|
Param[5]: padding (type: int)
|
|
2583
3035
|
Param[6]: packMethod (type: int)
|
|
2584
|
-
Function
|
|
3036
|
+
Function 337: UnloadFontData() (2 input parameters)
|
|
2585
3037
|
Name: UnloadFontData
|
|
2586
3038
|
Return type: void
|
|
2587
3039
|
Description: Unload font chars info data (RAM)
|
|
2588
|
-
Param[1]: chars (type:
|
|
2589
|
-
Param[2]:
|
|
2590
|
-
Function
|
|
3040
|
+
Param[1]: chars (type: GlyphInfo *)
|
|
3041
|
+
Param[2]: glyphCount (type: int)
|
|
3042
|
+
Function 338: UnloadFont() (1 input parameters)
|
|
2591
3043
|
Name: UnloadFont
|
|
2592
3044
|
Return type: void
|
|
2593
|
-
Description: Unload
|
|
3045
|
+
Description: Unload font from GPU memory (VRAM)
|
|
2594
3046
|
Param[1]: font (type: Font)
|
|
2595
|
-
Function
|
|
3047
|
+
Function 339: ExportFontAsCode() (2 input parameters)
|
|
3048
|
+
Name: ExportFontAsCode
|
|
3049
|
+
Return type: bool
|
|
3050
|
+
Description: Export font as code file, returns true on success
|
|
3051
|
+
Param[1]: font (type: Font)
|
|
3052
|
+
Param[2]: fileName (type: const char *)
|
|
3053
|
+
Function 340: DrawFPS() (2 input parameters)
|
|
2596
3054
|
Name: DrawFPS
|
|
2597
3055
|
Return type: void
|
|
2598
3056
|
Description: Draw current FPS
|
|
2599
3057
|
Param[1]: posX (type: int)
|
|
2600
3058
|
Param[2]: posY (type: int)
|
|
2601
|
-
Function
|
|
3059
|
+
Function 341: DrawText() (5 input parameters)
|
|
2602
3060
|
Name: DrawText
|
|
2603
3061
|
Return type: void
|
|
2604
3062
|
Description: Draw text (using default font)
|
|
@@ -2607,7 +3065,7 @@ Function 322: DrawText() (5 input parameters)
|
|
|
2607
3065
|
Param[3]: posY (type: int)
|
|
2608
3066
|
Param[4]: fontSize (type: int)
|
|
2609
3067
|
Param[5]: color (type: Color)
|
|
2610
|
-
Function
|
|
3068
|
+
Function 342: DrawTextEx() (6 input parameters)
|
|
2611
3069
|
Name: DrawTextEx
|
|
2612
3070
|
Return type: void
|
|
2613
3071
|
Description: Draw text using font and additional parameters
|
|
@@ -2617,33 +3075,19 @@ Function 323: DrawTextEx() (6 input parameters)
|
|
|
2617
3075
|
Param[4]: fontSize (type: float)
|
|
2618
3076
|
Param[5]: spacing (type: float)
|
|
2619
3077
|
Param[6]: tint (type: Color)
|
|
2620
|
-
Function
|
|
2621
|
-
Name:
|
|
3078
|
+
Function 343: DrawTextPro() (8 input parameters)
|
|
3079
|
+
Name: DrawTextPro
|
|
2622
3080
|
Return type: void
|
|
2623
|
-
Description: Draw text using
|
|
3081
|
+
Description: Draw text using Font and pro parameters (rotation)
|
|
2624
3082
|
Param[1]: font (type: Font)
|
|
2625
3083
|
Param[2]: text (type: const char *)
|
|
2626
|
-
Param[3]:
|
|
2627
|
-
Param[4]:
|
|
2628
|
-
Param[5]:
|
|
2629
|
-
Param[6]:
|
|
2630
|
-
Param[7]:
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
Return type: void
|
|
2634
|
-
Description: Draw text using font inside rectangle limits with support for text selection
|
|
2635
|
-
Param[1]: font (type: Font)
|
|
2636
|
-
Param[2]: text (type: const char *)
|
|
2637
|
-
Param[3]: rec (type: Rectangle)
|
|
2638
|
-
Param[4]: fontSize (type: float)
|
|
2639
|
-
Param[5]: spacing (type: float)
|
|
2640
|
-
Param[6]: wordWrap (type: bool)
|
|
2641
|
-
Param[7]: tint (type: Color)
|
|
2642
|
-
Param[8]: selectStart (type: int)
|
|
2643
|
-
Param[9]: selectLength (type: int)
|
|
2644
|
-
Param[10]: selectTint (type: Color)
|
|
2645
|
-
Param[11]: selectBackTint (type: Color)
|
|
2646
|
-
Function 326: DrawTextCodepoint() (5 input parameters)
|
|
3084
|
+
Param[3]: position (type: Vector2)
|
|
3085
|
+
Param[4]: origin (type: Vector2)
|
|
3086
|
+
Param[5]: rotation (type: float)
|
|
3087
|
+
Param[6]: fontSize (type: float)
|
|
3088
|
+
Param[7]: spacing (type: float)
|
|
3089
|
+
Param[8]: tint (type: Color)
|
|
3090
|
+
Function 344: DrawTextCodepoint() (5 input parameters)
|
|
2647
3091
|
Name: DrawTextCodepoint
|
|
2648
3092
|
Return type: void
|
|
2649
3093
|
Description: Draw one character (codepoint)
|
|
@@ -2652,13 +3096,24 @@ Function 326: DrawTextCodepoint() (5 input parameters)
|
|
|
2652
3096
|
Param[3]: position (type: Vector2)
|
|
2653
3097
|
Param[4]: fontSize (type: float)
|
|
2654
3098
|
Param[5]: tint (type: Color)
|
|
2655
|
-
Function
|
|
3099
|
+
Function 345: DrawTextCodepoints() (7 input parameters)
|
|
3100
|
+
Name: DrawTextCodepoints
|
|
3101
|
+
Return type: void
|
|
3102
|
+
Description: Draw multiple character (codepoint)
|
|
3103
|
+
Param[1]: font (type: Font)
|
|
3104
|
+
Param[2]: codepoints (type: const int *)
|
|
3105
|
+
Param[3]: count (type: int)
|
|
3106
|
+
Param[4]: position (type: Vector2)
|
|
3107
|
+
Param[5]: fontSize (type: float)
|
|
3108
|
+
Param[6]: spacing (type: float)
|
|
3109
|
+
Param[7]: tint (type: Color)
|
|
3110
|
+
Function 346: MeasureText() (2 input parameters)
|
|
2656
3111
|
Name: MeasureText
|
|
2657
3112
|
Return type: int
|
|
2658
3113
|
Description: Measure string width for default font
|
|
2659
3114
|
Param[1]: text (type: const char *)
|
|
2660
3115
|
Param[2]: fontSize (type: int)
|
|
2661
|
-
Function
|
|
3116
|
+
Function 347: MeasureTextEx() (4 input parameters)
|
|
2662
3117
|
Name: MeasureTextEx
|
|
2663
3118
|
Return type: Vector2
|
|
2664
3119
|
Description: Measure string size for Font
|
|
@@ -2666,146 +3121,163 @@ Function 328: MeasureTextEx() (4 input parameters)
|
|
|
2666
3121
|
Param[2]: text (type: const char *)
|
|
2667
3122
|
Param[3]: fontSize (type: float)
|
|
2668
3123
|
Param[4]: spacing (type: float)
|
|
2669
|
-
Function
|
|
3124
|
+
Function 348: GetGlyphIndex() (2 input parameters)
|
|
2670
3125
|
Name: GetGlyphIndex
|
|
2671
3126
|
Return type: int
|
|
2672
|
-
Description: Get index position for a unicode character
|
|
3127
|
+
Description: Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found
|
|
2673
3128
|
Param[1]: font (type: Font)
|
|
2674
3129
|
Param[2]: codepoint (type: int)
|
|
2675
|
-
Function
|
|
3130
|
+
Function 349: GetGlyphInfo() (2 input parameters)
|
|
3131
|
+
Name: GetGlyphInfo
|
|
3132
|
+
Return type: GlyphInfo
|
|
3133
|
+
Description: Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found
|
|
3134
|
+
Param[1]: font (type: Font)
|
|
3135
|
+
Param[2]: codepoint (type: int)
|
|
3136
|
+
Function 350: GetGlyphAtlasRec() (2 input parameters)
|
|
3137
|
+
Name: GetGlyphAtlasRec
|
|
3138
|
+
Return type: Rectangle
|
|
3139
|
+
Description: Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found
|
|
3140
|
+
Param[1]: font (type: Font)
|
|
3141
|
+
Param[2]: codepoint (type: int)
|
|
3142
|
+
Function 351: LoadCodepoints() (2 input parameters)
|
|
3143
|
+
Name: LoadCodepoints
|
|
3144
|
+
Return type: int *
|
|
3145
|
+
Description: Load all codepoints from a UTF-8 text string, codepoints count returned by parameter
|
|
3146
|
+
Param[1]: text (type: const char *)
|
|
3147
|
+
Param[2]: count (type: int *)
|
|
3148
|
+
Function 352: UnloadCodepoints() (1 input parameters)
|
|
3149
|
+
Name: UnloadCodepoints
|
|
3150
|
+
Return type: void
|
|
3151
|
+
Description: Unload codepoints data from memory
|
|
3152
|
+
Param[1]: codepoints (type: int *)
|
|
3153
|
+
Function 353: GetCodepointCount() (1 input parameters)
|
|
3154
|
+
Name: GetCodepointCount
|
|
3155
|
+
Return type: int
|
|
3156
|
+
Description: Get total number of codepoints in a UTF-8 encoded string
|
|
3157
|
+
Param[1]: text (type: const char *)
|
|
3158
|
+
Function 354: GetCodepoint() (2 input parameters)
|
|
3159
|
+
Name: GetCodepoint
|
|
3160
|
+
Return type: int
|
|
3161
|
+
Description: Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
|
|
3162
|
+
Param[1]: text (type: const char *)
|
|
3163
|
+
Param[2]: bytesProcessed (type: int *)
|
|
3164
|
+
Function 355: CodepointToUTF8() (2 input parameters)
|
|
3165
|
+
Name: CodepointToUTF8
|
|
3166
|
+
Return type: const char *
|
|
3167
|
+
Description: Encode one codepoint into UTF-8 byte array (array length returned as parameter)
|
|
3168
|
+
Param[1]: codepoint (type: int)
|
|
3169
|
+
Param[2]: byteSize (type: int *)
|
|
3170
|
+
Function 356: TextCodepointsToUTF8() (2 input parameters)
|
|
3171
|
+
Name: TextCodepointsToUTF8
|
|
3172
|
+
Return type: char *
|
|
3173
|
+
Description: Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)
|
|
3174
|
+
Param[1]: codepoints (type: const int *)
|
|
3175
|
+
Param[2]: length (type: int)
|
|
3176
|
+
Function 357: TextCopy() (2 input parameters)
|
|
2676
3177
|
Name: TextCopy
|
|
2677
3178
|
Return type: int
|
|
2678
3179
|
Description: Copy one string to another, returns bytes copied
|
|
2679
3180
|
Param[1]: dst (type: char *)
|
|
2680
3181
|
Param[2]: src (type: const char *)
|
|
2681
|
-
Function
|
|
3182
|
+
Function 358: TextIsEqual() (2 input parameters)
|
|
2682
3183
|
Name: TextIsEqual
|
|
2683
3184
|
Return type: bool
|
|
2684
3185
|
Description: Check if two text string are equal
|
|
2685
3186
|
Param[1]: text1 (type: const char *)
|
|
2686
3187
|
Param[2]: text2 (type: const char *)
|
|
2687
|
-
Function
|
|
3188
|
+
Function 359: TextLength() (1 input parameters)
|
|
2688
3189
|
Name: TextLength
|
|
2689
3190
|
Return type: unsigned int
|
|
2690
3191
|
Description: Get text length, checks for '\0' ending
|
|
2691
3192
|
Param[1]: text (type: const char *)
|
|
2692
|
-
Function
|
|
3193
|
+
Function 360: TextFormat() (2 input parameters)
|
|
2693
3194
|
Name: TextFormat
|
|
2694
3195
|
Return type: const char *
|
|
2695
|
-
Description: Text formatting with variables (sprintf style)
|
|
3196
|
+
Description: Text formatting with variables (sprintf() style)
|
|
2696
3197
|
Param[1]: text (type: const char *)
|
|
2697
|
-
Param[2]:
|
|
2698
|
-
Function
|
|
3198
|
+
Param[2]: args (type: ...)
|
|
3199
|
+
Function 361: TextSubtext() (3 input parameters)
|
|
2699
3200
|
Name: TextSubtext
|
|
2700
3201
|
Return type: const char *
|
|
2701
3202
|
Description: Get a piece of a text string
|
|
2702
3203
|
Param[1]: text (type: const char *)
|
|
2703
3204
|
Param[2]: position (type: int)
|
|
2704
3205
|
Param[3]: length (type: int)
|
|
2705
|
-
Function
|
|
3206
|
+
Function 362: TextReplace() (3 input parameters)
|
|
2706
3207
|
Name: TextReplace
|
|
2707
3208
|
Return type: char *
|
|
2708
|
-
Description: Replace text string (memory must be freed!)
|
|
3209
|
+
Description: Replace text string (WARNING: memory must be freed!)
|
|
2709
3210
|
Param[1]: text (type: char *)
|
|
2710
3211
|
Param[2]: replace (type: const char *)
|
|
2711
3212
|
Param[3]: by (type: const char *)
|
|
2712
|
-
Function
|
|
3213
|
+
Function 363: TextInsert() (3 input parameters)
|
|
2713
3214
|
Name: TextInsert
|
|
2714
3215
|
Return type: char *
|
|
2715
|
-
Description: Insert text in a position (memory must be freed!)
|
|
3216
|
+
Description: Insert text in a position (WARNING: memory must be freed!)
|
|
2716
3217
|
Param[1]: text (type: const char *)
|
|
2717
3218
|
Param[2]: insert (type: const char *)
|
|
2718
3219
|
Param[3]: position (type: int)
|
|
2719
|
-
Function
|
|
3220
|
+
Function 364: TextJoin() (3 input parameters)
|
|
2720
3221
|
Name: TextJoin
|
|
2721
3222
|
Return type: const char *
|
|
2722
3223
|
Description: Join text strings with delimiter
|
|
2723
3224
|
Param[1]: textList (type: const char **)
|
|
2724
3225
|
Param[2]: count (type: int)
|
|
2725
3226
|
Param[3]: delimiter (type: const char *)
|
|
2726
|
-
Function
|
|
3227
|
+
Function 365: TextSplit() (3 input parameters)
|
|
2727
3228
|
Name: TextSplit
|
|
2728
3229
|
Return type: const char **
|
|
2729
3230
|
Description: Split text into multiple strings
|
|
2730
3231
|
Param[1]: text (type: const char *)
|
|
2731
3232
|
Param[2]: delimiter (type: char)
|
|
2732
3233
|
Param[3]: count (type: int *)
|
|
2733
|
-
Function
|
|
3234
|
+
Function 366: TextAppend() (3 input parameters)
|
|
2734
3235
|
Name: TextAppend
|
|
2735
3236
|
Return type: void
|
|
2736
3237
|
Description: Append text at specific position and move cursor!
|
|
2737
3238
|
Param[1]: text (type: char *)
|
|
2738
3239
|
Param[2]: append (type: const char *)
|
|
2739
3240
|
Param[3]: position (type: int *)
|
|
2740
|
-
Function
|
|
3241
|
+
Function 367: TextFindIndex() (2 input parameters)
|
|
2741
3242
|
Name: TextFindIndex
|
|
2742
3243
|
Return type: int
|
|
2743
3244
|
Description: Find first text occurrence within a string
|
|
2744
3245
|
Param[1]: text (type: const char *)
|
|
2745
3246
|
Param[2]: find (type: const char *)
|
|
2746
|
-
Function
|
|
3247
|
+
Function 368: TextToUpper() (1 input parameters)
|
|
2747
3248
|
Name: TextToUpper
|
|
2748
3249
|
Return type: const char *
|
|
2749
3250
|
Description: Get upper case version of provided string
|
|
2750
3251
|
Param[1]: text (type: const char *)
|
|
2751
|
-
Function
|
|
3252
|
+
Function 369: TextToLower() (1 input parameters)
|
|
2752
3253
|
Name: TextToLower
|
|
2753
3254
|
Return type: const char *
|
|
2754
3255
|
Description: Get lower case version of provided string
|
|
2755
3256
|
Param[1]: text (type: const char *)
|
|
2756
|
-
Function
|
|
3257
|
+
Function 370: TextToPascal() (1 input parameters)
|
|
2757
3258
|
Name: TextToPascal
|
|
2758
3259
|
Return type: const char *
|
|
2759
3260
|
Description: Get Pascal case notation version of provided string
|
|
2760
3261
|
Param[1]: text (type: const char *)
|
|
2761
|
-
Function
|
|
3262
|
+
Function 371: TextToInteger() (1 input parameters)
|
|
2762
3263
|
Name: TextToInteger
|
|
2763
3264
|
Return type: int
|
|
2764
3265
|
Description: Get integer value from text (negative values not supported)
|
|
2765
3266
|
Param[1]: text (type: const char *)
|
|
2766
|
-
Function
|
|
2767
|
-
Name: TextToUtf8
|
|
2768
|
-
Return type: char *
|
|
2769
|
-
Description: Encode text codepoint into utf8 text (memory must be freed!)
|
|
2770
|
-
Param[1]: codepoints (type: int *)
|
|
2771
|
-
Param[2]: length (type: int)
|
|
2772
|
-
Function 346: GetCodepoints() (2 input parameters)
|
|
2773
|
-
Name: GetCodepoints
|
|
2774
|
-
Return type: int *
|
|
2775
|
-
Description: Get all codepoints in a string, codepoints count returned by parameters
|
|
2776
|
-
Param[1]: text (type: const char *)
|
|
2777
|
-
Param[2]: count (type: int *)
|
|
2778
|
-
Function 347: GetCodepointsCount() (1 input parameters)
|
|
2779
|
-
Name: GetCodepointsCount
|
|
2780
|
-
Return type: int
|
|
2781
|
-
Description: Get total number of characters (codepoints) in a UTF8 encoded string
|
|
2782
|
-
Param[1]: text (type: const char *)
|
|
2783
|
-
Function 348: GetNextCodepoint() (2 input parameters)
|
|
2784
|
-
Name: GetNextCodepoint
|
|
2785
|
-
Return type: int
|
|
2786
|
-
Description: Get next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure
|
|
2787
|
-
Param[1]: text (type: const char *)
|
|
2788
|
-
Param[2]: bytesProcessed (type: int *)
|
|
2789
|
-
Function 349: CodepointToUtf8() (2 input parameters)
|
|
2790
|
-
Name: CodepointToUtf8
|
|
2791
|
-
Return type: const char *
|
|
2792
|
-
Description: Encode codepoint into utf8 text (char array length returned as parameter)
|
|
2793
|
-
Param[1]: codepoint (type: int)
|
|
2794
|
-
Param[2]: byteLength (type: int *)
|
|
2795
|
-
Function 350: DrawLine3D() (3 input parameters)
|
|
3267
|
+
Function 372: DrawLine3D() (3 input parameters)
|
|
2796
3268
|
Name: DrawLine3D
|
|
2797
3269
|
Return type: void
|
|
2798
3270
|
Description: Draw a line in 3D world space
|
|
2799
3271
|
Param[1]: startPos (type: Vector3)
|
|
2800
3272
|
Param[2]: endPos (type: Vector3)
|
|
2801
3273
|
Param[3]: color (type: Color)
|
|
2802
|
-
Function
|
|
3274
|
+
Function 373: DrawPoint3D() (2 input parameters)
|
|
2803
3275
|
Name: DrawPoint3D
|
|
2804
3276
|
Return type: void
|
|
2805
3277
|
Description: Draw a point in 3D space, actually a small line
|
|
2806
3278
|
Param[1]: position (type: Vector3)
|
|
2807
3279
|
Param[2]: color (type: Color)
|
|
2808
|
-
Function
|
|
3280
|
+
Function 374: DrawCircle3D() (5 input parameters)
|
|
2809
3281
|
Name: DrawCircle3D
|
|
2810
3282
|
Return type: void
|
|
2811
3283
|
Description: Draw a circle in 3D world space
|
|
@@ -2814,7 +3286,7 @@ Function 352: DrawCircle3D() (5 input parameters)
|
|
|
2814
3286
|
Param[3]: rotationAxis (type: Vector3)
|
|
2815
3287
|
Param[4]: rotationAngle (type: float)
|
|
2816
3288
|
Param[5]: color (type: Color)
|
|
2817
|
-
Function
|
|
3289
|
+
Function 375: DrawTriangle3D() (4 input parameters)
|
|
2818
3290
|
Name: DrawTriangle3D
|
|
2819
3291
|
Return type: void
|
|
2820
3292
|
Description: Draw a color-filled triangle (vertex in counter-clockwise order!)
|
|
@@ -2822,14 +3294,14 @@ Function 353: DrawTriangle3D() (4 input parameters)
|
|
|
2822
3294
|
Param[2]: v2 (type: Vector3)
|
|
2823
3295
|
Param[3]: v3 (type: Vector3)
|
|
2824
3296
|
Param[4]: color (type: Color)
|
|
2825
|
-
Function
|
|
3297
|
+
Function 376: DrawTriangleStrip3D() (3 input parameters)
|
|
2826
3298
|
Name: DrawTriangleStrip3D
|
|
2827
3299
|
Return type: void
|
|
2828
3300
|
Description: Draw a triangle strip defined by points
|
|
2829
3301
|
Param[1]: points (type: Vector3 *)
|
|
2830
|
-
Param[2]:
|
|
3302
|
+
Param[2]: pointCount (type: int)
|
|
2831
3303
|
Param[3]: color (type: Color)
|
|
2832
|
-
Function
|
|
3304
|
+
Function 377: DrawCube() (5 input parameters)
|
|
2833
3305
|
Name: DrawCube
|
|
2834
3306
|
Return type: void
|
|
2835
3307
|
Description: Draw cube
|
|
@@ -2838,14 +3310,14 @@ Function 355: DrawCube() (5 input parameters)
|
|
|
2838
3310
|
Param[3]: height (type: float)
|
|
2839
3311
|
Param[4]: length (type: float)
|
|
2840
3312
|
Param[5]: color (type: Color)
|
|
2841
|
-
Function
|
|
3313
|
+
Function 378: DrawCubeV() (3 input parameters)
|
|
2842
3314
|
Name: DrawCubeV
|
|
2843
3315
|
Return type: void
|
|
2844
3316
|
Description: Draw cube (Vector version)
|
|
2845
3317
|
Param[1]: position (type: Vector3)
|
|
2846
3318
|
Param[2]: size (type: Vector3)
|
|
2847
3319
|
Param[3]: color (type: Color)
|
|
2848
|
-
Function
|
|
3320
|
+
Function 379: DrawCubeWires() (5 input parameters)
|
|
2849
3321
|
Name: DrawCubeWires
|
|
2850
3322
|
Return type: void
|
|
2851
3323
|
Description: Draw cube wires
|
|
@@ -2854,14 +3326,14 @@ Function 357: DrawCubeWires() (5 input parameters)
|
|
|
2854
3326
|
Param[3]: height (type: float)
|
|
2855
3327
|
Param[4]: length (type: float)
|
|
2856
3328
|
Param[5]: color (type: Color)
|
|
2857
|
-
Function
|
|
3329
|
+
Function 380: DrawCubeWiresV() (3 input parameters)
|
|
2858
3330
|
Name: DrawCubeWiresV
|
|
2859
3331
|
Return type: void
|
|
2860
3332
|
Description: Draw cube wires (Vector version)
|
|
2861
3333
|
Param[1]: position (type: Vector3)
|
|
2862
3334
|
Param[2]: size (type: Vector3)
|
|
2863
3335
|
Param[3]: color (type: Color)
|
|
2864
|
-
Function
|
|
3336
|
+
Function 381: DrawCubeTexture() (6 input parameters)
|
|
2865
3337
|
Name: DrawCubeTexture
|
|
2866
3338
|
Return type: void
|
|
2867
3339
|
Description: Draw cube textured
|
|
@@ -2871,14 +3343,25 @@ Function 359: DrawCubeTexture() (6 input parameters)
|
|
|
2871
3343
|
Param[4]: height (type: float)
|
|
2872
3344
|
Param[5]: length (type: float)
|
|
2873
3345
|
Param[6]: color (type: Color)
|
|
2874
|
-
Function
|
|
3346
|
+
Function 382: DrawCubeTextureRec() (7 input parameters)
|
|
3347
|
+
Name: DrawCubeTextureRec
|
|
3348
|
+
Return type: void
|
|
3349
|
+
Description: Draw cube with a region of a texture
|
|
3350
|
+
Param[1]: texture (type: Texture2D)
|
|
3351
|
+
Param[2]: source (type: Rectangle)
|
|
3352
|
+
Param[3]: position (type: Vector3)
|
|
3353
|
+
Param[4]: width (type: float)
|
|
3354
|
+
Param[5]: height (type: float)
|
|
3355
|
+
Param[6]: length (type: float)
|
|
3356
|
+
Param[7]: color (type: Color)
|
|
3357
|
+
Function 383: DrawSphere() (3 input parameters)
|
|
2875
3358
|
Name: DrawSphere
|
|
2876
3359
|
Return type: void
|
|
2877
3360
|
Description: Draw sphere
|
|
2878
3361
|
Param[1]: centerPos (type: Vector3)
|
|
2879
3362
|
Param[2]: radius (type: float)
|
|
2880
3363
|
Param[3]: color (type: Color)
|
|
2881
|
-
Function
|
|
3364
|
+
Function 384: DrawSphereEx() (5 input parameters)
|
|
2882
3365
|
Name: DrawSphereEx
|
|
2883
3366
|
Return type: void
|
|
2884
3367
|
Description: Draw sphere with extended parameters
|
|
@@ -2887,7 +3370,7 @@ Function 361: DrawSphereEx() (5 input parameters)
|
|
|
2887
3370
|
Param[3]: rings (type: int)
|
|
2888
3371
|
Param[4]: slices (type: int)
|
|
2889
3372
|
Param[5]: color (type: Color)
|
|
2890
|
-
Function
|
|
3373
|
+
Function 385: DrawSphereWires() (5 input parameters)
|
|
2891
3374
|
Name: DrawSphereWires
|
|
2892
3375
|
Return type: void
|
|
2893
3376
|
Description: Draw sphere wires
|
|
@@ -2896,7 +3379,7 @@ Function 362: DrawSphereWires() (5 input parameters)
|
|
|
2896
3379
|
Param[3]: rings (type: int)
|
|
2897
3380
|
Param[4]: slices (type: int)
|
|
2898
3381
|
Param[5]: color (type: Color)
|
|
2899
|
-
Function
|
|
3382
|
+
Function 386: DrawCylinder() (6 input parameters)
|
|
2900
3383
|
Name: DrawCylinder
|
|
2901
3384
|
Return type: void
|
|
2902
3385
|
Description: Draw a cylinder/cone
|
|
@@ -2906,7 +3389,17 @@ Function 363: DrawCylinder() (6 input parameters)
|
|
|
2906
3389
|
Param[4]: height (type: float)
|
|
2907
3390
|
Param[5]: slices (type: int)
|
|
2908
3391
|
Param[6]: color (type: Color)
|
|
2909
|
-
Function
|
|
3392
|
+
Function 387: DrawCylinderEx() (6 input parameters)
|
|
3393
|
+
Name: DrawCylinderEx
|
|
3394
|
+
Return type: void
|
|
3395
|
+
Description: Draw a cylinder with base at startPos and top at endPos
|
|
3396
|
+
Param[1]: startPos (type: Vector3)
|
|
3397
|
+
Param[2]: endPos (type: Vector3)
|
|
3398
|
+
Param[3]: startRadius (type: float)
|
|
3399
|
+
Param[4]: endRadius (type: float)
|
|
3400
|
+
Param[5]: sides (type: int)
|
|
3401
|
+
Param[6]: color (type: Color)
|
|
3402
|
+
Function 388: DrawCylinderWires() (6 input parameters)
|
|
2910
3403
|
Name: DrawCylinderWires
|
|
2911
3404
|
Return type: void
|
|
2912
3405
|
Description: Draw a cylinder/cone wires
|
|
@@ -2916,153 +3409,192 @@ Function 364: DrawCylinderWires() (6 input parameters)
|
|
|
2916
3409
|
Param[4]: height (type: float)
|
|
2917
3410
|
Param[5]: slices (type: int)
|
|
2918
3411
|
Param[6]: color (type: Color)
|
|
2919
|
-
Function
|
|
3412
|
+
Function 389: DrawCylinderWiresEx() (6 input parameters)
|
|
3413
|
+
Name: DrawCylinderWiresEx
|
|
3414
|
+
Return type: void
|
|
3415
|
+
Description: Draw a cylinder wires with base at startPos and top at endPos
|
|
3416
|
+
Param[1]: startPos (type: Vector3)
|
|
3417
|
+
Param[2]: endPos (type: Vector3)
|
|
3418
|
+
Param[3]: startRadius (type: float)
|
|
3419
|
+
Param[4]: endRadius (type: float)
|
|
3420
|
+
Param[5]: sides (type: int)
|
|
3421
|
+
Param[6]: color (type: Color)
|
|
3422
|
+
Function 390: DrawPlane() (3 input parameters)
|
|
2920
3423
|
Name: DrawPlane
|
|
2921
3424
|
Return type: void
|
|
2922
3425
|
Description: Draw a plane XZ
|
|
2923
3426
|
Param[1]: centerPos (type: Vector3)
|
|
2924
3427
|
Param[2]: size (type: Vector2)
|
|
2925
3428
|
Param[3]: color (type: Color)
|
|
2926
|
-
Function
|
|
3429
|
+
Function 391: DrawRay() (2 input parameters)
|
|
2927
3430
|
Name: DrawRay
|
|
2928
3431
|
Return type: void
|
|
2929
3432
|
Description: Draw a ray line
|
|
2930
3433
|
Param[1]: ray (type: Ray)
|
|
2931
3434
|
Param[2]: color (type: Color)
|
|
2932
|
-
Function
|
|
3435
|
+
Function 392: DrawGrid() (2 input parameters)
|
|
2933
3436
|
Name: DrawGrid
|
|
2934
3437
|
Return type: void
|
|
2935
3438
|
Description: Draw a grid (centered at (0, 0, 0))
|
|
2936
3439
|
Param[1]: slices (type: int)
|
|
2937
3440
|
Param[2]: spacing (type: float)
|
|
2938
|
-
Function
|
|
3441
|
+
Function 393: LoadModel() (1 input parameters)
|
|
2939
3442
|
Name: LoadModel
|
|
2940
3443
|
Return type: Model
|
|
2941
3444
|
Description: Load model from files (meshes and materials)
|
|
2942
3445
|
Param[1]: fileName (type: const char *)
|
|
2943
|
-
Function
|
|
3446
|
+
Function 394: LoadModelFromMesh() (1 input parameters)
|
|
2944
3447
|
Name: LoadModelFromMesh
|
|
2945
3448
|
Return type: Model
|
|
2946
3449
|
Description: Load model from generated mesh (default material)
|
|
2947
3450
|
Param[1]: mesh (type: Mesh)
|
|
2948
|
-
Function
|
|
3451
|
+
Function 395: UnloadModel() (1 input parameters)
|
|
2949
3452
|
Name: UnloadModel
|
|
2950
3453
|
Return type: void
|
|
2951
3454
|
Description: Unload model (including meshes) from memory (RAM and/or VRAM)
|
|
2952
3455
|
Param[1]: model (type: Model)
|
|
2953
|
-
Function
|
|
3456
|
+
Function 396: UnloadModelKeepMeshes() (1 input parameters)
|
|
2954
3457
|
Name: UnloadModelKeepMeshes
|
|
2955
3458
|
Return type: void
|
|
2956
3459
|
Description: Unload model (but not meshes) from memory (RAM and/or VRAM)
|
|
2957
3460
|
Param[1]: model (type: Model)
|
|
2958
|
-
Function
|
|
3461
|
+
Function 397: GetModelBoundingBox() (1 input parameters)
|
|
3462
|
+
Name: GetModelBoundingBox
|
|
3463
|
+
Return type: BoundingBox
|
|
3464
|
+
Description: Compute model bounding box limits (considers all meshes)
|
|
3465
|
+
Param[1]: model (type: Model)
|
|
3466
|
+
Function 398: DrawModel() (4 input parameters)
|
|
3467
|
+
Name: DrawModel
|
|
3468
|
+
Return type: void
|
|
3469
|
+
Description: Draw a model (with texture if set)
|
|
3470
|
+
Param[1]: model (type: Model)
|
|
3471
|
+
Param[2]: position (type: Vector3)
|
|
3472
|
+
Param[3]: scale (type: float)
|
|
3473
|
+
Param[4]: tint (type: Color)
|
|
3474
|
+
Function 399: DrawModelEx() (6 input parameters)
|
|
3475
|
+
Name: DrawModelEx
|
|
3476
|
+
Return type: void
|
|
3477
|
+
Description: Draw a model with extended parameters
|
|
3478
|
+
Param[1]: model (type: Model)
|
|
3479
|
+
Param[2]: position (type: Vector3)
|
|
3480
|
+
Param[3]: rotationAxis (type: Vector3)
|
|
3481
|
+
Param[4]: rotationAngle (type: float)
|
|
3482
|
+
Param[5]: scale (type: Vector3)
|
|
3483
|
+
Param[6]: tint (type: Color)
|
|
3484
|
+
Function 400: DrawModelWires() (4 input parameters)
|
|
3485
|
+
Name: DrawModelWires
|
|
3486
|
+
Return type: void
|
|
3487
|
+
Description: Draw a model wires (with texture if set)
|
|
3488
|
+
Param[1]: model (type: Model)
|
|
3489
|
+
Param[2]: position (type: Vector3)
|
|
3490
|
+
Param[3]: scale (type: float)
|
|
3491
|
+
Param[4]: tint (type: Color)
|
|
3492
|
+
Function 401: DrawModelWiresEx() (6 input parameters)
|
|
3493
|
+
Name: DrawModelWiresEx
|
|
3494
|
+
Return type: void
|
|
3495
|
+
Description: Draw a model wires (with texture if set) with extended parameters
|
|
3496
|
+
Param[1]: model (type: Model)
|
|
3497
|
+
Param[2]: position (type: Vector3)
|
|
3498
|
+
Param[3]: rotationAxis (type: Vector3)
|
|
3499
|
+
Param[4]: rotationAngle (type: float)
|
|
3500
|
+
Param[5]: scale (type: Vector3)
|
|
3501
|
+
Param[6]: tint (type: Color)
|
|
3502
|
+
Function 402: DrawBoundingBox() (2 input parameters)
|
|
3503
|
+
Name: DrawBoundingBox
|
|
3504
|
+
Return type: void
|
|
3505
|
+
Description: Draw bounding box (wires)
|
|
3506
|
+
Param[1]: box (type: BoundingBox)
|
|
3507
|
+
Param[2]: color (type: Color)
|
|
3508
|
+
Function 403: DrawBillboard() (5 input parameters)
|
|
3509
|
+
Name: DrawBillboard
|
|
3510
|
+
Return type: void
|
|
3511
|
+
Description: Draw a billboard texture
|
|
3512
|
+
Param[1]: camera (type: Camera)
|
|
3513
|
+
Param[2]: texture (type: Texture2D)
|
|
3514
|
+
Param[3]: position (type: Vector3)
|
|
3515
|
+
Param[4]: size (type: float)
|
|
3516
|
+
Param[5]: tint (type: Color)
|
|
3517
|
+
Function 404: DrawBillboardRec() (6 input parameters)
|
|
3518
|
+
Name: DrawBillboardRec
|
|
3519
|
+
Return type: void
|
|
3520
|
+
Description: Draw a billboard texture defined by source
|
|
3521
|
+
Param[1]: camera (type: Camera)
|
|
3522
|
+
Param[2]: texture (type: Texture2D)
|
|
3523
|
+
Param[3]: source (type: Rectangle)
|
|
3524
|
+
Param[4]: position (type: Vector3)
|
|
3525
|
+
Param[5]: size (type: Vector2)
|
|
3526
|
+
Param[6]: tint (type: Color)
|
|
3527
|
+
Function 405: DrawBillboardPro() (9 input parameters)
|
|
3528
|
+
Name: DrawBillboardPro
|
|
3529
|
+
Return type: void
|
|
3530
|
+
Description: Draw a billboard texture defined by source and rotation
|
|
3531
|
+
Param[1]: camera (type: Camera)
|
|
3532
|
+
Param[2]: texture (type: Texture2D)
|
|
3533
|
+
Param[3]: source (type: Rectangle)
|
|
3534
|
+
Param[4]: position (type: Vector3)
|
|
3535
|
+
Param[5]: up (type: Vector3)
|
|
3536
|
+
Param[6]: size (type: Vector2)
|
|
3537
|
+
Param[7]: origin (type: Vector2)
|
|
3538
|
+
Param[8]: rotation (type: float)
|
|
3539
|
+
Param[9]: tint (type: Color)
|
|
3540
|
+
Function 406: UploadMesh() (2 input parameters)
|
|
2959
3541
|
Name: UploadMesh
|
|
2960
3542
|
Return type: void
|
|
2961
3543
|
Description: Upload mesh vertex data in GPU and provide VAO/VBO ids
|
|
2962
3544
|
Param[1]: mesh (type: Mesh *)
|
|
2963
3545
|
Param[2]: dynamic (type: bool)
|
|
2964
|
-
Function
|
|
3546
|
+
Function 407: UpdateMeshBuffer() (5 input parameters)
|
|
2965
3547
|
Name: UpdateMeshBuffer
|
|
2966
3548
|
Return type: void
|
|
2967
3549
|
Description: Update mesh vertex data in GPU for a specific buffer index
|
|
2968
3550
|
Param[1]: mesh (type: Mesh)
|
|
2969
3551
|
Param[2]: index (type: int)
|
|
2970
|
-
Param[3]: data (type: void *)
|
|
3552
|
+
Param[3]: data (type: const void *)
|
|
2971
3553
|
Param[4]: dataSize (type: int)
|
|
2972
3554
|
Param[5]: offset (type: int)
|
|
2973
|
-
Function
|
|
3555
|
+
Function 408: UnloadMesh() (1 input parameters)
|
|
3556
|
+
Name: UnloadMesh
|
|
3557
|
+
Return type: void
|
|
3558
|
+
Description: Unload mesh data from CPU and GPU
|
|
3559
|
+
Param[1]: mesh (type: Mesh)
|
|
3560
|
+
Function 409: DrawMesh() (3 input parameters)
|
|
2974
3561
|
Name: DrawMesh
|
|
2975
3562
|
Return type: void
|
|
2976
3563
|
Description: Draw a 3d mesh with material and transform
|
|
2977
3564
|
Param[1]: mesh (type: Mesh)
|
|
2978
3565
|
Param[2]: material (type: Material)
|
|
2979
3566
|
Param[3]: transform (type: Matrix)
|
|
2980
|
-
Function
|
|
3567
|
+
Function 410: DrawMeshInstanced() (4 input parameters)
|
|
2981
3568
|
Name: DrawMeshInstanced
|
|
2982
3569
|
Return type: void
|
|
2983
3570
|
Description: Draw multiple mesh instances with material and different transforms
|
|
2984
3571
|
Param[1]: mesh (type: Mesh)
|
|
2985
3572
|
Param[2]: material (type: Material)
|
|
2986
|
-
Param[3]: transforms (type: Matrix *)
|
|
3573
|
+
Param[3]: transforms (type: const Matrix *)
|
|
2987
3574
|
Param[4]: instances (type: int)
|
|
2988
|
-
Function
|
|
2989
|
-
Name: UnloadMesh
|
|
2990
|
-
Return type: void
|
|
2991
|
-
Description: Unload mesh data from CPU and GPU
|
|
2992
|
-
Param[1]: mesh (type: Mesh)
|
|
2993
|
-
Function 377: ExportMesh() (2 input parameters)
|
|
3575
|
+
Function 411: ExportMesh() (2 input parameters)
|
|
2994
3576
|
Name: ExportMesh
|
|
2995
3577
|
Return type: bool
|
|
2996
3578
|
Description: Export mesh data to file, returns true on success
|
|
2997
3579
|
Param[1]: mesh (type: Mesh)
|
|
2998
3580
|
Param[2]: fileName (type: const char *)
|
|
2999
|
-
Function
|
|
3000
|
-
Name:
|
|
3001
|
-
Return type:
|
|
3002
|
-
Description:
|
|
3003
|
-
Param[1]:
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
Name: LoadMaterialDefault
|
|
3007
|
-
Return type: Material
|
|
3008
|
-
Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
|
|
3009
|
-
No input parameters
|
|
3010
|
-
Function 380: UnloadMaterial() (1 input parameters)
|
|
3011
|
-
Name: UnloadMaterial
|
|
3012
|
-
Return type: void
|
|
3013
|
-
Description: Unload material from GPU memory (VRAM)
|
|
3014
|
-
Param[1]: material (type: Material)
|
|
3015
|
-
Function 381: SetMaterialTexture() (3 input parameters)
|
|
3016
|
-
Name: SetMaterialTexture
|
|
3017
|
-
Return type: void
|
|
3018
|
-
Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
|
|
3019
|
-
Param[1]: material (type: Material *)
|
|
3020
|
-
Param[2]: mapType (type: int)
|
|
3021
|
-
Param[3]: texture (type: Texture2D)
|
|
3022
|
-
Function 382: SetModelMeshMaterial() (3 input parameters)
|
|
3023
|
-
Name: SetModelMeshMaterial
|
|
3024
|
-
Return type: void
|
|
3025
|
-
Description: Set material for a mesh
|
|
3026
|
-
Param[1]: model (type: Model *)
|
|
3027
|
-
Param[2]: meshId (type: int)
|
|
3028
|
-
Param[3]: materialId (type: int)
|
|
3029
|
-
Function 383: LoadModelAnimations() (2 input parameters)
|
|
3030
|
-
Name: LoadModelAnimations
|
|
3031
|
-
Return type: ModelAnimation *
|
|
3032
|
-
Description: Load model animations from file
|
|
3033
|
-
Param[1]: fileName (type: const char *)
|
|
3034
|
-
Param[2]: animsCount (type: int *)
|
|
3035
|
-
Function 384: UpdateModelAnimation() (3 input parameters)
|
|
3036
|
-
Name: UpdateModelAnimation
|
|
3037
|
-
Return type: void
|
|
3038
|
-
Description: Update model animation pose
|
|
3039
|
-
Param[1]: model (type: Model)
|
|
3040
|
-
Param[2]: anim (type: ModelAnimation)
|
|
3041
|
-
Param[3]: frame (type: int)
|
|
3042
|
-
Function 385: UnloadModelAnimation() (1 input parameters)
|
|
3043
|
-
Name: UnloadModelAnimation
|
|
3044
|
-
Return type: void
|
|
3045
|
-
Description: Unload animation data
|
|
3046
|
-
Param[1]: anim (type: ModelAnimation)
|
|
3047
|
-
Function 386: UnloadModelAnimations() (2 input parameters)
|
|
3048
|
-
Name: UnloadModelAnimations
|
|
3581
|
+
Function 412: GetMeshBoundingBox() (1 input parameters)
|
|
3582
|
+
Name: GetMeshBoundingBox
|
|
3583
|
+
Return type: BoundingBox
|
|
3584
|
+
Description: Compute mesh bounding box limits
|
|
3585
|
+
Param[1]: mesh (type: Mesh)
|
|
3586
|
+
Function 413: GenMeshTangents() (1 input parameters)
|
|
3587
|
+
Name: GenMeshTangents
|
|
3049
3588
|
Return type: void
|
|
3050
|
-
Description:
|
|
3051
|
-
Param[1]:
|
|
3052
|
-
|
|
3053
|
-
Function 387: IsModelAnimationValid() (2 input parameters)
|
|
3054
|
-
Name: IsModelAnimationValid
|
|
3055
|
-
Return type: bool
|
|
3056
|
-
Description: Check model animation skeleton match
|
|
3057
|
-
Param[1]: model (type: Model)
|
|
3058
|
-
Param[2]: anim (type: ModelAnimation)
|
|
3059
|
-
Function 388: GenMeshPoly() (2 input parameters)
|
|
3589
|
+
Description: Compute mesh tangents
|
|
3590
|
+
Param[1]: mesh (type: Mesh *)
|
|
3591
|
+
Function 414: GenMeshPoly() (2 input parameters)
|
|
3060
3592
|
Name: GenMeshPoly
|
|
3061
3593
|
Return type: Mesh
|
|
3062
3594
|
Description: Generate polygonal mesh
|
|
3063
3595
|
Param[1]: sides (type: int)
|
|
3064
3596
|
Param[2]: radius (type: float)
|
|
3065
|
-
Function
|
|
3597
|
+
Function 415: GenMeshPlane() (4 input parameters)
|
|
3066
3598
|
Name: GenMeshPlane
|
|
3067
3599
|
Return type: Mesh
|
|
3068
3600
|
Description: Generate plane mesh (with subdivisions)
|
|
@@ -3070,35 +3602,42 @@ Function 389: GenMeshPlane() (4 input parameters)
|
|
|
3070
3602
|
Param[2]: length (type: float)
|
|
3071
3603
|
Param[3]: resX (type: int)
|
|
3072
3604
|
Param[4]: resZ (type: int)
|
|
3073
|
-
Function
|
|
3605
|
+
Function 416: GenMeshCube() (3 input parameters)
|
|
3074
3606
|
Name: GenMeshCube
|
|
3075
3607
|
Return type: Mesh
|
|
3076
3608
|
Description: Generate cuboid mesh
|
|
3077
3609
|
Param[1]: width (type: float)
|
|
3078
3610
|
Param[2]: height (type: float)
|
|
3079
3611
|
Param[3]: length (type: float)
|
|
3080
|
-
Function
|
|
3612
|
+
Function 417: GenMeshSphere() (3 input parameters)
|
|
3081
3613
|
Name: GenMeshSphere
|
|
3082
3614
|
Return type: Mesh
|
|
3083
3615
|
Description: Generate sphere mesh (standard sphere)
|
|
3084
3616
|
Param[1]: radius (type: float)
|
|
3085
3617
|
Param[2]: rings (type: int)
|
|
3086
3618
|
Param[3]: slices (type: int)
|
|
3087
|
-
Function
|
|
3619
|
+
Function 418: GenMeshHemiSphere() (3 input parameters)
|
|
3088
3620
|
Name: GenMeshHemiSphere
|
|
3089
3621
|
Return type: Mesh
|
|
3090
3622
|
Description: Generate half-sphere mesh (no bottom cap)
|
|
3091
3623
|
Param[1]: radius (type: float)
|
|
3092
3624
|
Param[2]: rings (type: int)
|
|
3093
3625
|
Param[3]: slices (type: int)
|
|
3094
|
-
Function
|
|
3626
|
+
Function 419: GenMeshCylinder() (3 input parameters)
|
|
3095
3627
|
Name: GenMeshCylinder
|
|
3096
3628
|
Return type: Mesh
|
|
3097
3629
|
Description: Generate cylinder mesh
|
|
3098
3630
|
Param[1]: radius (type: float)
|
|
3099
3631
|
Param[2]: height (type: float)
|
|
3100
3632
|
Param[3]: slices (type: int)
|
|
3101
|
-
Function
|
|
3633
|
+
Function 420: GenMeshCone() (3 input parameters)
|
|
3634
|
+
Name: GenMeshCone
|
|
3635
|
+
Return type: Mesh
|
|
3636
|
+
Description: Generate cone/pyramid mesh
|
|
3637
|
+
Param[1]: radius (type: float)
|
|
3638
|
+
Param[2]: height (type: float)
|
|
3639
|
+
Param[3]: slices (type: int)
|
|
3640
|
+
Function 421: GenMeshTorus() (4 input parameters)
|
|
3102
3641
|
Name: GenMeshTorus
|
|
3103
3642
|
Return type: Mesh
|
|
3104
3643
|
Description: Generate torus mesh
|
|
@@ -3106,7 +3645,7 @@ Function 394: GenMeshTorus() (4 input parameters)
|
|
|
3106
3645
|
Param[2]: size (type: float)
|
|
3107
3646
|
Param[3]: radSeg (type: int)
|
|
3108
3647
|
Param[4]: sides (type: int)
|
|
3109
|
-
Function
|
|
3648
|
+
Function 422: GenMeshKnot() (4 input parameters)
|
|
3110
3649
|
Name: GenMeshKnot
|
|
3111
3650
|
Return type: Mesh
|
|
3112
3651
|
Description: Generate trefoil knot mesh
|
|
@@ -3114,107 +3653,79 @@ Function 395: GenMeshKnot() (4 input parameters)
|
|
|
3114
3653
|
Param[2]: size (type: float)
|
|
3115
3654
|
Param[3]: radSeg (type: int)
|
|
3116
3655
|
Param[4]: sides (type: int)
|
|
3117
|
-
Function
|
|
3656
|
+
Function 423: GenMeshHeightmap() (2 input parameters)
|
|
3118
3657
|
Name: GenMeshHeightmap
|
|
3119
3658
|
Return type: Mesh
|
|
3120
3659
|
Description: Generate heightmap mesh from image data
|
|
3121
3660
|
Param[1]: heightmap (type: Image)
|
|
3122
3661
|
Param[2]: size (type: Vector3)
|
|
3123
|
-
Function
|
|
3662
|
+
Function 424: GenMeshCubicmap() (2 input parameters)
|
|
3124
3663
|
Name: GenMeshCubicmap
|
|
3125
3664
|
Return type: Mesh
|
|
3126
3665
|
Description: Generate cubes-based map mesh from image data
|
|
3127
3666
|
Param[1]: cubicmap (type: Image)
|
|
3128
3667
|
Param[2]: cubeSize (type: Vector3)
|
|
3129
|
-
Function
|
|
3130
|
-
Name:
|
|
3131
|
-
Return type:
|
|
3132
|
-
Description:
|
|
3133
|
-
Param[1]:
|
|
3134
|
-
|
|
3135
|
-
|
|
3668
|
+
Function 425: LoadMaterials() (2 input parameters)
|
|
3669
|
+
Name: LoadMaterials
|
|
3670
|
+
Return type: Material *
|
|
3671
|
+
Description: Load materials from model file
|
|
3672
|
+
Param[1]: fileName (type: const char *)
|
|
3673
|
+
Param[2]: materialCount (type: int *)
|
|
3674
|
+
Function 426: LoadMaterialDefault() (0 input parameters)
|
|
3675
|
+
Name: LoadMaterialDefault
|
|
3676
|
+
Return type: Material
|
|
3677
|
+
Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
|
|
3678
|
+
No input parameters
|
|
3679
|
+
Function 427: UnloadMaterial() (1 input parameters)
|
|
3680
|
+
Name: UnloadMaterial
|
|
3136
3681
|
Return type: void
|
|
3137
|
-
Description:
|
|
3138
|
-
Param[1]:
|
|
3139
|
-
Function
|
|
3140
|
-
Name:
|
|
3682
|
+
Description: Unload material from GPU memory (VRAM)
|
|
3683
|
+
Param[1]: material (type: Material)
|
|
3684
|
+
Function 428: SetMaterialTexture() (3 input parameters)
|
|
3685
|
+
Name: SetMaterialTexture
|
|
3141
3686
|
Return type: void
|
|
3142
|
-
Description:
|
|
3143
|
-
Param[1]:
|
|
3144
|
-
|
|
3145
|
-
|
|
3687
|
+
Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
|
|
3688
|
+
Param[1]: material (type: Material *)
|
|
3689
|
+
Param[2]: mapType (type: int)
|
|
3690
|
+
Param[3]: texture (type: Texture2D)
|
|
3691
|
+
Function 429: SetModelMeshMaterial() (3 input parameters)
|
|
3692
|
+
Name: SetModelMeshMaterial
|
|
3146
3693
|
Return type: void
|
|
3147
|
-
Description:
|
|
3148
|
-
Param[1]: model (type: Model)
|
|
3149
|
-
Param[2]:
|
|
3150
|
-
Param[3]:
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3694
|
+
Description: Set material for a mesh
|
|
3695
|
+
Param[1]: model (type: Model *)
|
|
3696
|
+
Param[2]: meshId (type: int)
|
|
3697
|
+
Param[3]: materialId (type: int)
|
|
3698
|
+
Function 430: LoadModelAnimations() (2 input parameters)
|
|
3699
|
+
Name: LoadModelAnimations
|
|
3700
|
+
Return type: ModelAnimation *
|
|
3701
|
+
Description: Load model animations from file
|
|
3702
|
+
Param[1]: fileName (type: const char *)
|
|
3703
|
+
Param[2]: animCount (type: unsigned int *)
|
|
3704
|
+
Function 431: UpdateModelAnimation() (3 input parameters)
|
|
3705
|
+
Name: UpdateModelAnimation
|
|
3154
3706
|
Return type: void
|
|
3155
|
-
Description:
|
|
3707
|
+
Description: Update model animation pose
|
|
3156
3708
|
Param[1]: model (type: Model)
|
|
3157
|
-
Param[2]:
|
|
3158
|
-
Param[3]:
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
Param[6]: tint (type: Color)
|
|
3162
|
-
Function 403: DrawModelWires() (4 input parameters)
|
|
3163
|
-
Name: DrawModelWires
|
|
3709
|
+
Param[2]: anim (type: ModelAnimation)
|
|
3710
|
+
Param[3]: frame (type: int)
|
|
3711
|
+
Function 432: UnloadModelAnimation() (1 input parameters)
|
|
3712
|
+
Name: UnloadModelAnimation
|
|
3164
3713
|
Return type: void
|
|
3165
|
-
Description:
|
|
3166
|
-
Param[1]:
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
Param[4]: tint (type: Color)
|
|
3170
|
-
Function 404: DrawModelWiresEx() (6 input parameters)
|
|
3171
|
-
Name: DrawModelWiresEx
|
|
3714
|
+
Description: Unload animation data
|
|
3715
|
+
Param[1]: anim (type: ModelAnimation)
|
|
3716
|
+
Function 433: UnloadModelAnimations() (2 input parameters)
|
|
3717
|
+
Name: UnloadModelAnimations
|
|
3172
3718
|
Return type: void
|
|
3173
|
-
Description:
|
|
3719
|
+
Description: Unload animation array data
|
|
3720
|
+
Param[1]: animations (type: ModelAnimation *)
|
|
3721
|
+
Param[2]: count (type: unsigned int)
|
|
3722
|
+
Function 434: IsModelAnimationValid() (2 input parameters)
|
|
3723
|
+
Name: IsModelAnimationValid
|
|
3724
|
+
Return type: bool
|
|
3725
|
+
Description: Check model animation skeleton match
|
|
3174
3726
|
Param[1]: model (type: Model)
|
|
3175
|
-
Param[2]:
|
|
3176
|
-
|
|
3177
|
-
Param[4]: rotationAngle (type: float)
|
|
3178
|
-
Param[5]: scale (type: Vector3)
|
|
3179
|
-
Param[6]: tint (type: Color)
|
|
3180
|
-
Function 405: DrawBoundingBox() (2 input parameters)
|
|
3181
|
-
Name: DrawBoundingBox
|
|
3182
|
-
Return type: void
|
|
3183
|
-
Description: Draw bounding box (wires)
|
|
3184
|
-
Param[1]: box (type: BoundingBox)
|
|
3185
|
-
Param[2]: color (type: Color)
|
|
3186
|
-
Function 406: DrawBillboard() (5 input parameters)
|
|
3187
|
-
Name: DrawBillboard
|
|
3188
|
-
Return type: void
|
|
3189
|
-
Description: Draw a billboard texture
|
|
3190
|
-
Param[1]: camera (type: Camera)
|
|
3191
|
-
Param[2]: texture (type: Texture2D)
|
|
3192
|
-
Param[3]: position (type: Vector3)
|
|
3193
|
-
Param[4]: size (type: float)
|
|
3194
|
-
Param[5]: tint (type: Color)
|
|
3195
|
-
Function 407: DrawBillboardRec() (6 input parameters)
|
|
3196
|
-
Name: DrawBillboardRec
|
|
3197
|
-
Return type: void
|
|
3198
|
-
Description: Draw a billboard texture defined by source
|
|
3199
|
-
Param[1]: camera (type: Camera)
|
|
3200
|
-
Param[2]: texture (type: Texture2D)
|
|
3201
|
-
Param[3]: source (type: Rectangle)
|
|
3202
|
-
Param[4]: position (type: Vector3)
|
|
3203
|
-
Param[5]: size (type: Vector2)
|
|
3204
|
-
Param[6]: tint (type: Color)
|
|
3205
|
-
Function 408: DrawBillboardPro() (8 input parameters)
|
|
3206
|
-
Name: DrawBillboardPro
|
|
3207
|
-
Return type: void
|
|
3208
|
-
Description: Draw a billboard texture defined by source and rotation
|
|
3209
|
-
Param[1]: camera (type: Camera)
|
|
3210
|
-
Param[2]: texture (type: Texture2D)
|
|
3211
|
-
Param[3]: source (type: Rectangle)
|
|
3212
|
-
Param[4]: position (type: Vector3)
|
|
3213
|
-
Param[5]: size (type: Vector2)
|
|
3214
|
-
Param[6]: origin (type: Vector2)
|
|
3215
|
-
Param[7]: rotation (type: float)
|
|
3216
|
-
Param[8]: tint (type: Color)
|
|
3217
|
-
Function 409: CheckCollisionSpheres() (4 input parameters)
|
|
3727
|
+
Param[2]: anim (type: ModelAnimation)
|
|
3728
|
+
Function 435: CheckCollisionSpheres() (4 input parameters)
|
|
3218
3729
|
Name: CheckCollisionSpheres
|
|
3219
3730
|
Return type: bool
|
|
3220
3731
|
Description: Check collision between two spheres
|
|
@@ -3222,46 +3733,40 @@ Function 409: CheckCollisionSpheres() (4 input parameters)
|
|
|
3222
3733
|
Param[2]: radius1 (type: float)
|
|
3223
3734
|
Param[3]: center2 (type: Vector3)
|
|
3224
3735
|
Param[4]: radius2 (type: float)
|
|
3225
|
-
Function
|
|
3736
|
+
Function 436: CheckCollisionBoxes() (2 input parameters)
|
|
3226
3737
|
Name: CheckCollisionBoxes
|
|
3227
3738
|
Return type: bool
|
|
3228
3739
|
Description: Check collision between two bounding boxes
|
|
3229
3740
|
Param[1]: box1 (type: BoundingBox)
|
|
3230
3741
|
Param[2]: box2 (type: BoundingBox)
|
|
3231
|
-
Function
|
|
3742
|
+
Function 437: CheckCollisionBoxSphere() (3 input parameters)
|
|
3232
3743
|
Name: CheckCollisionBoxSphere
|
|
3233
3744
|
Return type: bool
|
|
3234
3745
|
Description: Check collision between box and sphere
|
|
3235
3746
|
Param[1]: box (type: BoundingBox)
|
|
3236
3747
|
Param[2]: center (type: Vector3)
|
|
3237
3748
|
Param[3]: radius (type: float)
|
|
3238
|
-
Function
|
|
3749
|
+
Function 438: GetRayCollisionSphere() (3 input parameters)
|
|
3239
3750
|
Name: GetRayCollisionSphere
|
|
3240
3751
|
Return type: RayCollision
|
|
3241
3752
|
Description: Get collision info between ray and sphere
|
|
3242
3753
|
Param[1]: ray (type: Ray)
|
|
3243
3754
|
Param[2]: center (type: Vector3)
|
|
3244
3755
|
Param[3]: radius (type: float)
|
|
3245
|
-
Function
|
|
3756
|
+
Function 439: GetRayCollisionBox() (2 input parameters)
|
|
3246
3757
|
Name: GetRayCollisionBox
|
|
3247
3758
|
Return type: RayCollision
|
|
3248
3759
|
Description: Get collision info between ray and box
|
|
3249
3760
|
Param[1]: ray (type: Ray)
|
|
3250
3761
|
Param[2]: box (type: BoundingBox)
|
|
3251
|
-
Function
|
|
3252
|
-
Name: GetRayCollisionModel
|
|
3253
|
-
Return type: RayCollision
|
|
3254
|
-
Description: Get collision info between ray and model
|
|
3255
|
-
Param[1]: ray (type: Ray)
|
|
3256
|
-
Param[2]: model (type: Model)
|
|
3257
|
-
Function 415: GetRayCollisionMesh() (3 input parameters)
|
|
3762
|
+
Function 440: GetRayCollisionMesh() (3 input parameters)
|
|
3258
3763
|
Name: GetRayCollisionMesh
|
|
3259
3764
|
Return type: RayCollision
|
|
3260
3765
|
Description: Get collision info between ray and mesh
|
|
3261
3766
|
Param[1]: ray (type: Ray)
|
|
3262
3767
|
Param[2]: mesh (type: Mesh)
|
|
3263
3768
|
Param[3]: transform (type: Matrix)
|
|
3264
|
-
Function
|
|
3769
|
+
Function 441: GetRayCollisionTriangle() (4 input parameters)
|
|
3265
3770
|
Name: GetRayCollisionTriangle
|
|
3266
3771
|
Return type: RayCollision
|
|
3267
3772
|
Description: Get collision info between ray and triangle
|
|
@@ -3269,7 +3774,7 @@ Function 416: GetRayCollisionTriangle() (4 input parameters)
|
|
|
3269
3774
|
Param[2]: p1 (type: Vector3)
|
|
3270
3775
|
Param[3]: p2 (type: Vector3)
|
|
3271
3776
|
Param[4]: p3 (type: Vector3)
|
|
3272
|
-
Function
|
|
3777
|
+
Function 442: GetRayCollisionQuad() (5 input parameters)
|
|
3273
3778
|
Name: GetRayCollisionQuad
|
|
3274
3779
|
Return type: RayCollision
|
|
3275
3780
|
Description: Get collision info between ray and quad
|
|
@@ -3278,291 +3783,333 @@ Function 417: GetRayCollisionQuad() (5 input parameters)
|
|
|
3278
3783
|
Param[3]: p2 (type: Vector3)
|
|
3279
3784
|
Param[4]: p3 (type: Vector3)
|
|
3280
3785
|
Param[5]: p4 (type: Vector3)
|
|
3281
|
-
Function
|
|
3786
|
+
Function 443: InitAudioDevice() (0 input parameters)
|
|
3282
3787
|
Name: InitAudioDevice
|
|
3283
3788
|
Return type: void
|
|
3284
3789
|
Description: Initialize audio device and context
|
|
3285
3790
|
No input parameters
|
|
3286
|
-
Function
|
|
3791
|
+
Function 444: CloseAudioDevice() (0 input parameters)
|
|
3287
3792
|
Name: CloseAudioDevice
|
|
3288
3793
|
Return type: void
|
|
3289
3794
|
Description: Close the audio device and context
|
|
3290
3795
|
No input parameters
|
|
3291
|
-
Function
|
|
3796
|
+
Function 445: IsAudioDeviceReady() (0 input parameters)
|
|
3292
3797
|
Name: IsAudioDeviceReady
|
|
3293
3798
|
Return type: bool
|
|
3294
3799
|
Description: Check if audio device has been initialized successfully
|
|
3295
3800
|
No input parameters
|
|
3296
|
-
Function
|
|
3801
|
+
Function 446: SetMasterVolume() (1 input parameters)
|
|
3297
3802
|
Name: SetMasterVolume
|
|
3298
3803
|
Return type: void
|
|
3299
3804
|
Description: Set master volume (listener)
|
|
3300
3805
|
Param[1]: volume (type: float)
|
|
3301
|
-
Function
|
|
3806
|
+
Function 447: LoadWave() (1 input parameters)
|
|
3302
3807
|
Name: LoadWave
|
|
3303
3808
|
Return type: Wave
|
|
3304
3809
|
Description: Load wave data from file
|
|
3305
3810
|
Param[1]: fileName (type: const char *)
|
|
3306
|
-
Function
|
|
3811
|
+
Function 448: LoadWaveFromMemory() (3 input parameters)
|
|
3307
3812
|
Name: LoadWaveFromMemory
|
|
3308
3813
|
Return type: Wave
|
|
3309
3814
|
Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav'
|
|
3310
3815
|
Param[1]: fileType (type: const char *)
|
|
3311
3816
|
Param[2]: fileData (type: const unsigned char *)
|
|
3312
3817
|
Param[3]: dataSize (type: int)
|
|
3313
|
-
Function
|
|
3818
|
+
Function 449: LoadSound() (1 input parameters)
|
|
3314
3819
|
Name: LoadSound
|
|
3315
3820
|
Return type: Sound
|
|
3316
3821
|
Description: Load sound from file
|
|
3317
3822
|
Param[1]: fileName (type: const char *)
|
|
3318
|
-
Function
|
|
3823
|
+
Function 450: LoadSoundFromWave() (1 input parameters)
|
|
3319
3824
|
Name: LoadSoundFromWave
|
|
3320
3825
|
Return type: Sound
|
|
3321
3826
|
Description: Load sound from wave data
|
|
3322
3827
|
Param[1]: wave (type: Wave)
|
|
3323
|
-
Function
|
|
3828
|
+
Function 451: UpdateSound() (3 input parameters)
|
|
3324
3829
|
Name: UpdateSound
|
|
3325
3830
|
Return type: void
|
|
3326
3831
|
Description: Update sound buffer with new data
|
|
3327
3832
|
Param[1]: sound (type: Sound)
|
|
3328
3833
|
Param[2]: data (type: const void *)
|
|
3329
|
-
Param[3]:
|
|
3330
|
-
Function
|
|
3834
|
+
Param[3]: sampleCount (type: int)
|
|
3835
|
+
Function 452: UnloadWave() (1 input parameters)
|
|
3331
3836
|
Name: UnloadWave
|
|
3332
3837
|
Return type: void
|
|
3333
3838
|
Description: Unload wave data
|
|
3334
3839
|
Param[1]: wave (type: Wave)
|
|
3335
|
-
Function
|
|
3840
|
+
Function 453: UnloadSound() (1 input parameters)
|
|
3336
3841
|
Name: UnloadSound
|
|
3337
3842
|
Return type: void
|
|
3338
3843
|
Description: Unload sound
|
|
3339
3844
|
Param[1]: sound (type: Sound)
|
|
3340
|
-
Function
|
|
3845
|
+
Function 454: ExportWave() (2 input parameters)
|
|
3341
3846
|
Name: ExportWave
|
|
3342
3847
|
Return type: bool
|
|
3343
3848
|
Description: Export wave data to file, returns true on success
|
|
3344
3849
|
Param[1]: wave (type: Wave)
|
|
3345
3850
|
Param[2]: fileName (type: const char *)
|
|
3346
|
-
Function
|
|
3851
|
+
Function 455: ExportWaveAsCode() (2 input parameters)
|
|
3347
3852
|
Name: ExportWaveAsCode
|
|
3348
3853
|
Return type: bool
|
|
3349
3854
|
Description: Export wave sample data to code (.h), returns true on success
|
|
3350
3855
|
Param[1]: wave (type: Wave)
|
|
3351
3856
|
Param[2]: fileName (type: const char *)
|
|
3352
|
-
Function
|
|
3857
|
+
Function 456: PlaySound() (1 input parameters)
|
|
3353
3858
|
Name: PlaySound
|
|
3354
3859
|
Return type: void
|
|
3355
3860
|
Description: Play a sound
|
|
3356
3861
|
Param[1]: sound (type: Sound)
|
|
3357
|
-
Function
|
|
3862
|
+
Function 457: StopSound() (1 input parameters)
|
|
3358
3863
|
Name: StopSound
|
|
3359
3864
|
Return type: void
|
|
3360
3865
|
Description: Stop playing a sound
|
|
3361
3866
|
Param[1]: sound (type: Sound)
|
|
3362
|
-
Function
|
|
3867
|
+
Function 458: PauseSound() (1 input parameters)
|
|
3363
3868
|
Name: PauseSound
|
|
3364
3869
|
Return type: void
|
|
3365
3870
|
Description: Pause a sound
|
|
3366
3871
|
Param[1]: sound (type: Sound)
|
|
3367
|
-
Function
|
|
3872
|
+
Function 459: ResumeSound() (1 input parameters)
|
|
3368
3873
|
Name: ResumeSound
|
|
3369
3874
|
Return type: void
|
|
3370
3875
|
Description: Resume a paused sound
|
|
3371
3876
|
Param[1]: sound (type: Sound)
|
|
3372
|
-
Function
|
|
3877
|
+
Function 460: PlaySoundMulti() (1 input parameters)
|
|
3373
3878
|
Name: PlaySoundMulti
|
|
3374
3879
|
Return type: void
|
|
3375
3880
|
Description: Play a sound (using multichannel buffer pool)
|
|
3376
3881
|
Param[1]: sound (type: Sound)
|
|
3377
|
-
Function
|
|
3882
|
+
Function 461: StopSoundMulti() (0 input parameters)
|
|
3378
3883
|
Name: StopSoundMulti
|
|
3379
3884
|
Return type: void
|
|
3380
3885
|
Description: Stop any sound playing (using multichannel buffer pool)
|
|
3381
3886
|
No input parameters
|
|
3382
|
-
Function
|
|
3887
|
+
Function 462: GetSoundsPlaying() (0 input parameters)
|
|
3383
3888
|
Name: GetSoundsPlaying
|
|
3384
3889
|
Return type: int
|
|
3385
3890
|
Description: Get number of sounds playing in the multichannel
|
|
3386
3891
|
No input parameters
|
|
3387
|
-
Function
|
|
3892
|
+
Function 463: IsSoundPlaying() (1 input parameters)
|
|
3388
3893
|
Name: IsSoundPlaying
|
|
3389
3894
|
Return type: bool
|
|
3390
3895
|
Description: Check if a sound is currently playing
|
|
3391
3896
|
Param[1]: sound (type: Sound)
|
|
3392
|
-
Function
|
|
3897
|
+
Function 464: SetSoundVolume() (2 input parameters)
|
|
3393
3898
|
Name: SetSoundVolume
|
|
3394
3899
|
Return type: void
|
|
3395
3900
|
Description: Set volume for a sound (1.0 is max level)
|
|
3396
3901
|
Param[1]: sound (type: Sound)
|
|
3397
3902
|
Param[2]: volume (type: float)
|
|
3398
|
-
Function
|
|
3903
|
+
Function 465: SetSoundPitch() (2 input parameters)
|
|
3399
3904
|
Name: SetSoundPitch
|
|
3400
3905
|
Return type: void
|
|
3401
3906
|
Description: Set pitch for a sound (1.0 is base level)
|
|
3402
3907
|
Param[1]: sound (type: Sound)
|
|
3403
3908
|
Param[2]: pitch (type: float)
|
|
3404
|
-
Function
|
|
3405
|
-
Name:
|
|
3909
|
+
Function 466: SetSoundPan() (2 input parameters)
|
|
3910
|
+
Name: SetSoundPan
|
|
3406
3911
|
Return type: void
|
|
3407
|
-
Description:
|
|
3408
|
-
Param[1]:
|
|
3409
|
-
Param[2]:
|
|
3410
|
-
|
|
3411
|
-
Param[4]: channels (type: int)
|
|
3412
|
-
Function 442: WaveCopy() (1 input parameters)
|
|
3912
|
+
Description: Set pan for a sound (0.5 is center)
|
|
3913
|
+
Param[1]: sound (type: Sound)
|
|
3914
|
+
Param[2]: pan (type: float)
|
|
3915
|
+
Function 467: WaveCopy() (1 input parameters)
|
|
3413
3916
|
Name: WaveCopy
|
|
3414
3917
|
Return type: Wave
|
|
3415
3918
|
Description: Copy a wave to a new wave
|
|
3416
3919
|
Param[1]: wave (type: Wave)
|
|
3417
|
-
Function
|
|
3920
|
+
Function 468: WaveCrop() (3 input parameters)
|
|
3418
3921
|
Name: WaveCrop
|
|
3419
3922
|
Return type: void
|
|
3420
3923
|
Description: Crop a wave to defined samples range
|
|
3421
3924
|
Param[1]: wave (type: Wave *)
|
|
3422
3925
|
Param[2]: initSample (type: int)
|
|
3423
3926
|
Param[3]: finalSample (type: int)
|
|
3424
|
-
Function
|
|
3927
|
+
Function 469: WaveFormat() (4 input parameters)
|
|
3928
|
+
Name: WaveFormat
|
|
3929
|
+
Return type: void
|
|
3930
|
+
Description: Convert wave data to desired format
|
|
3931
|
+
Param[1]: wave (type: Wave *)
|
|
3932
|
+
Param[2]: sampleRate (type: int)
|
|
3933
|
+
Param[3]: sampleSize (type: int)
|
|
3934
|
+
Param[4]: channels (type: int)
|
|
3935
|
+
Function 470: LoadWaveSamples() (1 input parameters)
|
|
3425
3936
|
Name: LoadWaveSamples
|
|
3426
3937
|
Return type: float *
|
|
3427
|
-
Description: Load samples data from wave as a
|
|
3938
|
+
Description: Load samples data from wave as a 32bit float data array
|
|
3428
3939
|
Param[1]: wave (type: Wave)
|
|
3429
|
-
Function
|
|
3940
|
+
Function 471: UnloadWaveSamples() (1 input parameters)
|
|
3430
3941
|
Name: UnloadWaveSamples
|
|
3431
3942
|
Return type: void
|
|
3432
3943
|
Description: Unload samples data loaded with LoadWaveSamples()
|
|
3433
3944
|
Param[1]: samples (type: float *)
|
|
3434
|
-
Function
|
|
3945
|
+
Function 472: LoadMusicStream() (1 input parameters)
|
|
3435
3946
|
Name: LoadMusicStream
|
|
3436
3947
|
Return type: Music
|
|
3437
3948
|
Description: Load music stream from file
|
|
3438
3949
|
Param[1]: fileName (type: const char *)
|
|
3439
|
-
Function
|
|
3950
|
+
Function 473: LoadMusicStreamFromMemory() (3 input parameters)
|
|
3440
3951
|
Name: LoadMusicStreamFromMemory
|
|
3441
3952
|
Return type: Music
|
|
3442
3953
|
Description: Load music stream from data
|
|
3443
3954
|
Param[1]: fileType (type: const char *)
|
|
3444
|
-
Param[2]: data (type: unsigned char *)
|
|
3955
|
+
Param[2]: data (type: const unsigned char *)
|
|
3445
3956
|
Param[3]: dataSize (type: int)
|
|
3446
|
-
Function
|
|
3957
|
+
Function 474: UnloadMusicStream() (1 input parameters)
|
|
3447
3958
|
Name: UnloadMusicStream
|
|
3448
3959
|
Return type: void
|
|
3449
3960
|
Description: Unload music stream
|
|
3450
3961
|
Param[1]: music (type: Music)
|
|
3451
|
-
Function
|
|
3962
|
+
Function 475: PlayMusicStream() (1 input parameters)
|
|
3452
3963
|
Name: PlayMusicStream
|
|
3453
3964
|
Return type: void
|
|
3454
3965
|
Description: Start music playing
|
|
3455
3966
|
Param[1]: music (type: Music)
|
|
3456
|
-
Function
|
|
3967
|
+
Function 476: IsMusicStreamPlaying() (1 input parameters)
|
|
3457
3968
|
Name: IsMusicStreamPlaying
|
|
3458
3969
|
Return type: bool
|
|
3459
3970
|
Description: Check if music is playing
|
|
3460
3971
|
Param[1]: music (type: Music)
|
|
3461
|
-
Function
|
|
3972
|
+
Function 477: UpdateMusicStream() (1 input parameters)
|
|
3462
3973
|
Name: UpdateMusicStream
|
|
3463
3974
|
Return type: void
|
|
3464
3975
|
Description: Updates buffers for music streaming
|
|
3465
3976
|
Param[1]: music (type: Music)
|
|
3466
|
-
Function
|
|
3977
|
+
Function 478: StopMusicStream() (1 input parameters)
|
|
3467
3978
|
Name: StopMusicStream
|
|
3468
3979
|
Return type: void
|
|
3469
3980
|
Description: Stop music playing
|
|
3470
3981
|
Param[1]: music (type: Music)
|
|
3471
|
-
Function
|
|
3982
|
+
Function 479: PauseMusicStream() (1 input parameters)
|
|
3472
3983
|
Name: PauseMusicStream
|
|
3473
3984
|
Return type: void
|
|
3474
3985
|
Description: Pause music playing
|
|
3475
3986
|
Param[1]: music (type: Music)
|
|
3476
|
-
Function
|
|
3987
|
+
Function 480: ResumeMusicStream() (1 input parameters)
|
|
3477
3988
|
Name: ResumeMusicStream
|
|
3478
3989
|
Return type: void
|
|
3479
3990
|
Description: Resume playing paused music
|
|
3480
3991
|
Param[1]: music (type: Music)
|
|
3481
|
-
Function
|
|
3992
|
+
Function 481: SeekMusicStream() (2 input parameters)
|
|
3993
|
+
Name: SeekMusicStream
|
|
3994
|
+
Return type: void
|
|
3995
|
+
Description: Seek music to a position (in seconds)
|
|
3996
|
+
Param[1]: music (type: Music)
|
|
3997
|
+
Param[2]: position (type: float)
|
|
3998
|
+
Function 482: SetMusicVolume() (2 input parameters)
|
|
3482
3999
|
Name: SetMusicVolume
|
|
3483
4000
|
Return type: void
|
|
3484
4001
|
Description: Set volume for music (1.0 is max level)
|
|
3485
4002
|
Param[1]: music (type: Music)
|
|
3486
4003
|
Param[2]: volume (type: float)
|
|
3487
|
-
Function
|
|
4004
|
+
Function 483: SetMusicPitch() (2 input parameters)
|
|
3488
4005
|
Name: SetMusicPitch
|
|
3489
4006
|
Return type: void
|
|
3490
4007
|
Description: Set pitch for a music (1.0 is base level)
|
|
3491
4008
|
Param[1]: music (type: Music)
|
|
3492
4009
|
Param[2]: pitch (type: float)
|
|
3493
|
-
Function
|
|
4010
|
+
Function 484: SetMusicPan() (2 input parameters)
|
|
4011
|
+
Name: SetMusicPan
|
|
4012
|
+
Return type: void
|
|
4013
|
+
Description: Set pan for a music (0.5 is center)
|
|
4014
|
+
Param[1]: music (type: Music)
|
|
4015
|
+
Param[2]: pan (type: float)
|
|
4016
|
+
Function 485: GetMusicTimeLength() (1 input parameters)
|
|
3494
4017
|
Name: GetMusicTimeLength
|
|
3495
4018
|
Return type: float
|
|
3496
4019
|
Description: Get music time length (in seconds)
|
|
3497
4020
|
Param[1]: music (type: Music)
|
|
3498
|
-
Function
|
|
4021
|
+
Function 486: GetMusicTimePlayed() (1 input parameters)
|
|
3499
4022
|
Name: GetMusicTimePlayed
|
|
3500
4023
|
Return type: float
|
|
3501
4024
|
Description: Get current music time played (in seconds)
|
|
3502
4025
|
Param[1]: music (type: Music)
|
|
3503
|
-
Function
|
|
4026
|
+
Function 487: LoadAudioStream() (3 input parameters)
|
|
3504
4027
|
Name: LoadAudioStream
|
|
3505
4028
|
Return type: AudioStream
|
|
3506
4029
|
Description: Load audio stream (to stream raw audio pcm data)
|
|
3507
4030
|
Param[1]: sampleRate (type: unsigned int)
|
|
3508
4031
|
Param[2]: sampleSize (type: unsigned int)
|
|
3509
4032
|
Param[3]: channels (type: unsigned int)
|
|
3510
|
-
Function
|
|
4033
|
+
Function 488: UnloadAudioStream() (1 input parameters)
|
|
3511
4034
|
Name: UnloadAudioStream
|
|
3512
4035
|
Return type: void
|
|
3513
4036
|
Description: Unload audio stream and free memory
|
|
3514
4037
|
Param[1]: stream (type: AudioStream)
|
|
3515
|
-
Function
|
|
4038
|
+
Function 489: UpdateAudioStream() (3 input parameters)
|
|
3516
4039
|
Name: UpdateAudioStream
|
|
3517
4040
|
Return type: void
|
|
3518
4041
|
Description: Update audio stream buffers with data
|
|
3519
4042
|
Param[1]: stream (type: AudioStream)
|
|
3520
4043
|
Param[2]: data (type: const void *)
|
|
3521
|
-
Param[3]:
|
|
3522
|
-
Function
|
|
4044
|
+
Param[3]: frameCount (type: int)
|
|
4045
|
+
Function 490: IsAudioStreamProcessed() (1 input parameters)
|
|
3523
4046
|
Name: IsAudioStreamProcessed
|
|
3524
4047
|
Return type: bool
|
|
3525
4048
|
Description: Check if any audio stream buffers requires refill
|
|
3526
4049
|
Param[1]: stream (type: AudioStream)
|
|
3527
|
-
Function
|
|
4050
|
+
Function 491: PlayAudioStream() (1 input parameters)
|
|
3528
4051
|
Name: PlayAudioStream
|
|
3529
4052
|
Return type: void
|
|
3530
4053
|
Description: Play audio stream
|
|
3531
4054
|
Param[1]: stream (type: AudioStream)
|
|
3532
|
-
Function
|
|
4055
|
+
Function 492: PauseAudioStream() (1 input parameters)
|
|
3533
4056
|
Name: PauseAudioStream
|
|
3534
4057
|
Return type: void
|
|
3535
4058
|
Description: Pause audio stream
|
|
3536
4059
|
Param[1]: stream (type: AudioStream)
|
|
3537
|
-
Function
|
|
4060
|
+
Function 493: ResumeAudioStream() (1 input parameters)
|
|
3538
4061
|
Name: ResumeAudioStream
|
|
3539
4062
|
Return type: void
|
|
3540
4063
|
Description: Resume audio stream
|
|
3541
4064
|
Param[1]: stream (type: AudioStream)
|
|
3542
|
-
Function
|
|
4065
|
+
Function 494: IsAudioStreamPlaying() (1 input parameters)
|
|
3543
4066
|
Name: IsAudioStreamPlaying
|
|
3544
4067
|
Return type: bool
|
|
3545
4068
|
Description: Check if audio stream is playing
|
|
3546
4069
|
Param[1]: stream (type: AudioStream)
|
|
3547
|
-
Function
|
|
4070
|
+
Function 495: StopAudioStream() (1 input parameters)
|
|
3548
4071
|
Name: StopAudioStream
|
|
3549
4072
|
Return type: void
|
|
3550
4073
|
Description: Stop audio stream
|
|
3551
4074
|
Param[1]: stream (type: AudioStream)
|
|
3552
|
-
Function
|
|
4075
|
+
Function 496: SetAudioStreamVolume() (2 input parameters)
|
|
3553
4076
|
Name: SetAudioStreamVolume
|
|
3554
4077
|
Return type: void
|
|
3555
4078
|
Description: Set volume for audio stream (1.0 is max level)
|
|
3556
4079
|
Param[1]: stream (type: AudioStream)
|
|
3557
4080
|
Param[2]: volume (type: float)
|
|
3558
|
-
Function
|
|
4081
|
+
Function 497: SetAudioStreamPitch() (2 input parameters)
|
|
3559
4082
|
Name: SetAudioStreamPitch
|
|
3560
4083
|
Return type: void
|
|
3561
4084
|
Description: Set pitch for audio stream (1.0 is base level)
|
|
3562
4085
|
Param[1]: stream (type: AudioStream)
|
|
3563
4086
|
Param[2]: pitch (type: float)
|
|
3564
|
-
Function
|
|
4087
|
+
Function 498: SetAudioStreamPan() (2 input parameters)
|
|
4088
|
+
Name: SetAudioStreamPan
|
|
4089
|
+
Return type: void
|
|
4090
|
+
Description: Set pan for audio stream (0.5 is centered)
|
|
4091
|
+
Param[1]: stream (type: AudioStream)
|
|
4092
|
+
Param[2]: pan (type: float)
|
|
4093
|
+
Function 499: SetAudioStreamBufferSizeDefault() (1 input parameters)
|
|
3565
4094
|
Name: SetAudioStreamBufferSizeDefault
|
|
3566
4095
|
Return type: void
|
|
3567
4096
|
Description: Default size for new audio streams
|
|
3568
4097
|
Param[1]: size (type: int)
|
|
4098
|
+
Function 500: SetAudioStreamCallback() (2 input parameters)
|
|
4099
|
+
Name: SetAudioStreamCallback
|
|
4100
|
+
Return type: void
|
|
4101
|
+
Description: Audio thread callback to request new data
|
|
4102
|
+
Param[1]: stream (type: AudioStream)
|
|
4103
|
+
Param[2]: callback (type: AudioCallback)
|
|
4104
|
+
Function 501: AttachAudioStreamProcessor() (2 input parameters)
|
|
4105
|
+
Name: AttachAudioStreamProcessor
|
|
4106
|
+
Return type: void
|
|
4107
|
+
Description:
|
|
4108
|
+
Param[1]: stream (type: AudioStream)
|
|
4109
|
+
Param[2]: processor (type: AudioCallback)
|
|
4110
|
+
Function 502: DetachAudioStreamProcessor() (2 input parameters)
|
|
4111
|
+
Name: DetachAudioStreamProcessor
|
|
4112
|
+
Return type: void
|
|
4113
|
+
Description:
|
|
4114
|
+
Param[1]: stream (type: AudioStream)
|
|
4115
|
+
Param[2]: processor (type: AudioCallback)
|