From 376cc5150a6cf931bfe361a9906541c6ab3ad626 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Thu, 19 Jan 2023 13:48:30 -0500 Subject: [PATCH 1/6] Updates --- _audio_device_8hpp_source.html | 134 ++ _audio_stream_8hpp_source.html | 267 +++ _bounding_box_8hpp_source.html | 157 ++ _camera2_d_8hpp_source.html | 150 ++ _camera3_d_8hpp_source.html | 220 ++ _color_8hpp_source.html | 301 +++ _font_8hpp_source.html | 326 +++ _functions_8hpp_source.html | 373 ++++ _gamepad_8hpp_source.html | 180 ++ _image_8hpp_source.html | 650 ++++++ _material_8hpp_source.html | 195 ++ _matrix_8hpp_source.html | 305 +++ _mesh_8hpp_source.html | 326 +++ _model_8hpp_source.html | 304 +++ _model_animation_8hpp_source.html | 182 ++ _mouse_8hpp_source.html | 206 ++ _music_8hpp_source.html | 272 +++ _ray_8hpp_source.html | 168 ++ _ray_collision_8hpp_source.html | 149 ++ _raylib_exception_8hpp_source.html | 109 + _rectangle_8hpp_source.html | 233 +++ _render_texture_8hpp_source.html | 208 ++ _shader_8hpp_source.html | 225 +++ _sound_8hpp_source.html | 262 +++ _text_8hpp_source.html | 243 +++ _texture_8hpp_source.html | 147 ++ _texture_unmanaged_8hpp_source.html | 381 ++++ _touch_8hpp_source.html | 121 ++ _vector2_8hpp_source.html | 417 ++++ _vector3_8hpp_source.html | 392 ++++ _vector4_8hpp_source.html | 250 +++ _vr_stereo_config_8hpp_source.html | 147 ++ _wave_8hpp_source.html | 269 +++ _window_8hpp_source.html | 386 ++++ annotated.html | 114 ++ bc_s.png | Bin 0 -> 676 bytes bdwn.png | Bin 0 -> 147 bytes classes.html | 115 ++ classraylib_1_1_audio_device-members.html | 89 + classraylib_1_1_audio_device.html | 236 +++ classraylib_1_1_audio_stream-members.html | 119 ++ classraylib_1_1_audio_stream.html | 661 ++++++ classraylib_1_1_bounding_box-members.html | 97 + classraylib_1_1_bounding_box.html | 275 +++ classraylib_1_1_camera2_d-members.html | 100 + classraylib_1_1_camera2_d.html | 410 ++++ classraylib_1_1_camera3_d-members.html | 109 + classraylib_1_1_camera3_d.html | 581 ++++++ classraylib_1_1_color-members.html | 150 ++ classraylib_1_1_color.html | 581 ++++++ classraylib_1_1_font-members.html | 122 ++ classraylib_1_1_font.html | 911 +++++++++ classraylib_1_1_gamepad-members.html | 102 + classraylib_1_1_gamepad.html | 237 +++ classraylib_1_1_image-members.html | 182 ++ classraylib_1_1_image.html | 1593 +++++++++++++++ classraylib_1_1_material-members.html | 100 + classraylib_1_1_material.html | 285 +++ classraylib_1_1_matrix-members.html | 147 ++ classraylib_1_1_matrix.html | 1350 +++++++++++++ classraylib_1_1_mesh-members.html | 142 ++ classraylib_1_1_mesh.html | 1321 ++++++++++++ classraylib_1_1_model-members.html | 125 ++ classraylib_1_1_model.html | 897 +++++++++ classraylib_1_1_model_animation-members.html | 102 + classraylib_1_1_model_animation.html | 421 ++++ classraylib_1_1_mouse-members.html | 107 + classraylib_1_1_mouse.html | 238 +++ classraylib_1_1_music-members.html | 119 ++ classraylib_1_1_music.html | 766 +++++++ classraylib_1_1_ray-members.html | 99 + classraylib_1_1_ray.html | 287 +++ classraylib_1_1_ray_collision-members.html | 99 + classraylib_1_1_ray_collision.html | 412 ++++ classraylib_1_1_raylib_exception-members.html | 85 + classraylib_1_1_raylib_exception.html | 180 ++ classraylib_1_1_rectangle-members.html | 123 ++ classraylib_1_1_rectangle.html | 481 +++++ classraylib_1_1_render_texture-members.html | 104 + classraylib_1_1_render_texture.html | 233 +++ classraylib_1_1_shader-members.html | 109 + classraylib_1_1_shader.html | 640 ++++++ classraylib_1_1_sound-members.html | 113 ++ classraylib_1_1_sound.html | 517 +++++ classraylib_1_1_text-members.html | 110 + classraylib_1_1_text.html | 969 +++++++++ classraylib_1_1_texture-members.html | 146 ++ classraylib_1_1_texture.html | 417 ++++ ...sraylib_1_1_texture_unmanaged-members.html | 135 ++ classraylib_1_1_texture_unmanaged.html | 1659 +++++++++++++++ classraylib_1_1_touch-members.html | 88 + classraylib_1_1_touch.html | 114 ++ classraylib_1_1_vector2-members.html | 147 ++ classraylib_1_1_vector2.html | 470 +++++ classraylib_1_1_vector3-members.html | 149 ++ classraylib_1_1_vector3.html | 512 +++++ classraylib_1_1_vector4-members.html | 125 ++ classraylib_1_1_vector4.html | 487 +++++ classraylib_1_1_vr_stereo_config-members.html | 89 + classraylib_1_1_vr_stereo_config.html | 117 ++ classraylib_1_1_wave-members.html | 116 ++ classraylib_1_1_wave.html | 760 +++++++ classraylib_1_1_window-members.html | 133 ++ classraylib_1_1_window.html | 438 ++++ closed.png | Bin 0 -> 132 bytes dir_d44c64559bbebec7f509842c48db8b23.html | 80 + doc.png | Bin 0 -> 746 bytes doxygen.css | 1793 +++++++++++++++++ doxygen.svg | 26 + dynsections.js | 128 ++ folderclosed.png | Bin 0 -> 616 bytes folderopen.png | Bin 0 -> 597 bytes functions.html | 110 + functions_b.html | 89 + functions_c.html | 160 ++ functions_d.html | 142 ++ functions_e.html | 97 + functions_f.html | 104 + functions_func.html | 110 + functions_func_b.html | 89 + functions_func_c.html | 157 ++ functions_func_d.html | 142 ++ functions_func_e.html | 97 + functions_func_f.html | 98 + functions_func_g.html | 530 +++++ functions_func_h.html | 82 + functions_func_i.html | 159 ++ functions_func_k.html | 79 + functions_func_l.html | 125 ++ functions_func_m.html | 110 + functions_func_n.html | 84 + functions_func_o.html | 143 ++ functions_func_p.html | 95 + functions_func_r.html | 114 ++ functions_func_s.html | 502 +++++ functions_func_t.html | 116 ++ functions_func_u.html | 119 ++ functions_func_w.html | 85 + functions_func_z.html | 79 + functions_func_~.html | 97 + functions_g.html | 530 +++++ functions_h.html | 82 + functions_i.html | 159 ++ functions_k.html | 79 + functions_l.html | 125 ++ functions_m.html | 110 + functions_n.html | 84 + functions_o.html | 143 ++ functions_p.html | 95 + functions_r.html | 114 ++ functions_s.html | 505 +++++ functions_t.html | 119 ++ functions_u.html | 119 ++ functions_vars.html | 89 + functions_w.html | 85 + functions_z.html | 79 + functions_~.html | 97 + hierarchy.html | 115 ++ index.html | 146 ++ jquery.js | 35 + menu.js | 51 + menudata.js | 107 + namespacemembers.html | 261 +++ namespacemembers_func.html | 261 +++ namespaceraylib.html | 403 ++++ namespaces.html | 114 ++ nav_f.png | Bin 0 -> 153 bytes nav_g.png | Bin 0 -> 95 bytes nav_h.png | Bin 0 -> 98 bytes open.png | Bin 0 -> 123 bytes raylib-cpp-utils_8hpp_source.html | 93 + raylib-cpp_55x55.png | Bin 0 -> 1398 bytes raylib-cpp_8hpp_source.html | 125 ++ raylib_8hpp_source.html | 93 + raymath_8hpp_source.html | 105 + search/all_0.html | 37 + search/all_0.js | 14 + search/all_1.html | 37 + search/all_1.js | 6 + search/all_10.html | 37 + search/all_10.js | 135 ++ search/all_11.html | 37 + search/all_11.js | 31 + search/all_12.html | 37 + search/all_12.js | 13 + search/all_13.html | 37 + search/all_13.js | 7 + search/all_14.html | 37 + search/all_14.js | 6 + search/all_15.html | 37 + search/all_15.js | 4 + search/all_16.html | 37 + search/all_16.js | 10 + search/all_2.html | 37 + search/all_2.js | 30 + search/all_3.html | 37 + search/all_3.js | 25 + search/all_4.html | 37 + search/all_4.js | 10 + search/all_5.html | 37 + search/all_5.js | 13 + search/all_6.html | 37 + search/all_6.js | 150 ++ search/all_7.html | 37 + search/all_7.js | 5 + search/all_8.html | 37 + search/all_8.js | 27 + search/all_9.html | 37 + search/all_9.js | 4 + search/all_a.html | 37 + search/all_a.js | 24 + search/all_b.html | 37 + search/all_b.js | 18 + search/all_c.html | 37 + search/all_c.js | 5 + search/all_d.html | 37 + search/all_d.js | 24 + search/all_e.html | 37 + search/all_e.js | 8 + search/all_f.html | 37 + search/all_f.js | 19 + search/classes_0.html | 37 + search/classes_0.js | 5 + search/classes_1.html | 37 + search/classes_1.js | 4 + search/classes_2.html | 37 + search/classes_2.js | 6 + search/classes_3.html | 37 + search/classes_3.js | 4 + search/classes_4.html | 37 + search/classes_4.js | 4 + search/classes_5.html | 37 + search/classes_5.js | 4 + search/classes_6.html | 37 + search/classes_6.js | 10 + search/classes_7.html | 37 + search/classes_7.js | 8 + search/classes_8.html | 37 + search/classes_8.js | 5 + search/classes_9.html | 37 + search/classes_9.js | 7 + search/classes_a.html | 37 + search/classes_a.js | 7 + search/classes_b.html | 37 + search/classes_b.js | 5 + search/close.svg | 31 + search/functions_0.html | 37 + search/functions_0.js | 14 + search/functions_1.html | 37 + search/functions_1.js | 6 + search/functions_10.html | 37 + search/functions_10.js | 133 ++ search/functions_11.html | 37 + search/functions_11.js | 28 + search/functions_12.html | 37 + search/functions_12.js | 13 + search/functions_13.html | 37 + search/functions_13.js | 6 + search/functions_14.html | 37 + search/functions_14.js | 4 + search/functions_15.html | 37 + search/functions_15.js | 10 + search/functions_2.html | 37 + search/functions_2.js | 28 + search/functions_3.html | 37 + search/functions_3.js | 25 + search/functions_4.html | 37 + search/functions_4.js | 10 + search/functions_5.html | 37 + search/functions_5.js | 11 + search/functions_6.html | 37 + search/functions_6.js | 149 ++ search/functions_7.html | 37 + search/functions_7.js | 5 + search/functions_8.html | 37 + search/functions_8.js | 27 + search/functions_9.html | 37 + search/functions_9.js | 4 + search/functions_a.html | 37 + search/functions_a.js | 24 + search/functions_b.html | 37 + search/functions_b.js | 14 + search/functions_c.html | 37 + search/functions_c.js | 5 + search/functions_d.html | 37 + search/functions_d.js | 24 + search/functions_e.html | 37 + search/functions_e.js | 8 + search/functions_f.html | 37 + search/functions_f.js | 15 + search/mag_sel.svg | 74 + search/namespaces_0.html | 37 + search/namespaces_0.js | 4 + search/nomatches.html | 13 + search/pages_0.html | 37 + search/pages_0.js | 4 + search/search.css | 257 +++ search/search.js | 816 ++++++++ search/search_l.png | Bin 0 -> 567 bytes search/search_m.png | Bin 0 -> 158 bytes search/search_r.png | Bin 0 -> 553 bytes search/searchdata.js | 30 + search/variables_0.html | 37 + search/variables_0.js | 4 + search/variables_1.html | 37 + search/variables_1.js | 5 + search/variables_2.html | 37 + search/variables_2.js | 4 + search/variables_3.html | 37 + search/variables_3.js | 4 + splitbar.png | Bin 0 -> 314 bytes sync_off.png | Bin 0 -> 853 bytes sync_on.png | Bin 0 -> 845 bytes tab_a.png | Bin 0 -> 142 bytes tab_b.png | Bin 0 -> 169 bytes tab_h.png | Bin 0 -> 177 bytes tab_s.png | Bin 0 -> 184 bytes tabs.css | 1 + 318 files changed, 47484 insertions(+) create mode 100644 _audio_device_8hpp_source.html create mode 100644 _audio_stream_8hpp_source.html create mode 100644 _bounding_box_8hpp_source.html create mode 100644 _camera2_d_8hpp_source.html create mode 100644 _camera3_d_8hpp_source.html create mode 100644 _color_8hpp_source.html create mode 100644 _font_8hpp_source.html create mode 100644 _functions_8hpp_source.html create mode 100644 _gamepad_8hpp_source.html create mode 100644 _image_8hpp_source.html create mode 100644 _material_8hpp_source.html create mode 100644 _matrix_8hpp_source.html create mode 100644 _mesh_8hpp_source.html create mode 100644 _model_8hpp_source.html create mode 100644 _model_animation_8hpp_source.html create mode 100644 _mouse_8hpp_source.html create mode 100644 _music_8hpp_source.html create mode 100644 _ray_8hpp_source.html create mode 100644 _ray_collision_8hpp_source.html create mode 100644 _raylib_exception_8hpp_source.html create mode 100644 _rectangle_8hpp_source.html create mode 100644 _render_texture_8hpp_source.html create mode 100644 _shader_8hpp_source.html create mode 100644 _sound_8hpp_source.html create mode 100644 _text_8hpp_source.html create mode 100644 _texture_8hpp_source.html create mode 100644 _texture_unmanaged_8hpp_source.html create mode 100644 _touch_8hpp_source.html create mode 100644 _vector2_8hpp_source.html create mode 100644 _vector3_8hpp_source.html create mode 100644 _vector4_8hpp_source.html create mode 100644 _vr_stereo_config_8hpp_source.html create mode 100644 _wave_8hpp_source.html create mode 100644 _window_8hpp_source.html create mode 100644 annotated.html create mode 100644 bc_s.png create mode 100644 bdwn.png create mode 100644 classes.html create mode 100644 classraylib_1_1_audio_device-members.html create mode 100644 classraylib_1_1_audio_device.html create mode 100644 classraylib_1_1_audio_stream-members.html create mode 100644 classraylib_1_1_audio_stream.html create mode 100644 classraylib_1_1_bounding_box-members.html create mode 100644 classraylib_1_1_bounding_box.html create mode 100644 classraylib_1_1_camera2_d-members.html create mode 100644 classraylib_1_1_camera2_d.html create mode 100644 classraylib_1_1_camera3_d-members.html create mode 100644 classraylib_1_1_camera3_d.html create mode 100644 classraylib_1_1_color-members.html create mode 100644 classraylib_1_1_color.html create mode 100644 classraylib_1_1_font-members.html create mode 100644 classraylib_1_1_font.html create mode 100644 classraylib_1_1_gamepad-members.html create mode 100644 classraylib_1_1_gamepad.html create mode 100644 classraylib_1_1_image-members.html create mode 100644 classraylib_1_1_image.html create mode 100644 classraylib_1_1_material-members.html create mode 100644 classraylib_1_1_material.html create mode 100644 classraylib_1_1_matrix-members.html create mode 100644 classraylib_1_1_matrix.html create mode 100644 classraylib_1_1_mesh-members.html create mode 100644 classraylib_1_1_mesh.html create mode 100644 classraylib_1_1_model-members.html create mode 100644 classraylib_1_1_model.html create mode 100644 classraylib_1_1_model_animation-members.html create mode 100644 classraylib_1_1_model_animation.html create mode 100644 classraylib_1_1_mouse-members.html create mode 100644 classraylib_1_1_mouse.html create mode 100644 classraylib_1_1_music-members.html create mode 100644 classraylib_1_1_music.html create mode 100644 classraylib_1_1_ray-members.html create mode 100644 classraylib_1_1_ray.html create mode 100644 classraylib_1_1_ray_collision-members.html create mode 100644 classraylib_1_1_ray_collision.html create mode 100644 classraylib_1_1_raylib_exception-members.html create mode 100644 classraylib_1_1_raylib_exception.html create mode 100644 classraylib_1_1_rectangle-members.html create mode 100644 classraylib_1_1_rectangle.html create mode 100644 classraylib_1_1_render_texture-members.html create mode 100644 classraylib_1_1_render_texture.html create mode 100644 classraylib_1_1_shader-members.html create mode 100644 classraylib_1_1_shader.html create mode 100644 classraylib_1_1_sound-members.html create mode 100644 classraylib_1_1_sound.html create mode 100644 classraylib_1_1_text-members.html create mode 100644 classraylib_1_1_text.html create mode 100644 classraylib_1_1_texture-members.html create mode 100644 classraylib_1_1_texture.html create mode 100644 classraylib_1_1_texture_unmanaged-members.html create mode 100644 classraylib_1_1_texture_unmanaged.html create mode 100644 classraylib_1_1_touch-members.html create mode 100644 classraylib_1_1_touch.html create mode 100644 classraylib_1_1_vector2-members.html create mode 100644 classraylib_1_1_vector2.html create mode 100644 classraylib_1_1_vector3-members.html create mode 100644 classraylib_1_1_vector3.html create mode 100644 classraylib_1_1_vector4-members.html create mode 100644 classraylib_1_1_vector4.html create mode 100644 classraylib_1_1_vr_stereo_config-members.html create mode 100644 classraylib_1_1_vr_stereo_config.html create mode 100644 classraylib_1_1_wave-members.html create mode 100644 classraylib_1_1_wave.html create mode 100644 classraylib_1_1_window-members.html create mode 100644 classraylib_1_1_window.html create mode 100644 closed.png create mode 100644 dir_d44c64559bbebec7f509842c48db8b23.html create mode 100644 doc.png create mode 100644 doxygen.css create mode 100644 doxygen.svg create mode 100644 dynsections.js create mode 100644 folderclosed.png create mode 100644 folderopen.png create mode 100644 functions.html create mode 100644 functions_b.html create mode 100644 functions_c.html create mode 100644 functions_d.html create mode 100644 functions_e.html create mode 100644 functions_f.html create mode 100644 functions_func.html create mode 100644 functions_func_b.html create mode 100644 functions_func_c.html create mode 100644 functions_func_d.html create mode 100644 functions_func_e.html create mode 100644 functions_func_f.html create mode 100644 functions_func_g.html create mode 100644 functions_func_h.html create mode 100644 functions_func_i.html create mode 100644 functions_func_k.html create mode 100644 functions_func_l.html create mode 100644 functions_func_m.html create mode 100644 functions_func_n.html create mode 100644 functions_func_o.html create mode 100644 functions_func_p.html create mode 100644 functions_func_r.html create mode 100644 functions_func_s.html create mode 100644 functions_func_t.html create mode 100644 functions_func_u.html create mode 100644 functions_func_w.html create mode 100644 functions_func_z.html create mode 100644 functions_func_~.html create mode 100644 functions_g.html create mode 100644 functions_h.html create mode 100644 functions_i.html create mode 100644 functions_k.html create mode 100644 functions_l.html create mode 100644 functions_m.html create mode 100644 functions_n.html create mode 100644 functions_o.html create mode 100644 functions_p.html create mode 100644 functions_r.html create mode 100644 functions_s.html create mode 100644 functions_t.html create mode 100644 functions_u.html create mode 100644 functions_vars.html create mode 100644 functions_w.html create mode 100644 functions_z.html create mode 100644 functions_~.html create mode 100644 hierarchy.html create mode 100644 index.html create mode 100644 jquery.js create mode 100644 menu.js create mode 100644 menudata.js create mode 100644 namespacemembers.html create mode 100644 namespacemembers_func.html create mode 100644 namespaceraylib.html create mode 100644 namespaces.html create mode 100644 nav_f.png create mode 100644 nav_g.png create mode 100644 nav_h.png create mode 100644 open.png create mode 100644 raylib-cpp-utils_8hpp_source.html create mode 100644 raylib-cpp_55x55.png create mode 100644 raylib-cpp_8hpp_source.html create mode 100644 raylib_8hpp_source.html create mode 100644 raymath_8hpp_source.html create mode 100644 search/all_0.html create mode 100644 search/all_0.js create mode 100644 search/all_1.html create mode 100644 search/all_1.js create mode 100644 search/all_10.html create mode 100644 search/all_10.js create mode 100644 search/all_11.html create mode 100644 search/all_11.js create mode 100644 search/all_12.html create mode 100644 search/all_12.js create mode 100644 search/all_13.html create mode 100644 search/all_13.js create mode 100644 search/all_14.html create mode 100644 search/all_14.js create mode 100644 search/all_15.html create mode 100644 search/all_15.js create mode 100644 search/all_16.html create mode 100644 search/all_16.js create mode 100644 search/all_2.html create mode 100644 search/all_2.js create mode 100644 search/all_3.html create mode 100644 search/all_3.js create mode 100644 search/all_4.html create mode 100644 search/all_4.js create mode 100644 search/all_5.html create mode 100644 search/all_5.js create mode 100644 search/all_6.html create mode 100644 search/all_6.js create mode 100644 search/all_7.html create mode 100644 search/all_7.js create mode 100644 search/all_8.html create mode 100644 search/all_8.js create mode 100644 search/all_9.html create mode 100644 search/all_9.js create mode 100644 search/all_a.html create mode 100644 search/all_a.js create mode 100644 search/all_b.html create mode 100644 search/all_b.js create mode 100644 search/all_c.html create mode 100644 search/all_c.js create mode 100644 search/all_d.html create mode 100644 search/all_d.js create mode 100644 search/all_e.html create mode 100644 search/all_e.js create mode 100644 search/all_f.html create mode 100644 search/all_f.js create mode 100644 search/classes_0.html create mode 100644 search/classes_0.js create mode 100644 search/classes_1.html create mode 100644 search/classes_1.js create mode 100644 search/classes_2.html create mode 100644 search/classes_2.js create mode 100644 search/classes_3.html create mode 100644 search/classes_3.js create mode 100644 search/classes_4.html create mode 100644 search/classes_4.js create mode 100644 search/classes_5.html create mode 100644 search/classes_5.js create mode 100644 search/classes_6.html create mode 100644 search/classes_6.js create mode 100644 search/classes_7.html create mode 100644 search/classes_7.js create mode 100644 search/classes_8.html create mode 100644 search/classes_8.js create mode 100644 search/classes_9.html create mode 100644 search/classes_9.js create mode 100644 search/classes_a.html create mode 100644 search/classes_a.js create mode 100644 search/classes_b.html create mode 100644 search/classes_b.js create mode 100644 search/close.svg create mode 100644 search/functions_0.html create mode 100644 search/functions_0.js create mode 100644 search/functions_1.html create mode 100644 search/functions_1.js create mode 100644 search/functions_10.html create mode 100644 search/functions_10.js create mode 100644 search/functions_11.html create mode 100644 search/functions_11.js create mode 100644 search/functions_12.html create mode 100644 search/functions_12.js create mode 100644 search/functions_13.html create mode 100644 search/functions_13.js create mode 100644 search/functions_14.html create mode 100644 search/functions_14.js create mode 100644 search/functions_15.html create mode 100644 search/functions_15.js create mode 100644 search/functions_2.html create mode 100644 search/functions_2.js create mode 100644 search/functions_3.html create mode 100644 search/functions_3.js create mode 100644 search/functions_4.html create mode 100644 search/functions_4.js create mode 100644 search/functions_5.html create mode 100644 search/functions_5.js create mode 100644 search/functions_6.html create mode 100644 search/functions_6.js create mode 100644 search/functions_7.html create mode 100644 search/functions_7.js create mode 100644 search/functions_8.html create mode 100644 search/functions_8.js create mode 100644 search/functions_9.html create mode 100644 search/functions_9.js create mode 100644 search/functions_a.html create mode 100644 search/functions_a.js create mode 100644 search/functions_b.html create mode 100644 search/functions_b.js create mode 100644 search/functions_c.html create mode 100644 search/functions_c.js create mode 100644 search/functions_d.html create mode 100644 search/functions_d.js create mode 100644 search/functions_e.html create mode 100644 search/functions_e.js create mode 100644 search/functions_f.html create mode 100644 search/functions_f.js create mode 100644 search/mag_sel.svg create mode 100644 search/namespaces_0.html create mode 100644 search/namespaces_0.js create mode 100644 search/nomatches.html create mode 100644 search/pages_0.html create mode 100644 search/pages_0.js create mode 100644 search/search.css create mode 100644 search/search.js create mode 100644 search/search_l.png create mode 100644 search/search_m.png create mode 100644 search/search_r.png create mode 100644 search/searchdata.js create mode 100644 search/variables_0.html create mode 100644 search/variables_0.js create mode 100644 search/variables_1.html create mode 100644 search/variables_1.js create mode 100644 search/variables_2.html create mode 100644 search/variables_2.js create mode 100644 search/variables_3.html create mode 100644 search/variables_3.js create mode 100644 splitbar.png create mode 100644 sync_off.png create mode 100644 sync_on.png create mode 100644 tab_a.png create mode 100644 tab_b.png create mode 100644 tab_h.png create mode 100644 tab_s.png create mode 100644 tabs.css diff --git a/_audio_device_8hpp_source.html b/_audio_device_8hpp_source.html new file mode 100644 index 00000000..4d754a28 --- /dev/null +++ b/_audio_device_8hpp_source.html @@ -0,0 +1,134 @@ + + + + + + + +raylib-cpp: AudioDevice.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
AudioDevice.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 #include "./RaylibException.hpp"
+
7 
+
8 namespace raylib {
+
12 class AudioDevice {
+
13  public:
+
21  AudioDevice(bool lateInit = false) {
+
22  if (!lateInit) {
+
23  Init();
+
24  }
+
25  }
+
26 
+ +
31  Close();
+
32  }
+
33 
+
39  inline void Init() {
+
40  ::InitAudioDevice();
+
41  if (!IsReady()) {
+
42  throw RaylibException("Failed to initialize AudioDevice");
+
43  }
+
44  }
+
45 
+
49  inline void Close() {
+
50  ::CloseAudioDevice();
+
51  }
+
52 
+
56  inline bool IsReady() const {
+
57  return ::IsAudioDeviceReady();
+
58  }
+
59 
+
65  inline AudioDevice& SetVolume(float volume) {
+
66  ::SetMasterVolume(volume);
+
67  return *this;
+
68  }
+
69 };
+
70 } // namespace raylib
+
71 
+ +
73 
+
74 #endif // RAYLIB_CPP_INCLUDE_AUDIODEVICE_HPP_
+
Audio device management functions.
Definition: AudioDevice.hpp:12
+
void Close()
Close the audio device and context.
Definition: AudioDevice.hpp:49
+
bool IsReady() const
Check if audio device has been initialized successfully.
Definition: AudioDevice.hpp:56
+
void Init()
Initialize audio device and context.
Definition: AudioDevice.hpp:39
+
~AudioDevice()
Close the audio device and context.
Definition: AudioDevice.hpp:30
+
AudioDevice(bool lateInit=false)
Initialize audio device and context.
Definition: AudioDevice.hpp:21
+
AudioDevice & SetVolume(float volume)
Set master volume (listener).
Definition: AudioDevice.hpp:65
+
Exception used for most raylib-related exceptions.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_audio_stream_8hpp_source.html b/_audio_stream_8hpp_source.html new file mode 100644 index 00000000..8c4b321f --- /dev/null +++ b/_audio_stream_8hpp_source.html @@ -0,0 +1,267 @@ + + + + + + + +raylib-cpp: AudioStream.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
AudioStream.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 #include "./RaylibException.hpp"
+
7 
+
8 namespace raylib {
+
12 class AudioStream : public ::AudioStream {
+
13  public:
+
14  AudioStream(const ::AudioStream& music) {
+
15  set(music);
+
16  }
+
17 
+
18  AudioStream(rAudioBuffer* buffer = nullptr,
+
19  rAudioProcessor *processor = nullptr,
+
20  unsigned int sampleRate = 0,
+
21  unsigned int sampleSize = 0,
+
22  unsigned int channels = 0) : ::AudioStream{buffer, processor, sampleRate, sampleSize, channels} {
+
23  // Nothing.
+
24  }
+
25 
+
31  AudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels = 2) {
+
32  Load(sampleRate, sampleSize, channels);
+
33  }
+
34 
+
35  AudioStream(const AudioStream&) = delete;
+
36 
+
37  AudioStream(AudioStream&& other) {
+
38  set(other);
+
39 
+
40  other.buffer = nullptr;
+
41  other.processor = nullptr;
+
42  other.sampleRate = 0;
+
43  other.sampleSize = 0;
+
44  other.channels = 0;
+
45  }
+
46 
+
47  ~AudioStream() {
+
48  Unload();
+
49  }
+
50 
+
51  GETTERSETTER(rAudioBuffer *, Buffer, buffer)
+
52  GETTERSETTER(rAudioProcessor *, Processor, processor)
+
53  GETTERSETTER(unsigned int, SampleRate, sampleRate)
+
54  GETTERSETTER(unsigned int, SampleSize, sampleSize)
+
55  GETTERSETTER(unsigned int, Channels, channels)
+
56 
+
57  AudioStream& operator=(const ::AudioStream& stream) {
+
58  set(stream);
+
59  return *this;
+
60  }
+
61 
+
62  AudioStream& operator=(const AudioStream&) = delete;
+
63 
+
64  AudioStream& operator=(AudioStream&& other) noexcept {
+
65  if (this == &other) {
+
66  return *this;
+
67  }
+
68 
+
69  Unload();
+
70  set(other);
+
71 
+
72  other.buffer = nullptr;
+
73  other.processor = nullptr;
+
74  other.sampleRate = 0;
+
75  other.sampleSize = 0;
+
76  other.channels = 0;
+
77 
+
78  return *this;
+
79  }
+
80 
+
84  inline AudioStream& Update(const void *data, int samplesCount) {
+
85  ::UpdateAudioStream(*this, data, samplesCount);
+
86  return *this;
+
87  }
+
88 
+
92  inline void Unload() {
+
93  ::UnloadAudioStream(*this);
+
94  }
+
95 
+
99  inline bool IsProcessed() const {
+
100  return ::IsAudioStreamProcessed(*this);
+
101  }
+
102 
+
106  inline AudioStream& Play() {
+
107  ::PlayAudioStream(*this);
+
108  return *this;
+
109  }
+
110 
+
114  inline AudioStream& Pause() {
+
115  ::PauseAudioStream(*this);
+
116  return *this;
+
117  }
+
118 
+
122  inline AudioStream& Resume() {
+
123  ::ResumeAudioStream(*this);
+
124  return *this;
+
125  }
+
126 
+
130  inline bool IsPlaying() const {
+
131  return ::IsAudioStreamPlaying(*this);
+
132  }
+
133 
+
137  inline AudioStream& Stop() {
+
138  ::StopAudioStream(*this);
+
139  return *this;
+
140  }
+
141 
+
145  inline AudioStream& SetVolume(float volume = 1.0f) {
+
146  ::SetAudioStreamVolume(*this, volume);
+
147  return *this;
+
148  }
+
149 
+
153  inline AudioStream& SetPitch(float pitch) {
+
154  ::SetAudioStreamPitch(*this, pitch);
+
155  return *this;
+
156  }
+
157 
+
161  inline AudioStream& SetPan(float pan = 0.5f) {
+
162  ::SetAudioStreamPitch(*this, pan);
+
163  return *this;
+
164  }
+
165 
+
169  inline static void SetBufferSizeDefault(int size) {
+
170  ::SetAudioStreamBufferSizeDefault(size);
+
171  }
+
172 
+
176  inline void SetCallback(::AudioCallback callback) {
+
177  ::SetAudioStreamCallback(*this, callback);
+
178  }
+
179 
+
183  inline void AttachProcessor(::AudioCallback processor) {
+
184  ::SetAudioStreamCallback(*this, processor);
+
185  }
+
186 
+
190  inline void DetachProcessor(::AudioCallback processor) {
+
191  ::SetAudioStreamCallback(*this, processor);
+
192  }
+
193 
+
197  bool IsReady() {
+
198  return channels > 0;
+
199  }
+
200 
+
206  void Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels = 2) {
+
207  Unload();
+
208  set(::LoadAudioStream(SampleRate, SampleSize, Channels));
+
209  if (!IsReady()) {
+
210  throw RaylibException("Failed to load audio stream");
+
211  }
+
212  }
+
213 
+
214  private:
+
215  void set(const ::AudioStream& stream) {
+
216  buffer = stream.buffer;
+
217  processor = stream.processor;
+
218  sampleRate = stream.sampleRate;
+
219  sampleSize = stream.sampleSize;
+
220  channels = stream.channels;
+
221  }
+
222 };
+
223 } // namespace raylib
+
224 
+ +
226 
+
227 #endif // RAYLIB_CPP_INCLUDE_AUDIOSTREAM_HPP_
+
AudioStream management functions.
Definition: AudioStream.hpp:12
+
void SetCallback(::AudioCallback callback)
Audio thread callback to request new data.
+
bool IsProcessed() const
Check if any audio stream buffers requires refill.
Definition: AudioStream.hpp:99
+
AudioStream & Stop()
Stop audio stream.
+
AudioStream & SetPitch(float pitch)
Set pitch for audio stream (1.0 is base level)
+
bool IsPlaying() const
Check if audio stream is playing.
+
void AttachProcessor(::AudioCallback processor)
Attach audio stream processor to stream.
+
AudioStream & SetVolume(float volume=1.0f)
Set volume for audio stream (1.0 is max level)
+
AudioStream & Play()
Play audio stream.
+
void Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
Load audio stream (to stream raw audio pcm data)
+
void Unload()
Unload audio stream and free memory.
Definition: AudioStream.hpp:92
+
static void SetBufferSizeDefault(int size)
Default size for new audio streams.
+
AudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels=2)
Init audio stream (to stream raw audio pcm data)
Definition: AudioStream.hpp:31
+
AudioStream & Pause()
Pause audio stream.
+
AudioStream & Resume()
Resume audio stream.
+
AudioStream & SetPan(float pan=0.5f)
Set pan for audio stream (0.5 is centered)
+
AudioStream & Update(const void *data, int samplesCount)
Update audio stream buffers with data.
Definition: AudioStream.hpp:84
+
bool IsReady()
Retrieve whether or not the audio stream is ready.
+
void DetachProcessor(::AudioCallback processor)
Detach audio stream processor from stream.
+
Exception used for most raylib-related exceptions.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_bounding_box_8hpp_source.html b/_bounding_box_8hpp_source.html new file mode 100644 index 00000000..dce944ec --- /dev/null +++ b/_bounding_box_8hpp_source.html @@ -0,0 +1,157 @@ + + + + + + + +raylib-cpp: BoundingBox.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
BoundingBox.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 
+
7 namespace raylib {
+
11 class BoundingBox : public ::BoundingBox {
+
12  public:
+
13  /*
+
14  * Copy a bounding box from another bounding box.
+
15  */
+
16  BoundingBox(const ::BoundingBox& box) : ::BoundingBox{box.min, box.max} {
+
17  // Nothing.
+
18  }
+
19 
+
23  BoundingBox(const ::Mesh& mesh) {
+
24  set(::GetMeshBoundingBox(mesh));
+
25  }
+
26 
+
27  BoundingBox(::Vector3 minMax = ::Vector3{0.0f, 0.0f, 0.0f}) : ::BoundingBox{minMax, minMax} {}
+
28  BoundingBox(::Vector3 min, ::Vector3 max) : ::BoundingBox{min, max} {}
+
29 
+
30  GETTERSETTER(::Vector3, Min, min)
+
31  GETTERSETTER(::Vector3, Max, max)
+
32 
+
33  BoundingBox& operator=(const ::BoundingBox& box) {
+
34  set(box);
+
35  return *this;
+
36  }
+
37 
+
41  inline void Draw(::Color color = {255, 255, 255, 255}) const {
+
42  ::DrawBoundingBox(*this, color);
+
43  }
+
44 
+
48  inline bool CheckCollision(const ::BoundingBox& box2) const {
+
49  return CheckCollisionBoxes(*this, box2);
+
50  }
+
51 
+
55  inline bool CheckCollision(::Vector3 center, float radius) const {
+
56  return CheckCollisionBoxSphere(*this, center, radius);
+
57  }
+
58 
+
62  inline bool CheckCollision(const ::Ray& ray) const {
+
63  return GetRayCollisionBox(ray, *this).hit;
+
64  }
+
65 
+
69  inline RayCollision GetCollision(const ::Ray& ray) const {
+
70  return GetRayCollisionBox(ray, *this);
+
71  }
+
72 
+
73  private:
+
74  void set(const ::BoundingBox& box) {
+
75  min = box.min;
+
76  max = box.max;
+
77  }
+
78  void set(const ::Vector3& _min, const ::Vector3& _max) {
+
79  min = _min;
+
80  max = _max;
+
81  }
+
82 };
+
83 } // namespace raylib
+
84 
+ +
86 
+
87 #endif // RAYLIB_CPP_INCLUDE_BOUNDINGBOX_HPP_
+
Bounding box type.
Definition: BoundingBox.hpp:11
+
bool CheckCollision(::Vector3 center, float radius) const
Detect collision between box and sphere.
Definition: BoundingBox.hpp:55
+
RayCollision GetCollision(const ::Ray &ray) const
Get collision information between ray and bounding box.
Definition: BoundingBox.hpp:69
+
BoundingBox(const ::Mesh &mesh)
Compute mesh bounding box limits.
Definition: BoundingBox.hpp:23
+
void Draw(::Color color={255, 255, 255, 255}) const
Draw a bounding box with wires.
Definition: BoundingBox.hpp:41
+
bool CheckCollision(const ::BoundingBox &box2) const
Detect collision between two boxes.
Definition: BoundingBox.hpp:48
+
bool CheckCollision(const ::Ray &ray) const
Detect collision between ray and bounding box.
Definition: BoundingBox.hpp:62
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Raycast hit information.
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_camera2_d_8hpp_source.html b/_camera2_d_8hpp_source.html new file mode 100644 index 00000000..0ec32da7 --- /dev/null +++ b/_camera2_d_8hpp_source.html @@ -0,0 +1,150 @@ + + + + + + + +raylib-cpp: Camera2D.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Camera2D.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./Vector2.hpp"
+
6 #include "./raylib-cpp-utils.hpp"
+
7 
+
8 namespace raylib {
+
12 class Camera2D : public ::Camera2D {
+
13  public:
+
14  Camera2D(const ::Camera2D& camera) {
+
15  set(camera);
+
16  }
+
17 
+
18  Camera2D() {}
+
19  Camera2D(::Vector2 offset, ::Vector2 target,
+
20  float rotation = 0.0f, float zoom = 1.0f) : ::Camera2D{offset, target, rotation, zoom} {}
+
21 
+
22  inline Camera2D& BeginMode() {
+
23  ::BeginMode2D(*this);
+
24  return *this;
+
25  }
+
26 
+
27  inline Camera2D& EndMode() {
+
28  ::EndMode2D();
+
29  return *this;
+
30  }
+
31 
+
32  GETTERSETTER(::Vector2, Offset, offset)
+
33  GETTERSETTER(::Vector2, Target, target)
+
34  GETTERSETTER(float, Rotation, rotation)
+
35  GETTERSETTER(float, Zoom, zoom)
+
36 
+
37  Camera2D& operator=(const ::Camera2D& camera) {
+
38  set(camera);
+
39  return *this;
+
40  }
+
41 
+
45  inline Matrix GetMatrix() const {
+
46  return ::GetCameraMatrix2D(*this);
+
47  }
+
48 
+
52  inline Vector2 GetWorldToScreen(::Vector2 position) const {
+
53  return ::GetWorldToScreen2D(position, *this);
+
54  }
+
55 
+
59  inline Vector2 GetScreenToWorld(::Vector2 position) const {
+
60  return ::GetScreenToWorld2D(position, *this);
+
61  }
+
62 
+
63  private:
+
64  void set(const ::Camera2D& camera) {
+
65  offset = camera.offset;
+
66  target = camera.target;
+
67  rotation = camera.rotation;
+
68  zoom = camera.zoom;
+
69  }
+
70 };
+
71 } // namespace raylib
+
72 
+ +
74 
+
75 #endif // RAYLIB_CPP_INCLUDE_CAMERA2D_HPP_
+
Camera2D type, defines a 2d camera.
Definition: Camera2D.hpp:12
+
Vector2 GetScreenToWorld(::Vector2 position) const
Returns the world space position for a 2d camera screen space position.
Definition: Camera2D.hpp:59
+
Matrix GetMatrix() const
Returns camera 2d transform matrix.
Definition: Camera2D.hpp:45
+
Vector2 GetWorldToScreen(::Vector2 position) const
Returns the screen space position for a 3d world space position.
Definition: Camera2D.hpp:52
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_camera3_d_8hpp_source.html b/_camera3_d_8hpp_source.html new file mode 100644 index 00000000..d226015e --- /dev/null +++ b/_camera3_d_8hpp_source.html @@ -0,0 +1,220 @@ + + + + + + + +raylib-cpp: Camera3D.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Camera3D.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./Vector3.hpp"
+
6 #include "./raylib-cpp-utils.hpp"
+
7 
+
8 namespace raylib {
+
12 class Camera3D : public ::Camera3D {
+
13  public:
+
14  Camera3D(const ::Camera3D& camera) {
+
15  set(camera);
+
16  }
+
17 
+
27  Camera3D(::Vector3 position,
+
28  ::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
+
29  ::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
+
30  float fovy = 0,
+
31  int projection = CAMERA_PERSPECTIVE) : ::Camera3D{position, target, up, fovy, projection} {}
+
32 
+
33  Camera3D() {}
+
34 
+
35  GETTERSETTER(::Vector3, Position, position)
+
36  GETTERSETTER(::Vector3, Target, target)
+
37  GETTERSETTER(::Vector3, Up, up)
+
38  GETTERSETTER(float, Fovy, fovy)
+
39  GETTERSETTER(int, Projection, projection)
+
40 
+
41  Camera3D& operator=(const ::Camera3D& camera) {
+
42  set(camera);
+
43  return *this;
+
44  }
+
45 
+ +
50  ::BeginMode3D(*this);
+
51  return *this;
+
52  }
+
53 
+ +
58  ::EndMode3D();
+
59  return *this;
+
60  }
+
61 
+
65  inline Matrix GetMatrix() const {
+
66  return ::GetCameraMatrix(*this);
+
67  }
+
68 
+
72  inline Camera3D& SetMode(int mode) {
+
73  ::SetCameraMode(*this, mode);
+
74  return *this;
+
75  }
+
76 
+
80  inline Camera3D& SetAltControl(int altKey) {
+
81  ::SetCameraAltControl(altKey);
+
82  return *this;
+
83  }
+
84 
+
88  inline Camera3D& SetSmoothZoomControl(int szKey) {
+
89  ::SetCameraSmoothZoomControl(szKey);
+
90  return *this;
+
91  }
+
92 
+ +
97  int frontKey, int backKey,
+
98  int rightKey, int leftKey,
+
99  int upKey, int downKey) {
+
100  ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
+
101  return *this;
+
102  }
+
103 
+
107  inline Camera3D& Update() {
+
108  ::UpdateCamera(this);
+
109  return *this;
+
110  }
+
111 
+
115  inline Ray GetMouseRay(::Vector2 mousePosition) const {
+
116  return ::GetMouseRay(mousePosition, *this);
+
117  }
+
118 
+
122  inline Vector2 GetWorldToScreen(::Vector3 position) const {
+
123  return ::GetWorldToScreen(position, *this);
+
124  }
+
125 
+
129  inline void DrawBillboard(
+
130  const ::Texture2D& texture,
+
131  ::Vector3 center,
+
132  float size,
+
133  ::Color tint = {255, 255, 255, 255}) const {
+
134  ::DrawBillboard(*this, texture, center, size, tint);
+
135  }
+
136 
+
140  inline void DrawBillboard(
+
141  const ::Texture2D& texture,
+
142  ::Rectangle sourceRec,
+
143  ::Vector3 center,
+
144  ::Vector2 size,
+
145  ::Color tint = {255, 255, 255, 255}) const {
+
146  ::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
+
147  }
+
148 
+
149  private:
+
150  void set(const ::Camera3D& camera) {
+
151  position = camera.position;
+
152  target = camera.target;
+
153  up = camera.up;
+
154  fovy = camera.fovy;
+
155  projection = camera.projection;
+
156  }
+
157 };
+
158 
+
159 typedef Camera3D Camera;
+
160 
+
161 } // namespace raylib
+
162 
+
163 using RCamera = raylib::Camera;
+ +
165 
+
166 #endif // RAYLIB_CPP_INCLUDE_CAMERA3D_HPP_
+
Camera type, defines a camera position/orientation in 3d space.
Definition: Camera3D.hpp:12
+
Camera3D & BeginMode()
Initializes 3D mode with custom camera (3D)
Definition: Camera3D.hpp:49
+
Matrix GetMatrix() const
Get camera transform matrix (view matrix)
Definition: Camera3D.hpp:65
+
Vector2 GetWorldToScreen(::Vector3 position) const
Returns the screen space position for a 3d world space position.
Definition: Camera3D.hpp:122
+
Camera3D & SetSmoothZoomControl(int szKey)
Set camera smooth zoom key to combine with mouse (free camera)
Definition: Camera3D.hpp:88
+
Camera3D & Update()
Update camera position for selected mode.
Definition: Camera3D.hpp:107
+
Camera3D & SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
Set camera move controls (1st person and 3rd person cameras)
Definition: Camera3D.hpp:96
+
Camera3D & EndMode()
Ends 3D mode and returns to default 2D orthographic mode.
Definition: Camera3D.hpp:57
+
void DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255}) const
Draw a billboard texture.
Definition: Camera3D.hpp:129
+
Camera3D & SetMode(int mode)
Set camera mode (multiple camera modes available)
Definition: Camera3D.hpp:72
+
Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
Create a new Camera3D.
Definition: Camera3D.hpp:27
+
Ray GetMouseRay(::Vector2 mousePosition) const
Returns a ray trace from mouse position.
Definition: Camera3D.hpp:115
+
void DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
Draw a billboard texture defined by source.
Definition: Camera3D.hpp:140
+
Camera3D & SetAltControl(int altKey)
Set camera alt key to combine with mouse movement (free camera)
Definition: Camera3D.hpp:80
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Ray type (useful for raycast)
Definition: Ray.hpp:12
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Vector2 type.
Definition: Vector2.hpp:16
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void UpdateCamera(const ::Camera &camera)
Update camera depending on selected mode.
Definition: Functions.hpp:197
+
+ + + + diff --git a/_color_8hpp_source.html b/_color_8hpp_source.html new file mode 100644 index 00000000..2b06540c --- /dev/null +++ b/_color_8hpp_source.html @@ -0,0 +1,301 @@ + + + + + + + +raylib-cpp: Color.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Color.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_COLOR_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_COLOR_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./Vector4.hpp"
+
8 #include "./raylib-cpp-utils.hpp"
+
9 
+
10 namespace raylib {
+
14 class Color : public ::Color {
+
15  public:
+
16  Color(const ::Color& color) : ::Color{color.r, color.g, color.b, color.a} {}
+
17 
+
18  Color(
+
19  unsigned char red,
+
20  unsigned char green,
+
21  unsigned char blue,
+
22  unsigned char alpha = 255) : ::Color{red, green, blue, alpha} {};
+
23 
+
27  Color() : ::Color{0, 0, 0, 255} {};
+
28 
+
32  Color(::Vector3 hsv) {
+
33  set(::ColorFromHSV(hsv.x, hsv.y, hsv.z));
+
34  }
+
35 
+
39  static ::Color FromHSV(float hue, float saturation, float value) {
+
40  return ::ColorFromHSV(hue, saturation, value);
+
41  }
+
42 
+
46  Color(unsigned int hexValue) {
+
47  set(::GetColor(hexValue));
+
48  }
+
49 
+
50  Color(void *srcPtr, int format) {
+
51  set(::GetPixelColor(srcPtr, format));
+
52  }
+
53 
+
57  int ToInt() const {
+
58  return ::ColorToInt(*this);
+
59  }
+
60 
+
64  operator int() const {
+
65  return ::ColorToInt(*this);
+
66  }
+
67 
+
71  Color Fade(float alpha) const {
+
72  return ::Fade(*this, alpha);
+
73  }
+
74 
+
78  Vector4 Normalize() const {
+
79  return ::ColorNormalize(*this);
+
80  }
+
81 
+
85  Color(::Vector4 normalized) {
+
86  set(::ColorFromNormalized(normalized));
+
87  }
+
88 
+
92  Vector3 ToHSV() const {
+
93  return ::ColorToHSV(*this);
+
94  }
+
95 
+
96  GETTERSETTER(unsigned char, R, r)
+
97  GETTERSETTER(unsigned char, G, g)
+
98  GETTERSETTER(unsigned char, B, b)
+
99  GETTERSETTER(unsigned char, A, a)
+
100 
+
101  Color& operator=(const ::Color& color) {
+
102  set(color);
+
103  return *this;
+
104  }
+
105 
+
109  inline Color& ClearBackground() {
+
110  ::ClearBackground(*this);
+
111  return *this;
+
112  }
+
113 
+
114  inline void DrawPixel(int x, int y) const {
+
115  ::DrawPixel(x, y, *this);
+
116  }
+
117 
+
121  inline void DrawPixel(::Vector2 pos) const {
+
122  ::DrawPixelV(pos, *this);
+
123  }
+
124 
+
128  inline void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) const {
+
129  ::DrawLine(startPosX, startPosY, endPosX, endPosY, *this);
+
130  }
+
131 
+
135  inline void DrawLine(::Vector2 startPos, ::Vector2 endPos) const {
+
136  ::DrawLineV(startPos, endPos, *this);
+
137  }
+
138 
+
142  inline void DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) const {
+
143  ::DrawLineEx(startPos, endPos, thick, *this);
+
144  }
+
145 
+
146  inline void DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick = 1.0f) const {
+
147  ::DrawLineBezier(startPos, endPos, thick, *this);
+
148  }
+
149 
+
150  inline void DrawLineStrip(::Vector2 *points, int numPoints) const {
+
151  ::DrawLineStrip(points, numPoints, *this);
+
152  }
+
153 
+
154  inline void DrawText(const std::string& text, int posX = 0, int posY = 0, int fontSize = 10.0f) const {
+
155  ::DrawText(text.c_str(), posX, posY, fontSize, *this);
+
156  }
+
157 
+
158  inline void DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
+
159  float fontSize, float spacing) const {
+
160  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, *this);
+
161  }
+
162 
+
163  inline void DrawText(
+
164  const ::Font& font,
+
165  const std::string& text,
+
166  ::Vector2 position,
+
167  ::Vector2 origin,
+
168  float rotation,
+
169  float fontSize,
+
170  float spacing) const {
+
171  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, *this);
+
172  }
+
173 
+
174  inline void DrawRectangle(int posX, int posY, int width, int height) const {
+
175  ::DrawRectangle(posX, posY, width, height, *this);
+
176  }
+
177 
+
178  inline void DrawRectangle(::Vector2 position, ::Vector2 size) const {
+
179  ::DrawRectangleV(position, size, *this);
+
180  }
+
181 
+
182  inline void DrawRectangle(::Rectangle rec) const {
+
183  ::DrawRectangleRec(rec, *this);
+
184  }
+
185 
+
186  inline void DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) const {
+
187  ::DrawRectanglePro(rec, origin, rotation, *this);
+
188  }
+
189 
+
190  inline void DrawRectangleLines(int posX, int posY, int width, int height) const {
+
191  ::DrawRectangleLines(posX, posY, width, height, *this);
+
192  }
+
193 
+
194  inline void DrawRectangleLines(::Rectangle rec, float lineThick) const {
+
195  ::DrawRectangleLinesEx(rec, lineThick, *this);
+
196  }
+
197 
+
201  Color Alpha(float alpha) const {
+
202  return ::ColorAlpha(*this, alpha);
+
203  }
+
204 
+
208  Color AlphaBlend(::Color dst, ::Color tint) const {
+
209  return ::ColorAlphaBlend(dst, *this, tint);
+
210  }
+
211 
+
212  inline static Color LightGray() { return LIGHTGRAY; }
+
213  inline static Color Gray() { return GRAY; }
+
214  inline static Color DarkGray() { return DARKGRAY; }
+
215  inline static Color Yellow() { return YELLOW; }
+
216  inline static Color Gold() { return GOLD; }
+
217  inline static Color Orange() { return ORANGE; }
+
218  inline static Color Pink() { return PINK; }
+
219  inline static Color Red() { return RED; }
+
220  inline static Color Maroon() { return MAROON; }
+
221  inline static Color Green() { return GREEN; }
+
222  inline static Color Lime() { return LIME; }
+
223  inline static Color DarkGreen() { return DARKGREEN; }
+
224  inline static Color SkyBlue() { return SKYBLUE; }
+
225  inline static Color Blue() { return BLUE; }
+
226  inline static Color DarkBlue() { return DARKBLUE; }
+
227  inline static Color Purple() { return PURPLE; }
+
228  inline static Color Violet() { return VIOLET; }
+
229  inline static Color DarkPurple() { return DARKPURPLE; }
+
230  inline static Color Beige() { return BEIGE; }
+
231  inline static Color Brown() { return BROWN; }
+
232  inline static Color DarkBrown() { return DARKBROWN; }
+
233  inline static Color White() { return WHITE; }
+
234  inline static Color Black() { return BLACK; }
+
235  inline static Color Blank() { return BLANK; }
+
236  inline static Color Magenta() { return MAGENTA; }
+
237  inline static Color RayWhite() { return RAYWHITE; }
+
238 
+
239  private:
+
240  void set(const ::Color& color) {
+
241  r = color.r;
+
242  g = color.g;
+
243  b = color.b;
+
244  a = color.a;
+
245  }
+
246 };
+
247 
+
248 } // namespace raylib
+
249 
+
250 using RColor = raylib::Color;
+
251 
+
252 #endif // RAYLIB_CPP_INCLUDE_COLOR_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Color AlphaBlend(::Color dst, ::Color tint) const
Returns src alpha-blended into dst color with tint.
Definition: Color.hpp:208
+
Color(::Vector3 hsv)
Returns a Color from HSV values.
Definition: Color.hpp:32
+
void DrawLine(::Vector2 startPos, ::Vector2 endPos) const
Draw a line using Vector points.
Definition: Color.hpp:135
+
void DrawPixel(::Vector2 pos) const
Draw a pixel.
Definition: Color.hpp:121
+
::Color FromHSV(float hue, float saturation, float value)
Returns a Color from HSV values.
Definition: Color.hpp:39
+
Vector4 Normalize() const
Returns Color normalized as float [0..1].
Definition: Color.hpp:78
+
Color Fade(float alpha) const
Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Definition: Color.hpp:71
+
int ToInt() const
Returns hexadecimal value for a Color.
Definition: Color.hpp:57
+
Color(::Vector4 normalized)
Returns Color from normalized values [0..1].
Definition: Color.hpp:85
+
void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) const
Draw a line.
Definition: Color.hpp:128
+
Vector3 ToHSV() const
Returns HSV values for a Color.
Definition: Color.hpp:92
+
Color()
Black.
Definition: Color.hpp:27
+
void DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) const
Draw a line using Vector points, with a given thickness.
Definition: Color.hpp:142
+
Color & ClearBackground()
Set background color (framebuffer clear color)
Definition: Color.hpp:109
+
Color Alpha(float alpha) const
Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
Definition: Color.hpp:201
+
Color(unsigned int hexValue)
Get Color structure from hexadecimal value.
Definition: Color.hpp:46
+
Vector2 type.
Definition: Vector2.hpp:16
+
Vector3 type.
Definition: Vector3.hpp:16
+
Vector4 type.
Definition: Vector4.hpp:17
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:266
+
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:258
+
+ + + + diff --git a/_font_8hpp_source.html b/_font_8hpp_source.html new file mode 100644 index 00000000..118e42d3 --- /dev/null +++ b/_font_8hpp_source.html @@ -0,0 +1,326 @@ + + + + + + + +raylib-cpp: Font.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Font.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_FONT_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_FONT_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./RaylibException.hpp"
+
9 #include "./TextureUnmanaged.hpp"
+
10 
+
11 namespace raylib {
+
15 class Font : public ::Font {
+
16  public:
+
17  Font(int baseSize,
+
18  int glyphCount,
+
19  int glyphPadding,
+
20  ::Texture2D texture,
+
21  ::Rectangle *recs = nullptr,
+
22  ::GlyphInfo *glyphs = nullptr) : ::Font{baseSize, glyphCount, glyphPadding, texture, recs, glyphs} {
+
23  // Nothing.
+
24  }
+
25 
+
29  Font() {
+
30  set(::GetFontDefault());
+
31  }
+
32 
+
33  Font(const ::Font& font) {
+
34  set(font);
+
35  }
+
36 
+
44  Font(const std::string& fileName) {
+
45  Load(fileName);
+
46  }
+
47 
+
57  Font(const std::string& fileName, int fontSize, int* fontChars = 0, int charCount = 0) {
+
58  Load(fileName, fontSize, fontChars, charCount);
+
59  }
+
60 
+
70  Font(const ::Image& image, ::Color key, int firstChar) {
+
71  Load(image, key, firstChar);
+
72  }
+
73 
+
81  Font(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
+
82  int *fontChars, int charsCount) {
+
83  Load(fileType, fileData, dataSize, fontSize, fontChars, charsCount);
+
84  }
+
85 
+
86  Font(const Font&) = delete;
+
87 
+
88  Font(Font&& other) {
+
89  set(other);
+
90 
+
91  other.baseSize = 0;
+
92  other.glyphCount = 0;
+
93  other.glyphPadding = 0;
+
94  other.texture = {};
+
95  other.recs = nullptr;
+
96  other.glyphs = nullptr;
+
97  }
+
98 
+
99  ~Font() {
+
100  Unload();
+
101  }
+
102 
+
103  void Unload() {
+
104  // Protect against calling UnloadFont() twice.
+
105  if (baseSize != 0) {
+
106  UnloadFont(*this);
+
107  baseSize = 0;
+
108  }
+
109  }
+
110 
+
111  GETTERSETTER(int, BaseSize, baseSize)
+
112  GETTERSETTER(int, GlyphCount, glyphCount)
+
113  GETTERSETTER(int, GlyphPadding, glyphPadding)
+
114  GETTERSETTER(::Rectangle*, Recs, recs)
+
115  GETTERSETTER(::GlyphInfo*, Glyphs, glyphs)
+
116 
+ +
121  return texture;
+
122  }
+
123 
+
127  inline void SetTexture(const ::Texture& newTexture) {
+
128  texture = newTexture;
+
129  }
+
130 
+
131  Font& operator=(const ::Font& font) {
+
132  Unload();
+
133  set(font);
+
134  return *this;
+
135  }
+
136 
+
137  Font& operator=(const Font&) = delete;
+
138 
+
139  Font& operator=(Font&& other) noexcept {
+
140  if (this == &other) {
+
141  return *this;
+
142  }
+
143 
+
144  Unload();
+
145  set(other);
+
146 
+
147  other.baseSize = 0;
+
148  other.glyphCount = 0;
+
149  other.glyphPadding = 0;
+
150  other.texture = {};
+
151  other.recs = nullptr;
+
152  other.glyphs = nullptr;
+
153 
+
154  return *this;
+
155  }
+
156 
+
166  void Load(const std::string& fileName) {
+
167  set(::LoadFont(fileName.c_str()));
+
168  if (!IsReady()) {
+
169  throw new RaylibException("Failed to load Font with from file: " + fileName);
+
170  }
+
171  }
+
172 
+
183  void Load(const std::string& fileName, int fontSize, int* fontChars, int charCount) {
+
184  set(::LoadFontEx(fileName.c_str(), fontSize, fontChars, charCount));
+
185  if (!IsReady()) {
+
186  throw new RaylibException("Failed to load Font with from file with font size: " + fileName);
+
187  }
+
188  }
+
189 
+
190  void Load(const ::Image& image, ::Color key, int firstChar) {
+
191  set(::LoadFontFromImage(image, key, firstChar));
+
192  if (!IsReady()) {
+
193  throw new RaylibException("Failed to load Font with from image");
+
194  }
+
195  }
+
196 
+
197  void Load(const std::string& fileType, const unsigned char* fileData, int dataSize, int fontSize,
+
198  int *fontChars, int charsCount) {
+
199  set(::LoadFontFromMemory(fileType.c_str(), fileData, dataSize, fontSize, fontChars,
+
200  charsCount));
+
201  if (!IsReady()) {
+
202  throw new RaylibException("Failed to load Font " + fileType + " with from file data");
+
203  }
+
204  }
+
205 
+
209  bool IsReady() {
+
210  return baseSize > 0;
+
211  }
+
212 
+
216  inline void DrawText(const std::string& text, ::Vector2 position, float fontSize,
+
217  float spacing, ::Color tint = WHITE) const {
+
218  ::DrawTextEx(*this, text.c_str(), position, fontSize, spacing, tint);
+
219  }
+
220 
+
224  inline void DrawText(const std::string& text, int posX, int posY, float fontSize,
+
225  float spacing, ::Color tint = WHITE) const {
+
226  ::DrawTextEx(*this, text.c_str(),
+
227  { static_cast<float>(posX), static_cast<float>(posY) },
+
228  fontSize, spacing, tint);
+
229  }
+
230 
+
231  inline void DrawText(
+
232  const std::string& text,
+
233  ::Vector2 position,
+
234  ::Vector2 origin,
+
235  float rotation,
+
236  float fontSize,
+
237  float spacing,
+
238  ::Color tint = WHITE) const {
+
239  ::DrawTextPro(*this, text.c_str(),
+
240  position, origin,
+
241  rotation, fontSize,
+
242  spacing, tint);
+
243  }
+
244 
+
248  inline void DrawText(int codepoint,
+
249  ::Vector2 position,
+
250  float fontSize,
+
251  ::Color tint = { 255, 255, 255, 255 }) const {
+
252  ::DrawTextCodepoint(*this, codepoint, position, fontSize, tint);
+
253  }
+
254 
+
258  inline void DrawText(const int *codepoints,
+
259  int count, ::Vector2 position,
+
260  float fontSize, float spacing,
+
261  ::Color tint = { 255, 255, 255, 255 }) const {
+
262  ::DrawTextCodepoints(*this,
+
263  codepoints, count,
+
264  position, fontSize,
+
265  spacing, tint);
+
266  }
+
267 
+
271  inline Vector2 MeasureText(const std::string& text, float fontSize, float spacing) const {
+
272  return ::MeasureTextEx(*this, text.c_str(), fontSize, spacing);
+
273  }
+
274 
+
278  inline int GetGlyphIndex(int character) const {
+
279  return ::GetGlyphIndex(*this, character);
+
280  }
+
281 
+
285  inline ::Image ImageText(const std::string& text, float fontSize,
+
286  float spacing, ::Color tint) const {
+
287  return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
+
288  }
+
289 
+
290  private:
+
291  void set(const ::Font& font) {
+
292  baseSize = font.baseSize;
+
293  glyphCount = font.glyphCount;
+
294  glyphPadding = font.glyphPadding;
+
295  texture = font.texture;
+
296  recs = font.recs;
+
297  glyphs = font.glyphs;
+
298  }
+
299 };
+
300 } // namespace raylib
+
301 
+
302 using RFont = raylib::Font;
+
303 
+
304 #endif // RAYLIB_CPP_INCLUDE_FONT_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Font type, includes texture and charSet array data.
Definition: Font.hpp:15
+
Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)
Loads a Font from the given file, with generation parameters.
Definition: Font.hpp:57
+
void DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) const
Draw multiple character (codepoint)
Definition: Font.hpp:258
+
void SetTexture(const ::Texture &newTexture)
Set the texture atlas containing the glyphs.
Definition: Font.hpp:127
+
Vector2 MeasureText(const std::string &text, float fontSize, float spacing) const
Measure string size for Font.
Definition: Font.hpp:271
+
void Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)
Loads a font from a given file with generation parameters.
Definition: Font.hpp:183
+
void Load(const std::string &fileName)
Loads a font from a given file.
Definition: Font.hpp:166
+
Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
Loads a font from memory, based on the given file type and file data.
Definition: Font.hpp:81
+
int GetGlyphIndex(int character) const
Get index position for a unicode character on font.
Definition: Font.hpp:278
+
Font()
Retrieves the default Font.
Definition: Font.hpp:29
+
void DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) const
Draw one character (codepoint)
Definition: Font.hpp:248
+
Font(const std::string &fileName)
Loads a Font from the given file.
Definition: Font.hpp:44
+
TextureUnmanaged GetTexture()
Get the texture atlas containing the glyphs.
Definition: Font.hpp:120
+
Font(const ::Image &image, ::Color key, int firstChar)
Loads a Font from the given image with a color key.
Definition: Font.hpp:70
+
void DrawText(const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) const
Draw text using font and additional parameters.
Definition: Font.hpp:224
+
bool IsReady()
Returns if the font is ready to be used.
Definition: Font.hpp:209
+
void DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) const
Draw text using font and additional parameters.
Definition: Font.hpp:216
+
inline ::Image ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) const
Create an image from text (custom sprite font)
Definition: Font.hpp:285
+
Exception used for most raylib-related exceptions.
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Texture type.
Definition: Texture.hpp:14
+
A Texture that is not managed by the C++ garbage collector.
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
Load font from file (filename must include file extension)
Definition: Functions.hpp:281
+
static inline ::Font LoadFont(const std::string &fileName)
Load font from file (filename must include file extension)
Definition: Functions.hpp:274
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:266
+
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:258
+
+ + + + diff --git a/_functions_8hpp_source.html b/_functions_8hpp_source.html new file mode 100644 index 00000000..415cd5e5 --- /dev/null +++ b/_functions_8hpp_source.html @@ -0,0 +1,373 @@ + + + + + + + +raylib-cpp: Functions.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Functions.hpp
+
+
+
1 
+
4 #ifndef RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
+
5 #define RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
+
6 
+
7 #include <string>
+
8 #include <vector>
+
9 
+
10 #include "./raylib.hpp"
+
11 
+
15 #ifndef RLCPPAPI
+
16 #define RLCPPAPI static
+
17 #endif
+
18 
+
19 namespace raylib {
+
20 
+
24 RLCPPAPI inline void InitWindow(int width, int height, const std::string& title = "raylib") {
+
25  ::InitWindow(width, height, title.c_str());
+
26 }
+
27 
+
31 RLCPPAPI inline void SetWindowTitle(const std::string& title) {
+
32  ::SetWindowTitle(title.c_str());
+
33 }
+
34 
+
38 RLCPPAPI inline std::string GetMonitorName(int monitor = 0) {
+
39  return ::GetMonitorName(monitor);
+
40 }
+
41 
+
45 RLCPPAPI inline void SetClipboardText(const std::string& text) {
+
46  ::SetClipboardText(text.c_str());
+
47 }
+
48 
+
52 RLCPPAPI inline std::string GetClipboardText() {
+
53  return ::GetClipboardText();
+
54 }
+
55 
+
59 RLCPPAPI inline void TakeScreenshot(const std::string& fileName) {
+
60  ::TakeScreenshot(fileName.c_str());
+
61 }
+
62 
+
66 RLCPPAPI inline std::string GetGamepadName(int gamepad) {
+
67  return ::GetGamepadName(gamepad);
+
68 }
+
69 
+
73 RLCPPAPI std::string LoadFileText(const std::string& fileName) {
+
74  char* text = ::LoadFileText(fileName.c_str());
+
75  std::string output(text);
+
76  ::UnloadFileText(text);
+
77  return output;
+
78 }
+
79 
+
83 RLCPPAPI inline bool SaveFileText(const std::string& fileName, const std::string& text) {
+
84  return ::SaveFileText(fileName.c_str(), const_cast<char*>(text.c_str()));
+
85 }
+
86 
+
90 RLCPPAPI inline bool FileExists(const std::string& fileName) {
+
91  return ::FileExists(fileName.c_str());
+
92 }
+
93 
+
97 RLCPPAPI inline bool DirectoryExists(const std::string& dirPath) {
+
98  return ::DirectoryExists(dirPath.c_str());
+
99 }
+
100 
+
104 RLCPPAPI inline bool IsFileExtension(const std::string& fileName, const std::string& ext) {
+
105  return ::IsFileExtension(fileName.c_str(), ext.c_str());
+
106 }
+
107 
+
111 RLCPPAPI inline std::string GetFileExtension(const std::string& fileName) {
+
112  return ::GetFileExtension(fileName.c_str());
+
113 }
+
114 
+
118 RLCPPAPI inline std::string GetFileName(const std::string& filePath) {
+
119  return ::GetFileName(filePath.c_str());
+
120 }
+
121 
+
125 RLCPPAPI inline std::string GetFileNameWithoutExt(const std::string& filePath) {
+
126  return ::GetFileNameWithoutExt(filePath.c_str());
+
127 }
+
128 
+
132 RLCPPAPI inline std::string GetDirectoryPath(const std::string& filePath) {
+
133  return ::GetDirectoryPath(filePath.c_str());
+
134 }
+
135 
+
139 RLCPPAPI inline std::string GetPrevDirectoryPath(const std::string& dirPath) {
+
140  return ::GetPrevDirectoryPath(dirPath.c_str());
+
141 }
+
142 
+
146 RLCPPAPI inline std::string GetWorkingDirectory() {
+
147  return ::GetWorkingDirectory();
+
148 }
+
149 
+
153 RLCPPAPI std::vector<std::string> LoadDirectoryFiles(const std::string& dirPath) {
+
154  FilePathList files = ::LoadDirectoryFiles(dirPath.c_str());
+
155  std::vector<std::string> output(files.paths, files.paths + files.count);
+
156  ::UnloadDirectoryFiles(files);
+
157  return output;
+
158 }
+
159 
+
163 RLCPPAPI inline bool ChangeDirectory(const std::string& dir) {
+
164  return ::ChangeDirectory(dir.c_str());
+
165 }
+
166 
+
170 RLCPPAPI std::vector<std::string> LoadDroppedFiles() {
+
171  if (!::IsFileDropped()) {
+
172  return std::vector<std::string>();
+
173  }
+
174  FilePathList files = ::LoadDroppedFiles();
+
175  std::vector<std::string> output(files.paths, files.paths + files.count);
+
176  ::UnloadDroppedFiles(files);
+
177  return output;
+
178 }
+
179 
+
183 RLCPPAPI inline long GetFileModTime(const std::string& fileName) { // NOLINT
+
184  return ::GetFileModTime(fileName.c_str());
+
185 }
+
186 
+
190 RLCPPAPI inline void OpenURL(const std::string& url) {
+
191  return ::OpenURL(url.c_str());
+
192 }
+
193 
+
197 RLCPPAPI inline void UpdateCamera(const ::Camera& camera) {
+
198  ::Camera* cameraPointer = (::Camera*)&camera;
+
199  ::UpdateCamera(cameraPointer);
+
200 }
+
201 
+
205 RLCPPAPI inline ::Image LoadImage(const std::string& fileName) {
+
206  return ::LoadImage(fileName.c_str());
+
207 }
+
208 
+
212 RLCPPAPI inline ::Image LoadImageRaw(const std::string& fileName,
+
213  int width, int height,
+
214  int format, int headerSize) {
+
215  return ::LoadImageRaw(fileName.c_str(), width, height, format, headerSize);
+
216 }
+
217 
+
221 RLCPPAPI inline ::Image LoadImageAnim(const std::string& fileName, int *frames) {
+
222  return ::LoadImageAnim(fileName.c_str(), frames);
+
223 }
+
224 
+
228 RLCPPAPI inline ::Image LoadImageFromMemory(const std::string& fileType,
+
229  const unsigned char *fileData,
+
230  int dataSize) {
+
231  return ::LoadImageFromMemory(fileType.c_str(), fileData, dataSize);
+
232 }
+
233 
+
237 RLCPPAPI inline bool ExportImage(const Image& image, const std::string& fileName) {
+
238  return ::ExportImage(image, fileName.c_str());
+
239 }
+
240 
+
244 RLCPPAPI inline bool ExportImageAsCode(const Image& image, const std::string& fileName) {
+
245  return ::ExportImageAsCode(image, fileName.c_str());
+
246 }
+
247 
+
251 RLCPPAPI inline void DrawText(const std::string& text, int posX, int posY, int fontSize, ::Color color) {
+
252  ::DrawText(text.c_str(), posX, posY, fontSize, color);
+
253 }
+
254 
+
258 RLCPPAPI inline void DrawTextEx(const Font& font, const std::string& text, Vector2 position,
+
259  float fontSize, float spacing, ::Color tint) {
+
260  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, tint);
+
261 }
+
262 
+
266 RLCPPAPI inline void DrawTextPro(const Font& font, const std::string& text, Vector2 position,
+
267  Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint) {
+
268  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, tint);
+
269 }
+
270 
+
274 RLCPPAPI inline ::Font LoadFont(const std::string& fileName) {
+
275  return ::LoadFont(fileName.c_str());
+
276 }
+
277 
+
281 RLCPPAPI inline ::Font LoadFontEx(const std::string& fileName, int fontSize, int *fontChars, int charsCount) {
+
282  return ::LoadFontEx(fileName.c_str(), fontSize, fontChars, charsCount);
+
283 }
+
284 
+
288 RLCPPAPI inline int MeasureText(const std::string& text, int fontSize) {
+
289  return ::MeasureText(text.c_str(), fontSize);
+
290 }
+
291 
+
295 RLCPPAPI inline bool TextIsEqual(const std::string& text1, const std::string& text2) {
+
296  return ::TextIsEqual(text1.c_str(), text2.c_str());
+
297 }
+
298 
+
302 RLCPPAPI inline unsigned int TextLength(const std::string& text) {
+
303  return ::TextLength(text.c_str());
+
304 }
+
305 
+
309 RLAPI inline std::string TextSubtext(const std::string& text, int position, int length) {
+
310  return ::TextSubtext(text.c_str(), position, length);
+
311 }
+
312 
+
316 RLAPI inline std::string TextReplace(const std::string& text, const std::string& replace, const std::string& by) {
+
317  const char* input = text.c_str();
+
318  char* output = ::TextReplace(const_cast<char*>(input), replace.c_str(), by.c_str());
+
319  if (output != NULL) {
+
320  std::string stringOutput(output);
+
321  free(output);
+
322  return stringOutput;
+
323  }
+
324  return "";
+
325 }
+
326 
+
330 RLAPI inline std::string TextInsert(const std::string& text, const std::string& insert, int position) {
+
331  char* output = ::TextInsert(text.c_str(), insert.c_str(), position);
+
332  if (output != NULL) {
+
333  std::string stringOutput(output);
+
334  free(output);
+
335  return stringOutput;
+
336  }
+
337  return "";
+
338 }
+
339 
+
343 RLAPI inline std::vector<std::string> TextSplit(const std::string& text, char delimiter) {
+
344  int count;
+
345  const char** split = ::TextSplit(text.c_str(), delimiter, &count);
+
346  return std::vector<std::string>(split, split + count);
+
347 }
+
348 
+
352 RLAPI inline int TextFindIndex(const std::string& text, const std::string& find) {
+
353  return ::TextFindIndex(text.c_str(), find.c_str());
+
354 }
+
355 
+
359 RLAPI inline std::string TextToUpper(const std::string& text) {
+
360  return ::TextToUpper(text.c_str());
+
361 }
+
362 
+
366 RLAPI inline std::string TextToLower(const std::string& text) {
+
367  return ::TextToLower(text.c_str());
+
368 }
+
369 
+
373 RLAPI inline std::string TextToPascal(const std::string& text) {
+
374  return ::TextToPascal(text.c_str());
+
375 }
+
376 
+
380 RLAPI inline int TextToInteger(const std::string& text) {
+
381  return ::TextToInteger(text.c_str());
+
382 }
+
383 
+
384 } // namespace raylib
+
385 
+
386 #endif // RAYLIB_CPP_INCLUDE_FUNCTIONS_HPP_
+
Camera type, defines a camera position/orientation in 3d space.
Definition: Camera3D.hpp:12
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Font type, includes texture and charSet array data.
Definition: Font.hpp:15
+
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:17
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static bool ExportImageAsCode(const Image &image, const std::string &fileName)
Export image as code file (.h) defining an array of bytes.
Definition: Functions.hpp:244
+
RLAPI std::string TextToUpper(const std::string &text)
Get upper case version of provided string.
Definition: Functions.hpp:359
+
static bool DirectoryExists(const std::string &dirPath)
Check if directory path exists.
Definition: Functions.hpp:97
+
RLAPI std::string TextToLower(const std::string &text)
Get lower case version of provided string.
Definition: Functions.hpp:366
+
static inline ::Image LoadImage(const std::string &fileName)
Load an image.
Definition: Functions.hpp:205
+
RLAPI int TextFindIndex(const std::string &text, const std::string &find)
Find first text occurrence within a string.
Definition: Functions.hpp:352
+
static std::string GetWorkingDirectory()
Get current working directory.
Definition: Functions.hpp:146
+
static unsigned int TextLength(const std::string &text)
Check if two text string are equal.
Definition: Functions.hpp:302
+
static std::string GetGamepadName(int gamepad)
Get gamepad internal name id.
Definition: Functions.hpp:66
+
static inline ::Font LoadFontEx(const std::string &fileName, int fontSize, int *fontChars, int charsCount)
Load font from file (filename must include file extension)
Definition: Functions.hpp:281
+
static inline ::Font LoadFont(const std::string &fileName)
Load font from file (filename must include file extension)
Definition: Functions.hpp:274
+
static bool ExportImage(const Image &image, const std::string &fileName)
Export image data to file.
Definition: Functions.hpp:237
+
static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
Draw text (using default font)
Definition: Functions.hpp:251
+
RLAPI std::string TextSubtext(const std::string &text, int position, int length)
Get text length, checks for '\0' ending.
Definition: Functions.hpp:309
+
RLAPI std::string TextToPascal(const std::string &text)
Get Pascal case notation version of provided string.
Definition: Functions.hpp:373
+
static bool SaveFileText(const std::string &fileName, const std::string &text)
Save text data to file (write)
Definition: Functions.hpp:83
+
static bool IsFileExtension(const std::string &fileName, const std::string &ext)
Check file extension (including point: .png, .wav)
Definition: Functions.hpp:104
+
static std::vector< std::string > LoadDirectoryFiles(const std::string &dirPath)
Get filenames in a directory path.
Definition: Functions.hpp:153
+
RLAPI int TextToInteger(const std::string &text)
Get integer value from text (negative values not supported)
Definition: Functions.hpp:380
+
static std::string GetFileName(const std::string &filePath)
Get pointer to filename for a path string.
Definition: Functions.hpp:118
+
static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension like "png".
Definition: Functions.hpp:228
+
static std::string GetMonitorName(int monitor=0)
Get the human-readable, UTF-8 encoded name of the primary monitor.
Definition: Functions.hpp:38
+
static int MeasureText(const std::string &text, int fontSize)
Measure string width for default font.
Definition: Functions.hpp:288
+
RLAPI std::string TextReplace(const std::string &text, const std::string &replace, const std::string &by)
Replace text string.
Definition: Functions.hpp:316
+
static void TakeScreenshot(const std::string &fileName)
Takes a screenshot of current screen (saved a .png)
Definition: Functions.hpp:59
+
static void SetClipboardText(const std::string &text)
Set clipboard text content.
Definition: Functions.hpp:45
+
RLAPI std::string TextInsert(const std::string &text, const std::string &insert, int position)
Insert text in a position.
Definition: Functions.hpp:330
+
static void SetWindowTitle(const std::string &title)
Set title for window.
Definition: Functions.hpp:31
+
static bool FileExists(const std::string &fileName)
Check if file exists.
Definition: Functions.hpp:90
+
static void InitWindow(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Functions.hpp:24
+
RLAPI std::vector< std::string > TextSplit(const std::string &text, char delimiter)
Split text into multiple strings.
Definition: Functions.hpp:343
+
static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
Load animated image data.
Definition: Functions.hpp:221
+
static std::string LoadFileText(const std::string &fileName)
Load text data from file (read)
Definition: Functions.hpp:73
+
static long GetFileModTime(const std::string &fileName)
Get file modification time (last write time)
Definition: Functions.hpp:183
+
static std::string GetFileExtension(const std::string &fileName)
Get pointer to extension for a filename string (including point: ".png")
Definition: Functions.hpp:111
+
static void UpdateCamera(const ::Camera &camera)
Update camera depending on selected mode.
Definition: Functions.hpp:197
+
static void OpenURL(const std::string &url)
Open URL with default system browser (if available)
Definition: Functions.hpp:190
+
static std::vector< std::string > LoadDroppedFiles()
Get dropped files names.
Definition: Functions.hpp:170
+
static std::string GetFileNameWithoutExt(const std::string &filePath)
Get filename string without extension.
Definition: Functions.hpp:125
+
static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Load an image from RAW file data.
Definition: Functions.hpp:212
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:266
+
static std::string GetPrevDirectoryPath(const std::string &dirPath)
Get previous directory path for a given path.
Definition: Functions.hpp:139
+
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:258
+
static bool ChangeDirectory(const std::string &dir)
Change working directory, return true on success.
Definition: Functions.hpp:163
+
static std::string GetDirectoryPath(const std::string &filePath)
Get full path for a given fileName with path.
Definition: Functions.hpp:132
+
static bool TextIsEqual(const std::string &text1, const std::string &text2)
Check if two text string are equal.
Definition: Functions.hpp:295
+
static std::string GetClipboardText()
Get clipboard text content.
Definition: Functions.hpp:52
+
+ + + + diff --git a/_gamepad_8hpp_source.html b/_gamepad_8hpp_source.html new file mode 100644 index 00000000..030e09af --- /dev/null +++ b/_gamepad_8hpp_source.html @@ -0,0 +1,180 @@ + + + + + + + +raylib-cpp: Gamepad.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Gamepad.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 
+
9 namespace raylib {
+
13 class Gamepad {
+
14  public:
+
15  Gamepad(int gamepadNumber = 0) {
+
16  set(gamepadNumber);
+
17  }
+
18  int number;
+
19 
+
20  GETTERSETTER(int, Number, number)
+
21 
+
22  Gamepad& operator=(const Gamepad& gamepad) {
+
23  set(gamepad);
+
24  return *this;
+
25  }
+
26 
+
27  Gamepad& operator=(int gamepadNumber) {
+
28  set(gamepadNumber);
+
29  return *this;
+
30  }
+
31 
+
32  operator int() const { return number; }
+
33 
+
37  inline bool IsAvailable() const {
+
38  return ::IsGamepadAvailable(number);
+
39  }
+
40 
+
44  static inline bool IsAvailable(int number) {
+
45  return ::IsGamepadAvailable(number);
+
46  }
+
47 
+
51  std::string GetName() const {
+
52  return ::GetGamepadName(number);
+
53  }
+
54 
+
58  operator std::string() const {
+
59  return GetName();
+
60  }
+
61 
+
65  inline bool IsButtonPressed(int button) const {
+
66  return ::IsGamepadButtonPressed(number, button);
+
67  }
+
68 
+
72  inline bool IsButtonDown(int button) const {
+
73  return ::IsGamepadButtonDown(number, button);
+
74  }
+
75 
+
79  inline bool IsButtonReleased(int button) const {
+
80  return ::IsGamepadButtonReleased(number, button);
+
81  }
+
82 
+
86  inline bool IsButtonUp(int button) const {
+
87  return ::IsGamepadButtonUp(number, button);
+
88  }
+
89 
+
93  inline int GetButtonPressed() const {
+
94  return ::GetGamepadButtonPressed();
+
95  }
+
96 
+
100  inline int GetAxisCount() const {
+
101  return ::GetGamepadAxisCount(number);
+
102  }
+
103 
+
107  inline float GetAxisMovement(int axis) const {
+
108  return ::GetGamepadAxisMovement(number, axis);
+
109  }
+
110 
+
111  inline int SetMappings(const std::string& mappings) {
+
112  return SetGamepadMappings(mappings.c_str());
+
113  }
+
114 
+
115  private:
+
116  inline void set(int gamepadNumber) {
+
117  number = gamepadNumber;
+
118  }
+
119 };
+
120 } // namespace raylib
+
121 
+
122 using RGamepad = raylib::Gamepad;
+
123 
+
124 #endif // RAYLIB_CPP_INCLUDE_GAMEPAD_HPP_
+
Input-related functions: gamepads.
Definition: Gamepad.hpp:13
+
bool IsButtonReleased(int button) const
Detect if a gamepad button has been released once.
Definition: Gamepad.hpp:79
+
int GetAxisCount() const
Return gamepad axis count for a gamepad.
Definition: Gamepad.hpp:100
+
static bool IsAvailable(int number)
Detect if a gamepad is available.
Definition: Gamepad.hpp:44
+
bool IsAvailable() const
Detect if a gamepad is available.
Definition: Gamepad.hpp:37
+
int GetButtonPressed() const
Get the last gamepad button pressed.
Definition: Gamepad.hpp:93
+
bool IsButtonDown(int button) const
Detect if a gamepad button is being pressed.
Definition: Gamepad.hpp:72
+
std::string GetName() const
Return gamepad internal name id.
Definition: Gamepad.hpp:51
+
bool IsButtonUp(int button) const
Detect if a gamepad button is NOT being pressed.
Definition: Gamepad.hpp:86
+
bool IsButtonPressed(int button) const
Detect if a gamepad button has been pressed once.
Definition: Gamepad.hpp:65
+
float GetAxisMovement(int axis) const
Return axis movement value for a gamepad axis.
Definition: Gamepad.hpp:107
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_image_8hpp_source.html b/_image_8hpp_source.html new file mode 100644 index 00000000..6e272a78 --- /dev/null +++ b/_image_8hpp_source.html @@ -0,0 +1,650 @@ + + + + + + + +raylib-cpp: Image.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Image.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_IMAGE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_IMAGE_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./RaylibException.hpp"
+
9 #include "./Color.hpp"
+
10 
+
11 namespace raylib {
+
17 class Image : public ::Image {
+
18  public:
+
19  Image(void* data = nullptr,
+
20  int width = 0,
+
21  int height = 0,
+
22  int mipmaps = 1,
+
23  int format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) : ::Image{data, width, height, mipmaps, format} {
+
24  // Nothing.
+
25  }
+
26 
+
27  Image(const ::Image& image) {
+
28  set(image);
+
29  }
+
30 
+
38  Image(const std::string& fileName) {
+
39  Load(fileName);
+
40  }
+
41 
+
49  Image(const std::string& fileName, int width, int height, int format, int headerSize = 0) {
+
50  Load(fileName, width, height, format, headerSize);
+
51  }
+
52 
+
60  Image(const std::string& fileName, int* frames) {
+
61  Load(fileName, frames);
+
62  }
+
63 
+
69  Image(const std::string& fileType, const unsigned char* fileData, int dataSize) {
+
70  Load(fileType, fileData, dataSize);
+
71  }
+
72 
+
78  Image(const ::Texture2D& texture) {
+
79  Load(texture);
+
80  }
+
81 
+
82  Image(int width, int height, ::Color color = {255, 255, 255, 255}) {
+
83  set(::GenImageColor(width, height, color));
+
84  }
+
85 
+
86  Image(const std::string& text, int fontSize, ::Color color = {255, 255, 255, 255}) {
+
87  set(::ImageText(text.c_str(), fontSize, color));
+
88  }
+
89 
+
90  Image(const ::Font& font, const std::string& text, float fontSize, float spacing,
+
91  ::Color tint = {255, 255, 255, 255}) {
+
92  set(::ImageTextEx(font, text.c_str(), fontSize, spacing, tint));
+
93  }
+
94 
+
95  Image(const Image& other) {
+
96  set(other.Copy());
+
97  }
+
98 
+
99  Image(Image&& other) {
+
100  set(other);
+
101 
+
102  other.data = nullptr;
+
103  other.width = 0;
+
104  other.height = 0;
+
105  other.mipmaps = 0;
+
106  other.format = 0;
+
107  }
+
108 
+
109  static ::Image Text(const std::string& text, int fontSize,
+
110  ::Color color = {255, 255, 255, 255}) {
+
111  return ::ImageText(text.c_str(), fontSize, color);
+
112  }
+
113 
+
114  static ::Image Text(const ::Font& font, const std::string& text, float fontSize, float spacing,
+
115  ::Color tint = {255, 255, 255, 255}) {
+
116  return ::ImageTextEx(font, text.c_str(), fontSize, spacing, tint);
+
117  }
+
118 
+
122  static ::Image LoadFromScreen() {
+
123  return ::LoadImageFromScreen();
+
124  }
+
125 
+
129  static ::Image Color(int width, int height, ::Color color = {255, 255, 255, 255}) {
+
130  return ::GenImageColor(width, height, color);
+
131  }
+
132 
+
136  static ::Image GradientV(int width, int height, ::Color top, ::Color bottom) {
+
137  return ::GenImageGradientV(width, height, top, bottom);
+
138  }
+
139 
+
143  static ::Image GradientH(int width, int height, ::Color left, ::Color right) {
+
144  return ::GenImageGradientH(width, height, left, right);
+
145  }
+
146 
+
150  static ::Image GradientRadial(int width, int height, float density,
+
151  ::Color inner, ::Color outer) {
+
152  return ::GenImageGradientRadial(width, height, density, inner, outer);
+
153  }
+
154 
+
158  static ::Image Checked(int width, int height, int checksX, int checksY,
+
159  ::Color col1 = {255, 255, 255, 255}, ::Color col2 = {0, 0, 0, 255}) {
+
160  return ::GenImageChecked(width, height, checksX, checksY, col1, col2);
+
161  }
+
162 
+
166  static ::Image WhiteNoise(int width, int height, float factor) {
+
167  return ::GenImageWhiteNoise(width, height, factor);
+
168  }
+
169 
+
173  static ::Image Cellular(int width, int height, int tileSize) {
+
174  return ::GenImageCellular(width, height, tileSize);
+
175  }
+
176 
+
177  ~Image() {
+
178  Unload();
+
179  }
+
180 
+
181  Image& operator=(const ::Image& image) {
+
182  set(image);
+
183  return *this;
+
184  }
+
185 
+
186  Image& operator=(const Image& other) {
+
187  if (this == &other) {
+
188  return *this;
+
189  }
+
190 
+
191  Unload();
+
192  set(other.Copy());
+
193 
+
194  return *this;
+
195  }
+
196 
+
197  Image& operator=(Image&& other) noexcept {
+
198  if (this == &other) {
+
199  return *this;
+
200  }
+
201 
+
202  Unload();
+
203  set(other);
+
204 
+
205  other.data = nullptr;
+
206  other.width = 0;
+
207  other.height = 0;
+
208  other.mipmaps = 0;
+
209  other.format = 0;
+
210 
+
211  return *this;
+
212  }
+
213 
+
221  void Load(const std::string& fileName) {
+
222  set(::LoadImage(fileName.c_str()));
+
223  if (!IsReady()) {
+
224  throw RaylibException("Failed to load Image from file: " + fileName);
+
225  }
+
226  }
+
227 
+
235  void Load(const std::string& fileName, int width, int height, int format, int headerSize) {
+
236  set(::LoadImageRaw(fileName.c_str(), width, height, format, headerSize));
+
237  if (!IsReady()) {
+
238  throw RaylibException("Failed to load Image from file: " + fileName);
+
239  }
+
240  }
+
241 
+
249  void Load(const std::string& fileName, int* frames) {
+
250  set(::LoadImageAnim(fileName.c_str(), frames));
+
251  if (!IsReady()) {
+
252  throw RaylibException("Failed to load Image from file: " + fileName);
+
253  }
+
254  }
+
255 
+
263  void Load(
+
264  const std::string& fileType,
+
265  const unsigned char *fileData,
+
266  int dataSize) {
+
267  set(::LoadImageFromMemory(fileType.c_str(), fileData, dataSize));
+
268  if (!IsReady()) {
+
269  throw RaylibException("Failed to load Image data with file type: " + fileType);
+
270  }
+
271  }
+
272 
+
280  void Load(const ::Texture2D& texture) {
+
281  set(::LoadImageFromTexture(texture));
+
282  if (!IsReady()) {
+
283  throw RaylibException("Failed to load Image from texture.");
+
284  }
+
285  }
+
286 
+
290  inline void Unload() {
+
291  if (data != nullptr) {
+
292  ::UnloadImage(*this);
+
293  data = nullptr;
+
294  }
+
295  }
+
296 
+
302  inline void Export(const std::string& fileName) const {
+
303  if (!::ExportImage(*this, fileName.c_str())) {
+
304  throw RaylibException(TextFormat("Failed to export Image to file: %s", fileName.c_str()));
+
305  }
+
306  }
+
307 
+
313  inline void ExportAsCode(const std::string& fileName) const {
+
314  if (!::ExportImageAsCode(*this, fileName.c_str())) {
+
315  throw RaylibException(TextFormat("Failed to export Image code to file: %s", fileName.c_str()));
+
316  }
+
317  }
+
318 
+
319  GETTERSETTER(void*, Data, data)
+
320  GETTERSETTER(int, Width, width)
+
321  GETTERSETTER(int, Height, height)
+
322  GETTERSETTER(int, Mipmaps, mipmaps)
+
323  GETTERSETTER(int, Format, format)
+
324 
+
328  inline ::Vector2 GetSize() const {
+
329  return {static_cast<float>(width), static_cast<float>(height)};
+
330  }
+
331 
+
335  inline ::Image Copy() const {
+
336  return ::ImageCopy(*this);
+
337  }
+
338 
+
342  inline ::Image FromImage(::Rectangle rec) const {
+
343  return ::ImageFromImage(*this, rec);
+
344  }
+
345 
+
349  inline Image& Format(int newFormat) {
+
350  ::ImageFormat(this, newFormat);
+
351  return *this;
+
352  }
+
353 
+
357  inline Image& ToPOT(::Color fillColor) {
+
358  ::ImageToPOT(this, fillColor);
+
359  return *this;
+
360  }
+
361 
+
365  inline Image& Crop(::Rectangle crop) {
+
366  ::ImageCrop(this, crop);
+
367  return *this;
+
368  }
+
369 
+
373  inline Image& AlphaCrop(float threshold) {
+
374  ::ImageAlphaCrop(this, threshold);
+
375  return *this;
+
376  }
+
377 
+
381  inline Image& AlphaClear(::Color color, float threshold) {
+
382  ::ImageAlphaClear(this, color, threshold);
+
383  return *this;
+
384  }
+
385 
+
389  inline Image& AlphaMask(const ::Image& alphaMask) {
+
390  ::ImageAlphaMask(this, alphaMask);
+
391  return *this;
+
392  }
+
393 
+ +
398  ::ImageAlphaPremultiply(this);
+
399  return *this;
+
400  }
+
401 
+
405  inline Image& Crop(int newWidth, int newHeight) {
+
406  return Crop(0, 0, newWidth, newHeight);
+
407  }
+
408 
+
412  inline Image& Crop(::Vector2 size) {
+
413  return Crop(0, 0, static_cast<int>(size.x), static_cast<int>(size.y));
+
414  }
+
415 
+
419  inline Image& Crop(int offsetX, int offsetY, int newWidth, int newHeight) {
+
420  ::Rectangle rect{
+
421  static_cast<float>(offsetX),
+
422  static_cast<float>(offsetY),
+
423  static_cast<float>(newWidth),
+
424  static_cast<float>(newHeight)
+
425  };
+
426  ::ImageCrop(this, rect);
+
427  return *this;
+
428  }
+
429 
+
433  inline Image& Resize(int newWidth, int newHeight) {
+
434  ::ImageResize(this, newWidth, newHeight);
+
435  return *this;
+
436  }
+
437 
+
441  inline Image& ResizeNN(int newWidth, int newHeight) {
+
442  ::ImageResizeNN(this, newWidth, newHeight);
+
443  return *this;
+
444  }
+
445 
+
449  inline Image& ResizeCanvas(int newWidth, int newHeight, int offsetX = 0, int offsetY = 0,
+
450  ::Color color = {255, 255, 255, 255}) {
+
451  ::ImageResizeCanvas(this, newWidth, newHeight, offsetX, offsetY, color);
+
452  return *this;
+
453  }
+
454 
+
458  inline Image& Mipmaps() {
+
459  ::ImageMipmaps(this);
+
460  return *this;
+
461  }
+
462 
+
466  inline Image& Dither(int rBpp, int gBpp, int bBpp, int aBpp) {
+
467  ::ImageDither(this, rBpp, gBpp, bBpp, aBpp);
+
468  return *this;
+
469  }
+
470 
+
474  inline Image& FlipVertical() {
+
475  ::ImageFlipVertical(this);
+
476  return *this;
+
477  }
+
478 
+
482  inline Image& FlipHorizontal() {
+
483  ::ImageFlipHorizontal(this);
+
484  return *this;
+
485  }
+
486 
+
490  inline Image& RotateCW() {
+
491  ::ImageRotateCW(this);
+
492  return *this;
+
493  }
+
494 
+
498  inline Image& RotateCCW() {
+
499  ::ImageRotateCCW(this);
+
500  return *this;
+
501  }
+
502 
+
506  inline Image& ColorTint(::Color color = {255, 255, 255, 255}) {
+
507  ::ImageColorTint(this, color);
+
508  return *this;
+
509  }
+
510 
+
514  inline Image& ColorInvert() {
+
515  ::ImageColorInvert(this);
+
516  return *this;
+
517  }
+
518 
+
522  inline Image& ColorGrayscale() {
+
523  ::ImageColorGrayscale(this);
+
524  return *this;
+
525  }
+
526 
+
532  inline Image& ColorContrast(float contrast) {
+
533  ::ImageColorContrast(this, contrast);
+
534  return *this;
+
535  }
+
536 
+
542  inline Image& ColorBrightness(int brightness) {
+
543  ::ImageColorBrightness(this, brightness);
+
544  return *this;
+
545  }
+
546 
+
550  inline Image& ColorReplace(::Color color, ::Color replace) {
+
551  ::ImageColorReplace(this, color, replace);
+
552  return *this;
+
553  }
+
554 
+
560  inline Rectangle GetAlphaBorder(float threshold) const {
+
561  return ::GetImageAlphaBorder(*this, threshold);
+
562  }
+
563 
+
567  inline raylib::Color GetColor(int x = 0, int y = 0) const {
+
568  return ::GetImageColor(*this, x, y);
+
569  }
+
570 
+
574  inline raylib::Color GetColor(::Vector2 position) const {
+
575  return ::GetImageColor(*this, static_cast<int>(position.x), static_cast<int>(position.y));
+
576  }
+
577 
+
581  inline Image& ClearBackground(::Color color = {0, 0, 0, 255}) {
+
582  ::ImageClearBackground(this, color);
+
583  return *this;
+
584  }
+
585 
+
589  inline void DrawPixel(int posX, int posY, ::Color color = {255, 255, 255, 255}) {
+
590  ::ImageDrawPixel(this, posX, posY, color);
+
591  }
+
592 
+
593  inline void DrawPixel(::Vector2 position, ::Color color = {255, 255, 255, 255}) {
+
594  ::ImageDrawPixelV(this, position, color);
+
595  }
+
596 
+
597  inline void DrawLine(int startPosX, int startPosY, int endPosX, int endPosY,
+
598  ::Color color = {255, 255, 255, 255}) {
+
599  ::ImageDrawLine(this, startPosX, startPosY, endPosX, endPosY, color);
+
600  }
+
601 
+
602  inline void DrawLine(::Vector2 start, ::Vector2 end, ::Color color = {255, 255, 255, 255}) {
+
603  ::ImageDrawLineV(this, start, end, color);
+
604  }
+
605 
+
606  inline void DrawCircle(int centerX, int centerY, int radius,
+
607  ::Color color = {255, 255, 255, 255}) {
+
608  ::ImageDrawCircle(this, centerX, centerY, radius, color);
+
609  }
+
610 
+
611  inline void DrawCircle(::Vector2 center, int radius,
+
612  ::Color color = {255, 255, 255, 255}) {
+
613  ::ImageDrawCircleV(this, center, radius, color);
+
614  }
+
615 
+
616  inline void DrawRectangle(int posX, int posY, int width, int height,
+
617  ::Color color = {255, 255, 255, 255}) {
+
618  ::ImageDrawRectangle(this, posX, posY, width, height, color);
+
619  }
+
620 
+
621  inline void DrawRectangle(Vector2 position, Vector2 size,
+
622  ::Color color = {255, 255, 255, 255}) {
+
623  ::ImageDrawRectangleV(this, position, size, color);
+
624  }
+
625 
+
626  inline void DrawRectangle(::Rectangle rec, ::Color color = {255, 255, 255, 255}) {
+
627  ::ImageDrawRectangleRec(this, rec, color);
+
628  }
+
629 
+
630  inline void DrawRectangleLines(::Rectangle rec, int thick = 1,
+
631  ::Color color = {255, 255, 255, 255}) {
+
632  ::ImageDrawRectangleLines(this, rec, thick, color);
+
633  }
+
634 
+
635  inline void Draw(const ::Image& src, ::Rectangle srcRec, ::Rectangle dstRec,
+
636  ::Color tint = {255, 255, 255, 255}) {
+
637  ::ImageDraw(this, src, srcRec, dstRec, tint);
+
638  }
+
639 
+
640  inline void DrawText(const std::string& text, ::Vector2 position, int fontSize,
+
641  ::Color color = {255, 255, 255, 255}) {
+
642  ::ImageDrawText(this,
+
643  text.c_str(),
+
644  static_cast<int>(position.x),
+
645  static_cast<int>(position.y),
+
646  fontSize,
+
647  color);
+
648  }
+
649 
+
650  inline void DrawText(const std::string& text, int x, int y, int fontSize,
+
651  ::Color color = {255, 255, 255, 255}) {
+
652  ::ImageDrawText(this, text.c_str(), x, y, fontSize, color);
+
653  }
+
654 
+
655  inline void DrawText(const ::Font& font, const std::string& text, ::Vector2 position,
+
656  float fontSize, float spacing, ::Color tint = {255, 255, 255, 255}) {
+
657  ::ImageDrawTextEx(this, font, text.c_str(), position, fontSize, spacing, tint);
+
658  }
+
659 
+
663  inline ::Color* LoadColors() const {
+
664  return ::LoadImageColors(*this);
+
665  }
+
666 
+
670  inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) const {
+
671  return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
+
672  }
+
673 
+
677  inline void UnloadColors(::Color* colors) const {
+
678  ::UnloadImageColors(colors);
+
679  }
+
680 
+
684  inline void UnloadPalette(::Color* colors) const {
+
685  ::UnloadImagePalette(colors);
+
686  }
+
687 
+
691  inline ::Texture2D LoadTexture() const {
+
692  return ::LoadTextureFromImage(*this);
+
693  }
+
694 
+
700  inline operator ::Texture2D() {
+
701  return LoadTexture();
+
702  }
+
703 
+
707  static int GetPixelDataSize(int width, int height, int format = PIXELFORMAT_UNCOMPRESSED_R32G32B32A32) {
+
708  return ::GetPixelDataSize(width, height, format);
+
709  }
+
710 
+
716  int GetPixelDataSize() const {
+
717  return ::GetPixelDataSize(width, height, format);
+
718  }
+
719 
+
725  inline bool IsReady() const {
+
726  return data != nullptr;
+
727  }
+
728 
+
729  private:
+
730  void set(const ::Image& image) {
+
731  data = image.data;
+
732  width = image.width;
+
733  height = image.height;
+
734  mipmaps = image.mipmaps;
+
735  format = image.format;
+
736  }
+
737 };
+
738 } // namespace raylib
+
739 
+
740 using RImage = raylib::Image;
+
741 
+
742 #endif // RAYLIB_CPP_INCLUDE_IMAGE_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:17
+
Image & ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
Resize canvas and fill with color.
Definition: Image.hpp:449
+
Image & Format(int newFormat)
Convert image data to desired format.
Definition: Image.hpp:349
+
Image & ColorTint(::Color color={255, 255, 255, 255})
Modify image color: tint.
Definition: Image.hpp:506
+
void Load(const std::string &fileName, int *frames)
Load image sequence from file (frames appended to image.data).
Definition: Image.hpp:249
+
Image & Dither(int rBpp, int gBpp, int bBpp, int aBpp)
Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
Definition: Image.hpp:466
+
Image & FlipVertical()
Flip image vertically.
Definition: Image.hpp:474
+
::Image WhiteNoise(int width, int height, float factor)
Generate image: white noise.
Definition: Image.hpp:166
+
Image & ResizeNN(int newWidth, int newHeight)
Resize and image to new size using Nearest-Neighbor scaling algorithm.
Definition: Image.hpp:441
+
::Image GradientH(int width, int height, ::Color left, ::Color right)
Generate image: horizontal gradient.
Definition: Image.hpp:143
+
Image(const std::string &fileName, int width, int height, int format, int headerSize=0)
Load a raw image from the given file, with the provided width, height, and formats.
Definition: Image.hpp:49
+
Image & Crop(int newWidth, int newHeight)
Crop an image to a new given width and height.
Definition: Image.hpp:405
+
void Load(const std::string &fileName, int width, int height, int format, int headerSize)
Load image from RAW file data.
Definition: Image.hpp:235
+
Image & Crop(int offsetX, int offsetY, int newWidth, int newHeight)
Crop an image to area defined by a rectangle.
Definition: Image.hpp:419
+
Image & ColorBrightness(int brightness)
Modify image color: brightness.
Definition: Image.hpp:542
+
Image & ColorGrayscale()
Modify image color: grayscale.
Definition: Image.hpp:522
+
Image & Crop(::Vector2 size)
Crop an image to a new given width and height based on a vector.
Definition: Image.hpp:412
+
::Image Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
Generate image: checked.
Definition: Image.hpp:158
+
void Load(const ::Texture2D &texture)
Load an image from the given file.
Definition: Image.hpp:280
+
::Image Cellular(int width, int height, int tileSize)
Generate image: cellular algorithm.
Definition: Image.hpp:173
+
Image(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load an image from the given file.
Definition: Image.hpp:69
+
void Load(const std::string &fileName)
Load image from file into CPU memory (RAM)
Definition: Image.hpp:221
+
Image & AlphaClear(::Color color, float threshold)
Clear alpha channel to desired color.
Definition: Image.hpp:381
+
Image & AlphaMask(const ::Image &alphaMask)
Apply alpha mask to image.
Definition: Image.hpp:389
+
Image(const ::Texture2D &texture)
Load an image from the given file.
Definition: Image.hpp:78
+
Rectangle GetAlphaBorder(float threshold) const
Get image alpha border rectangle.
Definition: Image.hpp:560
+
inline ::Image Copy() const
Create an image duplicate (useful for transformations)
Definition: Image.hpp:335
+
int GetPixelDataSize() const
Returns the pixel data size based on the current image.
Definition: Image.hpp:716
+
Image & Crop(::Rectangle crop)
Crop an image to area defined by a rectangle.
Definition: Image.hpp:365
+
::Image GradientV(int width, int height, ::Color top, ::Color bottom)
Generate image: vertical gradient.
Definition: Image.hpp:136
+
Image & AlphaCrop(float threshold)
Crop image depending on alpha value.
Definition: Image.hpp:373
+
raylib::Color GetColor(::Vector2 position) const
Get image pixel color at vector position.
Definition: Image.hpp:574
+
bool IsReady() const
Retrieve whether or not the Image has been loaded.
Definition: Image.hpp:725
+
Image & FlipHorizontal()
Flip image horizontally.
Definition: Image.hpp:482
+
inline ::Image FromImage(::Rectangle rec) const
Create an image from another image piece.
Definition: Image.hpp:342
+
Image & Resize(int newWidth, int newHeight)
Resize and image to new size.
Definition: Image.hpp:433
+
inline ::Color * LoadColors() const
Load color data from image as a Color array (RGBA - 32bit)
Definition: Image.hpp:663
+
Image(const std::string &fileName, int *frames)
Load an animation image from the given file.
Definition: Image.hpp:60
+
Image(const std::string &fileName)
Load an image from the given file.
Definition: Image.hpp:38
+
inline ::Color * LoadPalette(int maxPaletteSize, int *colorsCount) const
Load colors palette from image as a Color array (RGBA - 32bit)
Definition: Image.hpp:670
+
::Image Color(int width, int height, ::Color color={255, 255, 255, 255})
Generate image: plain color.
Definition: Image.hpp:129
+
raylib::Color GetColor(int x=0, int y=0) const
Get image pixel color at (x, y) position.
Definition: Image.hpp:567
+
void Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension: i.e.
Definition: Image.hpp:263
+
Image & RotateCCW()
Rotate image counter-clockwise 90deg.
Definition: Image.hpp:498
+
inline ::Texture2D LoadTexture() const
Load texture from image data.
Definition: Image.hpp:691
+
static int GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
Get pixel data size in bytes for certain format.
Definition: Image.hpp:707
+
::Image GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)
Generate image: radial gradient.
Definition: Image.hpp:150
+
Image & Mipmaps()
Generate all mipmap levels for a provided image.
Definition: Image.hpp:458
+
::Image LoadFromScreen()
Get pixel data from screen buffer and return an Image (screenshot)
Definition: Image.hpp:122
+
inline ::Vector2 GetSize() const
Retrieve the width and height of the image.
Definition: Image.hpp:328
+
void Unload()
Unload image from CPU memory (RAM)
Definition: Image.hpp:290
+
void UnloadColors(::Color *colors) const
Unload color data loaded with LoadImageColors()
Definition: Image.hpp:677
+
void Export(const std::string &fileName) const
Export image data to file, returns true on success.
Definition: Image.hpp:302
+
Image & AlphaPremultiply()
Premultiply alpha channel.
Definition: Image.hpp:397
+
void ExportAsCode(const std::string &fileName) const
Export image as code file defining an array of bytes, returns true on success.
Definition: Image.hpp:313
+
void DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})
Draw pixel within an image.
Definition: Image.hpp:589
+
void UnloadPalette(::Color *colors) const
Unload colors palette loaded with LoadImagePalette()
Definition: Image.hpp:684
+
Image & ToPOT(::Color fillColor)
Convert image to POT (power-of-two)
Definition: Image.hpp:357
+
Image & RotateCW()
Rotate image clockwise 90deg.
Definition: Image.hpp:490
+
Image & ClearBackground(::Color color={0, 0, 0, 255})
Clear image background with given color.
Definition: Image.hpp:581
+
Image & ColorContrast(float contrast)
Modify image color: contrast.
Definition: Image.hpp:532
+
Image & ColorInvert()
Modify image color: invert.
Definition: Image.hpp:514
+
Image & ColorReplace(::Color color, ::Color replace)
Modify image color: replace color.
Definition: Image.hpp:550
+
Exception used for most raylib-related exceptions.
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static bool ExportImageAsCode(const Image &image, const std::string &fileName)
Export image as code file (.h) defining an array of bytes.
Definition: Functions.hpp:244
+
static inline ::Image LoadImage(const std::string &fileName)
Load an image.
Definition: Functions.hpp:205
+
static bool ExportImage(const Image &image, const std::string &fileName)
Export image data to file.
Definition: Functions.hpp:237
+
static inline ::Image LoadImageFromMemory(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load image from memory buffer, fileType refers to extension like "png".
Definition: Functions.hpp:228
+
static inline ::Image LoadImageAnim(const std::string &fileName, int *frames)
Load animated image data.
Definition: Functions.hpp:221
+
static inline ::Image LoadImageRaw(const std::string &fileName, int width, int height, int format, int headerSize)
Load an image from RAW file data.
Definition: Functions.hpp:212
+
+ + + + diff --git a/_material_8hpp_source.html b/_material_8hpp_source.html new file mode 100644 index 00000000..7c8bdf65 --- /dev/null +++ b/_material_8hpp_source.html @@ -0,0 +1,195 @@ + + + + + + + +raylib-cpp: Material.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Material.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
+
3 
+
4 #include <string>
+
5 #include <vector>
+
6 
+
7 #include "./raylib.hpp"
+
8 #include "./raylib-cpp-utils.hpp"
+
9 
+
10 namespace raylib {
+
14 class Material : public ::Material {
+
15  public:
+
16  Material(const ::Material& material) {
+
17  set(material);
+
18  }
+
19 
+ +
24  set(LoadMaterialDefault());
+
25  }
+
26 
+
27  Material(const Material&) = delete;
+
28 
+
29  Material(Material&& other) {
+
30  set(other);
+
31 
+
32  other.maps = nullptr;
+
33  other.shader = {};
+
34  other.params[0] = 0.0f;
+
35  other.params[1] = 0.0f;
+
36  other.params[2] = 0.0f;
+
37  other.params[3] = 0.0f;
+
38  }
+
39 
+
40  ~Material() {
+
41  Unload();
+
42  }
+
43 
+
47  static std::vector<Material> Load(const std::string& fileName) {
+
48  int count = 0;
+
49  // TODO(RobLoach): Material::Load() possibly leaks the materials array.
+
50  ::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
+
51  return std::vector<Material>(materials, materials + count);
+
52  }
+
53 
+
54  GETTERSETTER(::Shader, Shader, shader)
+
55  GETTERSETTER(::MaterialMap*, Maps, maps)
+
56  // TODO(RobLoach): Resolve the Material params being a float[4].
+
57  // GETTERSETTER(float[4], Params, params)
+
58 
+
59  Material& operator=(const ::Material& material) {
+
60  set(material);
+
61  return *this;
+
62  }
+
63 
+
64  Material& operator=(const Material&) = delete;
+
65 
+
66  Material& operator=(Material&& other) noexcept {
+
67  if (this == &other) {
+
68  return *this;
+
69  }
+
70 
+
71  Unload();
+
72  set(other);
+
73 
+
74  other.maps = nullptr;
+
75  other.shader = {};
+
76 
+
77  return *this;
+
78  }
+
79 
+
83  inline void Unload() {
+
84  if (maps != nullptr) {
+
85  ::UnloadMaterial(*this);
+
86  maps = nullptr;
+
87  }
+
88  }
+
89 
+
93  inline Material& SetTexture(int mapType, const ::Texture2D& texture) {
+
94  ::SetMaterialTexture(this, mapType, texture);
+
95  return *this;
+
96  }
+
97 
+
101  inline void DrawMesh(const ::Mesh& mesh, ::Matrix transform) const {
+
102  ::DrawMesh(mesh, *this, transform);
+
103  }
+
104 
+
108  inline void DrawMesh(const ::Mesh& mesh, ::Matrix* transforms, int instances) const {
+
109  ::DrawMeshInstanced(mesh, *this, transforms, instances);
+
110  }
+
111 
+
112  private:
+
113  void set(const ::Material& material) {
+
114  shader = material.shader;
+
115  maps = material.maps;
+
116  params[0] = material.params[0];
+
117  params[1] = material.params[1];
+
118  params[2] = material.params[2];
+
119  params[3] = material.params[3];
+
120  }
+
121 };
+
122 } // namespace raylib
+
123 
+ +
125 
+
126 #endif // RAYLIB_CPP_INCLUDE_MATERIAL_HPP_
+
Material type (generic)
Definition: Material.hpp:14
+
Material & SetTexture(int mapType, const ::Texture2D &texture)
Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
Definition: Material.hpp:93
+
void Unload()
Unload material from memory.
Definition: Material.hpp:83
+
Material()
Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
Definition: Material.hpp:23
+
void DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const
Draw multiple mesh instances with material and different transforms.
Definition: Material.hpp:108
+
void DrawMesh(const ::Mesh &mesh, ::Matrix transform) const
Draw a 3d mesh with material and transform.
Definition: Material.hpp:101
+
static std::vector< Material > Load(const std::string &fileName)
Load materials from model file.
Definition: Material.hpp:47
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Shader type (generic)
Definition: Shader.hpp:14
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_matrix_8hpp_source.html b/_matrix_8hpp_source.html new file mode 100644 index 00000000..b5e04d97 --- /dev/null +++ b/_matrix_8hpp_source.html @@ -0,0 +1,305 @@ + + + + + + + +raylib-cpp: Matrix.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Matrix.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MATRIX_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MATRIX_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 #include "./raymath.hpp"
+
7 
+
8 #ifndef RAYLIB_CPP_NO_MATH
+
9 #include <cmath>
+
10 #endif
+
11 
+
12 namespace raylib {
+
16 class Matrix : public ::Matrix {
+
17  public:
+
18  Matrix(const ::Matrix& mat) : ::Matrix{
+
19  mat.m0, mat.m4, mat.m8, mat.m12,
+
20  mat.m1, mat.m5, mat.m9, mat.m13,
+
21  mat.m2, mat.m6, mat.m10, mat.m14,
+
22  mat.m3, mat.m7, mat.m11, mat.m15} {
+
23  // Nothing.
+
24  }
+
25 
+
26  Matrix(
+
27  float m0 = 0, float m4 = 0, float m8 = 0, float m12 = 0,
+
28  float m1 = 0, float m5 = 0, float m9 = 0, float m13 = 0,
+
29  float m2 = 0, float m6 = 0, float m10 = 0, float m14 = 0,
+
30  float m3 = 0, float m7 = 0, float m11 = 0, float m15 = 0) :
+
31  ::Matrix{
+
32  m0, m4, m8, m12,
+
33  m1, m5, m9, m13,
+
34  m2, m6, m10, m14,
+
35  m3, m7, m11, m15} {
+
36  // Nothing.
+
37  }
+
38 
+
39  GETTERSETTER(float, M0, m0)
+
40  GETTERSETTER(float, M1, m1)
+
41  GETTERSETTER(float, M2, m2)
+
42  GETTERSETTER(float, M3, m3)
+
43  GETTERSETTER(float, M4, m4)
+
44  GETTERSETTER(float, M5, m5)
+
45  GETTERSETTER(float, M6, m6)
+
46  GETTERSETTER(float, M7, m7)
+
47  GETTERSETTER(float, M8, m8)
+
48  GETTERSETTER(float, M9, m9)
+
49  GETTERSETTER(float, M10, m10)
+
50  GETTERSETTER(float, M11, m11)
+
51  GETTERSETTER(float, M12, m12)
+
52  GETTERSETTER(float, M13, m13)
+
53  GETTERSETTER(float, M14, m14)
+
54  GETTERSETTER(float, M15, m15)
+
55 
+
56  Matrix& operator=(const ::Matrix& matrix) {
+
57  set(matrix);
+
58  return *this;
+
59  }
+
60 
+
61  Matrix& operator=(const Matrix& matrix) {
+
62  set(matrix);
+
63  return *this;
+
64  }
+
65 
+
66  bool operator==(const ::Matrix& other) {
+
67  return m0 == other.m0
+
68  && m1 == other.m1
+
69  && m2 == other.m2
+
70  && m3 == other.m3
+
71  && m4 == other.m4
+
72  && m5 == other.m5
+
73  && m6 == other.m6
+
74  && m7 == other.m7
+
75  && m8 == other.m8
+
76  && m9 == other.m9
+
77  && m10 == other.m10
+
78  && m11 == other.m11
+
79  && m12 == other.m12
+
80  && m13 == other.m13
+
81  && m14 == other.m14
+
82  && m15 == other.m15;
+
83  }
+
84 
+
85  bool operator!=(const ::Matrix& other) {
+
86  return !(*this == other);
+
87  }
+
88 
+
89 #ifndef RAYLIB_CPP_NO_MATH
+
93  inline float Trace() const {
+
94  return ::MatrixTrace(*this);
+
95  }
+
96 
+
100  inline Matrix Transpose() const {
+
101  return ::MatrixTranspose(*this);
+
102  }
+
103 
+
104  inline Matrix Invert() const {
+
105  return ::MatrixInvert(*this);
+
106  }
+
107 
+
108  static Matrix Identity() {
+
109  return ::MatrixIdentity();
+
110  }
+
111 
+
112  Matrix Add(const ::Matrix& right) {
+
113  return ::MatrixAdd(*this, right);
+
114  }
+
115 
+
116  Matrix operator+(const ::Matrix& matrix) {
+
117  return ::MatrixAdd(*this, matrix);
+
118  }
+
119 
+
120  Matrix Subtract(const ::Matrix& right) {
+
121  return ::MatrixSubtract(*this, right);
+
122  }
+
123 
+
124  Matrix operator-(const ::Matrix& matrix) {
+
125  return ::MatrixSubtract(*this, matrix);
+
126  }
+
127 
+
128  static Matrix Translate(float x, float y, float z) {
+
129  return ::MatrixTranslate(x, y, z);
+
130  }
+
131 
+
132  static Matrix Rotate(Vector3 axis, float angle) {
+
133  return ::MatrixRotate(axis, angle);
+
134  }
+
135 
+
136  static Matrix RotateXYZ(Vector3 angle) {
+
137  return ::MatrixRotateXYZ(angle);
+
138  }
+
139 
+
140  static Matrix RotateX(float angle) {
+
141  return ::MatrixRotateX(angle);
+
142  }
+
143 
+
144  static Matrix RotateY(float angle) {
+
145  return ::MatrixRotateY(angle);
+
146  }
+
147 
+
148  static Matrix RotateZ(float angle) {
+
149  return ::MatrixRotateZ(angle);
+
150  }
+
151 
+
152  static Matrix Scale(float x, float y, float z) {
+
153  return ::MatrixScale(x, y, z);
+
154  }
+
155 
+
156  Matrix Multiply(const ::Matrix& right) const {
+
157  return ::MatrixMultiply(*this, right);
+
158  }
+
159 
+
160  Matrix operator*(const ::Matrix& matrix) {
+
161  return ::MatrixMultiply(*this, matrix);
+
162  }
+
163 
+
164  static Matrix Frustum(double left, double right, double bottom, double top,
+
165  double near, double far) {
+
166  return ::MatrixFrustum(left, right, bottom, top, near, far);
+
167  }
+
168 
+
169  static Matrix Perspective(double fovy, double aspect, double near, double far) {
+
170  return ::MatrixPerspective(fovy, aspect, near, far);
+
171  }
+
172 
+
173  static Matrix Ortho(double left, double right, double bottom, double top,
+
174  double near, double far) {
+
175  return ::MatrixOrtho(left, right, bottom, top, near, far);
+
176  }
+
177 
+
178  static Matrix LookAt(Vector3 eye, Vector3 target, Vector3 up) {
+
179  return ::MatrixLookAt(eye, target, up);
+
180  }
+
181 
+
182  inline float16 ToFloatV() const {
+
183  return ::MatrixToFloatV(*this);
+
184  }
+
185 
+
186  operator float16() {
+
187  return ToFloatV();
+
188  }
+
189 
+
193  inline Matrix& SetShaderValue(const ::Shader& shader, int uniformLoc) {
+
194  ::SetShaderValueMatrix(shader, uniformLoc, *this);
+
195  return *this;
+
196  }
+
197 
+
198  inline static Matrix GetCamera(const ::Camera& camera) {
+
199  return ::GetCameraMatrix(camera);
+
200  }
+
201 
+
202  inline static Matrix GetCamera(const ::Camera2D& camera) {
+
203  return ::GetCameraMatrix2D(camera);
+
204  }
+
205 
+
206 #endif
+
207 
+
208  private:
+
209  void set(const ::Matrix& mat) {
+
210  m0 = mat.m0;
+
211  m1 = mat.m1;
+
212  m2 = mat.m2;
+
213  m3 = mat.m3;
+
214  m4 = mat.m4;
+
215  m5 = mat.m5;
+
216  m6 = mat.m6;
+
217  m7 = mat.m7;
+
218  m8 = mat.m8;
+
219  m9 = mat.m9;
+
220  m10 = mat.m10;
+
221  m11 = mat.m11;
+
222  m12 = mat.m12;
+
223  m13 = mat.m13;
+
224  m14 = mat.m14;
+
225  m15 = mat.m15;
+
226  }
+
227 };
+
228 } // namespace raylib
+
229 
+
230 using RMatrix = raylib::Matrix;
+
231 
+
232 #endif // RAYLIB_CPP_INCLUDE_MATRIX_HPP_
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Matrix & SetShaderValue(const ::Shader &shader, int uniformLoc)
Set shader uniform value (matrix 4x4)
Definition: Matrix.hpp:193
+
float Trace() const
Returns the trace of the matrix (sum of the values along the diagonal)
Definition: Matrix.hpp:93
+
Matrix Transpose() const
Transposes provided matrix.
Definition: Matrix.hpp:100
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_mesh_8hpp_source.html b/_mesh_8hpp_source.html new file mode 100644 index 00000000..dafb340f --- /dev/null +++ b/_mesh_8hpp_source.html @@ -0,0 +1,326 @@ + + + + + + + +raylib-cpp: Mesh.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Mesh.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MESH_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MESH_HPP_
+
3 
+
4 #include <string>
+
5 #include <vector>
+
6 
+
7 #include "./raylib.hpp"
+
8 #include "./raylib-cpp-utils.hpp"
+
9 #include "./BoundingBox.hpp"
+
10 #include "./Model.hpp"
+
11 
+
12 namespace raylib {
+
16 class Mesh : public ::Mesh {
+
17  public:
+
18  Mesh(const ::Mesh& mesh) {
+
19  set(mesh);
+
20  }
+
21 
+
25  // static std::vector<Mesh> Load(const std::string& fileName) {
+
26  // int count = 0;
+
27  // ::Mesh* meshes = LoadMeshes(fileName.c_str(), &count);
+
28  // return std::vector<Mesh>(meshes, meshes + count);
+
29  // }
+
30 
+
31  Mesh(const Mesh&) = delete;
+
32 
+
33  Mesh(Mesh&& other) {
+
34  set(other);
+
35 
+
36  other.vertexCount = 0;
+
37  other.triangleCount = 0;
+
38  other.vertices = nullptr;
+
39  other.texcoords = nullptr;
+
40  other.texcoords2 = nullptr;
+
41  other.normals = nullptr;
+
42  other.tangents = nullptr;
+
43  other.colors = nullptr;
+
44  other.indices = nullptr;
+
45  other.animVertices = nullptr;
+
46  other.animNormals = nullptr;
+
47  other.boneIds = nullptr;
+
48  other.boneWeights = nullptr;
+
49  other.vaoId = 0;
+
50  other.vboId = nullptr;
+
51  }
+
52 
+
56  static ::Mesh Poly(int sides, float radius) {
+
57  return ::GenMeshPoly(sides, radius);
+
58  }
+
59 
+
63  static ::Mesh Plane(float width, float length, int resX, int resZ) {
+
64  return ::GenMeshPlane(width, length, resX, resZ);
+
65  }
+
66 
+
70  static ::Mesh Cube(float width, float height, float length) {
+
71  return ::GenMeshCube(width, height, length);
+
72  }
+
73 
+
77  static ::Mesh Sphere(float radius, int rings, int slices) {
+
78  return ::GenMeshSphere(radius, rings, slices);
+
79  }
+
80 
+
84  static ::Mesh HemiSphere(float radius, int rings, int slices) {
+
85  return ::GenMeshHemiSphere(radius, rings, slices);
+
86  }
+
87 
+
91  static ::Mesh Cylinder(float radius, float height, int slices) {
+
92  return ::GenMeshCylinder(radius, height, slices);
+
93  }
+
94 
+
98  static ::Mesh Cone(float radius, float height, int slices) {
+
99  return ::GenMeshCone(radius, height, slices);
+
100  }
+
101 
+
105  static ::Mesh Torus(float radius, float size, int radSeg, int sides) {
+
106  return ::GenMeshTorus(radius, size, radSeg, sides);
+
107  }
+
108 
+
112  static ::Mesh Knot(float radius, float size, int radSeg, int sides) {
+
113  return ::GenMeshKnot(radius, size, radSeg, sides);
+
114  }
+
115 
+
119  static ::Mesh Heightmap(const ::Image& heightmap, ::Vector3 size) {
+
120  return ::GenMeshHeightmap(heightmap, size);
+
121  }
+
122 
+
126  static ::Mesh Cubicmap(const ::Image& cubicmap, ::Vector3 cubeSize) {
+
127  return ::GenMeshCubicmap(cubicmap, cubeSize);
+
128  }
+
129 
+
130  GETTERSETTER(int, VertexCount, vertexCount)
+
131  GETTERSETTER(int, TriangleCount, triangleCount)
+
132  GETTERSETTER(float*, Vertices, vertices)
+
133  GETTERSETTER(float *, TexCoords, texcoords)
+
134  GETTERSETTER(float *, TexCoords2, texcoords2)
+
135  GETTERSETTER(float *, Normals, normals)
+
136  GETTERSETTER(float *, Tangents, tangents)
+
137  GETTERSETTER(unsigned char *, Colors, colors)
+
138  GETTERSETTER(unsigned short *, Indices, indices) // NOLINT
+
139  GETTERSETTER(float *, AnimVertices, animVertices)
+
140  GETTERSETTER(float *, AnimNormals, animNormals)
+
141  GETTERSETTER(unsigned char *, BoneIds, boneIds)
+
142  GETTERSETTER(float *, BoneWeights, boneWeights)
+
143  GETTERSETTER(unsigned int, VaoId, vaoId)
+
144  GETTERSETTER(unsigned int *, VboId, vboId)
+
145 
+
146  Mesh& operator=(const ::Mesh& mesh) {
+
147  set(mesh);
+
148  return *this;
+
149  }
+
150 
+
151  Mesh& operator=(const Mesh&) = delete;
+
152 
+
153  Mesh& operator=(Mesh&& other) noexcept {
+
154  if (this == &other) {
+
155  return *this;
+
156  }
+
157 
+
158  Unload();
+
159  set(other);
+
160 
+
161  other.vertexCount = 0;
+
162  other.triangleCount = 0;
+
163  other.vertices = nullptr;
+
164  other.texcoords = nullptr;
+
165  other.texcoords2 = nullptr;
+
166  other.normals = nullptr;
+
167  other.tangents = nullptr;
+
168  other.colors = nullptr;
+
169  other.indices = nullptr;
+
170  other.animVertices = nullptr;
+
171  other.animNormals = nullptr;
+
172  other.boneIds = nullptr;
+
173  other.boneWeights = nullptr;
+
174  other.vaoId = 0;
+
175  other.vboId = nullptr;
+
176 
+
177  return *this;
+
178  }
+
179 
+
180  ~Mesh() {
+
181  Unload();
+
182  }
+
183 
+
187  inline void Upload(bool dynamic = false) {
+
188  ::UploadMesh(this, dynamic);
+
189  }
+
190 
+
194  inline void UpdateBuffer(int index, void *data, int dataSize, int offset = 0) {
+
195  ::UpdateMeshBuffer(*this, index, data, dataSize, offset);
+
196  }
+
197 
+
201  inline void Draw(const ::Material& material, const ::Matrix& transform) const {
+
202  ::DrawMesh(*this, material, transform);
+
203  }
+
204 
+
208  inline void Draw(const ::Material& material, ::Matrix* transforms, int instances) const {
+
209  ::DrawMeshInstanced(*this, material, transforms, instances);
+
210  }
+
211 
+
217  inline void Export(const std::string& fileName) {
+
218  if (!::ExportMesh(*this, fileName.c_str())) {
+
219  throw new RaylibException("Failed to export the Mesh");
+
220  }
+
221  }
+
222 
+
226  inline void Unload() {
+
227  if (vboId != nullptr) {
+
228  ::UnloadMesh(*this);
+
229  vboId = nullptr;
+
230  }
+
231  }
+
232 
+ +
237  return ::GetMeshBoundingBox(*this);
+
238  }
+
239 
+
243  operator raylib::BoundingBox() {
+
244  return BoundingBox();
+
245  }
+
246 
+
250  inline Mesh& GenTangents() {
+
251  ::GenMeshTangents(this);
+
252  return *this;
+
253  }
+
254 
+
258  inline raylib::Model LoadModelFrom() const {
+
259  return ::LoadModelFromMesh(*this);
+
260  }
+
261 
+
265  operator raylib::Model() {
+
266  return ::LoadModelFromMesh(*this);
+
267  }
+
268 
+
269  private:
+
270  void set(const ::Mesh& mesh) {
+
271  vertexCount = mesh.vertexCount;
+
272  triangleCount = mesh.triangleCount;
+
273  vertices = mesh.vertices;
+
274  texcoords = mesh.texcoords;
+
275  texcoords2 = mesh.texcoords2;
+
276  normals = mesh.normals;
+
277  tangents = mesh.tangents;
+
278  colors = mesh.colors;
+
279  indices = mesh.indices;
+
280  animVertices = mesh.animVertices;
+
281  animNormals = mesh.animNormals;
+
282  boneIds = mesh.boneIds;
+
283  boneWeights = mesh.boneWeights;
+
284  vaoId = mesh.vaoId;
+
285  vboId = mesh.vboId;
+
286  }
+
287 };
+
288 } // namespace raylib
+
289 
+
290 using RMesh = raylib::Mesh;
+
291 
+
292 #endif // RAYLIB_CPP_INCLUDE_MESH_HPP_
+
Bounding box type.
Definition: BoundingBox.hpp:11
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Vertex data definning a mesh.
Definition: Mesh.hpp:16
+
raylib::BoundingBox BoundingBox() const
Compute mesh bounding box limits.
Definition: Mesh.hpp:236
+
Mesh(const Mesh &)=delete
Load meshes from model file.
+
void Draw(const ::Material &material, ::Matrix *transforms, int instances) const
Draw multiple mesh instances with material and different transforms.
Definition: Mesh.hpp:208
+
raylib::Model LoadModelFrom() const
Load model from generated mesh.
Definition: Mesh.hpp:258
+
::Mesh Sphere(float radius, int rings, int slices)
Generate sphere mesh (standard sphere)
Definition: Mesh.hpp:77
+
::Mesh Knot(float radius, float size, int radSeg, int sides)
Generate trefoil knot mesh.
Definition: Mesh.hpp:112
+
void Unload()
Unload mesh from memory (RAM and/or VRAM)
Definition: Mesh.hpp:226
+
Mesh & GenTangents()
Compute mesh tangents.
Definition: Mesh.hpp:250
+
void UpdateBuffer(int index, void *data, int dataSize, int offset=0)
Upload mesh vertex data to GPU (VRAM)
Definition: Mesh.hpp:194
+
::Mesh Cube(float width, float height, float length)
Generate cuboid mesh.
Definition: Mesh.hpp:70
+
::Mesh Cone(float radius, float height, int slices)
Generate cone/pyramid mesh.
Definition: Mesh.hpp:98
+
::Mesh Plane(float width, float length, int resX, int resZ)
Generate plane mesh (with subdivisions)
Definition: Mesh.hpp:63
+
::Mesh Poly(int sides, float radius)
Generate polygonal mesh.
Definition: Mesh.hpp:56
+
::Mesh HemiSphere(float radius, int rings, int slices)
Generate half-sphere mesh (no bottom cap)
Definition: Mesh.hpp:84
+
::Mesh Torus(float radius, float size, int radSeg, int sides)
Generate torus mesh.
Definition: Mesh.hpp:105
+
void Upload(bool dynamic=false)
Upload mesh vertex data to GPU (VRAM)
Definition: Mesh.hpp:187
+
::Mesh Heightmap(const ::Image &heightmap, ::Vector3 size)
Generate heightmap mesh from image data.
Definition: Mesh.hpp:119
+
void Draw(const ::Material &material, const ::Matrix &transform) const
Draw a 3d mesh with material and transform.
Definition: Mesh.hpp:201
+
::Mesh Cylinder(float radius, float height, int slices)
Generate cylinder mesh.
Definition: Mesh.hpp:91
+
::Mesh Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize)
Generate cubes-based map mesh from image data.
Definition: Mesh.hpp:126
+
void Export(const std::string &fileName)
Export mesh data to file.
Definition: Mesh.hpp:217
+
Model type.
Definition: Model.hpp:15
+
Exception used for most raylib-related exceptions.
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_model_8hpp_source.html b/_model_8hpp_source.html new file mode 100644 index 00000000..208dbda5 --- /dev/null +++ b/_model_8hpp_source.html @@ -0,0 +1,304 @@ + + + + + + + +raylib-cpp: Model.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Model.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MODEL_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MODEL_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./Mesh.hpp"
+
9 #include "./RaylibException.hpp"
+
10 
+
11 namespace raylib {
+
15 class Model : public ::Model {
+
16  public:
+
17  Model() {
+
18  // Nothing.
+
19  }
+
20 
+
21  /*
+
22  * Copy a model from another model.
+
23  */
+
24  Model(const ::Model& model) {
+
25  set(model);
+
26  }
+
27 
+
28  /*
+
29  * Load a model from a file.
+
30  *
+
31  * @throws raylib::RaylibException Throws if failed to load the Modal.
+
32  */
+
33  Model(const std::string& fileName) {
+
34  Load(fileName);
+
35  }
+
36 
+
37  /*
+
38  * Load a model from a mesh.
+
39  *
+
40  * @throws raylib::RaylibException Throws if failed to load the Modal.
+
41  */
+
42  Model(const ::Mesh& mesh) {
+
43  Load(mesh);
+
44  }
+
45 
+
46  ~Model() {
+
47  Unload();
+
48  }
+
49 
+
50  Model(const Model&) = delete;
+
51 
+
52  Model(Model&& other) {
+
53  set(other);
+
54 
+
55  other.meshCount = 0;
+
56  other.materialCount = 0;
+
57  other.meshes = nullptr;
+
58  other.materials = nullptr;
+
59  other.meshMaterial = nullptr;
+
60  other.boneCount = 0;
+
61  other.bones = nullptr;
+
62  other.bindPose = nullptr;
+
63  }
+
64 
+
65  GETTERSETTER(::Matrix, Transform, transform)
+
66  GETTERSETTER(int, MeshCount, meshCount)
+
67  GETTERSETTER(int, MaterialCount, materialCount)
+
68  GETTERSETTER(::Mesh*, Meshes, meshes)
+
69  GETTERSETTER(::Material*, Materials, materials)
+
70  GETTERSETTER(int*, MeshMaterial, meshMaterial)
+
71  GETTERSETTER(int, BoneCount, boneCount)
+
72  GETTERSETTER(::BoneInfo*, Bones, bones)
+
73  GETTERSETTER(::Transform*, BindPose, bindPose)
+
74 
+
75  Model& operator=(const ::Model& model) {
+
76  set(model);
+
77  return *this;
+
78  }
+
79 
+
80  Model& operator=(const Model&) = delete;
+
81 
+
82  Model& operator=(Model&& other) noexcept {
+
83  if (this == &other) {
+
84  return *this;
+
85  }
+
86 
+
87  Unload();
+
88  set(other);
+
89 
+
90  other.meshCount = 0;
+
91  other.materialCount = 0;
+
92  other.meshes = nullptr;
+
93  other.materials = nullptr;
+
94  other.meshMaterial = nullptr;
+
95  other.boneCount = 0;
+
96  other.bones = nullptr;
+
97  other.bindPose = nullptr;
+
98 
+
99  return *this;
+
100  }
+
101 
+
105  inline void Unload() {
+
106  if (meshes != nullptr || materials != nullptr) {
+
107  ::UnloadModel(*this);
+
108  meshes = nullptr;
+
109  materials = nullptr;
+
110  }
+
111  }
+
112 
+ +
117  ::UnloadModelKeepMeshes(*this);
+
118  return *this;
+
119  }
+
120 
+
124  inline Model& SetMeshMaterial(int meshId, int materialId) {
+
125  ::SetModelMeshMaterial(this, meshId, materialId);
+
126  return *this;
+
127  }
+
128 
+
132  inline Model& UpdateAnimation(const ::ModelAnimation& anim, int frame) {
+
133  ::UpdateModelAnimation(*this, anim, frame);
+
134  return *this;
+
135  }
+
136 
+
140  inline bool IsModelAnimationValid(const ::ModelAnimation& anim) const {
+
141  return ::IsModelAnimationValid(*this, anim);
+
142  }
+
143 
+
147  inline void Draw(::Vector3 position,
+
148  float scale = 1.0f,
+
149  ::Color tint = {255, 255, 255, 255}) const {
+
150  ::DrawModel(*this, position, scale, tint);
+
151  }
+
152 
+
156  inline void Draw(
+
157  ::Vector3 position,
+
158  ::Vector3 rotationAxis,
+
159  float rotationAngle = 0.0f,
+
160  ::Vector3 scale = {1.0f, 1.0f, 1.0f},
+
161  ::Color tint = {255, 255, 255, 255}) const {
+
162  ::DrawModelEx(*this, position, rotationAxis, rotationAngle, scale, tint);
+
163  }
+
164 
+
168  inline void DrawWires(::Vector3 position,
+
169  float scale = 1.0f,
+
170  ::Color tint = {255, 255, 255, 255}) const {
+
171  ::DrawModelWires(*this, position, scale, tint);
+
172  }
+
173 
+
177  inline void DrawWires(
+
178  ::Vector3 position,
+
179  ::Vector3 rotationAxis,
+
180  float rotationAngle = 0.0f,
+
181  ::Vector3 scale = {1.0f, 1.0f, 1.0f},
+
182  ::Color tint = {255, 255, 255, 255}) const {
+
183  ::DrawModelWiresEx(*this, position, rotationAxis, rotationAngle, scale, tint);
+
184  }
+
185 
+
189  inline BoundingBox GetBoundingBox() const {
+
190  return ::GetModelBoundingBox(*this);
+
191  }
+
192 
+
196  operator BoundingBox() const {
+
197  return ::GetModelBoundingBox(*this);
+
198  }
+
199 
+
203  bool IsReady() const {
+
204  return meshCount > 0 || materialCount > 0 || boneCount > 0;
+
205  }
+
206 
+
212  void Load(const std::string& fileName) {
+
213  set(::LoadModel(fileName.c_str()));
+
214  if (!IsReady()) {
+
215  throw RaylibException("Failed to load Model from " + fileName);
+
216  }
+
217  }
+
218 
+
224  void Load(const ::Mesh& mesh) {
+
225  set(::LoadModelFromMesh(mesh));
+
226  if (!IsReady()) {
+
227  throw RaylibException("Failed to load Model from Mesh");
+
228  }
+
229  }
+
230 
+
231  private:
+
232  void set(const ::Model& model) {
+
233  transform = model.transform;
+
234 
+
235  meshCount = model.meshCount;
+
236  materialCount = model.materialCount;
+
237  meshes = model.meshes;
+
238  materials = model.materials;
+
239  meshMaterial = model.meshMaterial;
+
240 
+
241  boneCount = model.boneCount;
+
242  bones = model.bones;
+
243  bindPose = model.bindPose;
+
244  }
+
245 };
+
246 
+
247 } // namespace raylib
+
248 
+
249 using RModel = raylib::Model;
+
250 
+
251 #endif // RAYLIB_CPP_INCLUDE_MODEL_HPP_
+
Bounding box type.
Definition: BoundingBox.hpp:11
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Material type (generic)
Definition: Material.hpp:14
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Vertex data definning a mesh.
Definition: Mesh.hpp:16
+
Model type.
Definition: Model.hpp:15
+
bool IsReady() const
Determines whether or not the Model has data in it.
Definition: Model.hpp:203
+
void Load(const std::string &fileName)
Loads a Model from the given file.
Definition: Model.hpp:212
+
Model & UnloadKeepMeshes()
Unload model (but not meshes) from memory (RAM and/or VRAM)
Definition: Model.hpp:116
+
void Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
Draw a model (with texture if set)
Definition: Model.hpp:147
+
void Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const
Draw a model with extended parameters.
Definition: Model.hpp:156
+
void Load(const ::Mesh &mesh)
Loads a Model from the given Mesh.
Definition: Model.hpp:224
+
void Unload()
Unload model (including meshes) from memory (RAM and/or VRAM)
Definition: Model.hpp:105
+
bool IsModelAnimationValid(const ::ModelAnimation &anim) const
Check model animation skeleton match.
Definition: Model.hpp:140
+
void DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const
Draw a model wires (with texture if set) with extended parameters.
Definition: Model.hpp:177
+
Model & UpdateAnimation(const ::ModelAnimation &anim, int frame)
Update model animation pose.
Definition: Model.hpp:132
+
Model & SetMeshMaterial(int meshId, int materialId)
Set material for a mesh.
Definition: Model.hpp:124
+
void DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
Draw a model wires (with texture if set)
Definition: Model.hpp:168
+
BoundingBox GetBoundingBox() const
Compute model bounding box limits (considers all meshes)
Definition: Model.hpp:189
+
Exception used for most raylib-related exceptions.
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_model_animation_8hpp_source.html b/_model_animation_8hpp_source.html new file mode 100644 index 00000000..bca132af --- /dev/null +++ b/_model_animation_8hpp_source.html @@ -0,0 +1,182 @@ + + + + + + + +raylib-cpp: ModelAnimation.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ModelAnimation.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
+
3 
+
4 #include <vector>
+
5 #include <string>
+
6 
+
7 #include "./raylib.hpp"
+
8 #include "./raylib-cpp-utils.hpp"
+
9 #include "./Mesh.hpp"
+
10 
+
11 namespace raylib {
+ +
16  public:
+
17  ModelAnimation(const ::ModelAnimation& model) {
+
18  set(model);
+
19  }
+
20 
+
21  ModelAnimation(const ModelAnimation&) = delete;
+
22 
+ +
24  set(other);
+
25 
+
26  other.boneCount = 0;
+
27  other.frameCount = 0;
+
28  other.bones = nullptr;
+
29  other.framePoses = nullptr;
+
30  }
+
31 
+
32  ~ModelAnimation() {
+
33  Unload();
+
34  }
+
35 
+
39  static std::vector<ModelAnimation> Load(const std::string& fileName) {
+
40  unsigned int count = 0;
+
41  ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
+
42  std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
+
43 
+
44  RL_FREE(modelAnimations);
+
45 
+
46  return mats;
+
47  }
+
48 
+
49  GETTERSETTER(int, BoneCount, boneCount)
+
50  GETTERSETTER(::BoneInfo*, Bones, bones)
+
51  GETTERSETTER(int, FrameCount, frameCount)
+
52  GETTERSETTER(::Transform**, FramePoses, framePoses)
+
53 
+
54  ModelAnimation& operator=(const ::ModelAnimation& model) {
+
55  set(model);
+
56  return *this;
+
57  }
+
58 
+
59  ModelAnimation& operator=(const ModelAnimation&) = delete;
+
60 
+
61  ModelAnimation& operator=(ModelAnimation&& other) noexcept {
+
62  if (this == &other) {
+
63  return *this;
+
64  }
+
65 
+
66  Unload();
+
67  set(other);
+
68 
+
69  other.boneCount = 0;
+
70  other.frameCount = 0;
+
71  other.bones = nullptr;
+
72  other.framePoses = nullptr;
+
73 
+
74  return *this;
+
75  }
+
76 
+
80  inline void Unload() {
+
81  ::UnloadModelAnimation(*this);
+
82  }
+
83 
+
87  inline ModelAnimation& Update(const ::Model& model, int frame) {
+
88  ::UpdateModelAnimation(model, *this, frame);
+
89  return *this;
+
90  }
+
91 
+
95  inline bool IsValid(const ::Model& model) const {
+
96  return ::IsModelAnimationValid(model, *this);
+
97  }
+
98 
+
99  private:
+
100  void set(const ::ModelAnimation& model) {
+
101  boneCount = model.boneCount;
+
102  frameCount = model.frameCount;
+
103  bones = model.bones;
+
104  framePoses = model.framePoses;
+
105  }
+
106 };
+
107 } // namespace raylib
+
108 
+ +
110 
+
111 #endif // RAYLIB_CPP_INCLUDE_MODELANIMATION_HPP_
+ +
bool IsValid(const ::Model &model) const
Check model animation skeleton match.
+
ModelAnimation & Update(const ::Model &model, int frame)
Update model animation pose.
+
static std::vector< ModelAnimation > Load(const std::string &fileName)
Load model animations from file.
+
void Unload()
Unload animation data.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_mouse_8hpp_source.html b/_mouse_8hpp_source.html new file mode 100644 index 00000000..9c0a9f83 --- /dev/null +++ b/_mouse_8hpp_source.html @@ -0,0 +1,206 @@ + + + + + + + +raylib-cpp: Mouse.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Mouse.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MOUSE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MOUSE_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./Vector2.hpp"
+
6 
+
7 namespace raylib {
+
11 class Mouse {
+
12  public:
+
16  static inline bool IsButtonPressed(int button) {
+
17  return ::IsMouseButtonPressed(button);
+
18  }
+
19 
+
23  static inline bool IsButtonDown(int button) {
+
24  return ::IsMouseButtonDown(button);
+
25  }
+
26 
+
30  static inline bool IsButtonReleased(int button) {
+
31  return ::IsMouseButtonReleased(button);
+
32  }
+
33 
+
34  static inline bool IsButtonUp(int button) {
+
35  return ::IsMouseButtonUp(button);
+
36  }
+
37 
+
38  static inline int GetX() {
+
39  return ::GetMouseX();
+
40  }
+
41 
+
42  static inline int GetY() {
+
43  return ::GetMouseY();
+
44  }
+
45 
+
46  static inline void SetX(int x) {
+
47  ::SetMousePosition(x, GetY());
+
48  }
+
49 
+
50  static inline void SetY(int y) {
+
51  ::SetMousePosition(GetX(), y);
+
52  }
+
53 
+
54  static inline Vector2 GetPosition() {
+
55  return ::GetMousePosition();
+
56  }
+
57 
+
58  static inline void SetPosition(int x, int y) {
+
59  ::SetMousePosition(x, y);
+
60  }
+
61 
+
62  static inline void SetPosition(::Vector2 position) {
+
63  ::SetMousePosition(static_cast<int>(position.x), static_cast<int>(position.y));
+
64  }
+
65 
+
69  static inline Vector2 GetDelta() {
+
70  return ::GetMouseDelta();
+
71  }
+
72 
+
73  static inline void SetOffset(int offsetX = 0, int offsetY = 0) {
+
74  ::SetMouseOffset(offsetX, offsetY);
+
75  }
+
76 
+
77  static inline void SetOffset(::Vector2 offset) {
+
78  ::SetMouseOffset(static_cast<int>(offset.x), static_cast<int>(offset.y));
+
79  }
+
80 
+
81  static inline void SetScale(float scaleX = 1.0f, float scaleY = 1.0f) {
+
82  ::SetMouseScale(scaleX, scaleY);
+
83  }
+
84 
+
85  static inline void SetScale(::Vector2 scale) {
+
86  ::SetMouseScale(scale.x, scale.y);
+
87  }
+
88 
+
92  static inline float GetWheelMove() {
+
93  return ::GetMouseWheelMove();
+
94  }
+
95 
+
101  static inline Vector2 GetWheelMoveV() {
+
102  return GetMouseWheelMoveV();
+
103  }
+
104 
+
110  static inline void SetCursor(int cursor = MOUSE_CURSOR_DEFAULT) {
+
111  ::SetMouseCursor(cursor);
+
112  }
+
113 
+
117  static inline int GetTouchX() {
+
118  return ::GetTouchX();
+
119  }
+
120 
+
124  static inline int GetTouchY() {
+
125  return ::GetTouchY();
+
126  }
+
127 
+
131  static inline Vector2 GetTouchPosition(int index) {
+
132  return ::GetTouchPosition(index);
+
133  }
+
134 
+
138  static inline Ray GetRay(::Vector2 mousePosition, const ::Camera& camera) {
+
139  return ::GetMouseRay(mousePosition, camera);
+
140  }
+
141 
+
145  static inline Ray GetRay(const ::Camera& camera) {
+
146  return ::GetMouseRay(::GetMousePosition(), camera);
+
147  }
+
148 };
+
149 } // namespace raylib
+
150 
+
151 using RMouse = raylib::Mouse;
+
152 
+
153 #endif // RAYLIB_CPP_INCLUDE_MOUSE_HPP_
+
Input-related functions: mouse.
Definition: Mouse.hpp:11
+
static int GetTouchX()
Get touch position X for touch point 0 (relative to screen size)
Definition: Mouse.hpp:117
+
static bool IsButtonDown(int button)
Detect if a mouse button is being pressed.
Definition: Mouse.hpp:23
+
static int GetTouchY()
Get touch position Y for touch point 0 (relative to screen size)
Definition: Mouse.hpp:124
+
static Vector2 GetTouchPosition(int index)
Get touch position XY for a touch point index (relative to screen size)
Definition: Mouse.hpp:131
+
static void SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)
Sets the current mouse cursor icon.
Definition: Mouse.hpp:110
+
static bool IsButtonReleased(int button)
Detect if a mouse button has been released once.
Definition: Mouse.hpp:30
+
static Ray GetRay(const ::Camera &camera)
Get a ray trace from mouse position.
Definition: Mouse.hpp:145
+
static bool IsButtonPressed(int button)
Detect if a mouse button has been pressed once.
Definition: Mouse.hpp:16
+
static Ray GetRay(::Vector2 mousePosition, const ::Camera &camera)
Get a ray trace from mouse position.
Definition: Mouse.hpp:138
+
static Vector2 GetWheelMoveV()
Get mouse wheel movement for both X and Y.
Definition: Mouse.hpp:101
+
static Vector2 GetDelta()
Get mouse delta between frames.
Definition: Mouse.hpp:69
+
static float GetWheelMove()
Get mouse wheel movement for X or Y, whichever is larger.
Definition: Mouse.hpp:92
+
Ray type (useful for raycast)
Definition: Ray.hpp:12
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_music_8hpp_source.html b/_music_8hpp_source.html new file mode 100644 index 00000000..8d66c963 --- /dev/null +++ b/_music_8hpp_source.html @@ -0,0 +1,272 @@ + + + + + + + +raylib-cpp: Music.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Music.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_MUSIC_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_MUSIC_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./RaylibException.hpp"
+
9 
+
10 namespace raylib {
+
14 class Music : public ::Music {
+
15  public:
+
16  Music(::AudioStream stream = {nullptr, nullptr, 0, 0, 0},
+
17  unsigned int frameCount = 0,
+
18  bool looping = false,
+
19  int ctxType = 0,
+
20  void *ctxData = nullptr) : ::Music{stream, frameCount, looping, ctxType, ctxData} {}
+
21 
+
22  Music(const ::Music& music) {
+
23  set(music);
+
24  }
+
25 
+
31  Music(const std::string& fileName) {
+
32  Load(fileName);
+
33  }
+
34 
+
40  Music(const std::string& fileType, unsigned char* data, int dataSize) {
+
41  Load(fileType, data, dataSize);
+
42  }
+
43 
+
44  Music(const Music&) = delete;
+
45 
+
46  Music(Music&& other) {
+
47  set(other);
+
48 
+
49  other.stream = {};
+
50  other.frameCount = 0;
+
51  other.looping = false;
+
52  other.ctxType = 0;
+
53  other.ctxData = nullptr;
+
54  }
+
55 
+
59  ~Music() {
+
60  Unload();
+
61  }
+
62 
+
63  GETTERSETTER(::AudioStream, Stream, stream)
+
64  GETTERSETTER(unsigned int, FrameCount, frameCount)
+
65  GETTERSETTER(bool, Looping, looping)
+
66  GETTERSETTER(int, CtxType, ctxType)
+
67  GETTERSETTER(void*, CtxData, ctxData)
+
68 
+
69  Music& operator=(const ::Music& music) {
+
70  set(music);
+
71  return *this;
+
72  }
+
73 
+
74  Music& operator=(const Music&) = delete;
+
75 
+
76  Music& operator=(Music&& other) noexcept {
+
77  if (this == &other) {
+
78  return *this;
+
79  }
+
80 
+
81  Unload();
+
82  set(other);
+
83 
+
84  other.ctxType = 0;
+
85  other.ctxData = nullptr;
+
86  other.looping = false;
+
87  other.frameCount = 0;
+
88  other.stream = {};
+
89 
+
90  return *this;
+
91  }
+
92 
+
96  inline void Unload() {
+
97  ::UnloadMusicStream(*this);
+
98  }
+
99 
+
103  inline Music& Play() {
+
104  ::PlayMusicStream(*this);
+
105  return *this;
+
106  }
+
107 
+
111  inline Music& Update() {
+
112  ::UpdateMusicStream(*this);
+
113  return *this;
+
114  }
+
115 
+
119  inline Music& Stop() {
+
120  ::StopMusicStream(*this);
+
121  return *this;
+
122  }
+
123 
+
127  inline Music& Pause() {
+
128  ::PauseMusicStream(*this);
+
129  return *this;
+
130  }
+
131 
+
135  inline Music& Resume() {
+
136  ::ResumeMusicStream(*this);
+
137  return *this;
+
138  }
+
139 
+
143  inline Music& Seek(float position) {
+
144  SeekMusicStream(*this, position);
+
145  return *this;
+
146  }
+
147 
+
151  inline bool IsPlaying() const {
+
152  return ::IsMusicStreamPlaying(*this);
+
153  }
+
154 
+
158  inline Music& SetVolume(float volume) {
+
159  ::SetMusicVolume(*this, volume);
+
160  return *this;
+
161  }
+
162 
+
166  inline Music& SetPitch(float pitch) {
+
167  ::SetMusicPitch(*this, pitch);
+
168  return *this;
+
169  }
+
170 
+
174  inline Music& SetPan(float pan = 0.5f) {
+
175  ::SetMusicPan(*this, pan);
+
176  return *this;
+
177  }
+
178 
+
182  inline float GetTimeLength() const {
+
183  return ::GetMusicTimeLength(*this);
+
184  }
+
185 
+
189  inline float GetTimePlayed() const {
+
190  return ::GetMusicTimePlayed(*this);
+
191  }
+
192 
+
198  void Load(const std::string& fileName) {
+
199  set(::LoadMusicStream(fileName.c_str()));
+
200  if (!IsReady()) {
+
201  throw RaylibException(TextFormat("Failed to load Music from file: %s", fileName.c_str()));
+
202  }
+
203  }
+
204 
+
210  void Load(const std::string& fileType, unsigned char* data, int dataSize) {
+
211  set(::LoadMusicStreamFromMemory(fileType.c_str(), data, dataSize));
+
212  if (!IsReady()) {
+
213  throw RaylibException(TextFormat("Failed to load Music from %s file dat", fileType.c_str()));
+
214  }
+
215  }
+
216 
+
222  inline bool IsReady() const {
+
223  return stream.buffer != nullptr;
+
224  }
+
225 
+
226  private:
+
227  void set(const ::Music& music) {
+
228  stream = music.stream;
+
229  frameCount = music.frameCount;
+
230  looping = music.looping;
+
231  ctxType = music.ctxType;
+
232  ctxData = music.ctxData;
+
233  }
+
234 };
+
235 } // namespace raylib
+
236 
+
237 using RMusic = raylib::Music;
+
238 
+
239 #endif // RAYLIB_CPP_INCLUDE_MUSIC_HPP_
+
AudioStream management functions.
Definition: AudioStream.hpp:12
+
Music stream type (audio file streaming from memory)
Definition: Music.hpp:14
+
bool IsPlaying() const
Check if music is playing.
Definition: Music.hpp:151
+
Music & Update()
Updates buffers for music streaming.
Definition: Music.hpp:111
+
void Load(const std::string &fileType, unsigned char *data, int dataSize)
Load music stream from memory.
Definition: Music.hpp:210
+
Music(const std::string &fileName)
Load music stream from file.
Definition: Music.hpp:31
+
bool IsReady() const
Retrieve whether or not the Music has been loaded.
Definition: Music.hpp:222
+
float GetTimePlayed() const
Get current music time played (in seconds)
Definition: Music.hpp:189
+
Music & Resume()
Resume music playing.
Definition: Music.hpp:135
+
Music & Stop()
Stop music playing.
Definition: Music.hpp:119
+
~Music()
Unload music stream.
Definition: Music.hpp:59
+
Music & Pause()
Pause music playing.
Definition: Music.hpp:127
+
Music & SetPitch(float pitch)
Set pitch for music.
Definition: Music.hpp:166
+
Music(const std::string &fileType, unsigned char *data, int dataSize)
Load music stream from memory.
Definition: Music.hpp:40
+
Music & Play()
Start music playing.
Definition: Music.hpp:103
+
Music & Seek(float position)
Seek music to a position (in seconds)
Definition: Music.hpp:143
+
void Load(const std::string &fileName)
Load music stream from file.
Definition: Music.hpp:198
+
Music & SetVolume(float volume)
Set volume for music.
Definition: Music.hpp:158
+
float GetTimeLength() const
Get music time length (in seconds)
Definition: Music.hpp:182
+
Music & SetPan(float pan=0.5f)
Set pan for a music (0.5 is center)
Definition: Music.hpp:174
+
void Unload()
Unload music stream.
Definition: Music.hpp:96
+
Exception used for most raylib-related exceptions.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_ray_8hpp_source.html b/_ray_8hpp_source.html new file mode 100644 index 00000000..c2789b12 --- /dev/null +++ b/_ray_8hpp_source.html @@ -0,0 +1,168 @@ + + + + + + + +raylib-cpp: Ray.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Ray.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_RAY_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_RAY_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 #include "./RayCollision.hpp"
+
7 
+
8 namespace raylib {
+
12 class Ray : public ::Ray {
+
13  public:
+
14  Ray(const ::Ray& ray) {
+
15  set(ray);
+
16  }
+
17 
+
18  Ray(::Vector3 position = {0.0f, 0.0f, 0.0f}, ::Vector3 direction = {0.0f, 0.0f, 0.0f}) :
+
19  ::Ray{position, direction} {
+
20  // Nothing.
+
21  }
+
22 
+
23  Ray(::Vector2 mousePosition, const ::Camera& camera) {
+
24  set(::GetMouseRay(mousePosition, camera));
+
25  }
+
26 
+
27  Ray& operator=(const ::Ray& ray) {
+
28  set(ray);
+
29  return *this;
+
30  }
+
31 
+
32  GETTERSETTER(::Vector3, Position, position)
+
33  GETTERSETTER(::Vector3, Direction, direction)
+
34 
+
38  inline void Draw(::Color color) const {
+
39  DrawRay(*this, color);
+
40  }
+
41 
+
45  inline RayCollision GetCollision(::Vector3 center, float radius) const {
+
46  return ::GetRayCollisionSphere(*this, center, radius);
+
47  }
+
48 
+
52  inline RayCollision GetCollision(const ::BoundingBox& box) const {
+
53  return ::GetRayCollisionBox(*this, box);
+
54  }
+
55 
+
59  inline RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
+
60  return ::GetRayCollisionMesh(*this, mesh, transform);
+
61  }
+
62 
+
66  inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
+
67  return ::GetRayCollisionTriangle(*this, p1, p2, p3);
+
68  }
+
69 
+
73  inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const {
+
74  return ::GetRayCollisionQuad(*this, p1, p2, p3, p4);
+
75  }
+
76 
+
80  inline static Ray GetMouse(::Vector2 mousePosition, const ::Camera& camera) {
+
81  return ::GetMouseRay(mousePosition, camera);
+
82  }
+
83 
+
87  inline static Ray GetMouse(const ::Camera& camera) {
+
88  return ::GetMouseRay(::GetMousePosition(), camera);
+
89  }
+
90 
+
91  private:
+
92  inline void set(const ::Ray& ray) {
+
93  position = ray.position;
+
94  direction = ray.direction;
+
95  }
+
96 };
+
97 } // namespace raylib
+
98 
+
99 using RRay = raylib::Ray;
+
100 
+
101 #endif // RAYLIB_CPP_INCLUDE_RAY_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Raycast hit information.
+
Ray type (useful for raycast)
Definition: Ray.hpp:12
+
RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const
Get collision info between ray and quad.
Definition: Ray.hpp:73
+
static Ray GetMouse(::Vector2 mousePosition, const ::Camera &camera)
Get a ray trace from mouse position.
Definition: Ray.hpp:80
+
RayCollision GetCollision(::Vector3 center, float radius) const
Get collision information between ray and sphere.
Definition: Ray.hpp:45
+
RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
Get collision info between ray and triangle.
Definition: Ray.hpp:66
+
void Draw(::Color color) const
Draw a ray line.
Definition: Ray.hpp:38
+
static Ray GetMouse(const ::Camera &camera)
Get a ray trace from mouse position.
Definition: Ray.hpp:87
+
RayCollision GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const
Get collision information between ray and mesh.
Definition: Ray.hpp:59
+
RayCollision GetCollision(const ::BoundingBox &box) const
Detect collision between ray and box.
Definition: Ray.hpp:52
+
Vector2 type.
Definition: Vector2.hpp:16
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_ray_collision_8hpp_source.html b/_ray_collision_8hpp_source.html new file mode 100644 index 00000000..06fb7d8b --- /dev/null +++ b/_ray_collision_8hpp_source.html @@ -0,0 +1,149 @@ + + + + + + + +raylib-cpp: RayCollision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
RayCollision.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 
+
7 namespace raylib {
+
11 class RayCollision : public ::RayCollision {
+
12  public:
+
13  RayCollision(const ::RayCollision& ray) {
+
14  set(ray);
+
15  }
+
16 
+
17  RayCollision(bool hit, float distance,
+
18  ::Vector3 point, ::Vector3 normal) : ::RayCollision{hit, distance, point, normal} {
+
19  // Nothing.
+
20  }
+
21 
+
25  RayCollision(const ::Ray& ray, const ::BoundingBox& box) {
+
26  set(::GetRayCollisionBox(ray, box));
+
27  }
+
28 
+
32  RayCollision(const ::Ray& ray, const ::Mesh& mesh, const ::Matrix& transform) {
+
33  set(::GetRayCollisionMesh(ray, mesh, transform));
+
34  }
+
35 
+
39  RayCollision(const ::Ray& ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) {
+
40  set(::GetRayCollisionQuad(ray, p1, p2, p3, p4));
+
41  }
+
42 
+
46  RayCollision(const ::Ray& ray, ::Vector3 center, float radius) {
+
47  set(::GetRayCollisionSphere(ray, center, radius));
+
48  }
+
49 
+
53  RayCollision(const ::Ray& ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3) {
+
54  set(::GetRayCollisionTriangle(ray, p1, p2, p3));
+
55  }
+
56 
+
57  RayCollision& operator=(const ::RayCollision& ray) {
+
58  set(ray);
+
59  return *this;
+
60  }
+
61 
+
62  GETTERSETTER(bool, Hit, hit)
+
63  GETTERSETTER(float, Distance, distance)
+
64  GETTERSETTER(::Vector3, Position, point)
+
65  GETTERSETTER(::Vector3, Normal, normal)
+
66 
+
67  private:
+
68  void set(const ::RayCollision& ray) {
+
69  hit = ray.hit;
+
70  distance = ray.distance;
+
71  point = ray.point;
+
72  normal = ray.normal;
+
73  }
+
74 };
+
75 } // namespace raylib
+
76 
+ +
78 
+
79 #endif // RAYLIB_CPP_INCLUDE_RAYCOLLISION_HPP_
+
Raycast hit information.
+
RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
Get collision info between ray and mesh.
+
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
Get collision info between ray and triangle.
+
RayCollision(const ::Ray &ray, const ::BoundingBox &box)
Get collision info between ray and bounding box.
+
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4)
Get collision info between ray and quad.
+
RayCollision(const ::Ray &ray, ::Vector3 center, float radius)
Get collision info between ray and sphere.
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_raylib_exception_8hpp_source.html b/_raylib_exception_8hpp_source.html new file mode 100644 index 00000000..000b0db0 --- /dev/null +++ b/_raylib_exception_8hpp_source.html @@ -0,0 +1,109 @@ + + + + + + + +raylib-cpp: RaylibException.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
RaylibException.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
+
3 
+
4 #include <stdexcept>
+
5 #include <string>
+
6 
+
7 #include "./raylib.hpp"
+
8 
+
9 namespace raylib {
+
13 class RaylibException : public std::runtime_error {
+
14  public:
+
20  RaylibException(std::string message) throw() : std::runtime_error(message) {
+
21  // Nothing
+
22  }
+
23 
+
29  void TraceLog(int logLevel = LOG_ERROR) {
+
30  ::TraceLog(logLevel, std::runtime_error::what());
+
31  }
+
32 };
+
33 
+
34 } // namespace raylib
+
35 
+ +
37 
+
38 #endif // RAYLIB_CPP_INCLUDE_RAYLIBEXCEPTION_HPP_
+
Exception used for most raylib-related exceptions.
+
RaylibException(std::string message)
Construct a runtime exception with the given message.
+
void TraceLog(int logLevel=LOG_ERROR)
Outputs the exception message to TraceLog().
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_rectangle_8hpp_source.html b/_rectangle_8hpp_source.html new file mode 100644 index 00000000..2c8368f3 --- /dev/null +++ b/_rectangle_8hpp_source.html @@ -0,0 +1,233 @@ + + + + + + + +raylib-cpp: Rectangle.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Rectangle.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 #include "./Vector2.hpp"
+
7 
+
8 namespace raylib {
+
12 class Rectangle : public ::Rectangle {
+
13  public:
+
14  Rectangle(const ::Rectangle& rect) : ::Rectangle{rect.x, rect.y, rect.width, rect.height} {}
+
15 
+
16  Rectangle(float x, float y, float width, float height) : ::Rectangle{x, y, width, height} {}
+
17  Rectangle(float x, float y, float width) : ::Rectangle{x, y, width, 0} {}
+
18  Rectangle(float x, float y) : ::Rectangle{x, y, 0, 0} {}
+
19  Rectangle(float x) : ::Rectangle{x, 0, 0, 0} {}
+
20  Rectangle() : ::Rectangle{0, 0, 0, 0} {}
+
21 
+
22  Rectangle(::Vector2 position, ::Vector2 size)
+
23  : ::Rectangle{position.x, position.y, size.x, size.y} {}
+
24  Rectangle(::Vector2 size) : ::Rectangle{0, 0, size.x, size.y} {}
+
25  Rectangle(::Vector4 rect) : ::Rectangle{rect.x, rect.y, rect.z, rect.w} {}
+
26 
+
27  GETTERSETTER(float, X, x)
+
28  GETTERSETTER(float, Y, y)
+
29  GETTERSETTER(float, Width, width)
+
30  GETTERSETTER(float, Height, height)
+
31 
+
32  Rectangle& operator=(const ::Rectangle& rect) {
+
33  set(rect);
+
34  return *this;
+
35  }
+
36 
+
37  inline ::Vector4 ToVector4() {
+
38  return {x, y, width, height};
+
39  }
+
40 
+
41  operator ::Vector4() const {
+
42  return {x, y, width, height};
+
43  }
+
44 
+
48  inline void Draw(::Color color) const {
+
49  ::DrawRectangleRec(*this, color);
+
50  }
+
51 
+
52  inline void Draw(::Vector2 origin, float rotation, ::Color color) const {
+
53  ::DrawRectanglePro(*this, origin, rotation, color);
+
54  }
+
55 
+
56  inline void DrawGradientV(::Color color1, ::Color color2) const {
+
57  ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
58  static_cast<int>(height), color1, color2);
+
59  }
+
60 
+
61  inline void DrawGradientH(::Color color1, ::Color color2) const {
+
62  ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
63  static_cast<int>(height), color1, color2);
+
64  }
+
65 
+
66  inline void DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) const {
+
67  ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
+
68  }
+
69 
+
70  inline void DrawLines(::Color color) const {
+
71  ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
+
72  static_cast<int>(height), color);
+
73  }
+
74 
+
75  inline void DrawLines(::Color color, float lineThick) const {
+
76  ::DrawRectangleLinesEx(*this, lineThick, color);
+
77  }
+
78 
+
79  inline void DrawRounded(float roundness, int segments, ::Color color) const {
+
80  ::DrawRectangleRounded(*this, roundness, segments, color);
+
81  }
+
82 
+
83  inline void DrawRoundedLines(float roundness, int segments,
+
84  float lineThick, ::Color color) const {
+
85  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
+
86  }
+
87 
+
91  inline bool CheckCollision(::Rectangle rec2) const {
+
92  return ::CheckCollisionRecs(*this, rec2);
+
93  }
+
94 
+
98  inline ::Rectangle GetCollision(::Rectangle rec2) const {
+
99  return ::GetCollisionRec(*this, rec2);
+
100  }
+
101 
+
105  inline bool CheckCollision(::Vector2 point) const {
+
106  return ::CheckCollisionPointRec(point, *this);
+
107  }
+
108 
+
112  inline bool CheckCollision(::Vector2 center, float radius) {
+
113  return ::CheckCollisionCircleRec(center, radius, *this);
+
114  }
+
115 
+
116  inline Vector2 GetSize() {
+
117  return {width, height};
+
118  }
+
119 
+
120  inline Rectangle& SetSize(float newWidth, float newHeight) {
+
121  width = newWidth;
+
122  height = newHeight;
+
123  return *this;
+
124  }
+
125 
+
126  inline Rectangle& SetSize(const ::Vector2& size) {
+
127  return SetSize(size.x, size.y);
+
128  }
+
129 
+
130  inline Rectangle& SetShapesTexture(const ::Texture2D& texture) {
+
131  ::SetShapesTexture(texture, *this);
+
132  return *this;
+
133  }
+
134 
+
135  inline Vector2 GetPosition() {
+
136  return {x, y};
+
137  }
+
138 
+
139  inline Rectangle& SetPosition(float newX, float newY) {
+
140  x = newX;
+
141  y = newY;
+
142  return *this;
+
143  }
+
144 
+
145  inline Rectangle& SetPosition(const ::Vector2& position) {
+
146  return SetPosition(position.x, position.y);
+
147  }
+
148 
+
149  private:
+
150  void set(const ::Rectangle& rect) {
+
151  x = rect.x;
+
152  y = rect.y;
+
153  width = rect.width;
+
154  height = rect.height;
+
155  }
+
156 };
+
157 } // namespace raylib
+
158 
+ +
160 
+
161 #endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Rectangle type.
Definition: Rectangle.hpp:12
+
bool CheckCollision(::Rectangle rec2) const
Check collision between two rectangles.
Definition: Rectangle.hpp:91
+
inline ::Rectangle GetCollision(::Rectangle rec2) const
Get collision rectangle for two rectangles collision.
Definition: Rectangle.hpp:98
+
void Draw(::Color color) const
Draw a color-filled rectangle.
Definition: Rectangle.hpp:48
+
bool CheckCollision(::Vector2 center, float radius)
Check collision between circle and rectangle.
Definition: Rectangle.hpp:112
+
bool CheckCollision(::Vector2 point) const
Check if point is inside rectangle.
Definition: Rectangle.hpp:105
+
Vector2 type.
Definition: Vector2.hpp:16
+
Vector4 type.
Definition: Vector4.hpp:17
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_render_texture_8hpp_source.html b/_render_texture_8hpp_source.html new file mode 100644 index 00000000..66aa678c --- /dev/null +++ b/_render_texture_8hpp_source.html @@ -0,0 +1,208 @@ + + + + + + + +raylib-cpp: RenderTexture.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
RenderTexture.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 #include "./RaylibException.hpp"
+
7 #include "./TextureUnmanaged.hpp"
+
8 
+
9 namespace raylib {
+ +
14  public:
+ +
19  id = 0;
+
20  }
+
21 
+
22  RenderTexture(const ::RenderTexture& renderTexture) {
+
23  set(renderTexture);
+
24  }
+
25 
+
26  RenderTexture(unsigned int id, const ::Texture& texture, const ::Texture& depth) :
+
27  ::RenderTexture{id, texture, depth} {}
+
28 
+
32  RenderTexture(int width, int height) {
+
33  set(::LoadRenderTexture(width, height));
+
34  }
+
35 
+
36  RenderTexture(const RenderTexture&) = delete;
+
37 
+
38  RenderTexture(RenderTexture&& other) {
+
39  set(other);
+
40 
+
41  other.id = 0;
+
42  other.texture = {};
+
43  other.depth = {};
+
44  }
+
45 
+
46  GETTERSETTER(unsigned int, Id, id)
+
47 
+
48 
+ +
52  return texture;
+
53  }
+
54 
+
55  inline void SetTexture(const ::Texture& newTexture) {
+
56  texture = newTexture;
+
57  }
+
58 
+ +
63  return depth;
+
64  }
+
65 
+
66  inline void SetDepth(const ::Texture& newDepth) {
+
67  depth = newDepth;
+
68  }
+
69 
+
70  RenderTexture& operator=(const ::RenderTexture& texture) {
+
71  set(texture);
+
72  return *this;
+
73  }
+
74 
+
75  RenderTexture& operator=(const RenderTexture&) = delete;
+
76 
+
77  RenderTexture& operator=(RenderTexture&& other) noexcept {
+
78  if (this == &other) {
+
79  return *this;
+
80  }
+
81 
+
82  Unload();
+
83  set(other);
+
84 
+
85  other.id = 0;
+
86  other.texture = {};
+
87  other.depth = {};
+
88 
+
89  return *this;
+
90  }
+
91 
+
92  ~RenderTexture() {
+
93  Unload();
+
94  }
+
95 
+
96  inline void Unload() {
+
97  UnloadRenderTexture(*this);
+
98  }
+
99 
+ +
104  ::BeginTextureMode(*this);
+
105  return *this;
+
106  }
+
107 
+
111  inline RenderTexture& EndMode() {
+
112  ::EndTextureMode();
+
113  return *this;
+
114  }
+
115 
+
119  static RenderTexture Load(int width, int height) {
+
120  return ::LoadRenderTexture(width, height);
+
121  }
+
122 
+
126  bool IsReady() const {
+
127  return id != 0;
+
128  }
+
129 
+
130  private:
+
131  void set(const ::RenderTexture& renderTexture) {
+
132  id = renderTexture.id;
+
133  texture = renderTexture.texture;
+
134  depth = renderTexture.depth;
+
135  }
+
136 };
+
137 typedef RenderTexture RenderTexture2D;
+
138 } // namespace raylib
+
139 
+ + +
142 
+
143 #endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
+
RenderTexture type, for texture rendering.
+
TextureUnmanaged GetTexture()
Get the color buffer attachment texture.
+
RenderTexture & EndMode()
Ends drawing to render texture.
+
bool IsReady() const
Retrieves whether or not the render texture is ready.
+
RenderTexture & BeginMode()
Initializes render texture for drawing.
+
TextureUnmanaged GetDepth()
Depth buffer attachment texture.
+
RenderTexture()
Default constructor to build an empty RenderTexture.
+
static RenderTexture Load(int width, int height)
Load texture for rendering (framebuffer)
+
RenderTexture(int width, int height)
Load texture for rendering (framebuffer)
+
A Texture that is not managed by the C++ garbage collector.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_shader_8hpp_source.html b/_shader_8hpp_source.html new file mode 100644 index 00000000..544df2a0 --- /dev/null +++ b/_shader_8hpp_source.html @@ -0,0 +1,225 @@ + + + + + + + +raylib-cpp: Shader.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Shader.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_SHADER_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_SHADER_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "Texture.hpp"
+
9 
+
10 namespace raylib {
+
14 class Shader : public ::Shader {
+
15  public:
+
16  Shader(const ::Shader& shader) {
+
17  set(shader);
+
18  }
+
19 
+
20  Shader(unsigned int id, int* locs = nullptr) : ::Shader{id, locs} {}
+
21 
+
22  Shader(const std::string& vsFileName, const std::string& fsFileName) {
+
23  set(::LoadShader(vsFileName.c_str(), fsFileName.c_str()));
+
24  }
+
25 
+
26  Shader(const char* vsFileName, const char* fsFileName) {
+
27  set(::LoadShader(vsFileName, fsFileName));
+
28  }
+
29 
+
30  Shader(const Shader&) = delete;
+
31 
+
32  Shader(Shader&& other) {
+
33  set(other);
+
34 
+
35  other.id = 0;
+
36  other.locs = nullptr;
+
37  }
+
38 
+
44  static ::Shader Load(const std::string& vsFileName, const std::string& fsFileName) {
+
45  return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
+
46  }
+
47 
+
53  static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
+
54  return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
+
55  }
+
56 
+
57  GETTERSETTER(unsigned int, Id, id)
+
58  GETTERSETTER(int*, Locs, locs)
+
59 
+
60  Shader& operator=(const ::Shader& shader) {
+
61  set(shader);
+
62  return *this;
+
63  }
+
64 
+
65  Shader& operator=(const Shader&) = delete;
+
66 
+
67  Shader& operator=(Shader&& other) noexcept {
+
68  if (this == &other) {
+
69  return *this;
+
70  }
+
71 
+
72  Unload();
+
73  set(other);
+
74 
+
75  other.id = 0;
+
76  other.locs = nullptr;
+
77 
+
78  return *this;
+
79  }
+
80 
+
84  ~Shader() {
+
85  Unload();
+
86  }
+
87 
+
91  void Unload() {
+
92  if (locs != nullptr) {
+
93  ::UnloadShader(*this);
+
94  }
+
95  }
+
96 
+
100  inline Shader& BeginMode() {
+
101  ::BeginShaderMode(*this);
+
102  return *this;
+
103  }
+
104 
+
108  inline Shader& EndMode() {
+
109  ::EndShaderMode();
+
110  return *this;
+
111  }
+
112 
+
118  inline int GetLocation(const std::string& uniformName) const {
+
119  return ::GetShaderLocation(*this, uniformName.c_str());
+
120  }
+
121 
+
127  inline int GetLocationAttrib(const std::string& attribName) const {
+
128  return ::GetShaderLocationAttrib(*this, attribName.c_str());
+
129  }
+
130 
+
136  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
+
137  ::SetShaderValue(*this, uniformLoc, value, uniformType);
+
138  return *this;
+
139  }
+
140 
+
146  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
+
147  ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
+
148  return *this;
+
149  }
+
150 
+
156  inline Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
+
157  ::SetShaderValueMatrix(*this, uniformLoc, mat);
+
158  return *this;
+
159  }
+
160 
+
166  inline Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
+
167  ::SetShaderValueTexture(*this, uniformLoc, texture);
+
168  return *this;
+
169  }
+
170 
+
174  bool IsReady() const {
+
175  return id != 0 && locs != nullptr;
+
176  }
+
177 
+
178  private:
+
179  void set(const ::Shader& shader) {
+
180  id = shader.id;
+
181  locs = shader.locs;
+
182  }
+
183 };
+
184 } // namespace raylib
+
185 
+
186 using RShader = raylib::Shader;
+
187 
+
188 #endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
+
Shader type (generic)
Definition: Shader.hpp:14
+
Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
Set shader uniform value vector.
Definition: Shader.hpp:146
+
Shader & EndMode()
End custom shader drawing (use default shader).
Definition: Shader.hpp:108
+
void Unload()
Unload shader from GPU memory (VRAM)
Definition: Shader.hpp:91
+
~Shader()
Unload shader from GPU memory (VRAM)
Definition: Shader.hpp:84
+
Shader & BeginMode()
Begin custom shader drawing.
Definition: Shader.hpp:100
+
::Shader Load(const std::string &vsFileName, const std::string &fsFileName)
Load shader from files and bind default locations.
Definition: Shader.hpp:44
+
Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
Set shader uniform value for texture.
Definition: Shader.hpp:166
+
::Shader LoadFromMemory(const std::string &vsCode, const std::string &fsCode)
Load a shader from memory.
Definition: Shader.hpp:53
+
int GetLocation(const std::string &uniformName) const
Get shader uniform location.
Definition: Shader.hpp:118
+
int GetLocationAttrib(const std::string &attribName) const
Get shader attribute location.
Definition: Shader.hpp:127
+
bool IsReady() const
Retrieves whether or not the shader is ready.
Definition: Shader.hpp:174
+
Shader & SetValue(int uniformLoc, const ::Matrix &mat)
Set shader uniform value (matrix 4x4)
Definition: Shader.hpp:156
+
Shader & SetValue(int uniformLoc, const void *value, int uniformType)
Set shader uniform value.
Definition: Shader.hpp:136
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_sound_8hpp_source.html b/_sound_8hpp_source.html new file mode 100644 index 00000000..da9e5f27 --- /dev/null +++ b/_sound_8hpp_source.html @@ -0,0 +1,262 @@ + + + + + + + +raylib-cpp: Sound.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Sound.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_SOUND_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_SOUND_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./RaylibException.hpp"
+
9 
+
10 namespace raylib {
+
19 class Sound : public ::Sound {
+
20  public:
+
21  Sound(const Sound&) = delete;
+
22  Sound& operator=(const Sound&) = delete;
+
23 
+
24  Sound() {
+
25  stream = { nullptr, nullptr, 0, 0, 0 };
+
26  frameCount = 0;
+
27  }
+
28 
+
29  Sound(::AudioStream stream, unsigned int frameCount) : ::Sound{stream, frameCount} {
+
30  // Nothing.
+
31  }
+
32 
+
33  Sound(Sound&& other) {
+
34  set(other);
+
35 
+
36  other.stream = { nullptr, nullptr, 0, 0, 0 };
+
37  other.frameCount = 0;
+
38  }
+
39 
+
45  Sound(const std::string& fileName) {
+
46  Load(fileName);
+
47  }
+
48 
+
54  Sound(const ::Wave& wave) {
+
55  Load(wave);
+
56  }
+
57 
+
58  ~Sound() {
+
59  Unload();
+
60  }
+
61 
+
62  GETTERSETTER(unsigned int, FrameCount, frameCount)
+
63  GETTERSETTER(::AudioStream, Stream, stream)
+
64 
+
65  Sound& operator=(Sound&& other) noexcept {
+
66  if (this == &other) {
+
67  return *this;
+
68  }
+
69 
+
70  Unload();
+
71  set(other);
+
72  other.frameCount = 0;
+
73  other.stream = { nullptr, nullptr, 0, 0, 0 };
+
74 
+
75  return *this;
+
76  }
+
77 
+
81  inline Sound& Update(const void *data, int samplesCount) {
+
82  ::UpdateSound(*this, data, samplesCount);
+
83  return *this;
+
84  }
+
85 
+
89  inline Sound& Update(const void *data) {
+
90  ::UpdateSound(*this, data, static_cast<int>(frameCount));
+
91  return *this;
+
92  }
+
93 
+
97  inline void Unload() {
+
98  // Protect against calling UnloadSound() twice.
+
99  if (frameCount != 0) {
+
100  ::UnloadSound(*this);
+
101  frameCount = 0;
+
102  }
+
103  }
+
104 
+
108  inline Sound& Play() {
+
109  ::PlaySound(*this);
+
110  return *this;
+
111  }
+
112 
+
116  inline Sound& Stop() {
+
117  ::StopSound(*this);
+
118  return *this;
+
119  }
+
120 
+
124  inline Sound& Pause() {
+
125  ::PauseSound(*this);
+
126  return *this;
+
127  }
+
128 
+
132  inline Sound& Resume() {
+
133  ::ResumeSound(*this);
+
134  return *this;
+
135  }
+
136 
+
140  inline Sound& PlayMulti() {
+
141  ::PlaySoundMulti(*this);
+
142  return *this;
+
143  }
+
144 
+
148  inline Sound& StopMulti() {
+
149  ::StopSoundMulti();
+
150  return *this;
+
151  }
+
152 
+
156  inline bool IsPlaying() const {
+
157  return ::IsSoundPlaying(*this);
+
158  }
+
159 
+
163  inline Sound& SetVolume(float volume) {
+
164  ::SetSoundVolume(*this, volume);
+
165  return *this;
+
166  }
+
167 
+
171  inline Sound& SetPitch(float pitch) {
+
172  ::SetSoundPitch(*this, pitch);
+
173  return *this;
+
174  }
+
175 
+
179  inline Sound& SetPan(float pan = 0.5f) {
+
180  ::SetSoundPan(*this, pan);
+
181  return *this;
+
182  }
+
183 
+
189  void Load(const std::string& fileName) {
+
190  set(::LoadSound(fileName.c_str()));
+
191  if (!IsReady()) {
+
192  throw new RaylibException("Failed to load Sound from file");
+
193  }
+
194  }
+
195 
+
201  void Load(const ::Wave& wave) {
+
202  set(::LoadSoundFromWave(wave));
+
203  if (!IsReady()) {
+
204  throw new RaylibException("Failed to load Wave");
+
205  }
+
206  }
+
207 
+
213  bool IsReady() const {
+
214  return stream.buffer != nullptr;
+
215  }
+
216 
+
220  int GetPlaying() {
+
221  return ::GetSoundsPlaying();
+
222  }
+
223 
+
224  private:
+
225  void set(const ::Sound& sound) {
+
226  frameCount = sound.frameCount;
+
227  stream = sound.stream;
+
228  }
+
229 };
+
230 } // namespace raylib
+
231 
+
232 using RSound = raylib::Sound;
+
233 
+
234 #endif // RAYLIB_CPP_INCLUDE_SOUND_HPP_
+
AudioStream management functions.
Definition: AudioStream.hpp:12
+
Exception used for most raylib-related exceptions.
+
Wave/Sound management functions.
Definition: Sound.hpp:19
+
Sound & SetVolume(float volume)
Set volume for a sound (1.0 is max level)
Definition: Sound.hpp:163
+
Sound & Resume()
Resume a paused sound.
Definition: Sound.hpp:132
+
Sound(const std::string &fileName)
Loads a sound from the given file.
Definition: Sound.hpp:45
+
void Unload()
Unload sound.
Definition: Sound.hpp:97
+
void Load(const ::Wave &wave)
Loads the given Wave object into the Sound.
Definition: Sound.hpp:201
+
Sound & Play()
Play a sound.
Definition: Sound.hpp:108
+
Sound & SetPan(float pan=0.5f)
Set pan for a sound (0.5 is center)
Definition: Sound.hpp:179
+
int GetPlaying()
Get number of sounds playing in the multichannel.
Definition: Sound.hpp:220
+
Sound & SetPitch(float pitch)
Set pitch for a sound (1.0 is base level)
Definition: Sound.hpp:171
+
Sound & Pause()
Pause a sound.
Definition: Sound.hpp:124
+
Sound & StopMulti()
Stop any sound playing (using multichannel buffer pool)
Definition: Sound.hpp:148
+
bool IsReady() const
Retrieve whether or not the Sound buffer is loaded.
Definition: Sound.hpp:213
+
void Load(const std::string &fileName)
Load a sound from the given file.
Definition: Sound.hpp:189
+
Sound & Update(const void *data)
Update sound buffer with new data, assuming it's the same sample count.
Definition: Sound.hpp:89
+
bool IsPlaying() const
Check if a sound is currently playing.
Definition: Sound.hpp:156
+
Sound & Update(const void *data, int samplesCount)
Update sound buffer with new data.
Definition: Sound.hpp:81
+
Sound & PlayMulti()
Play a sound (using multichannel buffer pool)
Definition: Sound.hpp:140
+
Sound(const ::Wave &wave)
Loads a sound from the given Wave.
Definition: Sound.hpp:54
+
Sound & Stop()
Stop playing a sound.
Definition: Sound.hpp:116
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_text_8hpp_source.html b/_text_8hpp_source.html new file mode 100644 index 00000000..73ae7b28 --- /dev/null +++ b/_text_8hpp_source.html @@ -0,0 +1,243 @@ + + + + + + + +raylib-cpp: Text.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Text.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_TEXT_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_TEXT_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./RaylibException.hpp"
+
8 #include "./raylib-cpp-utils.hpp"
+
9 
+
10 namespace raylib {
+
14 class Text {
+
15  public:
+
19  std::string text;
+
20 
+
24  float fontSize;
+
25 
+ +
30 
+ +
35 
+
39  float spacing;
+
40 
+ +
51  const std::string& text = "",
+
52  float fontSize = 10,
+
53  const ::Color& color = WHITE,
+
54  const ::Font& font = ::GetFontDefault(),
+
55  float spacing = 0) :
+
56  text(text),
+ +
58  color(color),
+
59  font(font),
+
60  spacing(spacing) {
+
61  // Nothing.
+
62  }
+
63 
+ +
74  const ::Font& font,
+
75  const std::string& text = "",
+
76  float fontSize = 10,
+
77  float spacing = 0,
+
78  const ::Color& color = WHITE) :
+
79  text(text),
+ +
81  color(color),
+
82  font(font),
+
83  spacing(spacing) {
+
84  // Nothing.
+
85  }
+
86 
+
87  GETTERSETTER(std::string, Text, text)
+
88  GETTERSETTER(float, FontSize, fontSize)
+
89  GETTERSETTER(::Font, Font, font)
+
90  GETTERSETTER(::Color, Color, color)
+
91  GETTERSETTER(float, Spacing, spacing)
+
92 
+
96  inline void Draw(const ::Vector2& position) const {
+
97  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
+
98  }
+
99 
+
103  inline void Draw(int posX, int posY) const {
+ +
105  text.c_str(),
+
106  { static_cast<float>(posX), static_cast<float>(posY) },
+
107  fontSize,
+
108  spacing,
+
109  color);
+
110  }
+
111 
+
117  inline void Draw(const ::Vector2& position, float rotation, const ::Vector2& origin = {0, 0}) const {
+
118  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
+
119  }
+
120 
+
124  inline int Measure() {
+
125  return ::MeasureText(text.c_str(), static_cast<int>(fontSize));
+
126  }
+
127 
+
131  inline Vector2 MeasureEx() {
+
132  return ::MeasureTextEx(font, text.c_str(), fontSize, spacing);
+
133  }
+
134 
+
135  Text& operator=(const Text& other) {
+
136  if (this == &other) {
+
137  return *this;
+
138  }
+
139 
+
140  text = other.text;
+
141  fontSize = other.fontSize;
+
142  color = other.color;
+
143  font = other.font;
+
144  spacing = other.spacing;
+
145 
+
146  return *this;
+
147  }
+
148 
+
154  static inline void Draw(
+
155  const std::string& text,
+
156  const int posX,
+
157  const int posY,
+
158  const int fontSize,
+
159  const ::Color& color) {
+
160  ::DrawText(text.c_str(), posX, posY, fontSize, color);
+
161  }
+
162 
+
168  static inline void Draw(
+
169  const std::string& text,
+
170  const ::Vector2& pos,
+
171  const int fontSize,
+
172  const ::Color& color) {
+
173  ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
+
174  }
+
175 
+
181  static inline void Draw(
+
182  const ::Font& font,
+
183  const std::string& text,
+
184  const ::Vector2& position,
+
185  const float fontSize,
+
186  const float spacing,
+
187  const ::Color& color) {
+
188  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
+
189  }
+
190 
+
196  static inline void Draw(
+
197  const ::Font& font,
+
198  const std::string& text,
+
199  const ::Vector2& position,
+
200  const ::Vector2& origin,
+
201  const float rotation,
+
202  const float fontSize,
+
203  const float spacing,
+
204  const ::Color& color) {
+
205  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
+
206  }
+
207 };
+
208 } // namespace raylib
+
209 
+
210 using RText = raylib::Text;
+
211 
+
212 #endif // RAYLIB_CPP_INCLUDE_TEXT_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Font type, includes texture and charSet array data.
Definition: Font.hpp:15
+
Text Functions.
Definition: Text.hpp:14
+
float fontSize
The size of the text.
Definition: Text.hpp:24
+
Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
Initializes a new Text object with a custom font.
Definition: Text.hpp:73
+
static void Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
Draw text using font and color, with position defined as Vector2.
Definition: Text.hpp:168
+
static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
Draw text using font, color, position, font size and spacing.
Definition: Text.hpp:181
+
float spacing
The character spacing for the text.
Definition: Text.hpp:39
+
int Measure()
Measure string width for default font.
Definition: Text.hpp:124
+
::Font font
The internal raylib font to use for the text.
Definition: Text.hpp:34
+
Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
Initializes a new Text object.
Definition: Text.hpp:50
+
static void Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
Draw text using font and color.
Definition: Text.hpp:154
+
Vector2 MeasureEx()
Measure string size for Font.
Definition: Text.hpp:131
+
::Color color
The color of the text.
Definition: Text.hpp:29
+
std::string text
The internal text.
Definition: Text.hpp:19
+
static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
Draw text using font, color, position, origin, font size and spacing.
Definition: Text.hpp:196
+
void Draw(const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const
Draw text using Font and pro parameters (rotation).
Definition: Text.hpp:117
+
void Draw(int posX, int posY) const
Draw text with values in class.
Definition: Text.hpp:103
+
void Draw(const ::Vector2 &position) const
Draw text with values in class.
Definition: Text.hpp:96
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
Draw text (using default font)
Definition: Functions.hpp:251
+
static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
Draw text using Font and pro parameters (rotation)
Definition: Functions.hpp:266
+
static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
Draw text using font and additional parameters.
Definition: Functions.hpp:258
+
+ + + + diff --git a/_texture_8hpp_source.html b/_texture_8hpp_source.html new file mode 100644 index 00000000..19cbe8c2 --- /dev/null +++ b/_texture_8hpp_source.html @@ -0,0 +1,147 @@ + + + + + + + +raylib-cpp: Texture.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Texture.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
+
3 
+
4 #include "./TextureUnmanaged.hpp"
+
5 
+
6 namespace raylib {
+
14 class Texture : public TextureUnmanaged {
+
15  public:
+ +
17 
+
21  Texture(const Texture&) = delete;
+
22 
+
26  Texture& operator=(const Texture&) = delete;
+
27 
+
31  Texture(Texture&& other) {
+
32  set(other);
+
33 
+
34  other.id = 0;
+
35  other.width = 0;
+
36  other.height = 0;
+
37  other.mipmaps = 0;
+
38  other.format = 0;
+
39  }
+
40 
+ +
45  Unload();
+
46  }
+
47 
+
51  Texture& operator=(Texture&& other) noexcept {
+
52  if (this == &other) {
+
53  return *this;
+
54  }
+
55 
+
56  Unload();
+
57  set(other);
+
58 
+
59  other.id = 0;
+
60  other.width = 0;
+
61  other.height = 0;
+
62  other.mipmaps = 0;
+
63  other.format = 0;
+
64 
+
65  return *this;
+
66  }
+
67 };
+
68 
+
69 // Create the Texture aliases.
+
70 typedef Texture Texture2D;
+
71 typedef Texture TextureCubemap;
+
72 
+
73 } // namespace raylib
+
74 
+ + + +
78 
+
79 #endif // RAYLIB_CPP_INCLUDE_TEXTURE_HPP_
+
Texture type.
Definition: Texture.hpp:14
+
Texture(const Texture &)=delete
Explicitly forbid the copy constructor.
+
Texture(Texture &&other)
Move constructor.
Definition: Texture.hpp:31
+
Texture & operator=(const Texture &)=delete
Explicitly forbid copy assignment.
+
Texture & operator=(Texture &&other) noexcept
Move assignment.
Definition: Texture.hpp:51
+
~Texture()
On destruction, unload the Texture.
Definition: Texture.hpp:44
+
A Texture that is not managed by the C++ garbage collector.
+
TextureUnmanaged()
Default texture constructor.
+
void Unload()
Unload texture from GPU memory (VRAM)
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_texture_unmanaged_8hpp_source.html b/_texture_unmanaged_8hpp_source.html new file mode 100644 index 00000000..80cac4c1 --- /dev/null +++ b/_texture_unmanaged_8hpp_source.html @@ -0,0 +1,381 @@ + + + + + + + +raylib-cpp: TextureUnmanaged.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
TextureUnmanaged.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_TEXTUREUNMANAGED_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_TEXTUREUNMANAGED_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./Vector2.hpp"
+
9 #include "./Material.hpp"
+
10 #include "./RaylibException.hpp"
+
11 #include "./Image.hpp"
+
12 
+
13 namespace raylib {
+
21 class TextureUnmanaged : public ::Texture {
+
22  public:
+
26  TextureUnmanaged() : ::Texture{0, 0, 0, 0, 0} {
+
27  // Nothing.
+
28  }
+
29 
+
33  TextureUnmanaged(unsigned int id,
+
34  int width, int height,
+
35  int mipmaps = 1,
+
36  int format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
+
37  : ::Texture{id, width, height, mipmaps, format} {
+
38  // Nothing.
+
39  }
+
40 
+
44  TextureUnmanaged(const ::Texture& texture) :
+
45  ::Texture{texture.id, texture.width, texture.height, texture.mipmaps, texture.format} {
+
46  // Nothing.
+
47  }
+
48 
+
54  TextureUnmanaged(const ::Image& image) {
+
55  Load(image);
+
56  }
+
57 
+
65  TextureUnmanaged(const ::Image& image, int layout) {
+
66  Load(image, layout);
+
67  }
+
68 
+
74  TextureUnmanaged(const std::string& fileName) {
+
75  Load(fileName);
+
76  }
+
77 
+
78  TextureUnmanaged(::Texture&& other) :
+
79  ::Texture{other.id, other.width, other.height, other.mipmaps, other.format} {
+
80  // Nothing.
+
81  }
+
82 
+
83  GETTERSETTER(unsigned int, Id, id)
+
84  GETTERSETTER(int, Width, width)
+
85  GETTERSETTER(int, Height, height)
+
86  GETTERSETTER(int, Mipmaps, mipmaps)
+
87  GETTERSETTER(int, Format, format)
+
88 
+
89  TextureUnmanaged& operator=(const ::Texture& texture) {
+
90  set(texture);
+
91  return *this;
+
92  }
+
93 
+
97  inline ::Vector2 GetSize() const {
+
98  return {static_cast<float>(width), static_cast<float>(height)};
+
99  }
+
100 
+
104  void Load(const ::Image& image) {
+
105  set(::LoadTextureFromImage(image));
+
106  if (!IsReady()) {
+
107  throw RaylibException("Failed to load Texture from Image");
+
108  }
+
109  }
+
110 
+
114  void Load(const ::Image& image, int layoutType) {
+
115  set(::LoadTextureCubemap(image, layoutType));
+
116  if (!IsReady()) {
+
117  throw RaylibException("Failed to load Texture from Cubemap");
+
118  }
+
119  }
+
120 
+
124  void Load(const std::string& fileName) {
+
125  set(::LoadTexture(fileName.c_str()));
+
126  if (!IsReady()) {
+
127  throw RaylibException("Failed to load Texture from file: " + fileName);
+
128  }
+
129  }
+
130 
+
134  inline void Unload() {
+
135  // Protect against calling UnloadTexture() twice.
+
136  if (id != 0) {
+
137  ::UnloadTexture(*this);
+
138  id = 0;
+
139  }
+
140  }
+
141 
+
145  inline TextureUnmanaged& Update(const void *pixels) {
+
146  ::UpdateTexture(*this, pixels);
+
147  return *this;
+
148  }
+
149 
+
153  inline TextureUnmanaged& Update(::Rectangle rec, const void *pixels) {
+
154  UpdateTextureRec(*this, rec, pixels);
+
155  return *this;
+
156  }
+
157 
+
161  inline ::Image GetData() const {
+
162  return ::LoadImageFromTexture(*this);
+
163  }
+
164 
+
168  inline operator Image() {
+
169  return GetData();
+
170  }
+
171 
+ +
176  ::GenTextureMipmaps(this);
+
177  return *this;
+
178  }
+
179 
+
183  inline TextureUnmanaged& SetFilter(int filterMode) {
+
184  ::SetTextureFilter(*this, filterMode);
+
185  return *this;
+
186  }
+
187 
+
191  inline TextureUnmanaged& SetWrap(int wrapMode) {
+
192  ::SetTextureWrap(*this, wrapMode);
+
193  return *this;
+
194  }
+
195 
+
201  inline void Draw(int posX = 0, int posY = 0, ::Color tint = {255, 255, 255, 255}) const {
+
202  ::DrawTexture(*this, posX, posY, tint);
+
203  }
+
204 
+
210  inline void Draw(::Vector2 position, ::Color tint = {255, 255, 255, 255}) const {
+
211  ::DrawTextureV(*this, position, tint);
+
212  }
+
213 
+
219  inline void Draw(::Vector2 position, float rotation, float scale = 1.0f,
+
220  ::Color tint = {255, 255, 255, 255}) const {
+
221  ::DrawTextureEx(*this, position, rotation, scale, tint);
+
222  }
+
223 
+
229  inline void Draw(::Rectangle sourceRec, ::Vector2 position = {0, 0},
+
230  ::Color tint = {255, 255, 255, 255}) const {
+
231  ::DrawTextureRec(*this, sourceRec, position, tint);
+
232  }
+
233 
+
239  inline void Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad,
+
240  ::Color tint = {255, 255, 255, 255}) const {
+
241  ::DrawTextureQuad(*this, tiling, offset, quad, tint);
+
242  }
+
243 
+
249  inline void Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
+
250  float rotation = 0, ::Color tint = {255, 255, 255, 255}) const {
+
251  ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
+
252  }
+
253 
+
259  inline void Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
+
260  float rotation = 0, ::Color tint = {255, 255, 255, 255}) const {
+
261  ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
+
262  }
+
263 
+
269  inline void DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
+
270  float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) const {
+
271  ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
+
272  }
+
273 
+
279  inline void DrawPoly(::Vector2 center, ::Vector2 *points,
+
280  ::Vector2 *texcoords, int pointsCount,
+
281  ::Color tint = {255, 255, 255, 255}) const {
+
282  ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint);
+
283  }
+
284 
+
290  inline void DrawBillboard(const ::Camera& camera,
+
291  ::Vector3 position, float size,
+
292  ::Color tint = {255, 255, 255, 255}) const {
+
293  ::DrawBillboard(camera, *this, position, size, tint);
+
294  }
+
295 
+
301  inline void DrawBillboard(const ::Camera& camera,
+
302  ::Rectangle source, ::Vector3 position, ::Vector2 size,
+
303  ::Color tint = {255, 255, 255, 255}) const {
+
304  DrawBillboardRec(camera, *this, source, position, size, tint);
+
305  }
+
306 
+
312  inline void DrawBillboard(const ::Camera& camera,
+
313  ::Rectangle source, Vector3 position,
+
314  ::Vector3 up, Vector2 size, Vector2 origin, float rotation = 0.0f,
+
315  ::Color tint = {255, 255, 255, 255}) const {
+
316  DrawBillboardPro(camera, *this, source, position, up, size, origin, rotation, tint);
+
317  }
+
318 
+
324  inline void DrawCube(::Vector3 position, float width, float height, float length,
+
325  ::Color color = {255, 255, 255, 255}) const {
+
326  ::DrawCubeTexture(*this, position, width, height, length, color);
+
327  }
+
328 
+
334  inline void DrawCube(::Vector3 position, ::Vector3 dimensions,
+
335  ::Color color = {255, 255, 255, 255}) const {
+
336  ::DrawCubeTexture(*this, position, dimensions.x, dimensions.y, dimensions.z, color);
+
337  }
+
338 
+
344  inline void DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length,
+
345  ::Color color = {255, 255, 255, 255}) const {
+
346  ::DrawCubeTextureRec(*this, source, position, width, height, length, color);
+
347  }
+
348 
+
354  inline void DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions,
+
355  ::Color color = {255, 255, 255, 255}) const {
+
356  ::DrawCubeTextureRec(*this, source, position, dimensions.x, dimensions.y, dimensions.z, color);
+
357  }
+
358 
+
362  inline TextureUnmanaged& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
+
363  ::SetMaterialTexture(material, mapType, *this);
+
364  return *this;
+
365  }
+
366 
+
367  inline TextureUnmanaged& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
+
368  ::SetMaterialTexture((::Material*)(&material), mapType, *this);
+
369  return *this;
+
370  }
+
371 
+
375  inline TextureUnmanaged& SetShapes(const ::Rectangle& source) {
+
376  ::SetShapesTexture(*this, source);
+
377  return *this;
+
378  }
+
379 
+
383  inline TextureUnmanaged& SetShaderValue(const ::Shader& shader, int locIndex) {
+
384  ::SetShaderValueTexture(shader, locIndex, *this);
+
385  return *this;
+
386  }
+
387 
+
393  bool IsReady() const {
+
394  return id != 0;
+
395  }
+
396 
+
397  protected:
+
398  void set(const ::Texture& texture) {
+
399  id = texture.id;
+
400  width = texture.width;
+
401  height = texture.height;
+
402  mipmaps = texture.mipmaps;
+
403  format = texture.format;
+
404  }
+
405 };
+
406 
+
407 // Create the TextureUnmanaged aliases.
+
408 typedef TextureUnmanaged Texture2DUnmanaged;
+
409 typedef TextureUnmanaged TextureCubemapUnmanaged;
+
410 
+
411 } // namespace raylib
+
412 
+ + + +
416 
+
417 #endif // RAYLIB_CPP_INCLUDE_TEXTUREUNMANAGED_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Image type, bpp always RGBA (32bit)
Definition: Image.hpp:17
+
Material type (generic)
Definition: Material.hpp:14
+
Exception used for most raylib-related exceptions.
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Texture type.
Definition: Texture.hpp:14
+
A Texture that is not managed by the C++ garbage collector.
+
void DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const
Draw a billboard texture.
+
TextureUnmanaged & SetFilter(int filterMode)
Set texture scaling filter mode.
+
TextureUnmanaged & Update(::Rectangle rec, const void *pixels)
Update GPU texture rectangle with new data.
+
void Load(const ::Image &image, int layoutType)
Load cubemap from image, multiple image cubemap layouts supported.
+
TextureUnmanaged & Update(const void *pixels)
Update GPU texture with new data.
+
inline ::Image GetData() const
Get pixel data from GPU texture and return an Image.
+
TextureUnmanaged & SetShaderValue(const ::Shader &shader, int locIndex)
Set shader uniform value for texture (sampler2d)
+
void DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const
Draw a textured polygon.
+
TextureUnmanaged(const ::Image &image, int layout)
Load cubemap from image, multiple image cubemap layouts supported.
+
void DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
Draw cube textured, with dimensions.
+
void Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
Draws a texture (or part of it) that stretches or shrinks nicely.
+
TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
Move/Create a texture structure manually.
+
bool IsReady() const
Determines whether or not the Texture has been loaded and is ready.
+
void Load(const ::Image &image)
Load texture from image data.
+
void Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
Draw a part of a texture defined by a rectangle with 'pro' parameters.
+
void DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const
Draw a billboard texture defined by source and rotation.
+
void Load(const std::string &fileName)
Load texture from file into GPU memory (VRAM)
+
void Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const
Draw a Texture2D.
+
TextureUnmanaged & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
+
TextureUnmanaged & GenMipmaps()
Generate GPU mipmaps for a texture.
+
void Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const
Draw a part of a texture defined by a rectangle.
+
inline ::Vector2 GetSize() const
Retrieve the width and height of the texture.
+
void Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) const
Draw a Texture2D with position defined as Vector2.
+
void Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const
Draw texture quad with tiling and offset parameters.
+
void Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
Draw a Texture2D with extended parameters.
+
TextureUnmanaged()
Default texture constructor.
+
void DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const
Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
+
TextureUnmanaged & SetWrap(int wrapMode)
Set texture wrapping mode.
+
void DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
Draw cube with a region of a texture, with dimensions.
+
TextureUnmanaged(const std::string &fileName)
Load texture from file into GPU memory (VRAM)
+
void Unload()
Unload texture from GPU memory (VRAM)
+
void DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
Draw cube with a region of a texture.
+
void DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
Draw cube textured.
+
TextureUnmanaged(const ::Texture &texture)
Creates a texture object based on the given Texture struct data.
+
TextureUnmanaged(const ::Image &image)
Creates a texture from the given Image.
+
TextureUnmanaged & SetShapes(const ::Rectangle &source)
Set texture and rectangle to be used on shapes drawing.
+
void DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
Draw a billboard texture defined by source.
+
Vector2 type.
Definition: Vector2.hpp:16
+
Vector3 type.
Definition: Vector3.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_touch_8hpp_source.html b/_touch_8hpp_source.html new file mode 100644 index 00000000..97b7ac3e --- /dev/null +++ b/_touch_8hpp_source.html @@ -0,0 +1,121 @@ + + + + + + + +raylib-cpp: Touch.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Touch.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_TOUCH_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_TOUCH_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 
+
6 namespace raylib {
+
10 class Touch {
+
11  public:
+
15  inline static int GetX() {
+
16  return ::GetTouchX();
+
17  }
+
18 
+
22  inline static int GetY() {
+
23  return ::GetTouchY();
+
24  }
+
25 
+
29  inline static Vector2 GetPosition(int index) {
+
30  return ::GetTouchPosition(index);
+
31  }
+
32 
+
36  inline static int GetPointId(int index) {
+
37  return ::GetTouchPointId(index);
+
38  }
+
39 
+
43  inline static int GetPointCount() {
+
44  return ::GetTouchPointCount();
+
45  }
+
46 };
+
47 } // namespace raylib
+
48 
+
49 using RTouch = raylib::Touch;
+
50 
+
51 #endif // RAYLIB_CPP_INCLUDE_TOUCH_HPP_
+
Input-related functions: touch.
Definition: Touch.hpp:10
+
static Vector2 GetPosition(int index)
Get touch position XY for a touch point index (relative to screen size)
Definition: Touch.hpp:29
+
static int GetPointCount()
Get number of touch points.
Definition: Touch.hpp:43
+
static int GetPointId(int index)
Get touch point identifier for given index.
Definition: Touch.hpp:36
+
static int GetY()
Get touch position Y for touch point 0 (relative to screen size)
Definition: Touch.hpp:22
+
static int GetX()
Get touch position X for touch point 0 (relative to screen size)
Definition: Touch.hpp:15
+
Vector2 type.
Definition: Vector2.hpp:16
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_vector2_8hpp_source.html b/_vector2_8hpp_source.html new file mode 100644 index 00000000..3f12a3ea --- /dev/null +++ b/_vector2_8hpp_source.html @@ -0,0 +1,417 @@ + + + + + + + +raylib-cpp: Vector2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Vector2.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
+
3 
+
4 #ifndef RAYLIB_CPP_NO_MATH
+
5 #include <cmath>
+
6 #endif
+
7 
+
8 #include "./raylib.hpp"
+
9 #include "./raymath.hpp"
+
10 #include "./raylib-cpp-utils.hpp"
+
11 
+
12 namespace raylib {
+
16 class Vector2 : public ::Vector2 {
+
17  public:
+
18  Vector2(const ::Vector2& vec) : ::Vector2{vec.x, vec.y} {}
+
19 
+
20  Vector2(float x, float y) : ::Vector2{x, y} {}
+
21  Vector2(float x) : ::Vector2{x, 0} {}
+
22  Vector2() : ::Vector2{0, 0} {}
+
23 
+
24  GETTERSETTER(float, X, x)
+
25  GETTERSETTER(float, Y, y)
+
26 
+
30  Vector2& operator=(const ::Vector2& vector2) {
+
31  set(vector2);
+
32  return *this;
+
33  }
+
34 
+
38  bool operator==(const ::Vector2& other) {
+
39  return x == other.x
+
40  && y == other.y;
+
41  }
+
42 
+
46  bool operator!=(const ::Vector2& other) {
+
47  return !(*this == other);
+
48  }
+
49 
+
50 #ifndef RAYLIB_CPP_NO_MATH
+
54  inline Vector2 Add(const ::Vector2& vector2) const {
+
55  return Vector2Add(*this, vector2);
+
56  }
+
57 
+
61  inline Vector2 operator+(const ::Vector2& vector2) const {
+
62  return Vector2Add(*this, vector2);
+
63  }
+
64 
+
68  Vector2& operator+=(const ::Vector2& vector2) {
+
69  set(Vector2Add(*this, vector2));
+
70 
+
71  return *this;
+
72  }
+
73 
+
77  inline Vector2 Subtract(const ::Vector2& vector2) const {
+
78  return Vector2Subtract(*this, vector2);
+
79  }
+
80 
+
84  inline Vector2 operator-(const ::Vector2& vector2) const {
+
85  return Vector2Subtract(*this, vector2);
+
86  }
+
87 
+
91  Vector2& operator-=(const ::Vector2& vector2) {
+
92  set(Vector2Subtract(*this, vector2));
+
93 
+
94  return *this;
+
95  }
+
96 
+
100  inline Vector2 Negate() const {
+
101  return Vector2Negate(*this);
+
102  }
+
103 
+
107  inline Vector2 operator-() const {
+
108  return Vector2Negate(*this);
+
109  }
+
110 
+
114  inline Vector2 Multiply(const ::Vector2& vector2) const {
+
115  return Vector2Multiply(*this, vector2);
+
116  }
+
117 
+
121  inline Vector2 operator*(const ::Vector2& vector2) const {
+
122  return Vector2Multiply(*this, vector2);
+
123  }
+
124 
+
128  Vector2& operator*=(const ::Vector2& vector2) {
+
129  set(Vector2Multiply(*this, vector2));
+
130 
+
131  return *this;
+
132  }
+
133 
+
137  inline Vector2 Scale(const float scale) const {
+
138  return Vector2Scale(*this, scale);
+
139  }
+
140 
+
144  inline Vector2 operator*(const float scale) const {
+
145  return Vector2Scale(*this, scale);
+
146  }
+
147 
+
151  Vector2& operator*=(const float scale) {
+
152  set(Vector2Scale(*this, scale));
+
153 
+
154  return *this;
+
155  }
+
156 
+
160  inline Vector2 Divide(const ::Vector2& vector2) const {
+
161  return Vector2Divide(*this, vector2);
+
162  }
+
163 
+
167  inline Vector2 operator/(const ::Vector2& vector2) const {
+
168  return Vector2Divide(*this, vector2);
+
169  }
+
170 
+
174  Vector2& operator/=(const ::Vector2& vector2) {
+
175  set(Vector2Divide(*this, vector2));
+
176 
+
177  return *this;
+
178  }
+
179 
+
183  inline Vector2 Divide(const float div) const {
+
184  return ::Vector2{x / div, y / div};
+
185  }
+
186 
+
190  inline Vector2 operator/(const float div) const {
+
191  return Divide(div);
+
192  }
+
193 
+
197  Vector2& operator/=(const float div) {
+
198  this->x /= div;
+
199  this->y /= div;
+
200 
+
201  return *this;
+
202  }
+
203 
+
207  inline Vector2 Normalize() const {
+
208  return Vector2Normalize(*this);
+
209  }
+
210 
+
214  inline Vector2 Transform(::Matrix mat) {
+
215  return ::Vector2Transform(*this, mat);
+
216  }
+
217 
+
221  inline Vector2 Lerp(const ::Vector2& vector2, float amount) const {
+
222  return Vector2Lerp(*this, vector2, amount);
+
223  }
+
224 
+
228  inline Vector2 Reflect(const ::Vector2& normal) const {
+
229  return Vector2Reflect(*this, normal);
+
230  }
+
231 
+
235  inline Vector2 Rotate(float degrees) const {
+
236  return Vector2Rotate(*this, degrees);
+
237  }
+
238 
+
242  inline Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
+
243  return Vector2MoveTowards(*this, target, maxDistance);
+
244  }
+
245 
+
249  inline Vector2 Invert() {
+
250  return ::Vector2Invert(*this);
+
251  }
+
252 
+
256  inline Vector2 Clamp(::Vector2 min, ::Vector2 max) {
+
257  return ::Vector2Clamp(*this, min, max);
+
258  }
+
259 
+
263  inline Vector2 Clamp(float min, float max) {
+
264  return ::Vector2ClampValue(*this, min, max);
+
265  }
+
266 
+
270  inline int Equals(::Vector2 q) {
+
271  return ::Vector2Equals(*this, q);
+
272  }
+
273 
+
277  inline float Length() const {
+
278  return Vector2Length(*this);
+
279  }
+
280 
+
284  inline float LengthSqr() const {
+
285  return Vector2LengthSqr(*this);
+
286  }
+
287 
+
291  inline float DotProduct(const ::Vector2& vector2) const {
+
292  return Vector2DotProduct(*this, vector2);
+
293  }
+
294 
+
298  inline float Distance(const ::Vector2& vector2) const {
+
299  return Vector2Distance(*this, vector2);
+
300  }
+
301 
+
305  inline float DistanceSqr(::Vector2 v2) {
+
306  return ::Vector2DistanceSqr(*this, v2);
+
307  }
+
308 
+
312  inline float Angle(const ::Vector2& vector2) const {
+
313  return Vector2Angle(*this, vector2);
+
314  }
+
315 
+
319  static inline Vector2 Zero() {
+
320  return Vector2Zero();
+
321  }
+
322 
+
326  static inline Vector2 One() {
+
327  return Vector2One();
+
328  }
+
329 #endif
+
330 
+
331  inline void DrawPixel(::Color color = {0, 0, 0, 255}) const {
+
332  ::DrawPixelV(*this, color);
+
333  }
+
334 
+
335  inline void DrawLine(::Vector2 endPos, ::Color color = {0, 0, 0, 255}) const {
+
336  ::DrawLineV(*this, endPos, color);
+
337  }
+
338 
+
339  inline void DrawLine(::Vector2 endPos, float thick, ::Color color = {0, 0, 0, 255}) const {
+
340  ::DrawLineEx(*this, endPos, thick, color);
+
341  }
+
342 
+
343  inline void DrawLineBezier(::Vector2 endPos, float thick, ::Color color = {0, 0, 0, 255}) const {
+
344  ::DrawLineBezier(*this, endPos, thick, color);
+
345  }
+
346 
+
350  inline void DrawLineBezierQuad(
+
351  ::Vector2 endPos,
+
352  ::Vector2 controlPos,
+
353  float thick,
+
354  ::Color color = {0, 0, 0, 255}) const {
+
355  ::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
+
356  }
+
357 
+
361  inline void DrawCircle(float radius, ::Color color = {0, 0, 0, 255}) const {
+
362  ::DrawCircleV(*this, radius, color);
+
363  }
+
364 
+
365  inline void DrawRectangle(::Vector2 size, ::Color color = {0, 0, 0, 255}) const {
+
366  ::DrawRectangleV(*this, size, color);
+
367  }
+
368 
+
369  inline void DrawPoly(int sides, float radius, float rotation, ::Color color = {0, 0, 0, 255}) const {
+
370  ::DrawPoly(*this, sides, radius, rotation, color);
+
371  }
+
372 
+
376  inline bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
+
377  return ::CheckCollisionCircles(*this, radius1, center2, radius2);
+
378  }
+
379 
+
383  inline bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
+
384  return ::CheckCollisionCircleRec(*this, radius, rec);
+
385  }
+
386 
+
390  inline bool CheckCollision(::Rectangle rec) const {
+
391  return ::CheckCollisionPointRec(*this, rec);
+
392  }
+
393 
+
397  inline bool CheckCollision(::Vector2 center, float radius) const {
+
398  return ::CheckCollisionPointCircle(*this, center, radius);
+
399  }
+
400 
+
404  inline bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
+
405  return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
+
406  }
+
407 
+
411  inline bool CheckCollisionLines(
+
412  ::Vector2 endPos1,
+
413  ::Vector2 startPos2, ::Vector2 endPos2,
+
414  ::Vector2 *collisionPoint) const {
+
415  return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
+
416  }
+
417 
+
421  inline bool CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold = 1) {
+
422  return ::CheckCollisionPointLine(*this, p1, p2, threshold);
+
423  }
+
424 
+
425  private:
+
426  void set(const ::Vector2& vec) {
+
427  x = vec.x;
+
428  y = vec.y;
+
429  }
+
430 };
+
431 
+
432 } // namespace raylib
+
433 
+
434 using RVector2 = raylib::Vector2;
+
435 
+
436 #endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Matrix type (OpenGL style 4x4 - right handed, column major)
Definition: Matrix.hpp:16
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Vector2 type.
Definition: Vector2.hpp:16
+
int Equals(::Vector2 q)
Check whether two given vectors are almost equal.
Definition: Vector2.hpp:270
+
bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
Check if point is inside a triangle.
Definition: Vector2.hpp:404
+
Vector2 MoveTowards(const ::Vector2 &target, float maxDistance) const
Move Vector towards target.
Definition: Vector2.hpp:242
+
bool CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold=1)
Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels...
Definition: Vector2.hpp:421
+
Vector2 Subtract(const ::Vector2 &vector2) const
Subtract two vectors (v1 - v2)
Definition: Vector2.hpp:77
+
Vector2 operator*(const float scale) const
Scale vector (multiply by value)
Definition: Vector2.hpp:144
+
bool CheckCollision(::Rectangle rec) const
Check if point is inside rectangle.
Definition: Vector2.hpp:390
+
Vector2 & operator*=(const float scale)
Scale vector (multiply by value)
Definition: Vector2.hpp:151
+
Vector2 Lerp(const ::Vector2 &vector2, float amount) const
Calculate linear interpolation between two vectors.
Definition: Vector2.hpp:221
+
Vector2 Invert()
Invert the given vector.
Definition: Vector2.hpp:249
+
float Length() const
Calculate vector length.
Definition: Vector2.hpp:277
+
float DotProduct(const ::Vector2 &vector2) const
Calculate two vectors dot product.
Definition: Vector2.hpp:291
+
Vector2 Rotate(float degrees) const
Rotate Vector by float in Degrees.
Definition: Vector2.hpp:235
+
float LengthSqr() const
Calculate vector square length.
Definition: Vector2.hpp:284
+
Vector2 Clamp(::Vector2 min, ::Vector2 max)
Clamp the components of the vector between.
Definition: Vector2.hpp:256
+
Vector2 & operator*=(const ::Vector2 &vector2)
Multiply vector by vector.
Definition: Vector2.hpp:128
+
Vector2 & operator-=(const ::Vector2 &vector2)
Add two vectors (v1 + v2)
Definition: Vector2.hpp:91
+
float Distance(const ::Vector2 &vector2) const
Calculate distance between two vectors.
Definition: Vector2.hpp:298
+
Vector2 Clamp(float min, float max)
// Clamp the magnitude of the vector between two min and max values
Definition: Vector2.hpp:263
+
bool CheckCollision(::Vector2 center, float radius) const
Check if point is inside circle.
Definition: Vector2.hpp:397
+
Vector2 Divide(const ::Vector2 &vector2) const
Divide vector by vector.
Definition: Vector2.hpp:160
+
bool CheckCollisionCircle(float radius, ::Rectangle rec) const
Check collision between circle and rectangle.
Definition: Vector2.hpp:383
+
static Vector2 Zero()
Vector with components value 0.0f.
Definition: Vector2.hpp:319
+
void DrawCircle(float radius, ::Color color={0, 0, 0, 255}) const
Draw a color-filled circle (Vector version)
Definition: Vector2.hpp:361
+
bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const
Check collision between two circles.
Definition: Vector2.hpp:376
+
Vector2 Reflect(const ::Vector2 &normal) const
Calculate reflected vector to normal.
Definition: Vector2.hpp:228
+
Vector2 & operator/=(const float div)
Divide vector by value.
Definition: Vector2.hpp:197
+
Vector2 Multiply(const ::Vector2 &vector2) const
Multiply vector by vector.
Definition: Vector2.hpp:114
+
Vector2 operator+(const ::Vector2 &vector2) const
Add two vectors (v1 + v2)
Definition: Vector2.hpp:61
+
Vector2 operator/(const ::Vector2 &vector2) const
Divide vector by vector.
Definition: Vector2.hpp:167
+
bool operator==(const ::Vector2 &other)
Determine whether or not the vectors are equal.
Definition: Vector2.hpp:38
+
Vector2 & operator/=(const ::Vector2 &vector2)
Divide vector by vector.
Definition: Vector2.hpp:174
+
Vector2 Negate() const
Negate vector.
Definition: Vector2.hpp:100
+
Vector2 Scale(const float scale) const
Scale vector (multiply by value)
Definition: Vector2.hpp:137
+
Vector2 Add(const ::Vector2 &vector2) const
Add two vectors (v1 + v2)
Definition: Vector2.hpp:54
+
Vector2 operator*(const ::Vector2 &vector2) const
Multiply vector by vector.
Definition: Vector2.hpp:121
+
Vector2 operator/(const float div) const
Divide vector by value.
Definition: Vector2.hpp:190
+
Vector2 & operator+=(const ::Vector2 &vector2)
Add two vectors (v1 + v2)
Definition: Vector2.hpp:68
+
bool CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
Check the collision between two lines defined by two points each, returns collision point by referenc...
Definition: Vector2.hpp:411
+
static Vector2 One()
Vector with components value 1.0f.
Definition: Vector2.hpp:326
+
float DistanceSqr(::Vector2 v2)
Calculate square distance between two vectors.
Definition: Vector2.hpp:305
+
bool operator!=(const ::Vector2 &other)
Determines if the vectors are not equal.
Definition: Vector2.hpp:46
+
Vector2 Normalize() const
Normalize provided vector.
Definition: Vector2.hpp:207
+
Vector2 operator-() const
Negate vector.
Definition: Vector2.hpp:107
+
Vector2 operator-(const ::Vector2 &vector2) const
Subtract two vectors (v1 - v2)
Definition: Vector2.hpp:84
+
float Angle(const ::Vector2 &vector2) const
Calculate angle from two vectors in X-axis.
Definition: Vector2.hpp:312
+
void DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color={0, 0, 0, 255}) const
Draw line using quadratic bezier curves with a control point.
Definition: Vector2.hpp:350
+
Vector2 Transform(::Matrix mat)
Transforms a Vector2 by a given Matrix.
Definition: Vector2.hpp:214
+
Vector2 Divide(const float div) const
Divide vector by value.
Definition: Vector2.hpp:183
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_vector3_8hpp_source.html b/_vector3_8hpp_source.html new file mode 100644 index 00000000..552b6b64 --- /dev/null +++ b/_vector3_8hpp_source.html @@ -0,0 +1,392 @@ + + + + + + + +raylib-cpp: Vector3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Vector3.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
+
3 
+
4 #ifndef RAYLIB_CPP_NO_MATH
+
5 #include <cmath>
+
6 #endif
+
7 
+
8 #include "./raylib.hpp"
+
9 #include "./raymath.hpp"
+
10 #include "./raylib-cpp-utils.hpp"
+
11 
+
12 namespace raylib {
+
16 class Vector3 : public ::Vector3 {
+
17  public:
+
18  Vector3(const ::Vector3& vec) : ::Vector3{vec.x, vec.y, vec.z} {}
+
19 
+
20  Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
+
21  Vector3(float x, float y) : ::Vector3{x, y, 0} {}
+
22  Vector3(float x) : ::Vector3{x, 0, 0} {}
+
23  Vector3() {}
+
24 
+
25  Vector3(::Color color) {
+
26  set(ColorToHSV(color));
+
27  }
+
28 
+
29  GETTERSETTER(float, X, x)
+
30  GETTERSETTER(float, Y, y)
+
31  GETTERSETTER(float, Z, z)
+
32 
+
33  Vector3& operator=(const ::Vector3& vector3) {
+
34  set(vector3);
+
35  return *this;
+
36  }
+
37 
+
38  bool operator==(const ::Vector3& other) {
+
39  return x == other.x
+
40  && y == other.y
+
41  && z == other.z;
+
42  }
+
43 
+
44  bool operator!=(const ::Vector3& other) {
+
45  return !(*this == other);
+
46  }
+
47 
+
48 #ifndef RAYLIB_CPP_NO_MATH
+
52  inline Vector3 Add(const ::Vector3& vector3) {
+
53  return Vector3Add(*this, vector3);
+
54  }
+
55 
+
59  inline Vector3 operator+(const ::Vector3& vector3) {
+
60  return Vector3Add(*this, vector3);
+
61  }
+
62 
+
63  Vector3& operator+=(const ::Vector3& vector3) {
+
64  set(Vector3Add(*this, vector3));
+
65 
+
66  return *this;
+
67  }
+
68 
+
72  inline Vector3 Subtract(const ::Vector3& vector3) {
+
73  return Vector3Subtract(*this, vector3);
+
74  }
+
75 
+
79  inline Vector3 operator-(const ::Vector3& vector3) {
+
80  return Vector3Subtract(*this, vector3);
+
81  }
+
82 
+
83  Vector3& operator-=(const ::Vector3& vector3) {
+
84  set(Vector3Subtract(*this, vector3));
+
85 
+
86  return *this;
+
87  }
+
88 
+
92  inline Vector3 Negate() {
+
93  return Vector3Negate(*this);
+
94  }
+
95 
+
99  inline Vector3 operator-() {
+
100  return Vector3Negate(*this);
+
101  }
+
102 
+
106  inline Vector3 Multiply(const ::Vector3& vector3) const {
+
107  return Vector3Multiply(*this, vector3);
+
108  }
+
109 
+
113  inline Vector3 operator*(const ::Vector3& vector3) const {
+
114  return Vector3Multiply(*this, vector3);
+
115  }
+
116 
+
120  Vector3& operator*=(const ::Vector3& vector3) {
+
121  set(Vector3Multiply(*this, vector3));
+
122 
+
123  return *this;
+
124  }
+
125 
+
129  inline Vector3 Scale(const float scaler) const {
+
130  return Vector3Scale(*this, scaler);
+
131  }
+
132 
+
136  inline Vector3 operator*(const float scaler) const {
+
137  return Vector3Scale(*this, scaler);
+
138  }
+
139 
+
143  Vector3& operator*=(const float scaler) {
+
144  set(Vector3Scale(*this, scaler));
+
145 
+
146  return *this;
+
147  }
+
148 
+
152  inline Vector3 Divide(const ::Vector3& vector3) const {
+
153  return Vector3Divide(*this, vector3);
+
154  }
+
155 
+
159  inline Vector3 operator/(const ::Vector3& vector3) const {
+
160  return Vector3Divide(*this, vector3);
+
161  }
+
162 
+
166  Vector3& operator/=(const ::Vector3& vector3) {
+
167  x /= vector3.x;
+
168  y /= vector3.y;
+
169  z /= vector3.z;
+
170 
+
171  return *this;
+
172  }
+
173 
+
177  inline Vector3 Divide(const float div) const {
+
178  return ::Vector3{x / div, y / div, z / div};
+
179  }
+
180 
+
184  inline Vector3 operator/(const float div) const {
+
185  return Divide(div);
+
186  }
+
187 
+
191  Vector3& operator/=(const float div) {
+
192  x /= div;
+
193  y /= div;
+
194  z /= div;
+
195 
+
196  return *this;
+
197  }
+
198 
+
202  inline float Length() const {
+
203  return Vector3Length(*this);
+
204  }
+
205 
+
206  inline Vector3 Normalize() const {
+
207  return Vector3Normalize(*this);
+
208  }
+
209 
+
210  inline float DotProduct(const ::Vector3& vector3) {
+
211  return Vector3DotProduct(*this, vector3);
+
212  }
+
213 
+
214  inline float Distance(const ::Vector3& vector3) const {
+
215  return Vector3Distance(*this, vector3);
+
216  }
+
217 
+
218  inline Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
+
219  return Vector3Lerp(*this, vector3, amount);
+
220  }
+
221 
+
222  inline Vector3 CrossProduct(const ::Vector3& vector3) const {
+
223  return Vector3CrossProduct(*this, vector3);
+
224  }
+
225 
+
226  inline Vector3 Perpendicular() const {
+
227  return Vector3Perpendicular(*this);
+
228  }
+
229 
+
230  inline void OrthoNormalize(::Vector3* vector3) {
+
231  Vector3OrthoNormalize(this, vector3);
+
232  }
+
233 
+
234  inline Vector3 Transform(const ::Matrix& matrix) const {
+
235  return Vector3Transform(*this, matrix);
+
236  }
+
237 
+
238  inline Vector3 RotateByQuaternion(const ::Quaternion& quaternion) {
+
239  return Vector3RotateByQuaternion(*this, quaternion);
+
240  }
+
241 
+
242  inline Vector3 Reflect(const ::Vector3& normal) const {
+
243  return Vector3Reflect(*this, normal);
+
244  }
+
245 
+
246  inline Vector3 Min(const ::Vector3& vector3) {
+
247  return Vector3Min(*this, vector3);
+
248  }
+
249 
+
250  inline Vector3 Max(const ::Vector3& vector3) {
+
251  return Vector3Max(*this, vector3);
+
252  }
+
253 
+
254  inline Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) {
+
255  return Vector3Barycenter(*this, a, b, c);
+
256  }
+
257 
+
258  static inline Vector3 Zero() {
+
259  return Vector3Zero();
+
260  }
+
261 
+
262  static inline Vector3 One() {
+
263  return Vector3One();
+
264  }
+
265 #endif
+
266 
+
267  inline void DrawLine3D(const ::Vector3& endPos, ::Color color) const {
+
268  ::DrawLine3D(*this, endPos, color);
+
269  }
+
270 
+
271  inline void DrawPoint3D(::Color color) const {
+
272  ::DrawPoint3D(*this, color);
+
273  }
+
274 
+
275  inline void DrawCircle3D(
+
276  float radius,
+
277  const ::Vector3& rotationAxis,
+
278  float rotationAngle,
+
279  Color color) const {
+
280  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
+
281  }
+
282 
+
283  inline void DrawCube(float width, float height, float length, ::Color color) const {
+
284  ::DrawCube(*this, width, height, length, color);
+
285  }
+
286 
+
287  inline void DrawCube(const ::Vector3& size, ::Color color) const {
+
288  ::DrawCubeV(*this, size, color);
+
289  }
+
290 
+
291  inline void DrawCubeWires(float width, float height, float length, ::Color color) const {
+
292  ::DrawCubeWires(*this, width, height, length, color);
+
293  }
+
294 
+
295  inline void DrawCubeWires(const ::Vector3& size, ::Color color) const {
+
296  ::DrawCubeWiresV(*this, size, color);
+
297  }
+
298 
+
299  inline void DrawCubeTexture(
+
300  const ::Texture2D& texture,
+
301  float width,
+
302  float height,
+
303  float length,
+
304  ::Color color) const {
+
305  ::DrawCubeTexture(texture, *this, width, height, length, color);
+
306  }
+
307 
+
308  inline void DrawSphere(float radius, ::Color color) const {
+
309  ::DrawSphere(*this, radius, color);
+
310  }
+
311 
+
312  inline void DrawSphere(float radius, int rings, int slices, ::Color color) const {
+
313  ::DrawSphereEx(*this, radius, rings, slices, color);
+
314  }
+
315 
+
316  inline void DrawSphereWires(float radius, int rings, int slices, ::Color color) const {
+
317  ::DrawSphereWires(*this, radius, rings, slices, color);
+
318  }
+
319 
+
320  inline void DrawCylinder(float radiusTop, float radiusBottom, float height,
+
321  int slices, ::Color color) const {
+
322  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
+
323  }
+
324 
+
325  inline void DrawCylinderWires(float radiusTop, float radiusBottom, float height,
+
326  int slices, ::Color color) const {
+
327  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
+
328  }
+
329 
+
330  inline void DrawPlane(const ::Vector2& size, ::Color color) const {
+
331  ::DrawPlane(*this, size, color);
+
332  }
+
333 
+
337  inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
+
338  return CheckCollisionSpheres(*this, radius1, center2, radius2);
+
339  }
+
340 
+
341  private:
+
342  void set(const ::Vector3& vec) {
+
343  x = vec.x;
+
344  y = vec.y;
+
345  z = vec.z;
+
346  }
+
347 };
+
348 } // namespace raylib
+
349 
+
350 using RVector3 = raylib::Vector3;
+
351 
+
352 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Vector3 type.
Definition: Vector3.hpp:16
+
Vector3 operator/(const ::Vector3 &vector3) const
Divide vector by vector.
Definition: Vector3.hpp:159
+
Vector3 operator*(const ::Vector3 &vector3) const
Multiply vector by vector.
Definition: Vector3.hpp:113
+
Vector3 & operator/=(const ::Vector3 &vector3)
Divide vector by vector.
Definition: Vector3.hpp:166
+
Vector3 & operator*=(const ::Vector3 &vector3)
Multiply vector by vector.
Definition: Vector3.hpp:120
+
Vector3 operator/(const float div) const
Divide a vector by a value.
Definition: Vector3.hpp:184
+
Vector3 operator+(const ::Vector3 &vector3)
Add two vectors.
Definition: Vector3.hpp:59
+
Vector3 Negate()
Negate provided vector (invert direction)
Definition: Vector3.hpp:92
+
Vector3 Add(const ::Vector3 &vector3)
Add two vectors.
Definition: Vector3.hpp:52
+
bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2)
Detect collision between two spheres.
Definition: Vector3.hpp:337
+
Vector3 Scale(const float scaler) const
Multiply vector by scalar.
Definition: Vector3.hpp:129
+
Vector3 operator-(const ::Vector3 &vector3)
Subtract two vectors.
Definition: Vector3.hpp:79
+
float Length() const
Calculate vector length.
Definition: Vector3.hpp:202
+
Vector3 Divide(const ::Vector3 &vector3) const
Divide vector by vector.
Definition: Vector3.hpp:152
+
Vector3 operator-()
Negate provided vector (invert direction)
Definition: Vector3.hpp:99
+
Vector3 Divide(const float div) const
Divide a vector by a value.
Definition: Vector3.hpp:177
+
Vector3 & operator/=(const float div)
Divide a vector by a value.
Definition: Vector3.hpp:191
+
Vector3 & operator*=(const float scaler)
Multiply vector by scalar.
Definition: Vector3.hpp:143
+
Vector3 Multiply(const ::Vector3 &vector3) const
Multiply vector by vector.
Definition: Vector3.hpp:106
+
Vector3 Subtract(const ::Vector3 &vector3)
Subtract two vectors.
Definition: Vector3.hpp:72
+
Vector3 operator*(const float scaler) const
Multiply vector by scalar.
Definition: Vector3.hpp:136
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_vector4_8hpp_source.html b/_vector4_8hpp_source.html new file mode 100644 index 00000000..6d3e6ab8 --- /dev/null +++ b/_vector4_8hpp_source.html @@ -0,0 +1,250 @@ + + + + + + + +raylib-cpp: Vector4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Vector4.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
+
3 
+
4 #ifndef RAYLIB_CPP_NO_MATH
+
5 #include <cmath>
+
6 #include <utility>
+
7 #endif
+
8 
+
9 #include "./raylib.hpp"
+
10 #include "./raymath.hpp"
+
11 #include "./raylib-cpp-utils.hpp"
+
12 
+
13 namespace raylib {
+
17 class Vector4 : public ::Vector4 {
+
18  public:
+
19  Vector4(const ::Vector4& vec) : ::Vector4{vec.x, vec.y, vec.z, vec.w} {}
+
20 
+
21  Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
+
22  Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
+
23  Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
+
24  Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
+
25  Vector4() : ::Vector4{0, 0, 0, 0} {}
+
26  Vector4(::Rectangle rectangle) : ::Vector4{rectangle.x, rectangle.y, rectangle.width, rectangle.height} {}
+
27 
+
28  Vector4(::Color color) {
+
29  set(ColorNormalize(color));
+
30  }
+
31 
+
32  GETTERSETTER(float, X, x)
+
33  GETTERSETTER(float, Y, y)
+
34  GETTERSETTER(float, Z, z)
+
35  GETTERSETTER(float, W, w)
+
36 
+
37  Vector4& operator=(const ::Vector4& vector4) {
+
38  set(vector4);
+
39  return *this;
+
40  }
+
41 
+
42  bool operator==(const ::Vector4& other) {
+
43  return x == other.x
+
44  && y == other.y
+
45  && z == other.z
+
46  && w == other.w;
+
47  }
+
48 
+
49  bool operator!=(const ::Vector4& other) {
+
50  return !(*this == other);
+
51  }
+
52 
+
53  inline ::Rectangle ToRectangle() {
+
54  return {x, y, z, w};
+
55  }
+
56 
+
57  operator ::Rectangle() const {
+
58  return {x, y, z, w};
+
59  }
+
60 
+
61 #ifndef RAYLIB_CPP_NO_MATH
+
62  inline Vector4 Multiply(const ::Vector4& vector4) const {
+
63  return QuaternionMultiply(*this, vector4);
+
64  }
+
65 
+
66  inline Vector4 operator*(const ::Vector4& vector4) const {
+
67  return QuaternionMultiply(*this, vector4);
+
68  }
+
69 
+
70  inline Vector4 Lerp(const ::Vector4& vector4, float amount) const {
+
71  return QuaternionLerp(*this, vector4, amount);
+
72  }
+
73 
+
74  inline Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
+
75  return QuaternionNlerp(*this, vector4, amount);
+
76  }
+
77 
+
78  inline Vector4 Slerp(const ::Vector4& vector4, float amount) const {
+
79  return QuaternionSlerp(*this, vector4, amount);
+
80  }
+
81 
+
82  inline Matrix ToMatrix() const {
+
83  return QuaternionToMatrix(*this);
+
84  }
+
85 
+
86  inline float Length() const {
+
87  return QuaternionLength(*this);
+
88  }
+
89 
+
90  inline Vector4 Normalize() const {
+
91  return QuaternionNormalize(*this);
+
92  }
+
93 
+
94  inline Vector4 Invert() const {
+
95  return QuaternionInvert(*this);
+
96  }
+
97 
+
98  inline void ToAxisAngle(::Vector3 *outAxis, float *outAngle) {
+
99  QuaternionToAxisAngle(*this, outAxis, outAngle);
+
100  }
+
101 
+
105  std::pair<Vector3, float> ToAxisAngle() {
+
106  Vector3 outAxis;
+
107  float outAngle;
+
108  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
+
109 
+
110  return std::pair<Vector3, float>(outAxis, outAngle);
+
111  }
+
112 
+
113  inline Vector4 Transform(const ::Matrix& matrix) {
+
114  return ::QuaternionTransform(*this, matrix);
+
115  }
+
116 
+
117  static inline Vector4 Identity() {
+
118  return ::QuaternionIdentity();
+
119  }
+
120 
+
121  static inline Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
+
122  return ::QuaternionFromVector3ToVector3(from , to);
+
123  }
+
124 
+
125  static inline Vector4 FromMatrix(const ::Matrix& matrix) {
+
126  return ::QuaternionFromMatrix(matrix);
+
127  }
+
128 
+
129  static inline Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
+
130  return ::QuaternionFromAxisAngle(axis, angle);
+
131  }
+
132 
+
133  static inline Vector4 FromEuler(const float yaw, const float pitch, const float roll) {
+
134  return ::QuaternionFromEuler(yaw, pitch, roll);
+
135  }
+
136 
+
137  static inline Vector4 FromEuler(const ::Vector3& vector3) {
+
138  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
+
139  }
+
140 
+
141  inline Vector3 ToEuler() {
+
142  return ::QuaternionToEuler(*this);
+
143  }
+
144 #endif
+
145 
+
146  inline Color ColorFromNormalized() const {
+
147  return ::ColorFromNormalized(*this);
+
148  }
+
149 
+
150  operator Color() {
+
151  return ColorFromNormalized();
+
152  }
+
153 
+
154  private:
+
155  void set(const ::Vector4& vec4) {
+
156  x = vec4.x;
+
157  y = vec4.y;
+
158  z = vec4.z;
+
159  w = vec4.w;
+
160  }
+
161 };
+
162 
+
163 // Alias the Vector4 as Quaternion.
+
164 typedef Vector4 Quaternion;
+
165 } // namespace raylib
+
166 
+
167 using RVector4 = raylib::Vector4;
+ +
169 
+
170 #endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Rectangle type.
Definition: Rectangle.hpp:12
+
Vector3 type.
Definition: Vector3.hpp:16
+
Vector4 type.
Definition: Vector4.hpp:17
+
std::pair< Vector3, float > ToAxisAngle()
Get the rotation angle and axis for a given quaternion.
Definition: Vector4.hpp:105
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_vr_stereo_config_8hpp_source.html b/_vr_stereo_config_8hpp_source.html new file mode 100644 index 00000000..a2a2afe1 --- /dev/null +++ b/_vr_stereo_config_8hpp_source.html @@ -0,0 +1,147 @@ + + + + + + + +raylib-cpp: VrStereoConfig.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
VrStereoConfig.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
+
3 
+
4 #include "./raylib.hpp"
+
5 #include "./raylib-cpp-utils.hpp"
+
6 
+
7 namespace raylib {
+ +
12  public:
+
13  VrStereoConfig(const ::VrDeviceInfo& info) {
+
14  Load(info);
+
15  }
+
16 
+
20  inline void Load(const ::VrDeviceInfo& info) {
+
21  set(LoadVrStereoConfig(info));
+
22  }
+
23 
+ +
28  Unload();
+
29  }
+
30 
+ +
35  ::BeginVrStereoMode(*this);
+
36  return *this;
+
37  }
+
38 
+
42  inline VrStereoConfig& EndMode() {
+
43  ::EndVrStereoMode();
+
44  return *this;
+
45  }
+
46 
+
50  inline void Unload() {
+
51  ::UnloadVrStereoConfig(*this);
+
52  }
+
53 
+
54  private:
+
55  void set(const ::VrStereoConfig& config) {
+
56  projection[0] = config.projection[0];
+
57  projection[1] = config.projection[1];
+
58  viewOffset[0] = config.viewOffset[0];
+
59  viewOffset[1] = config.viewOffset[1];
+
60  leftLensCenter[0] = config.leftLensCenter[0];
+
61  leftLensCenter[1] = config.leftLensCenter[1];
+
62  rightLensCenter[0] = config.rightLensCenter[0];
+
63  rightLensCenter[1] = config.rightLensCenter[1];
+
64  leftScreenCenter[0] = config.leftScreenCenter[0];
+
65  leftScreenCenter[1] = config.leftScreenCenter[1];
+
66  rightScreenCenter[0] = config.rightScreenCenter[0];
+
67  rightScreenCenter[1] = config.rightScreenCenter[1];
+
68  scale[0] = config.scale[0];
+
69  scale[1] = config.scale[1];
+
70  scaleIn[0] = config.scaleIn[0];
+
71  scaleIn[1] = config.scaleIn[1];
+
72  }
+
73 };
+
74 } // namespace raylib
+
75 
+ +
77 
+
78 #endif // RAYLIB_CPP_INCLUDE_VRSTEREOCONFIG_HPP_
+
VR stereo config functions for VR simulator.
+
void Load(const ::VrDeviceInfo &info)
Load VR stereo config for VR simulator device parameters.
+
VrStereoConfig & BeginMode()
Begin stereo rendering.
+
void Unload()
Unload VR stereo config.
+
VrStereoConfig & EndMode()
End stereo rendering.
+
~VrStereoConfig()
Unload VR stereo config.
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_wave_8hpp_source.html b/_wave_8hpp_source.html new file mode 100644 index 00000000..fef373b1 --- /dev/null +++ b/_wave_8hpp_source.html @@ -0,0 +1,269 @@ + + + + + + + +raylib-cpp: Wave.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Wave.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_WAVE_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_WAVE_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./raylib-cpp-utils.hpp"
+
8 #include "./RaylibException.hpp"
+
9 
+
10 namespace raylib {
+
14 class Wave : public ::Wave {
+
15  public:
+
16  Wave(const ::Wave& wave) {
+
17  set(wave);
+
18  }
+
19 
+
20  Wave(
+
21  unsigned int frameCount = 0,
+
22  unsigned int sampleRate = 0,
+
23  unsigned int sampleSize = 0,
+
24  unsigned int channels = 0,
+
25  void *data = nullptr) : ::Wave{frameCount, sampleRate, sampleSize, channels, data} {
+
26  // Nothing.
+
27  }
+
28 
+
34  Wave(const std::string& fileName) {
+
35  Load(fileName);
+
36  }
+
37 
+
43  Wave(const std::string& fileType, const unsigned char *fileData, int dataSize) {
+
44  Load(fileType, fileData, dataSize);
+
45  }
+
46 
+
47  Wave(const Wave& other) {
+
48  set(other.Copy());
+
49  }
+
50 
+
51  Wave(Wave&& other) {
+
52  set(other);
+
53 
+
54  other.frameCount = 0;
+
55  other.sampleRate = 0;
+
56  other.sampleSize = 0;
+
57  other.channels = 0;
+
58  other.data = nullptr;
+
59  }
+
60 
+
64  ~Wave() {
+
65  Unload();
+
66  }
+
67 
+
68  GETTERSETTER(unsigned int, FrameCount, frameCount)
+
69  GETTERSETTER(unsigned int, SampleRate, sampleRate)
+
70  GETTERSETTER(unsigned int, SampleSize, sampleSize)
+
71  GETTERSETTER(unsigned int, Channels, channels)
+
72  GETTERSETTER(void *, Data, data)
+
73 
+
74  Wave& operator=(const ::Wave& wave) {
+
75  set(wave);
+
76  return *this;
+
77  }
+
78 
+
79  Wave& operator=(const Wave& other) {
+
80  if (this == &other) {
+
81  return *this;
+
82  }
+
83 
+
84  Unload();
+
85  set(other.Copy());
+
86 
+
87  return *this;
+
88  }
+
89 
+
90  Wave& operator=(Wave&& other) noexcept {
+
91  if (this != &other) {
+
92  return *this;
+
93  }
+
94 
+
95  Unload();
+
96  set(other);
+
97 
+
98  other.frameCount = 0;
+
99  other.sampleRate = 0;
+
100  other.sampleSize = 0;
+
101  other.channels = 0;
+
102  other.data = nullptr;
+
103 
+
104  return *this;
+
105  }
+
106 
+
110  inline ::Wave Copy() const {
+
111  return ::WaveCopy(*this);
+
112  }
+
113 
+
117  inline Wave& Crop(int initSample, int finalSample) {
+
118  ::WaveCrop(this, initSample, finalSample);
+
119  return *this;
+
120  }
+
121 
+
125  inline Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
+
126  ::WaveFormat(this, SampleRate, SampleSize, Channels);
+
127  return *this;
+
128  }
+
129 
+
133  inline float* LoadSamples() {
+
134  return ::LoadWaveSamples(*this);
+
135  }
+
136 
+
140  inline static void UnloadSamples(float *samples) {
+
141  ::UnloadWaveSamples(samples);
+
142  }
+
143 
+
147  inline bool Export(const std::string& fileName) {
+
148  // TODO(RobLoach): Throw exception on error.
+
149  return ::ExportWave(*this, fileName.c_str());
+
150  }
+
151 
+
155  inline bool ExportAsCode(const std::string& fileName) {
+
156  // TODO(RobLoach): Throw exception on error.
+
157  return ::ExportWaveAsCode(*this, fileName.c_str());
+
158  }
+
159 
+
163  void Unload() {
+
164  // Protect against calling UnloadWave() twice.
+
165  if (data != nullptr) {
+
166  ::UnloadWave(*this);
+
167  data = nullptr;
+
168  }
+
169  }
+
170 
+
174  inline ::Sound LoadSound() {
+
175  return ::LoadSoundFromWave(*this);
+
176  }
+
177 
+
181  inline operator ::Sound() {
+
182  return LoadSound();
+
183  }
+
184 
+
190  void Load(const std::string& fileName) {
+
191  set(::LoadWave(fileName.c_str()));
+
192  if (!IsReady()) {
+
193  throw RaylibException("Failed to load Wave from file: " + fileName);
+
194  }
+
195  }
+
196 
+
202  void Load(const std::string& fileType, const unsigned char *fileData, int dataSize) {
+
203  set(::LoadWaveFromMemory(fileType.c_str(), fileData, dataSize));
+
204  if (!IsReady()) {
+
205  throw RaylibException("Failed to load Wave from file data of type: " + fileType);
+
206  }
+
207  }
+
208 
+
214  inline bool IsReady() const {
+
215  return data != nullptr;
+
216  }
+
217 
+
218  private:
+
219  void set(const ::Wave& wave) {
+
220  frameCount = wave.frameCount;
+
221  sampleRate = wave.sampleRate;
+
222  sampleSize = wave.sampleSize;
+
223  channels = wave.channels;
+
224  data = wave.data;
+
225  }
+
226 };
+
227 
+
228 } // namespace raylib
+
229 
+
230 using RWave = raylib::Wave;
+
231 
+
232 #endif // RAYLIB_CPP_INCLUDE_WAVE_HPP_
+
Exception used for most raylib-related exceptions.
+
Wave type, defines audio wave data.
Definition: Wave.hpp:14
+
Wave & Crop(int initSample, int finalSample)
Crop a wave to defined samples range.
Definition: Wave.hpp:117
+
inline ::Wave Copy() const
Copy a wave to a new wave.
Definition: Wave.hpp:110
+
void Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load wave from memory buffer, fileType refers to extension: i.e.
Definition: Wave.hpp:202
+
Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)
Load wave from memory buffer, fileType refers to extension: i.e.
Definition: Wave.hpp:43
+
bool ExportAsCode(const std::string &fileName)
Export wave sample data to code (.h), returns true on success.
Definition: Wave.hpp:155
+
Wave & Format(int SampleRate, int SampleSize, int Channels=2)
Convert wave data to desired format.
Definition: Wave.hpp:125
+
~Wave()
Unload wave data.
Definition: Wave.hpp:64
+
void Unload()
Unload wave data.
Definition: Wave.hpp:163
+
inline ::Sound LoadSound()
Load sound from wave data.
Definition: Wave.hpp:174
+
bool IsReady() const
Retrieve whether or not the Wave data has been loaded.
Definition: Wave.hpp:214
+
bool Export(const std::string &fileName)
Export wave data to file, returns true on success.
Definition: Wave.hpp:147
+
float * LoadSamples()
Load samples data from wave as a floats array.
Definition: Wave.hpp:133
+
static void UnloadSamples(float *samples)
Unload samples data loaded with LoadWaveSamples()
Definition: Wave.hpp:140
+
Wave(const std::string &fileName)
Load wave data from file.
Definition: Wave.hpp:34
+
void Load(const std::string &fileName)
Load wave data from file.
Definition: Wave.hpp:190
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
+ + + + diff --git a/_window_8hpp_source.html b/_window_8hpp_source.html new file mode 100644 index 00000000..19fd61ab --- /dev/null +++ b/_window_8hpp_source.html @@ -0,0 +1,386 @@ + + + + + + + +raylib-cpp: Window.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Window.hpp
+
+
+
1 #ifndef RAYLIB_CPP_INCLUDE_WINDOW_HPP_
+
2 #define RAYLIB_CPP_INCLUDE_WINDOW_HPP_
+
3 
+
4 #include <string>
+
5 
+
6 #include "./raylib.hpp"
+
7 #include "./RaylibException.hpp"
+
8 #include "./Vector2.hpp"
+
9 
+
10 namespace raylib {
+
14 class Window {
+
15  public:
+
21  Window() {
+
22  // Nothing.
+
23  }
+
24 
+
30  Window(int width, int height, const std::string& title = "raylib") {
+
31  Init(width, height, title);
+
32  }
+
33 
+
37  ~Window() {
+
38  Close();
+
39  }
+
40 
+
46  inline void Init(int width = 800, int height = 450, const std::string& title = "raylib") {
+
47  ::InitWindow(width, height, title.c_str());
+
48  if (!IsWindowReady()) {
+
49  throw RaylibException("Failed to create Window");
+
50  }
+
51  }
+
52 
+
56  inline bool ShouldClose() const {
+
57  return ::WindowShouldClose();
+
58  }
+
59 
+
63  inline void Close() {
+
64  if (::IsWindowReady()) {
+
65  ::CloseWindow();
+
66  }
+
67  }
+
68 
+
72  inline bool IsCursorOnScreen() const {
+
73  return ::IsCursorOnScreen();
+
74  }
+
75 
+
79  inline static bool IsReady() {
+
80  return ::IsWindowReady();
+
81  }
+
82 
+
86  inline bool IsFullscreen() const {
+
87  return ::IsWindowFullscreen();
+
88  }
+
89 
+
93  inline bool IsHidden() const {
+
94  return ::IsWindowHidden();
+
95  }
+
96 
+
100  inline bool IsMinimized() const {
+
101  return ::IsWindowMinimized();
+
102  }
+
103 
+
107  inline bool IsMaximized() const {
+
108  return ::IsWindowMaximized();
+
109  }
+
110 
+
114  inline bool IsFocused() const {
+
115  return ::IsWindowFocused();
+
116  }
+
117 
+
121  inline bool IsResized() const {
+
122  return ::IsWindowResized();
+
123  }
+
124 
+
128  inline bool IsState(unsigned int flag) const {
+
129  return ::IsWindowState(flag);
+
130  }
+
131 
+
135  inline Window& SetState(unsigned int flag) {
+
136  ::SetWindowState(flag);
+
137  return *this;
+
138  }
+
139 
+
143  inline Window& ClearState(unsigned int flag) {
+
144  ::ClearWindowState(flag);
+
145  return *this;
+
146  }
+
147 
+
151  inline Window& ClearBackground(const ::Color& color = BLACK) {
+
152  ::ClearBackground(color);
+
153  return *this;
+
154  }
+
155 
+ + +
161  return *this;
+
162  }
+
163 
+
167  inline Window& SetFullscreen(bool fullscreen) {
+
168  if (fullscreen) {
+
169  if (!IsFullscreen()) {
+ +
171  }
+
172  } else {
+
173  if (IsFullscreen()) {
+ +
175  }
+
176  }
+
177 
+
178  return *this;
+
179  }
+
180 
+
184  inline Window& Maximize() {
+
185  ::MaximizeWindow();
+
186  return *this;
+
187  }
+
188 
+
192  inline Window& Minimize() {
+
193  ::MinimizeWindow();
+
194  return *this;
+
195  }
+
196 
+
200  inline Window& Restore() {
+
201  ::RestoreWindow();
+
202  return *this;
+
203  }
+
204 
+
208  inline Window& SetIcon(const ::Image& image) {
+
209  ::SetWindowIcon(image);
+
210  return *this;
+
211  }
+
212 
+
216  inline Window& SetTitle(const std::string& title) {
+
217  ::SetWindowTitle(title.c_str());
+
218  return *this;
+
219  }
+
220 
+
224  inline Window& SetPosition(int x, int y) {
+
225  ::SetWindowPosition(x, y);
+
226  return *this;
+
227  }
+
228 
+
232  inline Window& SetPosition(const ::Vector2& position) {
+
233  return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
+
234  }
+
235 
+
239  inline Window& SetMonitor(int monitor) {
+
240  ::SetWindowMonitor(monitor);
+
241  return *this;
+
242  }
+
243 
+
247  inline Window& SetMinSize(int width, int height) {
+
248  ::SetWindowMinSize(width, height);
+
249  return *this;
+
250  }
+
251 
+
255  inline Window& SetMinSize(const ::Vector2& size) {
+
256  ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
+
257  return *this;
+
258  }
+
259 
+
263  inline Window& SetSize(int width, int height) {
+
264  ::SetWindowSize(width, height);
+
265  return *this;
+
266  }
+
267 
+
271  inline Window& SetOpacity(float opacity) {
+
272  ::SetWindowOpacity(opacity);
+
273  return *this;
+
274  }
+
275 
+
279  inline Window& SetSize(const ::Vector2& size) {
+
280  return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
+
281  }
+
282 
+
286  inline Vector2 GetSize() const {
+
287  return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
+
288  }
+
289 
+
293  inline void* GetHandle() const {
+
294  return ::GetWindowHandle();
+
295  }
+
296 
+
300  inline Window& BeginDrawing() {
+
301  ::BeginDrawing();
+
302  return *this;
+
303  }
+
304 
+
308  inline Window& EndDrawing() {
+
309  ::EndDrawing();
+
310  return *this;
+
311  }
+
312 
+
316  inline int GetWidth() const {
+
317  return ::GetScreenWidth();
+
318  }
+
319 
+
323  inline int GetHeight() const {
+
324  return ::GetScreenHeight();
+
325  }
+
326 
+
330  inline int GetRenderWidth() const {
+
331  return ::GetRenderWidth();
+
332  }
+
333 
+
337  inline int GetRenderHeight() const {
+
338  return ::GetRenderHeight();
+
339  }
+
340 
+
344  inline Vector2 GetPosition() const {
+
345  return ::GetWindowPosition();
+
346  }
+
347 
+
351  inline Vector2 GetScaleDPI() const {
+
352  return ::GetWindowScaleDPI();
+
353  }
+
354 
+
358  inline void SetClipboardText(const std::string& text) {
+
359  ::SetClipboardText(text.c_str());
+
360  }
+
361 
+
365  inline const std::string GetClipboardText() {
+
366  return ::GetClipboardText();
+
367  }
+
368 
+
372  inline Window& SetTargetFPS(int fps) {
+
373  ::SetTargetFPS(fps);
+
374  return *this;
+
375  }
+
376 
+
380  inline int GetFPS() const {
+
381  return ::GetFPS();
+
382  }
+
383 
+
387  inline void DrawFPS(int posX = 10, int posY = 10) const {
+
388  ::DrawFPS(posX, posY);
+
389  }
+
390 
+
394  inline float GetFrameTime() const {
+
395  return ::GetFrameTime();
+
396  }
+
397 
+
401  inline double GetTime() const {
+
402  return ::GetTime();
+
403  }
+
404 };
+
405 } // namespace raylib
+
406 
+
407 using RWindow = raylib::Window;
+
408 
+
409 #endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
+
Exception used for most raylib-related exceptions.
+
Vector2 type.
Definition: Vector2.hpp:16
+
Window and Graphics Device Functions.
Definition: Window.hpp:14
+
int GetHeight() const
Get current screen height.
Definition: Window.hpp:323
+
int GetRenderWidth() const
Get current render width (it considers HiDPI)
Definition: Window.hpp:330
+
void * GetHandle() const
Get native window handle.
Definition: Window.hpp:293
+
Window(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Window.hpp:30
+
int GetRenderHeight() const
Get current render height (it considers HiDPI)
Definition: Window.hpp:337
+
Window & Minimize()
Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
Definition: Window.hpp:192
+
Window & SetTargetFPS(int fps)
Set target FPS (maximum)
Definition: Window.hpp:372
+
int GetWidth() const
Get current screen width.
Definition: Window.hpp:316
+
Window & SetTitle(const std::string &title)
Set title for window.
Definition: Window.hpp:216
+
Window & ClearState(unsigned int flag)
Clear window configuration state flags.
Definition: Window.hpp:143
+
Vector2 GetScaleDPI() const
Get window scale DPI factor.
Definition: Window.hpp:351
+
Vector2 GetPosition() const
Get window position XY on monitor.
Definition: Window.hpp:344
+
Window & EndDrawing()
End canvas drawing and swap buffers (double buffering)
Definition: Window.hpp:308
+
Window & ToggleFullscreen()
Toggle window state: fullscreen/windowed.
Definition: Window.hpp:159
+
Window & SetIcon(const ::Image &image)
Set icon for window.
Definition: Window.hpp:208
+
Window & SetSize(const ::Vector2 &size)
Set window dimensions.
Definition: Window.hpp:279
+
bool IsFullscreen() const
Check if window is currently fullscreen.
Definition: Window.hpp:86
+
void Close()
Close window and unload OpenGL context.
Definition: Window.hpp:63
+
bool IsState(unsigned int flag) const
Check if one specific window flag is enabled.
Definition: Window.hpp:128
+
bool ShouldClose() const
Check if KEY_ESCAPE pressed or Close icon pressed.
Definition: Window.hpp:56
+
~Window()
Close window and unload OpenGL context.
Definition: Window.hpp:37
+
double GetTime() const
Returns elapsed time in seconds since InitWindow()
Definition: Window.hpp:401
+
Window & SetPosition(int x, int y)
Set window position on screen.
Definition: Window.hpp:224
+
Window & SetMonitor(int monitor)
Set monitor for the current window.
Definition: Window.hpp:239
+
Window & ClearBackground(const ::Color &color=BLACK)
Clear window with given color.
Definition: Window.hpp:151
+
Window & SetPosition(const ::Vector2 &position)
Set window position on screen.
Definition: Window.hpp:232
+
int GetFPS() const
Returns current FPS.
Definition: Window.hpp:380
+
Window & BeginDrawing()
Setup canvas (framebuffer) to start drawing.
Definition: Window.hpp:300
+
Window & SetState(unsigned int flag)
Set window configuration state using flags.
Definition: Window.hpp:135
+
void Init(int width=800, int height=450, const std::string &title="raylib")
Initializes the window.
Definition: Window.hpp:46
+
void DrawFPS(int posX=10, int posY=10) const
Draw current FPS.
Definition: Window.hpp:387
+
Window & Restore()
Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
Definition: Window.hpp:200
+
const std::string GetClipboardText()
Get clipboard text content.
Definition: Window.hpp:365
+
static bool IsReady()
Check if window has been initialized successfully.
Definition: Window.hpp:79
+
Window & SetSize(int width, int height)
Set window dimensions.
Definition: Window.hpp:263
+
float GetFrameTime() const
Returns time in seconds for last frame drawn.
Definition: Window.hpp:394
+
bool IsCursorOnScreen() const
Check if cursor is on the current screen.
Definition: Window.hpp:72
+
Vector2 GetSize() const
Get the screen's width and height.
Definition: Window.hpp:286
+
bool IsHidden() const
Check if window is currently hidden.
Definition: Window.hpp:93
+
bool IsResized() const
Check if window has been resized last frame.
Definition: Window.hpp:121
+
Window & SetMinSize(int width, int height)
Set window minimum dimensions.
Definition: Window.hpp:247
+
Window()
Build a Window object, but defer the initialization.
Definition: Window.hpp:21
+
Window & SetMinSize(const ::Vector2 &size)
Set window minimum dimensions.
Definition: Window.hpp:255
+
Window & SetOpacity(float opacity)
Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
Definition: Window.hpp:271
+
bool IsFocused() const
Check if window is currently focused.
Definition: Window.hpp:114
+
bool IsMaximized() const
Check if window is currently minimized.
Definition: Window.hpp:107
+
Window & SetFullscreen(bool fullscreen)
Set whether or not the application should be fullscreen.
Definition: Window.hpp:167
+
Window & Maximize()
Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
Definition: Window.hpp:184
+
bool IsMinimized() const
Check if window is currently minimized.
Definition: Window.hpp:100
+
void SetClipboardText(const std::string &text)
Set clipboard text content.
Definition: Window.hpp:358
+
All raylib-cpp classes and functions appear in the raylib namespace.
Definition: AudioDevice.hpp:8
+
static void SetWindowTitle(const std::string &title)
Set title for window.
Definition: Functions.hpp:31
+
static void InitWindow(int width, int height, const std::string &title="raylib")
Initialize window and OpenGL context.
Definition: Functions.hpp:24
+
+ + + + diff --git a/annotated.html b/annotated.html new file mode 100644 index 00000000..d3e548a4 --- /dev/null +++ b/annotated.html @@ -0,0 +1,114 @@ + + + + + + + +raylib-cpp: Class List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 NraylibAll raylib-cpp classes and functions appear in the raylib namespace
 CAudioDeviceAudio device management functions
 CAudioStreamAudioStream management functions
 CBoundingBoxBounding box type
 CCamera2DCamera2D type, defines a 2d camera
 CCamera3DCamera type, defines a camera position/orientation in 3d space
 CColorColor type, RGBA (32bit)
 CFontFont type, includes texture and charSet array data
 CGamepadInput-related functions: gamepads
 CImageImage type, bpp always RGBA (32bit)
 CMaterialMaterial type (generic)
 CMatrixMatrix type (OpenGL style 4x4 - right handed, column major)
 CMeshVertex data definning a mesh
 CModelModel type
 CModelAnimationModel animation
 CMouseInput-related functions: mouse
 CMusicMusic stream type (audio file streaming from memory)
 CRayRay type (useful for raycast)
 CRayCollisionRaycast hit information
 CRaylibExceptionException used for most raylib-related exceptions
 CRectangleRectangle type
 CRenderTextureRenderTexture type, for texture rendering
 CShaderShader type (generic)
 CSoundWave/Sound management functions
 CTextText Functions
 CTextureTexture type
 CTextureUnmanagedA Texture that is not managed by the C++ garbage collector
 CTouchInput-related functions: touch
 CVector2Vector2 type
 CVector3Vector3 type
 CVector4Vector4 type
 CVrStereoConfigVR stereo config functions for VR simulator
 CWaveWave type, defines audio wave data
 CWindowWindow and Graphics Device Functions
+
+
+ + + + diff --git a/bc_s.png b/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/bdwn.png b/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + + +raylib-cpp: Class Index + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+ + + + + diff --git a/classraylib_1_1_audio_device-members.html b/classraylib_1_1_audio_device-members.html new file mode 100644 index 00000000..6c9c1b68 --- /dev/null +++ b/classraylib_1_1_audio_device-members.html @@ -0,0 +1,89 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::AudioDevice Member List
+
+
+ +

This is the complete list of members for raylib::AudioDevice, including all inherited members.

+ + + + + + + +
AudioDevice(bool lateInit=false)raylib::AudioDeviceinline
Close()raylib::AudioDeviceinline
Init()raylib::AudioDeviceinline
IsReady() constraylib::AudioDeviceinline
SetVolume(float volume)raylib::AudioDeviceinline
~AudioDevice()raylib::AudioDeviceinline
+ + + + diff --git a/classraylib_1_1_audio_device.html b/classraylib_1_1_audio_device.html new file mode 100644 index 00000000..82fd193b --- /dev/null +++ b/classraylib_1_1_audio_device.html @@ -0,0 +1,236 @@ + + + + + + + +raylib-cpp: raylib::AudioDevice Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::AudioDevice Class Reference
+
+
+ +

Audio device management functions. + More...

+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 AudioDevice (bool lateInit=false)
 Initialize audio device and context. More...
 
~AudioDevice ()
 Close the audio device and context.
 
+void Close ()
 Close the audio device and context.
 
void Init ()
 Initialize audio device and context. More...
 
+bool IsReady () const
 Check if audio device has been initialized successfully.
 
AudioDeviceSetVolume (float volume)
 Set master volume (listener). More...
 
+

Detailed Description

+

Audio device management functions.

+ +

Definition at line 12 of file AudioDevice.hpp.

+

Constructor & Destructor Documentation

+ +

◆ AudioDevice()

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::AudioDevice::AudioDevice (bool lateInit = false)
+
+inline
+
+ +

Initialize audio device and context.

+
Parameters
+ + +
lateInitWhether or not to post-pone initializing the context.
+
+
+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the AudioDevice failed to initialize.
+
+
+ +

Definition at line 21 of file AudioDevice.hpp.

+ +

References Init().

+ +
+
+

Member Function Documentation

+ +

◆ Init()

+ +
+
+ + + + + +
+ + + + + + + +
void raylib::AudioDevice::Init ()
+
+inline
+
+ +

Initialize audio device and context.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the AudioDevice failed to initialize.
+
+
+ +

Definition at line 39 of file AudioDevice.hpp.

+ +

References IsReady().

+ +

Referenced by AudioDevice().

+ +
+
+ +

◆ SetVolume()

+ +
+
+ + + + + +
+ + + + + + + + +
AudioDevice& raylib::AudioDevice::SetVolume (float volume)
+
+inline
+
+ +

Set master volume (listener).

+
Parameters
+ + +
volumeThe desired volume to set.
+
+
+ +

Definition at line 65 of file AudioDevice.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_audio_stream-members.html b/classraylib_1_1_audio_stream-members.html new file mode 100644 index 00000000..cd345f50 --- /dev/null +++ b/classraylib_1_1_audio_stream-members.html @@ -0,0 +1,119 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::AudioStream Member List
+
+
+ +

This is the complete list of members for raylib::AudioStream, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttachProcessor(::AudioCallback processor)raylib::AudioStreaminline
AudioStream(const ::AudioStream &music) (defined in raylib::AudioStream)raylib::AudioStreaminline
AudioStream(rAudioBuffer *buffer=nullptr, rAudioProcessor *processor=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0) (defined in raylib::AudioStream)raylib::AudioStreaminline
AudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels=2)raylib::AudioStreaminline
AudioStream(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream
AudioStream(AudioStream &&other) (defined in raylib::AudioStream)raylib::AudioStreaminline
DetachProcessor(::AudioCallback processor)raylib::AudioStreaminline
GetBuffer() constraylib::AudioStreaminline
GetChannels() constraylib::AudioStreaminline
GetProcessor() constraylib::AudioStreaminline
GetSampleRate() constraylib::AudioStreaminline
GetSampleSize() constraylib::AudioStreaminline
IsPlaying() constraylib::AudioStreaminline
IsProcessed() constraylib::AudioStreaminline
IsReady()raylib::AudioStreaminline
Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)raylib::AudioStreaminline
operator=(const ::AudioStream &stream) (defined in raylib::AudioStream)raylib::AudioStreaminline
operator=(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream
operator=(AudioStream &&other) noexcept (defined in raylib::AudioStream)raylib::AudioStreaminline
Pause()raylib::AudioStreaminline
Play()raylib::AudioStreaminline
Resume()raylib::AudioStreaminline
SetBuffer(rAudioBuffer *value)raylib::AudioStreaminline
SetBufferSizeDefault(int size)raylib::AudioStreaminlinestatic
SetCallback(::AudioCallback callback)raylib::AudioStreaminline
SetChannels(unsigned int value)raylib::AudioStreaminline
SetPan(float pan=0.5f)raylib::AudioStreaminline
SetPitch(float pitch)raylib::AudioStreaminline
SetProcessor(rAudioProcessor *value)raylib::AudioStreaminline
SetSampleRate(unsigned int value)raylib::AudioStreaminline
SetSampleSize(unsigned int value)raylib::AudioStreaminline
SetVolume(float volume=1.0f)raylib::AudioStreaminline
Stop()raylib::AudioStreaminline
Unload()raylib::AudioStreaminline
Update(const void *data, int samplesCount)raylib::AudioStreaminline
~AudioStream() (defined in raylib::AudioStream)raylib::AudioStreaminline
+ + + + diff --git a/classraylib_1_1_audio_stream.html b/classraylib_1_1_audio_stream.html new file mode 100644 index 00000000..332ca6e7 --- /dev/null +++ b/classraylib_1_1_audio_stream.html @@ -0,0 +1,661 @@ + + + + + + + +raylib-cpp: raylib::AudioStream Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::AudioStream Class Reference
+
+
+ +

AudioStream management functions. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

AudioStream (AudioStream &&other)
 
AudioStream (const ::AudioStream &music)
 
AudioStream (const AudioStream &)=delete
 
AudioStream (rAudioBuffer *buffer=nullptr, rAudioProcessor *processor=nullptr, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0)
 
 AudioStream (unsigned int sampleRate, unsigned int sampleSize, unsigned int channels=2)
 Init audio stream (to stream raw audio pcm data) More...
 
+void AttachProcessor (::AudioCallback processor)
 Attach audio stream processor to stream.
 
+void DetachProcessor (::AudioCallback processor)
 Detach audio stream processor from stream.
 
rAudioBuffer * GetBuffer () const
 Retrieves the buffer value for the object. More...
 
unsigned int GetChannels () const
 Retrieves the channels value for the object. More...
 
rAudioProcessor * GetProcessor () const
 Retrieves the processor value for the object. More...
 
unsigned int GetSampleRate () const
 Retrieves the sampleRate value for the object. More...
 
unsigned int GetSampleSize () const
 Retrieves the sampleSize value for the object. More...
 
+bool IsPlaying () const
 Check if audio stream is playing.
 
+bool IsProcessed () const
 Check if any audio stream buffers requires refill.
 
+bool IsReady ()
 Retrieve whether or not the audio stream is ready.
 
void Load (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)
 Load audio stream (to stream raw audio pcm data) More...
 
+AudioStreamoperator= (AudioStream &&other) noexcept
 
+AudioStreamoperator= (const ::AudioStream &stream)
 
+AudioStreamoperator= (const AudioStream &)=delete
 
+AudioStreamPause ()
 Pause audio stream.
 
+AudioStreamPlay ()
 Play audio stream.
 
+AudioStreamResume ()
 Resume audio stream.
 
void SetBuffer (rAudioBuffer *value)
 Sets the buffer value for the object. More...
 
+void SetCallback (::AudioCallback callback)
 Audio thread callback to request new data.
 
void SetChannels (unsigned int value)
 Sets the channels value for the object. More...
 
+AudioStreamSetPan (float pan=0.5f)
 Set pan for audio stream (0.5 is centered)
 
+AudioStreamSetPitch (float pitch)
 Set pitch for audio stream (1.0 is base level)
 
void SetProcessor (rAudioProcessor *value)
 Sets the processor value for the object. More...
 
void SetSampleRate (unsigned int value)
 Sets the sampleRate value for the object. More...
 
void SetSampleSize (unsigned int value)
 Sets the sampleSize value for the object. More...
 
+AudioStreamSetVolume (float volume=1.0f)
 Set volume for audio stream (1.0 is max level)
 
+AudioStreamStop ()
 Stop audio stream.
 
+void Unload ()
 Unload audio stream and free memory.
 
+AudioStreamUpdate (const void *data, int samplesCount)
 Update audio stream buffers with data.
 
+ + + + +

+Static Public Member Functions

+static void SetBufferSizeDefault (int size)
 Default size for new audio streams.
 
+

Detailed Description

+

AudioStream management functions.

+ +

Definition at line 12 of file AudioStream.hpp.

+

Constructor & Destructor Documentation

+ +

◆ AudioStream()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::AudioStream::AudioStream (unsigned int sampleRate,
unsigned int sampleSize,
unsigned int channels = 2 
)
+
+inline
+
+ +

Init audio stream (to stream raw audio pcm data)

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the AudioStream failed to load.
+
+
+ +

Definition at line 31 of file AudioStream.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ GetBuffer()

+ +
+
+ + + + + +
+ + + + + + + +
rAudioBuffer* raylib::AudioStream::GetBuffer () const
+
+inline
+
+ +

Retrieves the buffer value for the object.

+
Returns
The buffer value of the object.
+ +

Definition at line 51 of file AudioStream.hpp.

+ +
+
+ +

◆ GetChannels()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::AudioStream::GetChannels () const
+
+inline
+
+ +

Retrieves the channels value for the object.

+
Returns
The channels value of the object.
+ +

Definition at line 55 of file AudioStream.hpp.

+ +
+
+ +

◆ GetProcessor()

+ +
+
+ + + + + +
+ + + + + + + +
rAudioProcessor* raylib::AudioStream::GetProcessor () const
+
+inline
+
+ +

Retrieves the processor value for the object.

+
Returns
The processor value of the object.
+ +

Definition at line 52 of file AudioStream.hpp.

+ +
+
+ +

◆ GetSampleRate()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::AudioStream::GetSampleRate () const
+
+inline
+
+ +

Retrieves the sampleRate value for the object.

+
Returns
The sampleRate value of the object.
+ +

Definition at line 53 of file AudioStream.hpp.

+ +
+
+ +

◆ GetSampleSize()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::AudioStream::GetSampleSize () const
+
+inline
+
+ +

Retrieves the sampleSize value for the object.

+
Returns
The sampleSize value of the object.
+ +

Definition at line 54 of file AudioStream.hpp.

+ +
+
+ +

◆ Load()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::AudioStream::Load (unsigned int SampleRate,
unsigned int SampleSize,
unsigned int Channels = 2 
)
+
+inline
+
+ +

Load audio stream (to stream raw audio pcm data)

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the AudioStream failed to load.
+
+
+ +

Definition at line 206 of file AudioStream.hpp.

+ +

References IsReady(), and Unload().

+ +

Referenced by AudioStream().

+ +
+
+ +

◆ SetBuffer()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::AudioStream::SetBuffer (rAudioBuffer * value)
+
+inline
+
+ +

Sets the buffer value for the object.

+
Parameters
+ + +
valueThe value of which to set buffer to.
+
+
+ +

Definition at line 51 of file AudioStream.hpp.

+ +
+
+ +

◆ SetChannels()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::AudioStream::SetChannels (unsigned int value)
+
+inline
+
+ +

Sets the channels value for the object.

+
Parameters
+ + +
valueThe value of which to set channels to.
+
+
+ +

Definition at line 55 of file AudioStream.hpp.

+ +
+
+ +

◆ SetProcessor()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::AudioStream::SetProcessor (rAudioProcessor * value)
+
+inline
+
+ +

Sets the processor value for the object.

+
Parameters
+ + +
valueThe value of which to set processor to.
+
+
+ +

Definition at line 52 of file AudioStream.hpp.

+ +
+
+ +

◆ SetSampleRate()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::AudioStream::SetSampleRate (unsigned int value)
+
+inline
+
+ +

Sets the sampleRate value for the object.

+
Parameters
+ + +
valueThe value of which to set sampleRate to.
+
+
+ +

Definition at line 53 of file AudioStream.hpp.

+ +
+
+ +

◆ SetSampleSize()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::AudioStream::SetSampleSize (unsigned int value)
+
+inline
+
+ +

Sets the sampleSize value for the object.

+
Parameters
+ + +
valueThe value of which to set sampleSize to.
+
+
+ +

Definition at line 54 of file AudioStream.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_bounding_box-members.html b/classraylib_1_1_bounding_box-members.html new file mode 100644 index 00000000..c2c1c5f0 --- /dev/null +++ b/classraylib_1_1_bounding_box-members.html @@ -0,0 +1,97 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::BoundingBox Member List
+
+
+ +

This is the complete list of members for raylib::BoundingBox, including all inherited members.

+ + + + + + + + + + + + + + + +
BoundingBox(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
BoundingBox(const ::Mesh &mesh)raylib::BoundingBoxinline
BoundingBox(::Vector3 minMax=::Vector3{0.0f, 0.0f, 0.0f}) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
BoundingBox(::Vector3 min, ::Vector3 max) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
CheckCollision(const ::BoundingBox &box2) constraylib::BoundingBoxinline
CheckCollision(::Vector3 center, float radius) constraylib::BoundingBoxinline
CheckCollision(const ::Ray &ray) constraylib::BoundingBoxinline
Draw(::Color color={255, 255, 255, 255}) constraylib::BoundingBoxinline
GetCollision(const ::Ray &ray) constraylib::BoundingBoxinline
GetMax() constraylib::BoundingBoxinline
GetMin() constraylib::BoundingBoxinline
operator=(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline
SetMax(::Vector3 value)raylib::BoundingBoxinline
SetMin(::Vector3 value)raylib::BoundingBoxinline
+ + + + diff --git a/classraylib_1_1_bounding_box.html b/classraylib_1_1_bounding_box.html new file mode 100644 index 00000000..dede034f --- /dev/null +++ b/classraylib_1_1_bounding_box.html @@ -0,0 +1,275 @@ + + + + + + + +raylib-cpp: raylib::BoundingBox Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::BoundingBox Class Reference
+
+
+ +

Bounding box type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

BoundingBox (::Vector3 min, ::Vector3 max)
 
BoundingBox (::Vector3 minMax=::Vector3{0.0f, 0.0f, 0.0f})
 
BoundingBox (const ::BoundingBox &box)
 
BoundingBox (const ::Mesh &mesh)
 Compute mesh bounding box limits.
 
+bool CheckCollision (::Vector3 center, float radius) const
 Detect collision between box and sphere.
 
+bool CheckCollision (const ::BoundingBox &box2) const
 Detect collision between two boxes.
 
+bool CheckCollision (const ::Ray &ray) const
 Detect collision between ray and bounding box.
 
+void Draw (::Color color={255, 255, 255, 255}) const
 Draw a bounding box with wires.
 
+RayCollision GetCollision (const ::Ray &ray) const
 Get collision information between ray and bounding box.
 
::Vector3 GetMax () const
 Retrieves the max value for the object. More...
 
::Vector3 GetMin () const
 Retrieves the min value for the object. More...
 
+BoundingBoxoperator= (const ::BoundingBox &box)
 
void SetMax (::Vector3 value)
 Sets the max value for the object. More...
 
void SetMin (::Vector3 value)
 Sets the min value for the object. More...
 
+

Detailed Description

+

Bounding box type.

+ +

Definition at line 11 of file BoundingBox.hpp.

+

Member Function Documentation

+ +

◆ GetMax()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::BoundingBox::GetMax () const
+
+inline
+
+ +

Retrieves the max value for the object.

+
Returns
The max value of the object.
+ +

Definition at line 31 of file BoundingBox.hpp.

+ +
+
+ +

◆ GetMin()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::BoundingBox::GetMin () const
+
+inline
+
+ +

Retrieves the min value for the object.

+
Returns
The min value of the object.
+ +

Definition at line 30 of file BoundingBox.hpp.

+ +
+
+ +

◆ SetMax()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::BoundingBox::SetMax (::Vector3 value)
+
+inline
+
+ +

Sets the max value for the object.

+
Parameters
+ + +
valueThe value of which to set max to.
+
+
+ +

Definition at line 31 of file BoundingBox.hpp.

+ +
+
+ +

◆ SetMin()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::BoundingBox::SetMin (::Vector3 value)
+
+inline
+
+ +

Sets the min value for the object.

+
Parameters
+ + +
valueThe value of which to set min to.
+
+
+ +

Definition at line 30 of file BoundingBox.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_camera2_d-members.html b/classraylib_1_1_camera2_d-members.html new file mode 100644 index 00000000..4d0979a5 --- /dev/null +++ b/classraylib_1_1_camera2_d-members.html @@ -0,0 +1,100 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Camera2D Member List
+
+
+ +

This is the complete list of members for raylib::Camera2D, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
BeginMode() (defined in raylib::Camera2D)raylib::Camera2Dinline
Camera2D(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline
Camera2D() (defined in raylib::Camera2D)raylib::Camera2Dinline
Camera2D(::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f) (defined in raylib::Camera2D)raylib::Camera2Dinline
EndMode() (defined in raylib::Camera2D)raylib::Camera2Dinline
GetMatrix() constraylib::Camera2Dinline
GetOffset() constraylib::Camera2Dinline
GetRotation() constraylib::Camera2Dinline
GetScreenToWorld(::Vector2 position) constraylib::Camera2Dinline
GetTarget() constraylib::Camera2Dinline
GetWorldToScreen(::Vector2 position) constraylib::Camera2Dinline
GetZoom() constraylib::Camera2Dinline
operator=(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline
SetOffset(::Vector2 value)raylib::Camera2Dinline
SetRotation(float value)raylib::Camera2Dinline
SetTarget(::Vector2 value)raylib::Camera2Dinline
SetZoom(float value)raylib::Camera2Dinline
+ + + + diff --git a/classraylib_1_1_camera2_d.html b/classraylib_1_1_camera2_d.html new file mode 100644 index 00000000..a66b2593 --- /dev/null +++ b/classraylib_1_1_camera2_d.html @@ -0,0 +1,410 @@ + + + + + + + +raylib-cpp: raylib::Camera2D Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Camera2D Class Reference
+
+
+ +

Camera2D type, defines a 2d camera. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Camera2D (::Vector2 offset, ::Vector2 target, float rotation=0.0f, float zoom=1.0f)
 
Camera2D (const ::Camera2D &camera)
 
+Camera2DBeginMode ()
 
+Camera2DEndMode ()
 
+Matrix GetMatrix () const
 Returns camera 2d transform matrix.
 
::Vector2 GetOffset () const
 Retrieves the offset value for the object. More...
 
float GetRotation () const
 Retrieves the rotation value for the object. More...
 
+Vector2 GetScreenToWorld (::Vector2 position) const
 Returns the world space position for a 2d camera screen space position.
 
::Vector2 GetTarget () const
 Retrieves the target value for the object. More...
 
+Vector2 GetWorldToScreen (::Vector2 position) const
 Returns the screen space position for a 3d world space position.
 
float GetZoom () const
 Retrieves the zoom value for the object. More...
 
+Camera2Doperator= (const ::Camera2D &camera)
 
void SetOffset (::Vector2 value)
 Sets the offset value for the object. More...
 
void SetRotation (float value)
 Sets the rotation value for the object. More...
 
void SetTarget (::Vector2 value)
 Sets the target value for the object. More...
 
void SetZoom (float value)
 Sets the zoom value for the object. More...
 
+

Detailed Description

+

Camera2D type, defines a 2d camera.

+ +

Definition at line 12 of file Camera2D.hpp.

+

Member Function Documentation

+ +

◆ GetOffset()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector2 raylib::Camera2D::GetOffset () const
+
+inline
+
+ +

Retrieves the offset value for the object.

+
Returns
The offset value of the object.
+ +

Definition at line 32 of file Camera2D.hpp.

+ +
+
+ +

◆ GetRotation()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Camera2D::GetRotation () const
+
+inline
+
+ +

Retrieves the rotation value for the object.

+
Returns
The rotation value of the object.
+ +

Definition at line 34 of file Camera2D.hpp.

+ +
+
+ +

◆ GetTarget()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector2 raylib::Camera2D::GetTarget () const
+
+inline
+
+ +

Retrieves the target value for the object.

+
Returns
The target value of the object.
+ +

Definition at line 33 of file Camera2D.hpp.

+ +
+
+ +

◆ GetZoom()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Camera2D::GetZoom () const
+
+inline
+
+ +

Retrieves the zoom value for the object.

+
Returns
The zoom value of the object.
+ +

Definition at line 35 of file Camera2D.hpp.

+ +
+
+ +

◆ SetOffset()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera2D::SetOffset (::Vector2 value)
+
+inline
+
+ +

Sets the offset value for the object.

+
Parameters
+ + +
valueThe value of which to set offset to.
+
+
+ +

Definition at line 32 of file Camera2D.hpp.

+ +
+
+ +

◆ SetRotation()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera2D::SetRotation (float value)
+
+inline
+
+ +

Sets the rotation value for the object.

+
Parameters
+ + +
valueThe value of which to set rotation to.
+
+
+ +

Definition at line 34 of file Camera2D.hpp.

+ +
+
+ +

◆ SetTarget()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera2D::SetTarget (::Vector2 value)
+
+inline
+
+ +

Sets the target value for the object.

+
Parameters
+ + +
valueThe value of which to set target to.
+
+
+ +

Definition at line 33 of file Camera2D.hpp.

+ +
+
+ +

◆ SetZoom()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera2D::SetZoom (float value)
+
+inline
+
+ +

Sets the zoom value for the object.

+
Parameters
+ + +
valueThe value of which to set zoom to.
+
+
+ +

Definition at line 35 of file Camera2D.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_camera3_d-members.html b/classraylib_1_1_camera3_d-members.html new file mode 100644 index 00000000..38d60af6 --- /dev/null +++ b/classraylib_1_1_camera3_d-members.html @@ -0,0 +1,109 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Camera3D Member List
+
+
+ +

This is the complete list of members for raylib::Camera3D, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
BeginMode()raylib::Camera3Dinline
Camera3D(const ::Camera3D &camera) (defined in raylib::Camera3D)raylib::Camera3Dinline
Camera3D(::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)raylib::Camera3Dinline
Camera3D() (defined in raylib::Camera3D)raylib::Camera3Dinline
DrawBillboard(const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255}) constraylib::Camera3Dinline
DrawBillboard(const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255}) constraylib::Camera3Dinline
EndMode()raylib::Camera3Dinline
GetFovy() constraylib::Camera3Dinline
GetMatrix() constraylib::Camera3Dinline
GetMouseRay(::Vector2 mousePosition) constraylib::Camera3Dinline
GetPosition() constraylib::Camera3Dinline
GetProjection() constraylib::Camera3Dinline
GetTarget() constraylib::Camera3Dinline
GetUp() constraylib::Camera3Dinline
GetWorldToScreen(::Vector3 position) constraylib::Camera3Dinline
operator=(const ::Camera3D &camera) (defined in raylib::Camera3D)raylib::Camera3Dinline
SetAltControl(int altKey)raylib::Camera3Dinline
SetFovy(float value)raylib::Camera3Dinline
SetMode(int mode)raylib::Camera3Dinline
SetMoveControls(int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)raylib::Camera3Dinline
SetPosition(::Vector3 value)raylib::Camera3Dinline
SetProjection(int value)raylib::Camera3Dinline
SetSmoothZoomControl(int szKey)raylib::Camera3Dinline
SetTarget(::Vector3 value)raylib::Camera3Dinline
SetUp(::Vector3 value)raylib::Camera3Dinline
Update()raylib::Camera3Dinline
+ + + + diff --git a/classraylib_1_1_camera3_d.html b/classraylib_1_1_camera3_d.html new file mode 100644 index 00000000..4e1dedd1 --- /dev/null +++ b/classraylib_1_1_camera3_d.html @@ -0,0 +1,581 @@ + + + + + + + +raylib-cpp: raylib::Camera3D Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Camera3D Class Reference
+
+
+ +

Camera type, defines a camera position/orientation in 3d space. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Camera3D (::Vector3 position, ::Vector3 target=::Vector3{0.0f, 0.0f, 0.0f}, ::Vector3 up=::Vector3{0.0f, 1.0f, 0.0f}, float fovy=0, int projection=CAMERA_PERSPECTIVE)
 Create a new Camera3D. More...
 
Camera3D (const ::Camera3D &camera)
 
+Camera3DBeginMode ()
 Initializes 3D mode with custom camera (3D)
 
+void DrawBillboard (const ::Texture2D &texture, ::Rectangle sourceRec, ::Vector3 center, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture defined by source.
 
+void DrawBillboard (const ::Texture2D &texture, ::Vector3 center, float size, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture.
 
+Camera3DEndMode ()
 Ends 3D mode and returns to default 2D orthographic mode.
 
float GetFovy () const
 Retrieves the fovy value for the object. More...
 
+Matrix GetMatrix () const
 Get camera transform matrix (view matrix)
 
+Ray GetMouseRay (::Vector2 mousePosition) const
 Returns a ray trace from mouse position.
 
::Vector3 GetPosition () const
 Retrieves the position value for the object. More...
 
int GetProjection () const
 Retrieves the projection value for the object. More...
 
::Vector3 GetTarget () const
 Retrieves the target value for the object. More...
 
::Vector3 GetUp () const
 Retrieves the up value for the object. More...
 
+Vector2 GetWorldToScreen (::Vector3 position) const
 Returns the screen space position for a 3d world space position.
 
+Camera3Doperator= (const ::Camera3D &camera)
 
+Camera3DSetAltControl (int altKey)
 Set camera alt key to combine with mouse movement (free camera)
 
void SetFovy (float value)
 Sets the fovy value for the object. More...
 
+Camera3DSetMode (int mode)
 Set camera mode (multiple camera modes available)
 
+Camera3DSetMoveControls (int frontKey, int backKey, int rightKey, int leftKey, int upKey, int downKey)
 Set camera move controls (1st person and 3rd person cameras)
 
void SetPosition (::Vector3 value)
 Sets the position value for the object. More...
 
void SetProjection (int value)
 Sets the projection value for the object. More...
 
+Camera3DSetSmoothZoomControl (int szKey)
 Set camera smooth zoom key to combine with mouse (free camera)
 
void SetTarget (::Vector3 value)
 Sets the target value for the object. More...
 
void SetUp (::Vector3 value)
 Sets the up value for the object. More...
 
+Camera3DUpdate ()
 Update camera position for selected mode.
 
+

Detailed Description

+

Camera type, defines a camera position/orientation in 3d space.

+ +

Definition at line 12 of file Camera3D.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Camera3D()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Camera3D::Camera3D (::Vector3 position,
::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
float fovy = 0,
int projection = CAMERA_PERSPECTIVE 
)
+
+inline
+
+ +

Create a new Camera3D.

+
Parameters
+ + + + + + +
positionCamera position
targetCamera target it looks-at
upCamera up vector (rotation over its axis)
fovyCamera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
projectionCamera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
+
+
+ +

Definition at line 27 of file Camera3D.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ GetFovy()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Camera3D::GetFovy () const
+
+inline
+
+ +

Retrieves the fovy value for the object.

+
Returns
The fovy value of the object.
+ +

Definition at line 38 of file Camera3D.hpp.

+ +
+
+ +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::Camera3D::GetPosition () const
+
+inline
+
+ +

Retrieves the position value for the object.

+
Returns
The position value of the object.
+ +

Definition at line 35 of file Camera3D.hpp.

+ +
+
+ +

◆ GetProjection()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Camera3D::GetProjection () const
+
+inline
+
+ +

Retrieves the projection value for the object.

+
Returns
The projection value of the object.
+ +

Definition at line 39 of file Camera3D.hpp.

+ +
+
+ +

◆ GetTarget()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::Camera3D::GetTarget () const
+
+inline
+
+ +

Retrieves the target value for the object.

+
Returns
The target value of the object.
+ +

Definition at line 36 of file Camera3D.hpp.

+ +
+
+ +

◆ GetUp()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::Camera3D::GetUp () const
+
+inline
+
+ +

Retrieves the up value for the object.

+
Returns
The up value of the object.
+ +

Definition at line 37 of file Camera3D.hpp.

+ +
+
+ +

◆ SetFovy()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera3D::SetFovy (float value)
+
+inline
+
+ +

Sets the fovy value for the object.

+
Parameters
+ + +
valueThe value of which to set fovy to.
+
+
+ +

Definition at line 38 of file Camera3D.hpp.

+ +
+
+ +

◆ SetPosition()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera3D::SetPosition (::Vector3 value)
+
+inline
+
+ +

Sets the position value for the object.

+
Parameters
+ + +
valueThe value of which to set position to.
+
+
+ +

Definition at line 35 of file Camera3D.hpp.

+ +
+
+ +

◆ SetProjection()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera3D::SetProjection (int value)
+
+inline
+
+ +

Sets the projection value for the object.

+
Parameters
+ + +
valueThe value of which to set projection to.
+
+
+ +

Definition at line 39 of file Camera3D.hpp.

+ +
+
+ +

◆ SetTarget()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera3D::SetTarget (::Vector3 value)
+
+inline
+
+ +

Sets the target value for the object.

+
Parameters
+ + +
valueThe value of which to set target to.
+
+
+ +

Definition at line 36 of file Camera3D.hpp.

+ +
+
+ +

◆ SetUp()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Camera3D::SetUp (::Vector3 value)
+
+inline
+
+ +

Sets the up value for the object.

+
Parameters
+ + +
valueThe value of which to set up to.
+
+
+ +

Definition at line 37 of file Camera3D.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_color-members.html b/classraylib_1_1_color-members.html new file mode 100644 index 00000000..ef7ad47c --- /dev/null +++ b/classraylib_1_1_color-members.html @@ -0,0 +1,150 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Color Member List
+
+
+ +

This is the complete list of members for raylib::Color, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Alpha(float alpha) constraylib::Colorinline
AlphaBlend(::Color dst, ::Color tint) constraylib::Colorinline
Beige() (defined in raylib::Color)raylib::Colorinlinestatic
Black() (defined in raylib::Color)raylib::Colorinlinestatic
Blank() (defined in raylib::Color)raylib::Colorinlinestatic
Blue() (defined in raylib::Color)raylib::Colorinlinestatic
Brown() (defined in raylib::Color)raylib::Colorinlinestatic
ClearBackground()raylib::Colorinline
Color(const ::Color &color) (defined in raylib::Color)raylib::Colorinline
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255) (defined in raylib::Color)raylib::Colorinline
Color()raylib::Colorinline
Color(::Vector3 hsv)raylib::Colorinline
Color(unsigned int hexValue)raylib::Colorinline
Color(void *srcPtr, int format) (defined in raylib::Color)raylib::Colorinline
Color(::Vector4 normalized)raylib::Colorinline
DarkBlue() (defined in raylib::Color)raylib::Colorinlinestatic
DarkBrown() (defined in raylib::Color)raylib::Colorinlinestatic
DarkGray() (defined in raylib::Color)raylib::Colorinlinestatic
DarkGreen() (defined in raylib::Color)raylib::Colorinlinestatic
DarkPurple() (defined in raylib::Color)raylib::Colorinlinestatic
DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) constraylib::Colorinline
DrawLine(::Vector2 startPos, ::Vector2 endPos) constraylib::Colorinline
DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) constraylib::Colorinline
DrawLineBezier(::Vector2 startPos, ::Vector2 endPos, float thick=1.0f) const (defined in raylib::Color)raylib::Colorinline
DrawLineStrip(::Vector2 *points, int numPoints) const (defined in raylib::Color)raylib::Colorinline
DrawPixel(int x, int y) const (defined in raylib::Color)raylib::Colorinline
DrawPixel(::Vector2 pos) constraylib::Colorinline
DrawRectangle(int posX, int posY, int width, int height) const (defined in raylib::Color)raylib::Colorinline
DrawRectangle(::Vector2 position, ::Vector2 size) const (defined in raylib::Color)raylib::Colorinline
DrawRectangle(::Rectangle rec) const (defined in raylib::Color)raylib::Colorinline
DrawRectangle(::Rectangle rec, ::Vector2 origin, float rotation) const (defined in raylib::Color)raylib::Colorinline
DrawRectangleLines(int posX, int posY, int width, int height) const (defined in raylib::Color)raylib::Colorinline
DrawRectangleLines(::Rectangle rec, float lineThick) const (defined in raylib::Color)raylib::Colorinline
DrawText(const std::string &text, int posX=0, int posY=0, int fontSize=10.0f) const (defined in raylib::Color)raylib::Colorinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) const (defined in raylib::Color)raylib::Colorinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing) const (defined in raylib::Color)raylib::Colorinline
Fade(float alpha) constraylib::Colorinline
FromHSV(float hue, float saturation, float value)raylib::Colorinlinestatic
GetA() constraylib::Colorinline
GetB() constraylib::Colorinline
GetG() constraylib::Colorinline
GetR() constraylib::Colorinline
Gold() (defined in raylib::Color)raylib::Colorinlinestatic
Gray() (defined in raylib::Color)raylib::Colorinlinestatic
Green() (defined in raylib::Color)raylib::Colorinlinestatic
LightGray() (defined in raylib::Color)raylib::Colorinlinestatic
Lime() (defined in raylib::Color)raylib::Colorinlinestatic
Magenta() (defined in raylib::Color)raylib::Colorinlinestatic
Maroon() (defined in raylib::Color)raylib::Colorinlinestatic
Normalize() constraylib::Colorinline
operator int() constraylib::Colorinline
operator=(const ::Color &color) (defined in raylib::Color)raylib::Colorinline
Orange() (defined in raylib::Color)raylib::Colorinlinestatic
Pink() (defined in raylib::Color)raylib::Colorinlinestatic
Purple() (defined in raylib::Color)raylib::Colorinlinestatic
RayWhite() (defined in raylib::Color)raylib::Colorinlinestatic
Red() (defined in raylib::Color)raylib::Colorinlinestatic
SetA(unsigned char value)raylib::Colorinline
SetB(unsigned char value)raylib::Colorinline
SetG(unsigned char value)raylib::Colorinline
SetR(unsigned char value)raylib::Colorinline
SkyBlue() (defined in raylib::Color)raylib::Colorinlinestatic
ToHSV() constraylib::Colorinline
ToInt() constraylib::Colorinline
Violet() (defined in raylib::Color)raylib::Colorinlinestatic
White() (defined in raylib::Color)raylib::Colorinlinestatic
Yellow() (defined in raylib::Color)raylib::Colorinlinestatic
+ + + + diff --git a/classraylib_1_1_color.html b/classraylib_1_1_color.html new file mode 100644 index 00000000..6fef08e1 --- /dev/null +++ b/classraylib_1_1_color.html @@ -0,0 +1,581 @@ + + + + + + + +raylib-cpp: raylib::Color Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Color type, RGBA (32bit) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Color ()
 Black.
 
Color (::Vector3 hsv)
 Returns a Color from HSV values.
 
Color (::Vector4 normalized)
 Returns Color from normalized values [0..1].
 
Color (const ::Color &color)
 
Color (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
 
Color (unsigned int hexValue)
 Get Color structure from hexadecimal value.
 
Color (void *srcPtr, int format)
 
+Color Alpha (float alpha) const
 Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
 
+Color AlphaBlend (::Color dst, ::Color tint) const
 Returns src alpha-blended into dst color with tint.
 
+ColorClearBackground ()
 Set background color (framebuffer clear color)
 
+void DrawLine (::Vector2 startPos, ::Vector2 endPos) const
 Draw a line using Vector points.
 
+void DrawLine (::Vector2 startPos, ::Vector2 endPos, float thick) const
 Draw a line using Vector points, with a given thickness.
 
+void DrawLine (int startPosX, int startPosY, int endPosX, int endPosY) const
 Draw a line.
 
+void DrawLineBezier (::Vector2 startPos, ::Vector2 endPos, float thick=1.0f) const
 
+void DrawLineStrip (::Vector2 *points, int numPoints) const
 
+void DrawPixel (::Vector2 pos) const
 Draw a pixel.
 
+void DrawPixel (int x, int y) const
 
+void DrawRectangle (::Rectangle rec) const
 
+void DrawRectangle (::Rectangle rec, ::Vector2 origin, float rotation) const
 
+void DrawRectangle (::Vector2 position, ::Vector2 size) const
 
+void DrawRectangle (int posX, int posY, int width, int height) const
 
+void DrawRectangleLines (::Rectangle rec, float lineThick) const
 
+void DrawRectangleLines (int posX, int posY, int width, int height) const
 
+void DrawText (const ::Font &font, const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing) const
 
+void DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing) const
 
+void DrawText (const std::string &text, int posX=0, int posY=0, int fontSize=10.0f) const
 
+Color Fade (float alpha) const
 Returns color with alpha applied, alpha goes from 0.0f to 1.0f.
 
unsigned char GetA () const
 Retrieves the a value for the object. More...
 
unsigned char GetB () const
 Retrieves the b value for the object. More...
 
unsigned char GetG () const
 Retrieves the g value for the object. More...
 
unsigned char GetR () const
 Retrieves the r value for the object. More...
 
+Vector4 Normalize () const
 Returns Color normalized as float [0..1].
 
operator int () const
 Returns hexadecimal value for a Color.
 
+Coloroperator= (const ::Color &color)
 
void SetA (unsigned char value)
 Sets the a value for the object. More...
 
void SetB (unsigned char value)
 Sets the b value for the object. More...
 
void SetG (unsigned char value)
 Sets the g value for the object. More...
 
void SetR (unsigned char value)
 Sets the r value for the object. More...
 
+Vector3 ToHSV () const
 Returns HSV values for a Color.
 
+int ToInt () const
 Returns hexadecimal value for a Color.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static Color Beige ()
 
+static Color Black ()
 
+static Color Blank ()
 
+static Color Blue ()
 
+static Color Brown ()
 
+static Color DarkBlue ()
 
+static Color DarkBrown ()
 
+static Color DarkGray ()
 
+static Color DarkGreen ()
 
+static Color DarkPurple ()
 
+::Color FromHSV (float hue, float saturation, float value)
 Returns a Color from HSV values.
 
+static Color Gold ()
 
+static Color Gray ()
 
+static Color Green ()
 
+static Color LightGray ()
 
+static Color Lime ()
 
+static Color Magenta ()
 
+static Color Maroon ()
 
+static Color Orange ()
 
+static Color Pink ()
 
+static Color Purple ()
 
+static Color RayWhite ()
 
+static Color Red ()
 
+static Color SkyBlue ()
 
+static Color Violet ()
 
+static Color White ()
 
+static Color Yellow ()
 
+

Detailed Description

+

Color type, RGBA (32bit)

+ +

Definition at line 14 of file Color.hpp.

+

Member Function Documentation

+ +

◆ GetA()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetA () const
+
+inline
+
+ +

Retrieves the a value for the object.

+
Returns
The a value of the object.
+ +

Definition at line 99 of file Color.hpp.

+ +
+
+ +

◆ GetB()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetB () const
+
+inline
+
+ +

Retrieves the b value for the object.

+
Returns
The b value of the object.
+ +

Definition at line 98 of file Color.hpp.

+ +
+
+ +

◆ GetG()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetG () const
+
+inline
+
+ +

Retrieves the g value for the object.

+
Returns
The g value of the object.
+ +

Definition at line 97 of file Color.hpp.

+ +
+
+ +

◆ GetR()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char raylib::Color::GetR () const
+
+inline
+
+ +

Retrieves the r value for the object.

+
Returns
The r value of the object.
+ +

Definition at line 96 of file Color.hpp.

+ +
+
+ +

◆ SetA()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetA (unsigned char value)
+
+inline
+
+ +

Sets the a value for the object.

+
Parameters
+ + +
valueThe value of which to set a to.
+
+
+ +

Definition at line 99 of file Color.hpp.

+ +
+
+ +

◆ SetB()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetB (unsigned char value)
+
+inline
+
+ +

Sets the b value for the object.

+
Parameters
+ + +
valueThe value of which to set b to.
+
+
+ +

Definition at line 98 of file Color.hpp.

+ +
+
+ +

◆ SetG()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetG (unsigned char value)
+
+inline
+
+ +

Sets the g value for the object.

+
Parameters
+ + +
valueThe value of which to set g to.
+
+
+ +

Definition at line 97 of file Color.hpp.

+ +
+
+ +

◆ SetR()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Color::SetR (unsigned char value)
+
+inline
+
+ +

Sets the r value for the object.

+
Parameters
+ + +
valueThe value of which to set r to.
+
+
+ +

Definition at line 96 of file Color.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_font-members.html b/classraylib_1_1_font-members.html new file mode 100644 index 00000000..90d1c5dd --- /dev/null +++ b/classraylib_1_1_font-members.html @@ -0,0 +1,122 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Font Member List
+
+
+ +

This is the complete list of members for raylib::Font, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
DrawText(const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const (defined in raylib::Font)raylib::Fontinline
DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) constraylib::Fontinline
DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) constraylib::Fontinline
Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) (defined in raylib::Font)raylib::Fontinline
Font()raylib::Fontinline
Font(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
Font(const std::string &fileName)raylib::Fontinline
Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
Font(const ::Image &image, ::Color key, int firstChar)raylib::Fontinline
Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
Font(const Font &)=delete (defined in raylib::Font)raylib::Font
Font(Font &&other) (defined in raylib::Font)raylib::Fontinline
GetBaseSize() constraylib::Fontinline
GetGlyphCount() constraylib::Fontinline
GetGlyphIndex(int character) constraylib::Fontinline
GetGlyphPadding() constraylib::Fontinline
GetGlyphs() constraylib::Fontinline
GetRecs() constraylib::Fontinline
GetTexture()raylib::Fontinline
ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
IsReady()raylib::Fontinline
Load(const std::string &fileName)raylib::Fontinline
Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline
Load(const ::Image &image, ::Color key, int firstChar) (defined in raylib::Font)raylib::Fontinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) (defined in raylib::Font)raylib::Fontinline
MeasureText(const std::string &text, float fontSize, float spacing) constraylib::Fontinline
operator=(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
operator=(const Font &)=delete (defined in raylib::Font)raylib::Font
operator=(Font &&other) noexcept (defined in raylib::Font)raylib::Fontinline
SetBaseSize(int value)raylib::Fontinline
SetGlyphCount(int value)raylib::Fontinline
SetGlyphPadding(int value)raylib::Fontinline
SetGlyphs(::GlyphInfo *value)raylib::Fontinline
SetRecs(::Rectangle *value)raylib::Fontinline
SetTexture(const ::Texture &newTexture)raylib::Fontinline
Unload() (defined in raylib::Font)raylib::Fontinline
~Font() (defined in raylib::Font)raylib::Fontinline
+ + + + diff --git a/classraylib_1_1_font.html b/classraylib_1_1_font.html new file mode 100644 index 00000000..07f44c0f --- /dev/null +++ b/classraylib_1_1_font.html @@ -0,0 +1,911 @@ + + + + + + + +raylib-cpp: raylib::Font Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Font Class Reference
+
+
+ +

Font type, includes texture and charSet array data. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Font ()
 Retrieves the default Font.
 
Font (const ::Font &font)
 
 Font (const ::Image &image, ::Color key, int firstChar)
 Loads a Font from the given image with a color key. More...
 
Font (const Font &)=delete
 
 Font (const std::string &fileName)
 Loads a Font from the given file. More...
 
 Font (const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)
 Loads a Font from the given file, with generation parameters. More...
 
 Font (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
 Loads a font from memory, based on the given file type and file data. More...
 
Font (Font &&other)
 
Font (int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr)
 
+void DrawText (const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) const
 Draw multiple character (codepoint)
 
+void DrawText (const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const
 
+void DrawText (const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) const
 Draw text using font and additional parameters.
 
+void DrawText (const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) const
 Draw text using font and additional parameters.
 
+void DrawText (int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) const
 Draw one character (codepoint)
 
int GetBaseSize () const
 Retrieves the baseSize value for the object. More...
 
int GetGlyphCount () const
 Retrieves the glyphCount value for the object. More...
 
+int GetGlyphIndex (int character) const
 Get index position for a unicode character on font.
 
int GetGlyphPadding () const
 Retrieves the glyphPadding value for the object. More...
 
::GlyphInfo * GetGlyphs () const
 Retrieves the glyphs value for the object. More...
 
::RectangleGetRecs () const
 Retrieves the recs value for the object. More...
 
+TextureUnmanaged GetTexture ()
 Get the texture atlas containing the glyphs.
 
+inline ::Image ImageText (const std::string &text, float fontSize, float spacing, ::Color tint) const
 Create an image from text (custom sprite font)
 
+bool IsReady ()
 Returns if the font is ready to be used.
 
+void Load (const ::Image &image, ::Color key, int firstChar)
 
void Load (const std::string &fileName)
 Loads a font from a given file. More...
 
void Load (const std::string &fileName, int fontSize, int *fontChars, int charCount)
 Loads a font from a given file with generation parameters. More...
 
+void Load (const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)
 
+Vector2 MeasureText (const std::string &text, float fontSize, float spacing) const
 Measure string size for Font.
 
+Fontoperator= (const ::Font &font)
 
+Fontoperator= (const Font &)=delete
 
+Fontoperator= (Font &&other) noexcept
 
void SetBaseSize (int value)
 Sets the baseSize value for the object. More...
 
void SetGlyphCount (int value)
 Sets the glyphCount value for the object. More...
 
void SetGlyphPadding (int value)
 Sets the glyphPadding value for the object. More...
 
void SetGlyphs (::GlyphInfo *value)
 Sets the glyphs value for the object. More...
 
void SetRecs (::Rectangle *value)
 Sets the recs value for the object. More...
 
+void SetTexture (const ::Texture &newTexture)
 Set the texture atlas containing the glyphs.
 
+void Unload ()
 
+

Detailed Description

+

Font type, includes texture and charSet array data.

+ +

Definition at line 15 of file Font.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Font() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Font::Font (const std::string & fileName)
+
+inline
+
+ +

Loads a Font from the given file.

+
Parameters
+ + +
fileNameThe file name of the font to load.
+
+
+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the given font failed to initialize.
+
+
+ +

Definition at line 44 of file Font.hpp.

+ +

References Load().

+ +
+
+ +

◆ Font() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Font::Font (const std::string & fileName,
int fontSize,
int * fontChars = 0,
int charCount = 0 
)
+
+inline
+
+ +

Loads a Font from the given file, with generation parameters.

+
Parameters
+ + +
fileNameThe file name of the font to load.
+
+
+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the given font failed to initialize.
+
+
+
See also
LoadFontEx
+ +

Definition at line 57 of file Font.hpp.

+ +

References Load().

+ +
+
+ +

◆ Font() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Font::Font (const ::Imageimage,
::Color key,
int firstChar 
)
+
+inline
+
+ +

Loads a Font from the given image with a color key.

+
Parameters
+ + +
imageThe image to load the fond from.
+
+
+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the given font failed to initialize.
+
+
+
See also
::LoadFontFromImage()
+ +

Definition at line 70 of file Font.hpp.

+ +

References Load().

+ +
+
+ +

◆ Font() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Font::Font (const std::string & fileType,
const unsigned char * fileData,
int dataSize,
int fontSize,
int * fontChars,
int charsCount 
)
+
+inline
+
+ +

Loads a font from memory, based on the given file type and file data.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the given font failed to initialize.
+
+
+
See also
::LoadFontFromMemory()
+ +

Definition at line 81 of file Font.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ GetBaseSize()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Font::GetBaseSize () const
+
+inline
+
+ +

Retrieves the baseSize value for the object.

+
Returns
The baseSize value of the object.
+ +

Definition at line 111 of file Font.hpp.

+ +
+
+ +

◆ GetGlyphCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Font::GetGlyphCount () const
+
+inline
+
+ +

Retrieves the glyphCount value for the object.

+
Returns
The glyphCount value of the object.
+ +

Definition at line 112 of file Font.hpp.

+ +
+
+ +

◆ GetGlyphPadding()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Font::GetGlyphPadding () const
+
+inline
+
+ +

Retrieves the glyphPadding value for the object.

+
Returns
The glyphPadding value of the object.
+ +

Definition at line 113 of file Font.hpp.

+ +
+
+ +

◆ GetGlyphs()

+ +
+
+ + + + + +
+ + + + + + + +
::GlyphInfo* raylib::Font::GetGlyphs () const
+
+inline
+
+ +

Retrieves the glyphs value for the object.

+
Returns
The glyphs value of the object.
+ +

Definition at line 115 of file Font.hpp.

+ +
+
+ +

◆ GetRecs()

+ +
+
+ + + + + +
+ + + + + + + +
::Rectangle* raylib::Font::GetRecs () const
+
+inline
+
+ +

Retrieves the recs value for the object.

+
Returns
The recs value of the object.
+ +

Definition at line 114 of file Font.hpp.

+ +
+
+ +

◆ Load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Font::Load (const std::string & fileName)
+
+inline
+
+ +

Loads a font from a given file.

+
Parameters
+ + +
fileNameThe filename of the font to load.
+
+
+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the given font failed to initialize.
+
+
+
See also
LoadFont()
+ +

Definition at line 166 of file Font.hpp.

+ +

References IsReady(), and raylib::LoadFont().

+ +

Referenced by Font().

+ +
+
+ +

◆ Load() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Font::Load (const std::string & fileName,
int fontSize,
int * fontChars,
int charCount 
)
+
+inline
+
+ +

Loads a font from a given file with generation parameters.

+
Parameters
+ + + +
fileNameThe filename of the font to load.
fontSizeThe desired size of the font.
+
+
+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the given font failed to initialize.
+
+
+
See also
LoadFontEx()
+ +

Definition at line 183 of file Font.hpp.

+ +

References IsReady(), and raylib::LoadFontEx().

+ +
+
+ +

◆ SetBaseSize()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Font::SetBaseSize (int value)
+
+inline
+
+ +

Sets the baseSize value for the object.

+
Parameters
+ + +
valueThe value of which to set baseSize to.
+
+
+ +

Definition at line 111 of file Font.hpp.

+ +
+
+ +

◆ SetGlyphCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Font::SetGlyphCount (int value)
+
+inline
+
+ +

Sets the glyphCount value for the object.

+
Parameters
+ + +
valueThe value of which to set glyphCount to.
+
+
+ +

Definition at line 112 of file Font.hpp.

+ +
+
+ +

◆ SetGlyphPadding()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Font::SetGlyphPadding (int value)
+
+inline
+
+ +

Sets the glyphPadding value for the object.

+
Parameters
+ + +
valueThe value of which to set glyphPadding to.
+
+
+ +

Definition at line 113 of file Font.hpp.

+ +
+
+ +

◆ SetGlyphs()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Font::SetGlyphs (::GlyphInfo * value)
+
+inline
+
+ +

Sets the glyphs value for the object.

+
Parameters
+ + +
valueThe value of which to set glyphs to.
+
+
+ +

Definition at line 115 of file Font.hpp.

+ +
+
+ +

◆ SetRecs()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Font::SetRecs (::Rectanglevalue)
+
+inline
+
+ +

Sets the recs value for the object.

+
Parameters
+ + +
valueThe value of which to set recs to.
+
+
+ +

Definition at line 114 of file Font.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_gamepad-members.html b/classraylib_1_1_gamepad-members.html new file mode 100644 index 00000000..26cc4478 --- /dev/null +++ b/classraylib_1_1_gamepad-members.html @@ -0,0 +1,102 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Gamepad Member List
+
+
+ +

This is the complete list of members for raylib::Gamepad, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + +
Gamepad(int gamepadNumber=0) (defined in raylib::Gamepad)raylib::Gamepadinline
GetAxisCount() constraylib::Gamepadinline
GetAxisMovement(int axis) constraylib::Gamepadinline
GetButtonPressed() constraylib::Gamepadinline
GetName() constraylib::Gamepadinline
GetNumber() constraylib::Gamepadinline
IsAvailable() constraylib::Gamepadinline
IsAvailable(int number)raylib::Gamepadinlinestatic
IsButtonDown(int button) constraylib::Gamepadinline
IsButtonPressed(int button) constraylib::Gamepadinline
IsButtonReleased(int button) constraylib::Gamepadinline
IsButtonUp(int button) constraylib::Gamepadinline
number (defined in raylib::Gamepad)raylib::Gamepad
operator int() const (defined in raylib::Gamepad)raylib::Gamepadinline
operator std::string() constraylib::Gamepadinline
operator=(const Gamepad &gamepad) (defined in raylib::Gamepad)raylib::Gamepadinline
operator=(int gamepadNumber) (defined in raylib::Gamepad)raylib::Gamepadinline
SetMappings(const std::string &mappings) (defined in raylib::Gamepad)raylib::Gamepadinline
SetNumber(int value)raylib::Gamepadinline
+ + + + diff --git a/classraylib_1_1_gamepad.html b/classraylib_1_1_gamepad.html new file mode 100644 index 00000000..feeffbb6 --- /dev/null +++ b/classraylib_1_1_gamepad.html @@ -0,0 +1,237 @@ + + + + + + + +raylib-cpp: raylib::Gamepad Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Input-related functions: gamepads. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Gamepad (int gamepadNumber=0)
 
+int GetAxisCount () const
 Return gamepad axis count for a gamepad.
 
+float GetAxisMovement (int axis) const
 Return axis movement value for a gamepad axis.
 
+int GetButtonPressed () const
 Get the last gamepad button pressed.
 
+std::string GetName () const
 Return gamepad internal name id.
 
int GetNumber () const
 Retrieves the number value for the object. More...
 
+bool IsAvailable () const
 Detect if a gamepad is available.
 
+bool IsButtonDown (int button) const
 Detect if a gamepad button is being pressed.
 
+bool IsButtonPressed (int button) const
 Detect if a gamepad button has been pressed once.
 
+bool IsButtonReleased (int button) const
 Detect if a gamepad button has been released once.
 
+bool IsButtonUp (int button) const
 Detect if a gamepad button is NOT being pressed.
 
operator int () const
 
operator std::string () const
 Return gamepad internal name id.
 
+Gamepadoperator= (const Gamepad &gamepad)
 
+Gamepadoperator= (int gamepadNumber)
 
+int SetMappings (const std::string &mappings)
 
void SetNumber (int value)
 Sets the number value for the object. More...
 
+ + + + +

+Static Public Member Functions

+static bool IsAvailable (int number)
 Detect if a gamepad is available.
 
+ + + +

+Public Attributes

+int number
 
+

Detailed Description

+

Input-related functions: gamepads.

+ +

Definition at line 13 of file Gamepad.hpp.

+

Member Function Documentation

+ +

◆ GetNumber()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Gamepad::GetNumber () const
+
+inline
+
+ +

Retrieves the number value for the object.

+
Returns
The number value of the object.
+ +

Definition at line 20 of file Gamepad.hpp.

+ +
+
+ +

◆ SetNumber()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Gamepad::SetNumber (int value)
+
+inline
+
+ +

Sets the number value for the object.

+
Parameters
+ + +
valueThe value of which to set number to.
+
+
+ +

Definition at line 20 of file Gamepad.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_image-members.html b/classraylib_1_1_image-members.html new file mode 100644 index 00000000..43e6a8d6 --- /dev/null +++ b/classraylib_1_1_image-members.html @@ -0,0 +1,182 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Image Member List
+
+
+ +

This is the complete list of members for raylib::Image, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AlphaClear(::Color color, float threshold)raylib::Imageinline
AlphaCrop(float threshold)raylib::Imageinline
AlphaMask(const ::Image &alphaMask)raylib::Imageinline
AlphaPremultiply()raylib::Imageinline
Cellular(int width, int height, int tileSize)raylib::Imageinlinestatic
Checked(int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})raylib::Imageinlinestatic
ClearBackground(::Color color={0, 0, 0, 255})raylib::Imageinline
Color(int width, int height, ::Color color={255, 255, 255, 255})raylib::Imageinlinestatic
ColorBrightness(int brightness)raylib::Imageinline
ColorContrast(float contrast)raylib::Imageinline
ColorGrayscale()raylib::Imageinline
ColorInvert()raylib::Imageinline
ColorReplace(::Color color, ::Color replace)raylib::Imageinline
ColorTint(::Color color={255, 255, 255, 255})raylib::Imageinline
Copy() constraylib::Imageinline
Crop(::Rectangle crop)raylib::Imageinline
Crop(int newWidth, int newHeight)raylib::Imageinline
Crop(::Vector2 size)raylib::Imageinline
Crop(int offsetX, int offsetY, int newWidth, int newHeight)raylib::Imageinline
Dither(int rBpp, int gBpp, int bBpp, int aBpp)raylib::Imageinline
Draw(const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawCircle(int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawCircle(::Vector2 center, int radius, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawLine(int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawLine(::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawPixel(int posX, int posY, ::Color color={255, 255, 255, 255})raylib::Imageinline
DrawPixel(::Vector2 position, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangle(int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Export(const std::string &fileName) constraylib::Imageinline
ExportAsCode(const std::string &fileName) constraylib::Imageinline
FlipHorizontal()raylib::Imageinline
FlipVertical()raylib::Imageinline
Format(int newFormat)raylib::Imageinline
FromImage(::Rectangle rec) constraylib::Imageinline
GetAlphaBorder(float threshold) constraylib::Imageinline
GetColor(int x=0, int y=0) constraylib::Imageinline
GetColor(::Vector2 position) constraylib::Imageinline
GetData() constraylib::Imageinline
GetFormat() constraylib::Imageinline
GetHeight() constraylib::Imageinline
GetMipmaps() constraylib::Imageinline
GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)raylib::Imageinlinestatic
GetPixelDataSize() constraylib::Imageinline
GetSize() constraylib::Imageinline
GetWidth() constraylib::Imageinline
GradientH(int width, int height, ::Color left, ::Color right)raylib::Imageinlinestatic
GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)raylib::Imageinlinestatic
GradientV(int width, int height, ::Color top, ::Color bottom)raylib::Imageinlinestatic
Image(void *data=nullptr, int width=0, int height=0, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) (defined in raylib::Image)raylib::Imageinline
Image(const ::Image &image) (defined in raylib::Image)raylib::Imageinline
Image(const std::string &fileName)raylib::Imageinline
Image(const std::string &fileName, int width, int height, int format, int headerSize=0)raylib::Imageinline
Image(const std::string &fileName, int *frames)raylib::Imageinline
Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
Image(const ::Texture2D &texture)raylib::Imageinline
Image(int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline
Image(const Image &other) (defined in raylib::Image)raylib::Imageinline
Image(Image &&other) (defined in raylib::Image)raylib::Imageinline
IsReady() constraylib::Imageinline
Load(const std::string &fileName)raylib::Imageinline
Load(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline
Load(const std::string &fileName, int *frames)raylib::Imageinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline
Load(const ::Texture2D &texture)raylib::Imageinline
LoadColors() constraylib::Imageinline
LoadFromScreen()raylib::Imageinlinestatic
LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline
LoadTexture() constraylib::Imageinline
Mipmaps()raylib::Imageinline
operator::Texture2D()raylib::Imageinline
operator=(const ::Image &image) (defined in raylib::Image)raylib::Imageinline
operator=(const Image &other) (defined in raylib::Image)raylib::Imageinline
operator=(Image &&other) noexcept (defined in raylib::Image)raylib::Imageinline
Resize(int newWidth, int newHeight)raylib::Imageinline
ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline
ResizeNN(int newWidth, int newHeight)raylib::Imageinline
RotateCCW()raylib::Imageinline
RotateCW()raylib::Imageinline
SetData(void *value)raylib::Imageinline
SetFormat(int value)raylib::Imageinline
SetHeight(int value)raylib::Imageinline
SetMipmaps(int value)raylib::Imageinline
SetWidth(int value)raylib::Imageinline
Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic
Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic
ToPOT(::Color fillColor)raylib::Imageinline
Unload()raylib::Imageinline
UnloadColors(::Color *colors) constraylib::Imageinline
UnloadPalette(::Color *colors) constraylib::Imageinline
WhiteNoise(int width, int height, float factor)raylib::Imageinlinestatic
~Image() (defined in raylib::Image)raylib::Imageinline
+ + + + diff --git a/classraylib_1_1_image.html b/classraylib_1_1_image.html new file mode 100644 index 00000000..ffb17018 --- /dev/null +++ b/classraylib_1_1_image.html @@ -0,0 +1,1593 @@ + + + + + + + +raylib-cpp: raylib::Image Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Image type, bpp always RGBA (32bit) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Image (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
Image (const ::Image &image)
 
 Image (const ::Texture2D &texture)
 Load an image from the given file. More...
 
Image (const Image &other)
 
 Image (const std::string &fileName)
 Load an image from the given file. More...
 
 Image (const std::string &fileName, int *frames)
 Load an animation image from the given file. More...
 
 Image (const std::string &fileName, int width, int height, int format, int headerSize=0)
 Load a raw image from the given file, with the provided width, height, and formats. More...
 
 Image (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load an image from the given file. More...
 
Image (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
 
Image (Image &&other)
 
Image (int width, int height, ::Color color={255, 255, 255, 255})
 
Image (void *data=nullptr, int width=0, int height=0, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
 
+ImageAlphaClear (::Color color, float threshold)
 Clear alpha channel to desired color.
 
+ImageAlphaCrop (float threshold)
 Crop image depending on alpha value.
 
+ImageAlphaMask (const ::Image &alphaMask)
 Apply alpha mask to image.
 
+ImageAlphaPremultiply ()
 Premultiply alpha channel.
 
+ImageClearBackground (::Color color={0, 0, 0, 255})
 Clear image background with given color.
 
ImageColorBrightness (int brightness)
 Modify image color: brightness. More...
 
ImageColorContrast (float contrast)
 Modify image color: contrast. More...
 
+ImageColorGrayscale ()
 Modify image color: grayscale.
 
+ImageColorInvert ()
 Modify image color: invert.
 
+ImageColorReplace (::Color color, ::Color replace)
 Modify image color: replace color.
 
+ImageColorTint (::Color color={255, 255, 255, 255})
 Modify image color: tint.
 
+inline ::Image Copy () const
 Create an image duplicate (useful for transformations)
 
+ImageCrop (::Rectangle crop)
 Crop an image to area defined by a rectangle.
 
+ImageCrop (::Vector2 size)
 Crop an image to a new given width and height based on a vector.
 
+ImageCrop (int newWidth, int newHeight)
 Crop an image to a new given width and height.
 
+ImageCrop (int offsetX, int offsetY, int newWidth, int newHeight)
 Crop an image to area defined by a rectangle.
 
+ImageDither (int rBpp, int gBpp, int bBpp, int aBpp)
 Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
 
+void Draw (const ::Image &src, ::Rectangle srcRec, ::Rectangle dstRec, ::Color tint={255, 255, 255, 255})
 
+void DrawCircle (::Vector2 center, int radius, ::Color color={255, 255, 255, 255})
 
+void DrawCircle (int centerX, int centerY, int radius, ::Color color={255, 255, 255, 255})
 
+void DrawLine (::Vector2 start, ::Vector2 end, ::Color color={255, 255, 255, 255})
 
+void DrawLine (int startPosX, int startPosY, int endPosX, int endPosY, ::Color color={255, 255, 255, 255})
 
+void DrawPixel (::Vector2 position, ::Color color={255, 255, 255, 255})
 
+void DrawPixel (int posX, int posY, ::Color color={255, 255, 255, 255})
 Draw pixel within an image.
 
+void DrawRectangle (::Rectangle rec, ::Color color={255, 255, 255, 255})
 
+void DrawRectangle (int posX, int posY, int width, int height, ::Color color={255, 255, 255, 255})
 
+void DrawRectangle (Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255})
 
+void DrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})
 
+void DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
+void DrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})
 
+void DrawText (const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255})
 
void Export (const std::string &fileName) const
 Export image data to file, returns true on success. More...
 
void ExportAsCode (const std::string &fileName) const
 Export image as code file defining an array of bytes, returns true on success. More...
 
+ImageFlipHorizontal ()
 Flip image horizontally.
 
+ImageFlipVertical ()
 Flip image vertically.
 
+ImageFormat (int newFormat)
 Convert image data to desired format.
 
+inline ::Image FromImage (::Rectangle rec) const
 Create an image from another image piece.
 
Rectangle GetAlphaBorder (float threshold) const
 Get image alpha border rectangle. More...
 
+raylib::Color GetColor (::Vector2 position) const
 Get image pixel color at vector position.
 
+raylib::Color GetColor (int x=0, int y=0) const
 Get image pixel color at (x, y) position.
 
void * GetData () const
 Retrieves the data value for the object. More...
 
int GetFormat () const
 Retrieves the format value for the object. More...
 
int GetHeight () const
 Retrieves the height value for the object. More...
 
int GetMipmaps () const
 Retrieves the mipmaps value for the object. More...
 
int GetPixelDataSize () const
 Returns the pixel data size based on the current image. More...
 
+inline ::Vector2 GetSize () const
 Retrieve the width and height of the image.
 
int GetWidth () const
 Retrieves the width value for the object. More...
 
bool IsReady () const
 Retrieve whether or not the Image has been loaded. More...
 
void Load (const ::Texture2D &texture)
 Load an image from the given file. More...
 
void Load (const std::string &fileName)
 Load image from file into CPU memory (RAM) More...
 
void Load (const std::string &fileName, int *frames)
 Load image sequence from file (frames appended to image.data). More...
 
void Load (const std::string &fileName, int width, int height, int format, int headerSize)
 Load image from RAW file data. More...
 
void Load (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load image from memory buffer, fileType refers to extension: i.e. More...
 
+inline ::ColorLoadColors () const
 Load color data from image as a Color array (RGBA - 32bit)
 
+inline ::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const
 Load colors palette from image as a Color array (RGBA - 32bit)
 
+inline ::Texture2D LoadTexture () const
 Load texture from image data.
 
+ImageMipmaps ()
 Generate all mipmap levels for a provided image.
 
 operator::Texture2D ()
 Loads a texture from the image data. More...
 
+Imageoperator= (const ::Image &image)
 
+Imageoperator= (const Image &other)
 
+Imageoperator= (Image &&other) noexcept
 
+ImageResize (int newWidth, int newHeight)
 Resize and image to new size.
 
+ImageResizeCanvas (int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})
 Resize canvas and fill with color.
 
+ImageResizeNN (int newWidth, int newHeight)
 Resize and image to new size using Nearest-Neighbor scaling algorithm.
 
+ImageRotateCCW ()
 Rotate image counter-clockwise 90deg.
 
+ImageRotateCW ()
 Rotate image clockwise 90deg.
 
void SetData (void *value)
 Sets the data value for the object. More...
 
void SetFormat (int value)
 Sets the format value for the object. More...
 
void SetHeight (int value)
 Sets the height value for the object. More...
 
void SetMipmaps (int value)
 Sets the mipmaps value for the object. More...
 
void SetWidth (int value)
 Sets the width value for the object. More...
 
+ImageToPOT (::Color fillColor)
 Convert image to POT (power-of-two)
 
+void Unload ()
 Unload image from CPU memory (RAM)
 
+void UnloadColors (::Color *colors) const
 Unload color data loaded with LoadImageColors()
 
+void UnloadPalette (::Color *colors) const
 Unload colors palette loaded with LoadImagePalette()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

::Image Cellular (int width, int height, int tileSize)
 Generate image: cellular algorithm. More...
 
+::Image Checked (int width, int height, int checksX, int checksY, ::Color col1={255, 255, 255, 255}, ::Color col2={0, 0, 0, 255})
 Generate image: checked.
 
+::Image Color (int width, int height, ::Color color={255, 255, 255, 255})
 Generate image: plain color.
 
+static int GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)
 Get pixel data size in bytes for certain format.
 
+::Image GradientH (int width, int height, ::Color left, ::Color right)
 Generate image: horizontal gradient.
 
+::Image GradientRadial (int width, int height, float density, ::Color inner, ::Color outer)
 Generate image: radial gradient.
 
+::Image GradientV (int width, int height, ::Color top, ::Color bottom)
 Generate image: vertical gradient.
 
+::Image LoadFromScreen ()
 Get pixel data from screen buffer and return an Image (screenshot)
 
+::Image Text (const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})
 
+::Image Text (const std::string &text, int fontSize, ::Color color={255, 255, 255, 255})
 
+::Image WhiteNoise (int width, int height, float factor)
 Generate image: white noise.
 
+

Detailed Description

+

Image type, bpp always RGBA (32bit)

+

Data stored in CPU memory (RAM)

+ +

Definition at line 17 of file Image.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Image() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Image::Image (const std::string & fileName)
+
+inline
+
+ +

Load an image from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+
See also
Load()
+ +

Definition at line 38 of file Image.hpp.

+ +

References Load().

+ +
+
+ +

◆ Image() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Image::Image (const std::string & fileName,
int width,
int height,
int format,
int headerSize = 0 
)
+
+inline
+
+ +

Load a raw image from the given file, with the provided width, height, and formats.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+
See also
LoadRaw()
+ +

Definition at line 49 of file Image.hpp.

+ +

References Load().

+ +
+
+ +

◆ Image() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::Image::Image (const std::string & fileName,
int * frames 
)
+
+inline
+
+ +

Load an animation image from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+
See also
LoadAnim()
+ +

Definition at line 60 of file Image.hpp.

+ +

References Load().

+ +
+
+ +

◆ Image() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Image::Image (const std::string & fileType,
const unsigned char * fileData,
int dataSize 
)
+
+inline
+
+ +

Load an image from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+ +

Definition at line 69 of file Image.hpp.

+ +

References Load().

+ +
+
+ +

◆ Image() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Image::Image (const ::Texture2Dtexture)
+
+inline
+
+ +

Load an image from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+ +

Definition at line 78 of file Image.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ Cellular()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
::Image raylib::Image::Cellular (int width,
int height,
int tileSize 
)
+
+inlinestatic
+
+ +

Generate image: cellular algorithm.

+

Bigger tileSize means bigger cells

+ +

Definition at line 173 of file Image.hpp.

+ +
+
+ +

◆ ColorBrightness()

+ +
+
+ + + + + +
+ + + + + + + + +
Image& raylib::Image::ColorBrightness (int brightness)
+
+inline
+
+ +

Modify image color: brightness.

+
Parameters
+ + +
brightnessBrightness values between -255 and 255
+
+
+ +

Definition at line 542 of file Image.hpp.

+ +
+
+ +

◆ ColorContrast()

+ +
+
+ + + + + +
+ + + + + + + + +
Image& raylib::Image::ColorContrast (float contrast)
+
+inline
+
+ +

Modify image color: contrast.

+
Parameters
+ + +
contrastContrast values between -100 and 100
+
+
+ +

Definition at line 532 of file Image.hpp.

+ +
+
+ +

◆ Export()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::Export (const std::string & fileName) const
+
+inline
+
+ +

Export image data to file, returns true on success.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+ +

Definition at line 302 of file Image.hpp.

+ +

References raylib::ExportImage().

+ +
+
+ +

◆ ExportAsCode()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::ExportAsCode (const std::string & fileName) const
+
+inline
+
+ +

Export image as code file defining an array of bytes, returns true on success.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+ +

Definition at line 313 of file Image.hpp.

+ +

References raylib::ExportImageAsCode().

+ +
+
+ +

◆ GetAlphaBorder()

+ +
+
+ + + + + +
+ + + + + + + + +
Rectangle raylib::Image::GetAlphaBorder (float threshold) const
+
+inline
+
+ +

Get image alpha border rectangle.

+
Parameters
+ + +
thresholdThreshold is defined as a percentatge: 0.0f -> 1.0f
+
+
+ +

Definition at line 560 of file Image.hpp.

+ +
+
+ +

◆ GetData()

+ +
+
+ + + + + +
+ + + + + + + +
void* raylib::Image::GetData () const
+
+inline
+
+ +

Retrieves the data value for the object.

+
Returns
The data value of the object.
+ +

Definition at line 319 of file Image.hpp.

+ +
+
+ +

◆ GetFormat()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Image::GetFormat () const
+
+inline
+
+ +

Retrieves the format value for the object.

+
Returns
The format value of the object.
+ +

Definition at line 323 of file Image.hpp.

+ +
+
+ +

◆ GetHeight()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Image::GetHeight () const
+
+inline
+
+ +

Retrieves the height value for the object.

+
Returns
The height value of the object.
+ +

Definition at line 321 of file Image.hpp.

+ +
+
+ +

◆ GetMipmaps()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Image::GetMipmaps () const
+
+inline
+
+ +

Retrieves the mipmaps value for the object.

+
Returns
The mipmaps value of the object.
+ +

Definition at line 322 of file Image.hpp.

+ +
+
+ +

◆ GetPixelDataSize()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Image::GetPixelDataSize () const
+
+inline
+
+ +

Returns the pixel data size based on the current image.

+
Returns
The pixel data size of the image.
+ +

Definition at line 716 of file Image.hpp.

+ +
+
+ +

◆ GetWidth()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Image::GetWidth () const
+
+inline
+
+ +

Retrieves the width value for the object.

+
Returns
The width value of the object.
+ +

Definition at line 320 of file Image.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Image::IsReady () const
+
+inline
+
+ +

Retrieve whether or not the Image has been loaded.

+
Returns
True or false depending on whether the Image has been loaded.
+ +

Definition at line 725 of file Image.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::Load (const ::Texture2Dtexture)
+
+inline
+
+ +

Load an image from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image animation to load from the file.
+
+
+
See also
::LoadImageFromTexture()
+ +

Definition at line 280 of file Image.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ Load() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::Load (const std::string & fileName)
+
+inline
+
+ +

Load image from file into CPU memory (RAM)

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+
See also
LoadImage()
+ +

Definition at line 221 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImage().

+ +

Referenced by Image().

+ +
+
+ +

◆ Load() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void raylib::Image::Load (const std::string & fileName,
int * frames 
)
+
+inline
+
+ +

Load image sequence from file (frames appended to image.data).

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image animation to load from the file.
+
+
+
See also
LoadImageAnim()
+ +

Definition at line 249 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImageAnim().

+ +
+
+ +

◆ Load() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Image::Load (const std::string & fileName,
int width,
int height,
int format,
int headerSize 
)
+
+inline
+
+ +

Load image from RAW file data.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image failed to load from the file.
+
+
+
See also
LoadImageRaw()
+ +

Definition at line 235 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImageRaw().

+ +
+
+ +

◆ Load() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Image::Load (const std::string & fileType,
const unsigned char * fileData,
int dataSize 
)
+
+inline
+
+ +

Load image from memory buffer, fileType refers to extension: i.e.

+

"png".

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the image animation to load from the file.
+
+
+
See also
LoadImageFromMemory()
+ +

Definition at line 263 of file Image.hpp.

+ +

References IsReady(), and raylib::LoadImageFromMemory().

+ +
+
+ +

◆ operator::Texture2D()

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Image::operator::Texture2D ()
+
+inline
+
+ +

Loads a texture from the image data.

+
See also
LoadTexture()
+ +

Definition at line 700 of file Image.hpp.

+ +

References LoadTexture().

+ +
+
+ +

◆ SetData()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::SetData (void * value)
+
+inline
+
+ +

Sets the data value for the object.

+
Parameters
+ + +
valueThe value of which to set data to.
+
+
+ +

Definition at line 319 of file Image.hpp.

+ +
+
+ +

◆ SetFormat()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::SetFormat (int value)
+
+inline
+
+ +

Sets the format value for the object.

+
Parameters
+ + +
valueThe value of which to set format to.
+
+
+ +

Definition at line 323 of file Image.hpp.

+ +
+
+ +

◆ SetHeight()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::SetHeight (int value)
+
+inline
+
+ +

Sets the height value for the object.

+
Parameters
+ + +
valueThe value of which to set height to.
+
+
+ +

Definition at line 321 of file Image.hpp.

+ +
+
+ +

◆ SetMipmaps()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::SetMipmaps (int value)
+
+inline
+
+ +

Sets the mipmaps value for the object.

+
Parameters
+ + +
valueThe value of which to set mipmaps to.
+
+
+ +

Definition at line 322 of file Image.hpp.

+ +
+
+ +

◆ SetWidth()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Image::SetWidth (int value)
+
+inline
+
+ +

Sets the width value for the object.

+
Parameters
+ + +
valueThe value of which to set width to.
+
+
+ +

Definition at line 320 of file Image.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_material-members.html b/classraylib_1_1_material-members.html new file mode 100644 index 00000000..7febfb04 --- /dev/null +++ b/classraylib_1_1_material-members.html @@ -0,0 +1,100 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Material Member List
+
+
+ +

This is the complete list of members for raylib::Material, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
DrawMesh(const ::Mesh &mesh, ::Matrix transform) constraylib::Materialinline
DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) constraylib::Materialinline
GetMaps() constraylib::Materialinline
GetShader() constraylib::Materialinline
Load(const std::string &fileName)raylib::Materialinlinestatic
Material(const ::Material &material) (defined in raylib::Material)raylib::Materialinline
Material()raylib::Materialinline
Material(const Material &)=delete (defined in raylib::Material)raylib::Material
Material(Material &&other) (defined in raylib::Material)raylib::Materialinline
operator=(const ::Material &material) (defined in raylib::Material)raylib::Materialinline
operator=(const Material &)=delete (defined in raylib::Material)raylib::Material
operator=(Material &&other) noexcept (defined in raylib::Material)raylib::Materialinline
SetMaps(::MaterialMap *value)raylib::Materialinline
SetShader(::Shader value)raylib::Materialinline
SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline
Unload()raylib::Materialinline
~Material() (defined in raylib::Material)raylib::Materialinline
+ + + + diff --git a/classraylib_1_1_material.html b/classraylib_1_1_material.html new file mode 100644 index 00000000..3bcc482f --- /dev/null +++ b/classraylib_1_1_material.html @@ -0,0 +1,285 @@ + + + + + + + +raylib-cpp: raylib::Material Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Material Class Reference
+
+
+ +

Material type (generic) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Material ()
 Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
 
Material (const ::Material &material)
 
Material (const Material &)=delete
 
Material (Material &&other)
 
+void DrawMesh (const ::Mesh &mesh, ::Matrix *transforms, int instances) const
 Draw multiple mesh instances with material and different transforms.
 
+void DrawMesh (const ::Mesh &mesh, ::Matrix transform) const
 Draw a 3d mesh with material and transform.
 
::MaterialMap * GetMaps () const
 Retrieves the maps value for the object. More...
 
::Shader GetShader () const
 Retrieves the shader value for the object. More...
 
+Materialoperator= (const ::Material &material)
 
+Materialoperator= (const Material &)=delete
 
+Materialoperator= (Material &&other) noexcept
 
void SetMaps (::MaterialMap *value)
 Sets the maps value for the object. More...
 
void SetShader (::Shader value)
 Sets the shader value for the object. More...
 
+MaterialSetTexture (int mapType, const ::Texture2D &texture)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
 
+void Unload ()
 Unload material from memory.
 
+ + + + +

+Static Public Member Functions

+static std::vector< MaterialLoad (const std::string &fileName)
 Load materials from model file.
 
+

Detailed Description

+

Material type (generic)

+ +

Definition at line 14 of file Material.hpp.

+

Member Function Documentation

+ +

◆ GetMaps()

+ +
+
+ + + + + +
+ + + + + + + +
::MaterialMap* raylib::Material::GetMaps () const
+
+inline
+
+ +

Retrieves the maps value for the object.

+
Returns
The maps value of the object.
+ +

Definition at line 55 of file Material.hpp.

+ +
+
+ +

◆ GetShader()

+ +
+
+ + + + + +
+ + + + + + + +
::Shader raylib::Material::GetShader () const
+
+inline
+
+ +

Retrieves the shader value for the object.

+
Returns
The shader value of the object.
+ +

Definition at line 54 of file Material.hpp.

+ +
+
+ +

◆ SetMaps()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Material::SetMaps (::MaterialMap * value)
+
+inline
+
+ +

Sets the maps value for the object.

+
Parameters
+ + +
valueThe value of which to set maps to.
+
+
+ +

Definition at line 55 of file Material.hpp.

+ +
+
+ +

◆ SetShader()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Material::SetShader (::Shader value)
+
+inline
+
+ +

Sets the shader value for the object.

+
Parameters
+ + +
valueThe value of which to set shader to.
+
+
+ +

Definition at line 54 of file Material.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_matrix-members.html b/classraylib_1_1_matrix-members.html new file mode 100644 index 00000000..4d536ea1 --- /dev/null +++ b/classraylib_1_1_matrix-members.html @@ -0,0 +1,147 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Matrix Member List
+
+
+ +

This is the complete list of members for raylib::Matrix, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(const ::Matrix &right) (defined in raylib::Matrix)raylib::Matrixinline
Frustum(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
GetCamera(const ::Camera &camera) (defined in raylib::Matrix)raylib::Matrixinlinestatic
GetCamera(const ::Camera2D &camera) (defined in raylib::Matrix)raylib::Matrixinlinestatic
GetM0() constraylib::Matrixinline
GetM1() constraylib::Matrixinline
GetM10() constraylib::Matrixinline
GetM11() constraylib::Matrixinline
GetM12() constraylib::Matrixinline
GetM13() constraylib::Matrixinline
GetM14() constraylib::Matrixinline
GetM15() constraylib::Matrixinline
GetM2() constraylib::Matrixinline
GetM3() constraylib::Matrixinline
GetM4() constraylib::Matrixinline
GetM5() constraylib::Matrixinline
GetM6() constraylib::Matrixinline
GetM7() constraylib::Matrixinline
GetM8() constraylib::Matrixinline
GetM9() constraylib::Matrixinline
Identity() (defined in raylib::Matrix)raylib::Matrixinlinestatic
Invert() const (defined in raylib::Matrix)raylib::Matrixinline
LookAt(Vector3 eye, Vector3 target, Vector3 up) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Matrix(const ::Matrix &mat) (defined in raylib::Matrix)raylib::Matrixinline
Matrix(float m0=0, float m4=0, float m8=0, float m12=0, float m1=0, float m5=0, float m9=0, float m13=0, float m2=0, float m6=0, float m10=0, float m14=0, float m3=0, float m7=0, float m11=0, float m15=0) (defined in raylib::Matrix)raylib::Matrixinline
Multiply(const ::Matrix &right) const (defined in raylib::Matrix)raylib::Matrixinline
operator float16() (defined in raylib::Matrix)raylib::Matrixinline
operator!=(const ::Matrix &other) (defined in raylib::Matrix)raylib::Matrixinline
operator*(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator+(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator-(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator=(const ::Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator=(const Matrix &matrix) (defined in raylib::Matrix)raylib::Matrixinline
operator==(const ::Matrix &other) (defined in raylib::Matrix)raylib::Matrixinline
Ortho(double left, double right, double bottom, double top, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Perspective(double fovy, double aspect, double near, double far) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Rotate(Vector3 axis, float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateX(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateXYZ(Vector3 angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateY(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
RotateZ(float angle) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Scale(float x, float y, float z) (defined in raylib::Matrix)raylib::Matrixinlinestatic
SetM0(float value)raylib::Matrixinline
SetM1(float value)raylib::Matrixinline
SetM10(float value)raylib::Matrixinline
SetM11(float value)raylib::Matrixinline
SetM12(float value)raylib::Matrixinline
SetM13(float value)raylib::Matrixinline
SetM14(float value)raylib::Matrixinline
SetM15(float value)raylib::Matrixinline
SetM2(float value)raylib::Matrixinline
SetM3(float value)raylib::Matrixinline
SetM4(float value)raylib::Matrixinline
SetM5(float value)raylib::Matrixinline
SetM6(float value)raylib::Matrixinline
SetM7(float value)raylib::Matrixinline
SetM8(float value)raylib::Matrixinline
SetM9(float value)raylib::Matrixinline
SetShaderValue(const ::Shader &shader, int uniformLoc)raylib::Matrixinline
Subtract(const ::Matrix &right) (defined in raylib::Matrix)raylib::Matrixinline
ToFloatV() const (defined in raylib::Matrix)raylib::Matrixinline
Trace() constraylib::Matrixinline
Translate(float x, float y, float z) (defined in raylib::Matrix)raylib::Matrixinlinestatic
Transpose() constraylib::Matrixinline
+ + + + diff --git a/classraylib_1_1_matrix.html b/classraylib_1_1_matrix.html new file mode 100644 index 00000000..70cf491f --- /dev/null +++ b/classraylib_1_1_matrix.html @@ -0,0 +1,1350 @@ + + + + + + + +raylib-cpp: raylib::Matrix Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Matrix Class Reference
+
+
+ +

Matrix type (OpenGL style 4x4 - right handed, column major) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Matrix (const ::Matrix &mat)
 
Matrix (float m0=0, float m4=0, float m8=0, float m12=0, float m1=0, float m5=0, float m9=0, float m13=0, float m2=0, float m6=0, float m10=0, float m14=0, float m3=0, float m7=0, float m11=0, float m15=0)
 
+Matrix Add (const ::Matrix &right)
 
float GetM0 () const
 Retrieves the m0 value for the object. More...
 
float GetM1 () const
 Retrieves the m1 value for the object. More...
 
float GetM10 () const
 Retrieves the m10 value for the object. More...
 
float GetM11 () const
 Retrieves the m11 value for the object. More...
 
float GetM12 () const
 Retrieves the m12 value for the object. More...
 
float GetM13 () const
 Retrieves the m13 value for the object. More...
 
float GetM14 () const
 Retrieves the m14 value for the object. More...
 
float GetM15 () const
 Retrieves the m15 value for the object. More...
 
float GetM2 () const
 Retrieves the m2 value for the object. More...
 
float GetM3 () const
 Retrieves the m3 value for the object. More...
 
float GetM4 () const
 Retrieves the m4 value for the object. More...
 
float GetM5 () const
 Retrieves the m5 value for the object. More...
 
float GetM6 () const
 Retrieves the m6 value for the object. More...
 
float GetM7 () const
 Retrieves the m7 value for the object. More...
 
float GetM8 () const
 Retrieves the m8 value for the object. More...
 
float GetM9 () const
 Retrieves the m9 value for the object. More...
 
+Matrix Invert () const
 
+Matrix Multiply (const ::Matrix &right) const
 
operator float16 ()
 
+bool operator!= (const ::Matrix &other)
 
+Matrix operator* (const ::Matrix &matrix)
 
+Matrix operator+ (const ::Matrix &matrix)
 
+Matrix operator- (const ::Matrix &matrix)
 
+Matrixoperator= (const ::Matrix &matrix)
 
+Matrixoperator= (const Matrix &matrix)
 
+bool operator== (const ::Matrix &other)
 
void SetM0 (float value)
 Sets the m0 value for the object. More...
 
void SetM1 (float value)
 Sets the m1 value for the object. More...
 
void SetM10 (float value)
 Sets the m10 value for the object. More...
 
void SetM11 (float value)
 Sets the m11 value for the object. More...
 
void SetM12 (float value)
 Sets the m12 value for the object. More...
 
void SetM13 (float value)
 Sets the m13 value for the object. More...
 
void SetM14 (float value)
 Sets the m14 value for the object. More...
 
void SetM15 (float value)
 Sets the m15 value for the object. More...
 
void SetM2 (float value)
 Sets the m2 value for the object. More...
 
void SetM3 (float value)
 Sets the m3 value for the object. More...
 
void SetM4 (float value)
 Sets the m4 value for the object. More...
 
void SetM5 (float value)
 Sets the m5 value for the object. More...
 
void SetM6 (float value)
 Sets the m6 value for the object. More...
 
void SetM7 (float value)
 Sets the m7 value for the object. More...
 
void SetM8 (float value)
 Sets the m8 value for the object. More...
 
void SetM9 (float value)
 Sets the m9 value for the object. More...
 
+MatrixSetShaderValue (const ::Shader &shader, int uniformLoc)
 Set shader uniform value (matrix 4x4)
 
+Matrix Subtract (const ::Matrix &right)
 
+float16 ToFloatV () const
 
+float Trace () const
 Returns the trace of the matrix (sum of the values along the diagonal)
 
+Matrix Transpose () const
 Transposes provided matrix.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static Matrix Frustum (double left, double right, double bottom, double top, double near, double far)
 
+static Matrix GetCamera (const ::Camera &camera)
 
+static Matrix GetCamera (const ::Camera2D &camera)
 
+static Matrix Identity ()
 
+static Matrix LookAt (Vector3 eye, Vector3 target, Vector3 up)
 
+static Matrix Ortho (double left, double right, double bottom, double top, double near, double far)
 
+static Matrix Perspective (double fovy, double aspect, double near, double far)
 
+static Matrix Rotate (Vector3 axis, float angle)
 
+static Matrix RotateX (float angle)
 
+static Matrix RotateXYZ (Vector3 angle)
 
+static Matrix RotateY (float angle)
 
+static Matrix RotateZ (float angle)
 
+static Matrix Scale (float x, float y, float z)
 
+static Matrix Translate (float x, float y, float z)
 
+

Detailed Description

+

Matrix type (OpenGL style 4x4 - right handed, column major)

+ +

Definition at line 16 of file Matrix.hpp.

+

Member Function Documentation

+ +

◆ GetM0()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM0 () const
+
+inline
+
+ +

Retrieves the m0 value for the object.

+
Returns
The m0 value of the object.
+ +

Definition at line 39 of file Matrix.hpp.

+ +
+
+ +

◆ GetM1()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM1 () const
+
+inline
+
+ +

Retrieves the m1 value for the object.

+
Returns
The m1 value of the object.
+ +

Definition at line 40 of file Matrix.hpp.

+ +
+
+ +

◆ GetM10()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM10 () const
+
+inline
+
+ +

Retrieves the m10 value for the object.

+
Returns
The m10 value of the object.
+ +

Definition at line 49 of file Matrix.hpp.

+ +
+
+ +

◆ GetM11()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM11 () const
+
+inline
+
+ +

Retrieves the m11 value for the object.

+
Returns
The m11 value of the object.
+ +

Definition at line 50 of file Matrix.hpp.

+ +
+
+ +

◆ GetM12()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM12 () const
+
+inline
+
+ +

Retrieves the m12 value for the object.

+
Returns
The m12 value of the object.
+ +

Definition at line 51 of file Matrix.hpp.

+ +
+
+ +

◆ GetM13()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM13 () const
+
+inline
+
+ +

Retrieves the m13 value for the object.

+
Returns
The m13 value of the object.
+ +

Definition at line 52 of file Matrix.hpp.

+ +
+
+ +

◆ GetM14()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM14 () const
+
+inline
+
+ +

Retrieves the m14 value for the object.

+
Returns
The m14 value of the object.
+ +

Definition at line 53 of file Matrix.hpp.

+ +
+
+ +

◆ GetM15()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM15 () const
+
+inline
+
+ +

Retrieves the m15 value for the object.

+
Returns
The m15 value of the object.
+ +

Definition at line 54 of file Matrix.hpp.

+ +
+
+ +

◆ GetM2()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM2 () const
+
+inline
+
+ +

Retrieves the m2 value for the object.

+
Returns
The m2 value of the object.
+ +

Definition at line 41 of file Matrix.hpp.

+ +
+
+ +

◆ GetM3()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM3 () const
+
+inline
+
+ +

Retrieves the m3 value for the object.

+
Returns
The m3 value of the object.
+ +

Definition at line 42 of file Matrix.hpp.

+ +
+
+ +

◆ GetM4()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM4 () const
+
+inline
+
+ +

Retrieves the m4 value for the object.

+
Returns
The m4 value of the object.
+ +

Definition at line 43 of file Matrix.hpp.

+ +
+
+ +

◆ GetM5()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM5 () const
+
+inline
+
+ +

Retrieves the m5 value for the object.

+
Returns
The m5 value of the object.
+ +

Definition at line 44 of file Matrix.hpp.

+ +
+
+ +

◆ GetM6()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM6 () const
+
+inline
+
+ +

Retrieves the m6 value for the object.

+
Returns
The m6 value of the object.
+ +

Definition at line 45 of file Matrix.hpp.

+ +
+
+ +

◆ GetM7()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM7 () const
+
+inline
+
+ +

Retrieves the m7 value for the object.

+
Returns
The m7 value of the object.
+ +

Definition at line 46 of file Matrix.hpp.

+ +
+
+ +

◆ GetM8()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM8 () const
+
+inline
+
+ +

Retrieves the m8 value for the object.

+
Returns
The m8 value of the object.
+ +

Definition at line 47 of file Matrix.hpp.

+ +
+
+ +

◆ GetM9()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Matrix::GetM9 () const
+
+inline
+
+ +

Retrieves the m9 value for the object.

+
Returns
The m9 value of the object.
+ +

Definition at line 48 of file Matrix.hpp.

+ +
+
+ +

◆ SetM0()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM0 (float value)
+
+inline
+
+ +

Sets the m0 value for the object.

+
Parameters
+ + +
valueThe value of which to set m0 to.
+
+
+ +

Definition at line 39 of file Matrix.hpp.

+ +
+
+ +

◆ SetM1()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM1 (float value)
+
+inline
+
+ +

Sets the m1 value for the object.

+
Parameters
+ + +
valueThe value of which to set m1 to.
+
+
+ +

Definition at line 40 of file Matrix.hpp.

+ +
+
+ +

◆ SetM10()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM10 (float value)
+
+inline
+
+ +

Sets the m10 value for the object.

+
Parameters
+ + +
valueThe value of which to set m10 to.
+
+
+ +

Definition at line 49 of file Matrix.hpp.

+ +
+
+ +

◆ SetM11()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM11 (float value)
+
+inline
+
+ +

Sets the m11 value for the object.

+
Parameters
+ + +
valueThe value of which to set m11 to.
+
+
+ +

Definition at line 50 of file Matrix.hpp.

+ +
+
+ +

◆ SetM12()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM12 (float value)
+
+inline
+
+ +

Sets the m12 value for the object.

+
Parameters
+ + +
valueThe value of which to set m12 to.
+
+
+ +

Definition at line 51 of file Matrix.hpp.

+ +
+
+ +

◆ SetM13()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM13 (float value)
+
+inline
+
+ +

Sets the m13 value for the object.

+
Parameters
+ + +
valueThe value of which to set m13 to.
+
+
+ +

Definition at line 52 of file Matrix.hpp.

+ +
+
+ +

◆ SetM14()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM14 (float value)
+
+inline
+
+ +

Sets the m14 value for the object.

+
Parameters
+ + +
valueThe value of which to set m14 to.
+
+
+ +

Definition at line 53 of file Matrix.hpp.

+ +
+
+ +

◆ SetM15()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM15 (float value)
+
+inline
+
+ +

Sets the m15 value for the object.

+
Parameters
+ + +
valueThe value of which to set m15 to.
+
+
+ +

Definition at line 54 of file Matrix.hpp.

+ +
+
+ +

◆ SetM2()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM2 (float value)
+
+inline
+
+ +

Sets the m2 value for the object.

+
Parameters
+ + +
valueThe value of which to set m2 to.
+
+
+ +

Definition at line 41 of file Matrix.hpp.

+ +
+
+ +

◆ SetM3()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM3 (float value)
+
+inline
+
+ +

Sets the m3 value for the object.

+
Parameters
+ + +
valueThe value of which to set m3 to.
+
+
+ +

Definition at line 42 of file Matrix.hpp.

+ +
+
+ +

◆ SetM4()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM4 (float value)
+
+inline
+
+ +

Sets the m4 value for the object.

+
Parameters
+ + +
valueThe value of which to set m4 to.
+
+
+ +

Definition at line 43 of file Matrix.hpp.

+ +
+
+ +

◆ SetM5()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM5 (float value)
+
+inline
+
+ +

Sets the m5 value for the object.

+
Parameters
+ + +
valueThe value of which to set m5 to.
+
+
+ +

Definition at line 44 of file Matrix.hpp.

+ +
+
+ +

◆ SetM6()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM6 (float value)
+
+inline
+
+ +

Sets the m6 value for the object.

+
Parameters
+ + +
valueThe value of which to set m6 to.
+
+
+ +

Definition at line 45 of file Matrix.hpp.

+ +
+
+ +

◆ SetM7()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM7 (float value)
+
+inline
+
+ +

Sets the m7 value for the object.

+
Parameters
+ + +
valueThe value of which to set m7 to.
+
+
+ +

Definition at line 46 of file Matrix.hpp.

+ +
+
+ +

◆ SetM8()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM8 (float value)
+
+inline
+
+ +

Sets the m8 value for the object.

+
Parameters
+ + +
valueThe value of which to set m8 to.
+
+
+ +

Definition at line 47 of file Matrix.hpp.

+ +
+
+ +

◆ SetM9()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Matrix::SetM9 (float value)
+
+inline
+
+ +

Sets the m9 value for the object.

+
Parameters
+ + +
valueThe value of which to set m9 to.
+
+
+ +

Definition at line 48 of file Matrix.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_mesh-members.html b/classraylib_1_1_mesh-members.html new file mode 100644 index 00000000..e193ba5a --- /dev/null +++ b/classraylib_1_1_mesh-members.html @@ -0,0 +1,142 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Mesh Member List
+
+
+ +

This is the complete list of members for raylib::Mesh, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BoundingBox() constraylib::Meshinline
Cone(float radius, float height, int slices)raylib::Meshinlinestatic
Cube(float width, float height, float length)raylib::Meshinlinestatic
Cubicmap(const ::Image &cubicmap, ::Vector3 cubeSize)raylib::Meshinlinestatic
Cylinder(float radius, float height, int slices)raylib::Meshinlinestatic
Draw(const ::Material &material, const ::Matrix &transform) constraylib::Meshinline
Draw(const ::Material &material, ::Matrix *transforms, int instances) constraylib::Meshinline
Export(const std::string &fileName)raylib::Meshinline
GenTangents()raylib::Meshinline
GetAnimNormals() constraylib::Meshinline
GetAnimVertices() constraylib::Meshinline
GetBoneIds() constraylib::Meshinline
GetBoneWeights() constraylib::Meshinline
GetColors() constraylib::Meshinline
GetIndices() constraylib::Meshinline
GetNormals() constraylib::Meshinline
GetTangents() constraylib::Meshinline
GetTexCoords() constraylib::Meshinline
GetTexCoords2() constraylib::Meshinline
GetTriangleCount() constraylib::Meshinline
GetVaoId() constraylib::Meshinline
GetVboId() constraylib::Meshinline
GetVertexCount() constraylib::Meshinline
GetVertices() constraylib::Meshinline
Heightmap(const ::Image &heightmap, ::Vector3 size)raylib::Meshinlinestatic
HemiSphere(float radius, int rings, int slices)raylib::Meshinlinestatic
Knot(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
LoadModelFrom() constraylib::Meshinline
Mesh(const ::Mesh &mesh) (defined in raylib::Mesh)raylib::Meshinline
Mesh(const Mesh &)=deleteraylib::Mesh
Mesh(Mesh &&other) (defined in raylib::Mesh)raylib::Meshinline
operator raylib::BoundingBox()raylib::Meshinline
operator raylib::Model()raylib::Meshinline
operator=(const ::Mesh &mesh) (defined in raylib::Mesh)raylib::Meshinline
operator=(const Mesh &)=delete (defined in raylib::Mesh)raylib::Mesh
operator=(Mesh &&other) noexcept (defined in raylib::Mesh)raylib::Meshinline
Plane(float width, float length, int resX, int resZ)raylib::Meshinlinestatic
Poly(int sides, float radius)raylib::Meshinlinestatic
SetAnimNormals(float *value)raylib::Meshinline
SetAnimVertices(float *value)raylib::Meshinline
SetBoneIds(unsigned char *value)raylib::Meshinline
SetBoneWeights(float *value)raylib::Meshinline
SetColors(unsigned char *value)raylib::Meshinline
SetIndices(unsigned short *value)raylib::Meshinline
SetNormals(float *value)raylib::Meshinline
SetTangents(float *value)raylib::Meshinline
SetTexCoords(float *value)raylib::Meshinline
SetTexCoords2(float *value)raylib::Meshinline
SetTriangleCount(int value)raylib::Meshinline
SetVaoId(unsigned int value)raylib::Meshinline
SetVboId(unsigned int *value)raylib::Meshinline
SetVertexCount(int value)raylib::Meshinline
SetVertices(float *value)raylib::Meshinline
Sphere(float radius, int rings, int slices)raylib::Meshinlinestatic
Torus(float radius, float size, int radSeg, int sides)raylib::Meshinlinestatic
Unload()raylib::Meshinline
UpdateBuffer(int index, void *data, int dataSize, int offset=0)raylib::Meshinline
Upload(bool dynamic=false)raylib::Meshinline
~Mesh() (defined in raylib::Mesh)raylib::Meshinline
+ + + + diff --git a/classraylib_1_1_mesh.html b/classraylib_1_1_mesh.html new file mode 100644 index 00000000..9a0fb280 --- /dev/null +++ b/classraylib_1_1_mesh.html @@ -0,0 +1,1321 @@ + + + + + + + +raylib-cpp: raylib::Mesh Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Vertex data definning a mesh. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Mesh (const ::Mesh &mesh)
 
Mesh (const Mesh &)=delete
 Load meshes from model file.
 
Mesh (Mesh &&other)
 
+raylib::BoundingBox BoundingBox () const
 Compute mesh bounding box limits.
 
+void Draw (const ::Material &material, ::Matrix *transforms, int instances) const
 Draw multiple mesh instances with material and different transforms.
 
+void Draw (const ::Material &material, const ::Matrix &transform) const
 Draw a 3d mesh with material and transform.
 
void Export (const std::string &fileName)
 Export mesh data to file. More...
 
+MeshGenTangents ()
 Compute mesh tangents.
 
float * GetAnimNormals () const
 Retrieves the animNormals value for the object. More...
 
float * GetAnimVertices () const
 Retrieves the animVertices value for the object. More...
 
unsigned char * GetBoneIds () const
 Retrieves the boneIds value for the object. More...
 
float * GetBoneWeights () const
 Retrieves the boneWeights value for the object. More...
 
unsigned char * GetColors () const
 Retrieves the colors value for the object. More...
 
unsigned short * GetIndices () const
 Retrieves the indices value for the object. More...
 
float * GetNormals () const
 Retrieves the normals value for the object. More...
 
float * GetTangents () const
 Retrieves the tangents value for the object. More...
 
float * GetTexCoords () const
 Retrieves the texcoords value for the object. More...
 
float * GetTexCoords2 () const
 Retrieves the texcoords2 value for the object. More...
 
int GetTriangleCount () const
 Retrieves the triangleCount value for the object. More...
 
unsigned int GetVaoId () const
 Retrieves the vaoId value for the object. More...
 
unsigned int * GetVboId () const
 Retrieves the vboId value for the object. More...
 
int GetVertexCount () const
 Retrieves the vertexCount value for the object. More...
 
float * GetVertices () const
 Retrieves the vertices value for the object. More...
 
+raylib::Model LoadModelFrom () const
 Load model from generated mesh.
 
operator raylib::BoundingBox ()
 Compute mesh bounding box limits.
 
operator raylib::Model ()
 Load model from generated mesh.
 
+Meshoperator= (const ::Mesh &mesh)
 
+Meshoperator= (const Mesh &)=delete
 
+Meshoperator= (Mesh &&other) noexcept
 
void SetAnimNormals (float *value)
 Sets the animNormals value for the object. More...
 
void SetAnimVertices (float *value)
 Sets the animVertices value for the object. More...
 
void SetBoneIds (unsigned char *value)
 Sets the boneIds value for the object. More...
 
void SetBoneWeights (float *value)
 Sets the boneWeights value for the object. More...
 
void SetColors (unsigned char *value)
 Sets the colors value for the object. More...
 
void SetIndices (unsigned short *value)
 Sets the indices value for the object. More...
 
void SetNormals (float *value)
 Sets the normals value for the object. More...
 
void SetTangents (float *value)
 Sets the tangents value for the object. More...
 
void SetTexCoords (float *value)
 Sets the texcoords value for the object. More...
 
void SetTexCoords2 (float *value)
 Sets the texcoords2 value for the object. More...
 
void SetTriangleCount (int value)
 Sets the triangleCount value for the object. More...
 
void SetVaoId (unsigned int value)
 Sets the vaoId value for the object. More...
 
void SetVboId (unsigned int *value)
 Sets the vboId value for the object. More...
 
void SetVertexCount (int value)
 Sets the vertexCount value for the object. More...
 
void SetVertices (float *value)
 Sets the vertices value for the object. More...
 
+void Unload ()
 Unload mesh from memory (RAM and/or VRAM)
 
+void UpdateBuffer (int index, void *data, int dataSize, int offset=0)
 Upload mesh vertex data to GPU (VRAM)
 
+void Upload (bool dynamic=false)
 Upload mesh vertex data to GPU (VRAM)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+::Mesh Cone (float radius, float height, int slices)
 Generate cone/pyramid mesh.
 
+::Mesh Cube (float width, float height, float length)
 Generate cuboid mesh.
 
+::Mesh Cubicmap (const ::Image &cubicmap, ::Vector3 cubeSize)
 Generate cubes-based map mesh from image data.
 
+::Mesh Cylinder (float radius, float height, int slices)
 Generate cylinder mesh.
 
+::Mesh Heightmap (const ::Image &heightmap, ::Vector3 size)
 Generate heightmap mesh from image data.
 
+::Mesh HemiSphere (float radius, int rings, int slices)
 Generate half-sphere mesh (no bottom cap)
 
+::Mesh Knot (float radius, float size, int radSeg, int sides)
 Generate trefoil knot mesh.
 
+::Mesh Plane (float width, float length, int resX, int resZ)
 Generate plane mesh (with subdivisions)
 
+::Mesh Poly (int sides, float radius)
 Generate polygonal mesh.
 
+::Mesh Sphere (float radius, int rings, int slices)
 Generate sphere mesh (standard sphere)
 
+::Mesh Torus (float radius, float size, int radSeg, int sides)
 Generate torus mesh.
 
+

Detailed Description

+

Vertex data definning a mesh.

+ +

Definition at line 16 of file Mesh.hpp.

+

Member Function Documentation

+ +

◆ Export()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::Export (const std::string & fileName)
+
+inline
+
+ +

Export mesh data to file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to export the Mesh.
+
+
+ +

Definition at line 217 of file Mesh.hpp.

+ +
+
+ +

◆ GetAnimNormals()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetAnimNormals () const
+
+inline
+
+ +

Retrieves the animNormals value for the object.

+
Returns
The animNormals value of the object.
+ +

Definition at line 140 of file Mesh.hpp.

+ +
+
+ +

◆ GetAnimVertices()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetAnimVertices () const
+
+inline
+
+ +

Retrieves the animVertices value for the object.

+
Returns
The animVertices value of the object.
+ +

Definition at line 139 of file Mesh.hpp.

+ +
+
+ +

◆ GetBoneIds()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char* raylib::Mesh::GetBoneIds () const
+
+inline
+
+ +

Retrieves the boneIds value for the object.

+
Returns
The boneIds value of the object.
+ +

Definition at line 141 of file Mesh.hpp.

+ +
+
+ +

◆ GetBoneWeights()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetBoneWeights () const
+
+inline
+
+ +

Retrieves the boneWeights value for the object.

+
Returns
The boneWeights value of the object.
+ +

Definition at line 142 of file Mesh.hpp.

+ +
+
+ +

◆ GetColors()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned char* raylib::Mesh::GetColors () const
+
+inline
+
+ +

Retrieves the colors value for the object.

+
Returns
The colors value of the object.
+ +

Definition at line 137 of file Mesh.hpp.

+ +
+
+ +

◆ GetIndices()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned short* raylib::Mesh::GetIndices () const
+
+inline
+
+ +

Retrieves the indices value for the object.

+
Returns
The indices value of the object.
+ +

Definition at line 138 of file Mesh.hpp.

+ +
+
+ +

◆ GetNormals()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetNormals () const
+
+inline
+
+ +

Retrieves the normals value for the object.

+
Returns
The normals value of the object.
+ +

Definition at line 135 of file Mesh.hpp.

+ +
+
+ +

◆ GetTangents()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetTangents () const
+
+inline
+
+ +

Retrieves the tangents value for the object.

+
Returns
The tangents value of the object.
+ +

Definition at line 136 of file Mesh.hpp.

+ +
+
+ +

◆ GetTexCoords()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetTexCoords () const
+
+inline
+
+ +

Retrieves the texcoords value for the object.

+
Returns
The texcoords value of the object.
+ +

Definition at line 133 of file Mesh.hpp.

+ +
+
+ +

◆ GetTexCoords2()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetTexCoords2 () const
+
+inline
+
+ +

Retrieves the texcoords2 value for the object.

+
Returns
The texcoords2 value of the object.
+ +

Definition at line 134 of file Mesh.hpp.

+ +
+
+ +

◆ GetTriangleCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Mesh::GetTriangleCount () const
+
+inline
+
+ +

Retrieves the triangleCount value for the object.

+
Returns
The triangleCount value of the object.
+ +

Definition at line 131 of file Mesh.hpp.

+ +
+
+ +

◆ GetVaoId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Mesh::GetVaoId () const
+
+inline
+
+ +

Retrieves the vaoId value for the object.

+
Returns
The vaoId value of the object.
+ +

Definition at line 143 of file Mesh.hpp.

+ +
+
+ +

◆ GetVboId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int* raylib::Mesh::GetVboId () const
+
+inline
+
+ +

Retrieves the vboId value for the object.

+
Returns
The vboId value of the object.
+ +

Definition at line 144 of file Mesh.hpp.

+ +
+
+ +

◆ GetVertexCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Mesh::GetVertexCount () const
+
+inline
+
+ +

Retrieves the vertexCount value for the object.

+
Returns
The vertexCount value of the object.
+ +

Definition at line 130 of file Mesh.hpp.

+ +
+
+ +

◆ GetVertices()

+ +
+
+ + + + + +
+ + + + + + + +
float* raylib::Mesh::GetVertices () const
+
+inline
+
+ +

Retrieves the vertices value for the object.

+
Returns
The vertices value of the object.
+ +

Definition at line 132 of file Mesh.hpp.

+ +
+
+ +

◆ SetAnimNormals()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetAnimNormals (float * value)
+
+inline
+
+ +

Sets the animNormals value for the object.

+
Parameters
+ + +
valueThe value of which to set animNormals to.
+
+
+ +

Definition at line 140 of file Mesh.hpp.

+ +
+
+ +

◆ SetAnimVertices()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetAnimVertices (float * value)
+
+inline
+
+ +

Sets the animVertices value for the object.

+
Parameters
+ + +
valueThe value of which to set animVertices to.
+
+
+ +

Definition at line 139 of file Mesh.hpp.

+ +
+
+ +

◆ SetBoneIds()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetBoneIds (unsigned char * value)
+
+inline
+
+ +

Sets the boneIds value for the object.

+
Parameters
+ + +
valueThe value of which to set boneIds to.
+
+
+ +

Definition at line 141 of file Mesh.hpp.

+ +
+
+ +

◆ SetBoneWeights()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetBoneWeights (float * value)
+
+inline
+
+ +

Sets the boneWeights value for the object.

+
Parameters
+ + +
valueThe value of which to set boneWeights to.
+
+
+ +

Definition at line 142 of file Mesh.hpp.

+ +
+
+ +

◆ SetColors()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetColors (unsigned char * value)
+
+inline
+
+ +

Sets the colors value for the object.

+
Parameters
+ + +
valueThe value of which to set colors to.
+
+
+ +

Definition at line 137 of file Mesh.hpp.

+ +
+
+ +

◆ SetIndices()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetIndices (unsigned short * value)
+
+inline
+
+ +

Sets the indices value for the object.

+
Parameters
+ + +
valueThe value of which to set indices to.
+
+
+ +

Definition at line 138 of file Mesh.hpp.

+ +
+
+ +

◆ SetNormals()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetNormals (float * value)
+
+inline
+
+ +

Sets the normals value for the object.

+
Parameters
+ + +
valueThe value of which to set normals to.
+
+
+ +

Definition at line 135 of file Mesh.hpp.

+ +
+
+ +

◆ SetTangents()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetTangents (float * value)
+
+inline
+
+ +

Sets the tangents value for the object.

+
Parameters
+ + +
valueThe value of which to set tangents to.
+
+
+ +

Definition at line 136 of file Mesh.hpp.

+ +
+
+ +

◆ SetTexCoords()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetTexCoords (float * value)
+
+inline
+
+ +

Sets the texcoords value for the object.

+
Parameters
+ + +
valueThe value of which to set texcoords to.
+
+
+ +

Definition at line 133 of file Mesh.hpp.

+ +
+
+ +

◆ SetTexCoords2()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetTexCoords2 (float * value)
+
+inline
+
+ +

Sets the texcoords2 value for the object.

+
Parameters
+ + +
valueThe value of which to set texcoords2 to.
+
+
+ +

Definition at line 134 of file Mesh.hpp.

+ +
+
+ +

◆ SetTriangleCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetTriangleCount (int value)
+
+inline
+
+ +

Sets the triangleCount value for the object.

+
Parameters
+ + +
valueThe value of which to set triangleCount to.
+
+
+ +

Definition at line 131 of file Mesh.hpp.

+ +
+
+ +

◆ SetVaoId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetVaoId (unsigned int value)
+
+inline
+
+ +

Sets the vaoId value for the object.

+
Parameters
+ + +
valueThe value of which to set vaoId to.
+
+
+ +

Definition at line 143 of file Mesh.hpp.

+ +
+
+ +

◆ SetVboId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetVboId (unsigned int * value)
+
+inline
+
+ +

Sets the vboId value for the object.

+
Parameters
+ + +
valueThe value of which to set vboId to.
+
+
+ +

Definition at line 144 of file Mesh.hpp.

+ +
+
+ +

◆ SetVertexCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetVertexCount (int value)
+
+inline
+
+ +

Sets the vertexCount value for the object.

+
Parameters
+ + +
valueThe value of which to set vertexCount to.
+
+
+ +

Definition at line 130 of file Mesh.hpp.

+ +
+
+ +

◆ SetVertices()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Mesh::SetVertices (float * value)
+
+inline
+
+ +

Sets the vertices value for the object.

+
Parameters
+ + +
valueThe value of which to set vertices to.
+
+
+ +

Definition at line 132 of file Mesh.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_model-members.html b/classraylib_1_1_model-members.html new file mode 100644 index 00000000..ecb52bc6 --- /dev/null +++ b/classraylib_1_1_model-members.html @@ -0,0 +1,125 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Model Member List
+
+
+ +

This is the complete list of members for raylib::Model, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) constraylib::Modelinline
Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) constraylib::Modelinline
DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) constraylib::Modelinline
DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) constraylib::Modelinline
GetBindPose() constraylib::Modelinline
GetBoneCount() constraylib::Modelinline
GetBones() constraylib::Modelinline
GetBoundingBox() constraylib::Modelinline
GetMaterialCount() constraylib::Modelinline
GetMaterials() constraylib::Modelinline
GetMeshCount() constraylib::Modelinline
GetMeshes() constraylib::Modelinline
GetMeshMaterial() constraylib::Modelinline
GetTransform() constraylib::Modelinline
IsModelAnimationValid(const ::ModelAnimation &anim) constraylib::Modelinline
IsReady() constraylib::Modelinline
Load(const std::string &fileName)raylib::Modelinline
Load(const ::Mesh &mesh)raylib::Modelinline
Model() (defined in raylib::Model)raylib::Modelinline
Model(const ::Model &model) (defined in raylib::Model)raylib::Modelinline
Model(const std::string &fileName) (defined in raylib::Model)raylib::Modelinline
Model(const ::Mesh &mesh) (defined in raylib::Model)raylib::Modelinline
Model(const Model &)=delete (defined in raylib::Model)raylib::Model
Model(Model &&other) (defined in raylib::Model)raylib::Modelinline
operator BoundingBox() constraylib::Modelinline
operator=(const ::Model &model) (defined in raylib::Model)raylib::Modelinline
operator=(const Model &)=delete (defined in raylib::Model)raylib::Model
operator=(Model &&other) noexcept (defined in raylib::Model)raylib::Modelinline
SetBindPose(::Transform *value)raylib::Modelinline
SetBoneCount(int value)raylib::Modelinline
SetBones(::BoneInfo *value)raylib::Modelinline
SetMaterialCount(int value)raylib::Modelinline
SetMaterials(::Material *value)raylib::Modelinline
SetMeshCount(int value)raylib::Modelinline
SetMeshes(::Mesh *value)raylib::Modelinline
SetMeshMaterial(int *value)raylib::Modelinline
SetMeshMaterial(int meshId, int materialId)raylib::Modelinline
SetTransform(::Matrix value)raylib::Modelinline
Unload()raylib::Modelinline
UnloadKeepMeshes()raylib::Modelinline
UpdateAnimation(const ::ModelAnimation &anim, int frame)raylib::Modelinline
~Model() (defined in raylib::Model)raylib::Modelinline
+ + + + diff --git a/classraylib_1_1_model.html b/classraylib_1_1_model.html new file mode 100644 index 00000000..77cbffca --- /dev/null +++ b/classraylib_1_1_model.html @@ -0,0 +1,897 @@ + + + + + + + +raylib-cpp: raylib::Model Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Model Class Reference
+
+
+ +

Model type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Model (const ::Mesh &mesh)
 
Model (const ::Model &model)
 
Model (const Model &)=delete
 
Model (const std::string &fileName)
 
Model (Model &&other)
 
+void Draw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const
 Draw a model with extended parameters.
 
+void Draw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
 Draw a model (with texture if set)
 
+void DrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const
 Draw a model wires (with texture if set) with extended parameters.
 
+void DrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
 Draw a model wires (with texture if set)
 
::Transform * GetBindPose () const
 Retrieves the bindPose value for the object. More...
 
int GetBoneCount () const
 Retrieves the boneCount value for the object. More...
 
::BoneInfo * GetBones () const
 Retrieves the bones value for the object. More...
 
+BoundingBox GetBoundingBox () const
 Compute model bounding box limits (considers all meshes)
 
int GetMaterialCount () const
 Retrieves the materialCount value for the object. More...
 
::MaterialGetMaterials () const
 Retrieves the materials value for the object. More...
 
int GetMeshCount () const
 Retrieves the meshCount value for the object. More...
 
::MeshGetMeshes () const
 Retrieves the meshes value for the object. More...
 
int * GetMeshMaterial () const
 Retrieves the meshMaterial value for the object. More...
 
::Matrix GetTransform () const
 Retrieves the transform value for the object. More...
 
+bool IsModelAnimationValid (const ::ModelAnimation &anim) const
 Check model animation skeleton match.
 
+bool IsReady () const
 Determines whether or not the Model has data in it.
 
void Load (const ::Mesh &mesh)
 Loads a Model from the given Mesh. More...
 
void Load (const std::string &fileName)
 Loads a Model from the given file. More...
 
operator BoundingBox () const
 Compute model bounding box limits (considers all meshes)
 
+Modeloperator= (const ::Model &model)
 
+Modeloperator= (const Model &)=delete
 
+Modeloperator= (Model &&other) noexcept
 
void SetBindPose (::Transform *value)
 Sets the bindPose value for the object. More...
 
void SetBoneCount (int value)
 Sets the boneCount value for the object. More...
 
void SetBones (::BoneInfo *value)
 Sets the bones value for the object. More...
 
void SetMaterialCount (int value)
 Sets the materialCount value for the object. More...
 
void SetMaterials (::Material *value)
 Sets the materials value for the object. More...
 
void SetMeshCount (int value)
 Sets the meshCount value for the object. More...
 
void SetMeshes (::Mesh *value)
 Sets the meshes value for the object. More...
 
void SetMeshMaterial (int *value)
 Sets the meshMaterial value for the object. More...
 
+ModelSetMeshMaterial (int meshId, int materialId)
 Set material for a mesh.
 
void SetTransform (::Matrix value)
 Sets the transform value for the object. More...
 
+void Unload ()
 Unload model (including meshes) from memory (RAM and/or VRAM)
 
+ModelUnloadKeepMeshes ()
 Unload model (but not meshes) from memory (RAM and/or VRAM)
 
+ModelUpdateAnimation (const ::ModelAnimation &anim, int frame)
 Update model animation pose.
 
+

Detailed Description

+

Model type.

+ +

Definition at line 15 of file Model.hpp.

+

Member Function Documentation

+ +

◆ GetBindPose()

+ +
+
+ + + + + +
+ + + + + + + +
::Transform* raylib::Model::GetBindPose () const
+
+inline
+
+ +

Retrieves the bindPose value for the object.

+
Returns
The bindPose value of the object.
+ +

Definition at line 73 of file Model.hpp.

+ +
+
+ +

◆ GetBoneCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Model::GetBoneCount () const
+
+inline
+
+ +

Retrieves the boneCount value for the object.

+
Returns
The boneCount value of the object.
+ +

Definition at line 71 of file Model.hpp.

+ +
+
+ +

◆ GetBones()

+ +
+
+ + + + + +
+ + + + + + + +
::BoneInfo* raylib::Model::GetBones () const
+
+inline
+
+ +

Retrieves the bones value for the object.

+
Returns
The bones value of the object.
+ +

Definition at line 72 of file Model.hpp.

+ +
+
+ +

◆ GetMaterialCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Model::GetMaterialCount () const
+
+inline
+
+ +

Retrieves the materialCount value for the object.

+
Returns
The materialCount value of the object.
+ +

Definition at line 67 of file Model.hpp.

+ +
+
+ +

◆ GetMaterials()

+ +
+
+ + + + + +
+ + + + + + + +
::Material* raylib::Model::GetMaterials () const
+
+inline
+
+ +

Retrieves the materials value for the object.

+
Returns
The materials value of the object.
+ +

Definition at line 69 of file Model.hpp.

+ +
+
+ +

◆ GetMeshCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Model::GetMeshCount () const
+
+inline
+
+ +

Retrieves the meshCount value for the object.

+
Returns
The meshCount value of the object.
+ +

Definition at line 66 of file Model.hpp.

+ +
+
+ +

◆ GetMeshes()

+ +
+
+ + + + + +
+ + + + + + + +
::Mesh* raylib::Model::GetMeshes () const
+
+inline
+
+ +

Retrieves the meshes value for the object.

+
Returns
The meshes value of the object.
+ +

Definition at line 68 of file Model.hpp.

+ +
+
+ +

◆ GetMeshMaterial()

+ +
+
+ + + + + +
+ + + + + + + +
int* raylib::Model::GetMeshMaterial () const
+
+inline
+
+ +

Retrieves the meshMaterial value for the object.

+
Returns
The meshMaterial value of the object.
+ +

Definition at line 70 of file Model.hpp.

+ +
+
+ +

◆ GetTransform()

+ +
+
+ + + + + +
+ + + + + + + +
::Matrix raylib::Model::GetTransform () const
+
+inline
+
+ +

Retrieves the transform value for the object.

+
Returns
The transform value of the object.
+ +

Definition at line 65 of file Model.hpp.

+ +
+
+ +

◆ Load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::Load (const ::Meshmesh)
+
+inline
+
+ +

Loads a Model from the given Mesh.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to load the Modal.
+
+
+ +

Definition at line 224 of file Model.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ Load() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::Load (const std::string & fileName)
+
+inline
+
+ +

Loads a Model from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to load the Modal.
+
+
+ +

Definition at line 212 of file Model.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ SetBindPose()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetBindPose (::Transform * value)
+
+inline
+
+ +

Sets the bindPose value for the object.

+
Parameters
+ + +
valueThe value of which to set bindPose to.
+
+
+ +

Definition at line 73 of file Model.hpp.

+ +
+
+ +

◆ SetBoneCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetBoneCount (int value)
+
+inline
+
+ +

Sets the boneCount value for the object.

+
Parameters
+ + +
valueThe value of which to set boneCount to.
+
+
+ +

Definition at line 71 of file Model.hpp.

+ +
+
+ +

◆ SetBones()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetBones (::BoneInfo * value)
+
+inline
+
+ +

Sets the bones value for the object.

+
Parameters
+ + +
valueThe value of which to set bones to.
+
+
+ +

Definition at line 72 of file Model.hpp.

+ +
+
+ +

◆ SetMaterialCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetMaterialCount (int value)
+
+inline
+
+ +

Sets the materialCount value for the object.

+
Parameters
+ + +
valueThe value of which to set materialCount to.
+
+
+ +

Definition at line 67 of file Model.hpp.

+ +
+
+ +

◆ SetMaterials()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetMaterials (::Materialvalue)
+
+inline
+
+ +

Sets the materials value for the object.

+
Parameters
+ + +
valueThe value of which to set materials to.
+
+
+ +

Definition at line 69 of file Model.hpp.

+ +
+
+ +

◆ SetMeshCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetMeshCount (int value)
+
+inline
+
+ +

Sets the meshCount value for the object.

+
Parameters
+ + +
valueThe value of which to set meshCount to.
+
+
+ +

Definition at line 66 of file Model.hpp.

+ +
+
+ +

◆ SetMeshes()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetMeshes (::Meshvalue)
+
+inline
+
+ +

Sets the meshes value for the object.

+
Parameters
+ + +
valueThe value of which to set meshes to.
+
+
+ +

Definition at line 68 of file Model.hpp.

+ +
+
+ +

◆ SetMeshMaterial()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetMeshMaterial (int * value)
+
+inline
+
+ +

Sets the meshMaterial value for the object.

+
Parameters
+ + +
valueThe value of which to set meshMaterial to.
+
+
+ +

Definition at line 70 of file Model.hpp.

+ +
+
+ +

◆ SetTransform()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Model::SetTransform (::Matrix value)
+
+inline
+
+ +

Sets the transform value for the object.

+
Parameters
+ + +
valueThe value of which to set transform to.
+
+
+ +

Definition at line 65 of file Model.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_model_animation-members.html b/classraylib_1_1_model_animation-members.html new file mode 100644 index 00000000..e76f2f48 --- /dev/null +++ b/classraylib_1_1_model_animation-members.html @@ -0,0 +1,102 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::ModelAnimation Member List
+
+
+ +

This is the complete list of members for raylib::ModelAnimation, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + +
GetBoneCount() constraylib::ModelAnimationinline
GetBones() constraylib::ModelAnimationinline
GetFrameCount() constraylib::ModelAnimationinline
GetFramePoses() constraylib::ModelAnimationinline
IsValid(const ::Model &model) constraylib::ModelAnimationinline
Load(const std::string &fileName)raylib::ModelAnimationinlinestatic
ModelAnimation(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
ModelAnimation(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
ModelAnimation(ModelAnimation &&other) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
operator=(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
operator=(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
operator=(ModelAnimation &&other) noexcept (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
SetBoneCount(int value)raylib::ModelAnimationinline
SetBones(::BoneInfo *value)raylib::ModelAnimationinline
SetFrameCount(int value)raylib::ModelAnimationinline
SetFramePoses(::Transform **value)raylib::ModelAnimationinline
Unload()raylib::ModelAnimationinline
Update(const ::Model &model, int frame)raylib::ModelAnimationinline
~ModelAnimation() (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
+ + + + diff --git a/classraylib_1_1_model_animation.html b/classraylib_1_1_model_animation.html new file mode 100644 index 00000000..79ffa354 --- /dev/null +++ b/classraylib_1_1_model_animation.html @@ -0,0 +1,421 @@ + + + + + + + +raylib-cpp: raylib::ModelAnimation Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::ModelAnimation Class Reference
+
+
+ +

Model animation. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ModelAnimation (const ::ModelAnimation &model)
 
ModelAnimation (const ModelAnimation &)=delete
 
ModelAnimation (ModelAnimation &&other)
 
int GetBoneCount () const
 Retrieves the boneCount value for the object. More...
 
::BoneInfo * GetBones () const
 Retrieves the bones value for the object. More...
 
int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
::Transform ** GetFramePoses () const
 Retrieves the framePoses value for the object. More...
 
+bool IsValid (const ::Model &model) const
 Check model animation skeleton match.
 
+ModelAnimationoperator= (const ::ModelAnimation &model)
 
+ModelAnimationoperator= (const ModelAnimation &)=delete
 
+ModelAnimationoperator= (ModelAnimation &&other) noexcept
 
void SetBoneCount (int value)
 Sets the boneCount value for the object. More...
 
void SetBones (::BoneInfo *value)
 Sets the bones value for the object. More...
 
void SetFrameCount (int value)
 Sets the frameCount value for the object. More...
 
void SetFramePoses (::Transform **value)
 Sets the framePoses value for the object. More...
 
+void Unload ()
 Unload animation data.
 
+ModelAnimationUpdate (const ::Model &model, int frame)
 Update model animation pose.
 
+ + + + +

+Static Public Member Functions

+static std::vector< ModelAnimationLoad (const std::string &fileName)
 Load model animations from file.
 
+

Detailed Description

+

Model animation.

+ +

Definition at line 15 of file ModelAnimation.hpp.

+

Member Function Documentation

+ +

◆ GetBoneCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::ModelAnimation::GetBoneCount () const
+
+inline
+
+ +

Retrieves the boneCount value for the object.

+
Returns
The boneCount value of the object.
+ +

Definition at line 49 of file ModelAnimation.hpp.

+ +
+
+ +

◆ GetBones()

+ +
+
+ + + + + +
+ + + + + + + +
::BoneInfo* raylib::ModelAnimation::GetBones () const
+
+inline
+
+ +

Retrieves the bones value for the object.

+
Returns
The bones value of the object.
+ +

Definition at line 50 of file ModelAnimation.hpp.

+ +
+
+ +

◆ GetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::ModelAnimation::GetFrameCount () const
+
+inline
+
+ +

Retrieves the frameCount value for the object.

+
Returns
The frameCount value of the object.
+ +

Definition at line 51 of file ModelAnimation.hpp.

+ +
+
+ +

◆ GetFramePoses()

+ +
+
+ + + + + +
+ + + + + + + +
::Transform** raylib::ModelAnimation::GetFramePoses () const
+
+inline
+
+ +

Retrieves the framePoses value for the object.

+
Returns
The framePoses value of the object.
+ +

Definition at line 52 of file ModelAnimation.hpp.

+ +
+
+ +

◆ SetBoneCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::ModelAnimation::SetBoneCount (int value)
+
+inline
+
+ +

Sets the boneCount value for the object.

+
Parameters
+ + +
valueThe value of which to set boneCount to.
+
+
+ +

Definition at line 49 of file ModelAnimation.hpp.

+ +
+
+ +

◆ SetBones()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::ModelAnimation::SetBones (::BoneInfo * value)
+
+inline
+
+ +

Sets the bones value for the object.

+
Parameters
+ + +
valueThe value of which to set bones to.
+
+
+ +

Definition at line 50 of file ModelAnimation.hpp.

+ +
+
+ +

◆ SetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::ModelAnimation::SetFrameCount (int value)
+
+inline
+
+ +

Sets the frameCount value for the object.

+
Parameters
+ + +
valueThe value of which to set frameCount to.
+
+
+ +

Definition at line 51 of file ModelAnimation.hpp.

+ +
+
+ +

◆ SetFramePoses()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::ModelAnimation::SetFramePoses (::Transform ** value)
+
+inline
+
+ +

Sets the framePoses value for the object.

+
Parameters
+ + +
valueThe value of which to set framePoses to.
+
+
+ +

Definition at line 52 of file ModelAnimation.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_mouse-members.html b/classraylib_1_1_mouse-members.html new file mode 100644 index 00000000..18027d82 --- /dev/null +++ b/classraylib_1_1_mouse-members.html @@ -0,0 +1,107 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Mouse Member List
+
+
+ +

This is the complete list of members for raylib::Mouse, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
GetDelta()raylib::Mouseinlinestatic
GetPosition() (defined in raylib::Mouse)raylib::Mouseinlinestatic
GetRay(::Vector2 mousePosition, const ::Camera &camera)raylib::Mouseinlinestatic
GetRay(const ::Camera &camera)raylib::Mouseinlinestatic
GetTouchPosition(int index)raylib::Mouseinlinestatic
GetTouchX()raylib::Mouseinlinestatic
GetTouchY()raylib::Mouseinlinestatic
GetWheelMove()raylib::Mouseinlinestatic
GetWheelMoveV()raylib::Mouseinlinestatic
GetX() (defined in raylib::Mouse)raylib::Mouseinlinestatic
GetY() (defined in raylib::Mouse)raylib::Mouseinlinestatic
IsButtonDown(int button)raylib::Mouseinlinestatic
IsButtonPressed(int button)raylib::Mouseinlinestatic
IsButtonReleased(int button)raylib::Mouseinlinestatic
IsButtonUp(int button) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetCursor(int cursor=MOUSE_CURSOR_DEFAULT)raylib::Mouseinlinestatic
SetOffset(int offsetX=0, int offsetY=0) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetOffset(::Vector2 offset) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetPosition(int x, int y) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetPosition(::Vector2 position) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetScale(float scaleX=1.0f, float scaleY=1.0f) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetScale(::Vector2 scale) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetX(int x) (defined in raylib::Mouse)raylib::Mouseinlinestatic
SetY(int y) (defined in raylib::Mouse)raylib::Mouseinlinestatic
+ + + + diff --git a/classraylib_1_1_mouse.html b/classraylib_1_1_mouse.html new file mode 100644 index 00000000..946b7de1 --- /dev/null +++ b/classraylib_1_1_mouse.html @@ -0,0 +1,238 @@ + + + + + + + +raylib-cpp: raylib::Mouse Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Mouse Class Reference
+
+
+ +

Input-related functions: mouse. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static Vector2 GetDelta ()
 Get mouse delta between frames.
 
+static Vector2 GetPosition ()
 
+static Ray GetRay (::Vector2 mousePosition, const ::Camera &camera)
 Get a ray trace from mouse position.
 
+static Ray GetRay (const ::Camera &camera)
 Get a ray trace from mouse position.
 
+static Vector2 GetTouchPosition (int index)
 Get touch position XY for a touch point index (relative to screen size)
 
+static int GetTouchX ()
 Get touch position X for touch point 0 (relative to screen size)
 
+static int GetTouchY ()
 Get touch position Y for touch point 0 (relative to screen size)
 
+static float GetWheelMove ()
 Get mouse wheel movement for X or Y, whichever is larger.
 
static Vector2 GetWheelMoveV ()
 Get mouse wheel movement for both X and Y. More...
 
+static int GetX ()
 
+static int GetY ()
 
+static bool IsButtonDown (int button)
 Detect if a mouse button is being pressed.
 
+static bool IsButtonPressed (int button)
 Detect if a mouse button has been pressed once.
 
+static bool IsButtonReleased (int button)
 Detect if a mouse button has been released once.
 
+static bool IsButtonUp (int button)
 
static void SetCursor (int cursor=MOUSE_CURSOR_DEFAULT)
 Sets the current mouse cursor icon. More...
 
+static void SetOffset (::Vector2 offset)
 
+static void SetOffset (int offsetX=0, int offsetY=0)
 
+static void SetPosition (::Vector2 position)
 
+static void SetPosition (int x, int y)
 
+static void SetScale (::Vector2 scale)
 
+static void SetScale (float scaleX=1.0f, float scaleY=1.0f)
 
+static void SetX (int x)
 
+static void SetY (int y)
 
+

Detailed Description

+

Input-related functions: mouse.

+ +

Definition at line 11 of file Mouse.hpp.

+

Member Function Documentation

+ +

◆ GetWheelMoveV()

+ +
+
+ + + + + +
+ + + + + + + +
static Vector2 raylib::Mouse::GetWheelMoveV ()
+
+inlinestatic
+
+ +

Get mouse wheel movement for both X and Y.

+
See also
::GetMouseWheelMoveV()
+ +

Definition at line 101 of file Mouse.hpp.

+ +
+
+ +

◆ SetCursor()

+ +
+
+ + + + + +
+ + + + + + + + +
static void raylib::Mouse::SetCursor (int cursor = MOUSE_CURSOR_DEFAULT)
+
+inlinestatic
+
+ +

Sets the current mouse cursor icon.

+
See also
::MouseCursor
+ +

Definition at line 110 of file Mouse.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_music-members.html b/classraylib_1_1_music-members.html new file mode 100644 index 00000000..e095f271 --- /dev/null +++ b/classraylib_1_1_music-members.html @@ -0,0 +1,119 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Music Member List
+
+
+ +

This is the complete list of members for raylib::Music, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetCtxData() constraylib::Musicinline
GetCtxType() constraylib::Musicinline
GetFrameCount() constraylib::Musicinline
GetLooping() constraylib::Musicinline
GetStream() constraylib::Musicinline
GetTimeLength() constraylib::Musicinline
GetTimePlayed() constraylib::Musicinline
IsPlaying() constraylib::Musicinline
IsReady() constraylib::Musicinline
Load(const std::string &fileName)raylib::Musicinline
Load(const std::string &fileType, unsigned char *data, int dataSize)raylib::Musicinline
Music(::AudioStream stream={nullptr, nullptr, 0, 0, 0}, unsigned int frameCount=0, bool looping=false, int ctxType=0, void *ctxData=nullptr) (defined in raylib::Music)raylib::Musicinline
Music(const ::Music &music) (defined in raylib::Music)raylib::Musicinline
Music(const std::string &fileName)raylib::Musicinline
Music(const std::string &fileType, unsigned char *data, int dataSize)raylib::Musicinline
Music(const Music &)=delete (defined in raylib::Music)raylib::Music
Music(Music &&other) (defined in raylib::Music)raylib::Musicinline
operator=(const ::Music &music) (defined in raylib::Music)raylib::Musicinline
operator=(const Music &)=delete (defined in raylib::Music)raylib::Music
operator=(Music &&other) noexcept (defined in raylib::Music)raylib::Musicinline
Pause()raylib::Musicinline
Play()raylib::Musicinline
Resume()raylib::Musicinline
Seek(float position)raylib::Musicinline
SetCtxData(void *value)raylib::Musicinline
SetCtxType(int value)raylib::Musicinline
SetFrameCount(unsigned int value)raylib::Musicinline
SetLooping(bool value)raylib::Musicinline
SetPan(float pan=0.5f)raylib::Musicinline
SetPitch(float pitch)raylib::Musicinline
SetStream(::AudioStream value)raylib::Musicinline
SetVolume(float volume)raylib::Musicinline
Stop()raylib::Musicinline
Unload()raylib::Musicinline
Update()raylib::Musicinline
~Music()raylib::Musicinline
+ + + + diff --git a/classraylib_1_1_music.html b/classraylib_1_1_music.html new file mode 100644 index 00000000..afd9e309 --- /dev/null +++ b/classraylib_1_1_music.html @@ -0,0 +1,766 @@ + + + + + + + +raylib-cpp: raylib::Music Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Music Class Reference
+
+
+ +

Music stream type (audio file streaming from memory) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Music (::AudioStream stream={nullptr, nullptr, 0, 0, 0}, unsigned int frameCount=0, bool looping=false, int ctxType=0, void *ctxData=nullptr)
 
Music (const ::Music &music)
 
Music (const Music &)=delete
 
 Music (const std::string &fileName)
 Load music stream from file. More...
 
 Music (const std::string &fileType, unsigned char *data, int dataSize)
 Load music stream from memory. More...
 
Music (Music &&other)
 
~Music ()
 Unload music stream.
 
void * GetCtxData () const
 Retrieves the ctxData value for the object. More...
 
int GetCtxType () const
 Retrieves the ctxType value for the object. More...
 
unsigned int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
bool GetLooping () const
 Retrieves the looping value for the object. More...
 
::AudioStream GetStream () const
 Retrieves the stream value for the object. More...
 
+float GetTimeLength () const
 Get music time length (in seconds)
 
+float GetTimePlayed () const
 Get current music time played (in seconds)
 
+bool IsPlaying () const
 Check if music is playing.
 
bool IsReady () const
 Retrieve whether or not the Music has been loaded. More...
 
void Load (const std::string &fileName)
 Load music stream from file. More...
 
void Load (const std::string &fileType, unsigned char *data, int dataSize)
 Load music stream from memory. More...
 
+Musicoperator= (const ::Music &music)
 
+Musicoperator= (const Music &)=delete
 
+Musicoperator= (Music &&other) noexcept
 
+MusicPause ()
 Pause music playing.
 
+MusicPlay ()
 Start music playing.
 
+MusicResume ()
 Resume music playing.
 
+MusicSeek (float position)
 Seek music to a position (in seconds)
 
void SetCtxData (void *value)
 Sets the ctxData value for the object. More...
 
void SetCtxType (int value)
 Sets the ctxType value for the object. More...
 
void SetFrameCount (unsigned int value)
 Sets the frameCount value for the object. More...
 
void SetLooping (bool value)
 Sets the looping value for the object. More...
 
+MusicSetPan (float pan=0.5f)
 Set pan for a music (0.5 is center)
 
+MusicSetPitch (float pitch)
 Set pitch for music.
 
void SetStream (::AudioStream value)
 Sets the stream value for the object. More...
 
+MusicSetVolume (float volume)
 Set volume for music.
 
+MusicStop ()
 Stop music playing.
 
+void Unload ()
 Unload music stream.
 
+MusicUpdate ()
 Updates buffers for music streaming.
 
+

Detailed Description

+

Music stream type (audio file streaming from memory)

+ +

Definition at line 14 of file Music.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Music() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Music::Music (const std::string & fileName)
+
+inline
+
+ +

Load music stream from file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the music failed to load.
+
+
+ +

Definition at line 31 of file Music.hpp.

+ +

References Load().

+ +
+
+ +

◆ Music() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Music::Music (const std::string & fileType,
unsigned char * data,
int dataSize 
)
+
+inline
+
+ +

Load music stream from memory.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the music failed to load.
+
+
+ +

Definition at line 40 of file Music.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ GetCtxData()

+ +
+
+ + + + + +
+ + + + + + + +
void* raylib::Music::GetCtxData () const
+
+inline
+
+ +

Retrieves the ctxData value for the object.

+
Returns
The ctxData value of the object.
+ +

Definition at line 67 of file Music.hpp.

+ +
+
+ +

◆ GetCtxType()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::Music::GetCtxType () const
+
+inline
+
+ +

Retrieves the ctxType value for the object.

+
Returns
The ctxType value of the object.
+ +

Definition at line 66 of file Music.hpp.

+ +
+
+ +

◆ GetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Music::GetFrameCount () const
+
+inline
+
+ +

Retrieves the frameCount value for the object.

+
Returns
The frameCount value of the object.
+ +

Definition at line 64 of file Music.hpp.

+ +
+
+ +

◆ GetLooping()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Music::GetLooping () const
+
+inline
+
+ +

Retrieves the looping value for the object.

+
Returns
The looping value of the object.
+ +

Definition at line 65 of file Music.hpp.

+ +
+
+ +

◆ GetStream()

+ +
+
+ + + + + +
+ + + + + + + +
::AudioStream raylib::Music::GetStream () const
+
+inline
+
+ +

Retrieves the stream value for the object.

+
Returns
The stream value of the object.
+ +

Definition at line 63 of file Music.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Music::IsReady () const
+
+inline
+
+ +

Retrieve whether or not the Music has been loaded.

+
Returns
True or false depending on whether the Music has been loaded.
+ +

Definition at line 222 of file Music.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::Load (const std::string & fileName)
+
+inline
+
+ +

Load music stream from file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the music failed to load.
+
+
+ +

Definition at line 198 of file Music.hpp.

+ +

References IsReady().

+ +

Referenced by Music().

+ +
+
+ +

◆ Load() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Music::Load (const std::string & fileType,
unsigned char * data,
int dataSize 
)
+
+inline
+
+ +

Load music stream from memory.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the music failed to load.
+
+
+ +

Definition at line 210 of file Music.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ SetCtxData()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetCtxData (void * value)
+
+inline
+
+ +

Sets the ctxData value for the object.

+
Parameters
+ + +
valueThe value of which to set ctxData to.
+
+
+ +

Definition at line 67 of file Music.hpp.

+ +
+
+ +

◆ SetCtxType()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetCtxType (int value)
+
+inline
+
+ +

Sets the ctxType value for the object.

+
Parameters
+ + +
valueThe value of which to set ctxType to.
+
+
+ +

Definition at line 66 of file Music.hpp.

+ +
+
+ +

◆ SetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetFrameCount (unsigned int value)
+
+inline
+
+ +

Sets the frameCount value for the object.

+
Parameters
+ + +
valueThe value of which to set frameCount to.
+
+
+ +

Definition at line 64 of file Music.hpp.

+ +
+
+ +

◆ SetLooping()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetLooping (bool value)
+
+inline
+
+ +

Sets the looping value for the object.

+
Parameters
+ + +
valueThe value of which to set looping to.
+
+
+ +

Definition at line 65 of file Music.hpp.

+ +
+
+ +

◆ SetStream()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Music::SetStream (::AudioStream value)
+
+inline
+
+ +

Sets the stream value for the object.

+
Parameters
+ + +
valueThe value of which to set stream to.
+
+
+ +

Definition at line 63 of file Music.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_ray-members.html b/classraylib_1_1_ray-members.html new file mode 100644 index 00000000..77aab81e --- /dev/null +++ b/classraylib_1_1_ray-members.html @@ -0,0 +1,99 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Ray Member List
+
+
+ +

This is the complete list of members for raylib::Ray, including all inherited members.

+ + + + + + + + + + + + + + + + + +
Draw(::Color color) constraylib::Rayinline
GetCollision(::Vector3 center, float radius) constraylib::Rayinline
GetCollision(const ::BoundingBox &box) constraylib::Rayinline
GetCollision(const ::Mesh &mesh, const ::Matrix &transform) constraylib::Rayinline
GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) constraylib::Rayinline
GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) constraylib::Rayinline
GetDirection() constraylib::Rayinline
GetMouse(::Vector2 mousePosition, const ::Camera &camera)raylib::Rayinlinestatic
GetMouse(const ::Camera &camera)raylib::Rayinlinestatic
GetPosition() constraylib::Rayinline
operator=(const ::Ray &ray) (defined in raylib::Ray)raylib::Rayinline
Ray(const ::Ray &ray) (defined in raylib::Ray)raylib::Rayinline
Ray(::Vector3 position={0.0f, 0.0f, 0.0f}, ::Vector3 direction={0.0f, 0.0f, 0.0f}) (defined in raylib::Ray)raylib::Rayinline
Ray(::Vector2 mousePosition, const ::Camera &camera) (defined in raylib::Ray)raylib::Rayinline
SetDirection(::Vector3 value)raylib::Rayinline
SetPosition(::Vector3 value)raylib::Rayinline
+ + + + diff --git a/classraylib_1_1_ray.html b/classraylib_1_1_ray.html new file mode 100644 index 00000000..09e6b58a --- /dev/null +++ b/classraylib_1_1_ray.html @@ -0,0 +1,287 @@ + + + + + + + +raylib-cpp: raylib::Ray Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Ray type (useful for raycast) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Ray (::Vector2 mousePosition, const ::Camera &camera)
 
Ray (::Vector3 position={0.0f, 0.0f, 0.0f}, ::Vector3 direction={0.0f, 0.0f, 0.0f})
 
Ray (const ::Ray &ray)
 
+void Draw (::Color color) const
 Draw a ray line.
 
+RayCollision GetCollision (::Vector3 center, float radius) const
 Get collision information between ray and sphere.
 
+RayCollision GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const
 Get collision info between ray and triangle.
 
+RayCollision GetCollision (::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const
 Get collision info between ray and quad.
 
+RayCollision GetCollision (const ::BoundingBox &box) const
 Detect collision between ray and box.
 
+RayCollision GetCollision (const ::Mesh &mesh, const ::Matrix &transform) const
 Get collision information between ray and mesh.
 
::Vector3 GetDirection () const
 Retrieves the direction value for the object. More...
 
::Vector3 GetPosition () const
 Retrieves the position value for the object. More...
 
+Rayoperator= (const ::Ray &ray)
 
void SetDirection (::Vector3 value)
 Sets the direction value for the object. More...
 
void SetPosition (::Vector3 value)
 Sets the position value for the object. More...
 
+ + + + + + + +

+Static Public Member Functions

+static Ray GetMouse (::Vector2 mousePosition, const ::Camera &camera)
 Get a ray trace from mouse position.
 
+static Ray GetMouse (const ::Camera &camera)
 Get a ray trace from mouse position.
 
+

Detailed Description

+

Ray type (useful for raycast)

+ +

Definition at line 12 of file Ray.hpp.

+

Member Function Documentation

+ +

◆ GetDirection()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::Ray::GetDirection () const
+
+inline
+
+ +

Retrieves the direction value for the object.

+
Returns
The direction value of the object.
+ +

Definition at line 33 of file Ray.hpp.

+ +
+
+ +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::Ray::GetPosition () const
+
+inline
+
+ +

Retrieves the position value for the object.

+
Returns
The position value of the object.
+ +

Definition at line 32 of file Ray.hpp.

+ +
+
+ +

◆ SetDirection()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Ray::SetDirection (::Vector3 value)
+
+inline
+
+ +

Sets the direction value for the object.

+
Parameters
+ + +
valueThe value of which to set direction to.
+
+
+ +

Definition at line 33 of file Ray.hpp.

+ +
+
+ +

◆ SetPosition()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Ray::SetPosition (::Vector3 value)
+
+inline
+
+ +

Sets the position value for the object.

+
Parameters
+ + +
valueThe value of which to set position to.
+
+
+ +

Definition at line 32 of file Ray.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_ray_collision-members.html b/classraylib_1_1_ray_collision-members.html new file mode 100644 index 00000000..bd2dcb12 --- /dev/null +++ b/classraylib_1_1_ray_collision-members.html @@ -0,0 +1,99 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::RayCollision Member List
+
+
+ +

This is the complete list of members for raylib::RayCollision, including all inherited members.

+ + + + + + + + + + + + + + + + + +
GetDistance() constraylib::RayCollisioninline
GetHit() constraylib::RayCollisioninline
GetNormal() constraylib::RayCollisioninline
GetPosition() constraylib::RayCollisioninline
operator=(const ::RayCollision &ray) (defined in raylib::RayCollision)raylib::RayCollisioninline
RayCollision(const ::RayCollision &ray) (defined in raylib::RayCollision)raylib::RayCollisioninline
RayCollision(bool hit, float distance, ::Vector3 point, ::Vector3 normal) (defined in raylib::RayCollision)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, const ::BoundingBox &box)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, ::Vector3 center, float radius)raylib::RayCollisioninline
RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)raylib::RayCollisioninline
SetDistance(float value)raylib::RayCollisioninline
SetHit(bool value)raylib::RayCollisioninline
SetNormal(::Vector3 value)raylib::RayCollisioninline
SetPosition(::Vector3 value)raylib::RayCollisioninline
+ + + + diff --git a/classraylib_1_1_ray_collision.html b/classraylib_1_1_ray_collision.html new file mode 100644 index 00000000..80f2f055 --- /dev/null +++ b/classraylib_1_1_ray_collision.html @@ -0,0 +1,412 @@ + + + + + + + +raylib-cpp: raylib::RayCollision Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::RayCollision Class Reference
+
+
+ +

Raycast hit information. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

RayCollision (bool hit, float distance, ::Vector3 point, ::Vector3 normal)
 
RayCollision (const ::Ray &ray, ::Vector3 center, float radius)
 Get collision info between ray and sphere.
 
RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)
 Get collision info between ray and triangle.
 
RayCollision (const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4)
 Get collision info between ray and quad.
 
RayCollision (const ::Ray &ray, const ::BoundingBox &box)
 Get collision info between ray and bounding box.
 
RayCollision (const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)
 Get collision info between ray and mesh.
 
RayCollision (const ::RayCollision &ray)
 
float GetDistance () const
 Retrieves the distance value for the object. More...
 
bool GetHit () const
 Retrieves the hit value for the object. More...
 
::Vector3 GetNormal () const
 Retrieves the normal value for the object. More...
 
::Vector3 GetPosition () const
 Retrieves the point value for the object. More...
 
+RayCollisionoperator= (const ::RayCollision &ray)
 
void SetDistance (float value)
 Sets the distance value for the object. More...
 
void SetHit (bool value)
 Sets the hit value for the object. More...
 
void SetNormal (::Vector3 value)
 Sets the normal value for the object. More...
 
void SetPosition (::Vector3 value)
 Sets the point value for the object. More...
 
+

Detailed Description

+

Raycast hit information.

+ +

Definition at line 11 of file RayCollision.hpp.

+

Member Function Documentation

+ +

◆ GetDistance()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::RayCollision::GetDistance () const
+
+inline
+
+ +

Retrieves the distance value for the object.

+
Returns
The distance value of the object.
+ +

Definition at line 63 of file RayCollision.hpp.

+ +
+
+ +

◆ GetHit()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::RayCollision::GetHit () const
+
+inline
+
+ +

Retrieves the hit value for the object.

+
Returns
The hit value of the object.
+ +

Definition at line 62 of file RayCollision.hpp.

+ +
+
+ +

◆ GetNormal()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::RayCollision::GetNormal () const
+
+inline
+
+ +

Retrieves the normal value for the object.

+
Returns
The normal value of the object.
+ +

Definition at line 65 of file RayCollision.hpp.

+ +
+
+ +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
::Vector3 raylib::RayCollision::GetPosition () const
+
+inline
+
+ +

Retrieves the point value for the object.

+
Returns
The point value of the object.
+ +

Definition at line 64 of file RayCollision.hpp.

+ +
+
+ +

◆ SetDistance()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RayCollision::SetDistance (float value)
+
+inline
+
+ +

Sets the distance value for the object.

+
Parameters
+ + +
valueThe value of which to set distance to.
+
+
+ +

Definition at line 63 of file RayCollision.hpp.

+ +
+
+ +

◆ SetHit()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RayCollision::SetHit (bool value)
+
+inline
+
+ +

Sets the hit value for the object.

+
Parameters
+ + +
valueThe value of which to set hit to.
+
+
+ +

Definition at line 62 of file RayCollision.hpp.

+ +
+
+ +

◆ SetNormal()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RayCollision::SetNormal (::Vector3 value)
+
+inline
+
+ +

Sets the normal value for the object.

+
Parameters
+ + +
valueThe value of which to set normal to.
+
+
+ +

Definition at line 65 of file RayCollision.hpp.

+ +
+
+ +

◆ SetPosition()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RayCollision::SetPosition (::Vector3 value)
+
+inline
+
+ +

Sets the point value for the object.

+
Parameters
+ + +
valueThe value of which to set point to.
+
+
+ +

Definition at line 64 of file RayCollision.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_raylib_exception-members.html b/classraylib_1_1_raylib_exception-members.html new file mode 100644 index 00000000..cc2008c7 --- /dev/null +++ b/classraylib_1_1_raylib_exception-members.html @@ -0,0 +1,85 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::RaylibException Member List
+
+
+ +

This is the complete list of members for raylib::RaylibException, including all inherited members.

+ + + +
RaylibException(std::string message)raylib::RaylibExceptioninline
TraceLog(int logLevel=LOG_ERROR)raylib::RaylibExceptioninline
+ + + + diff --git a/classraylib_1_1_raylib_exception.html b/classraylib_1_1_raylib_exception.html new file mode 100644 index 00000000..40a2373b --- /dev/null +++ b/classraylib_1_1_raylib_exception.html @@ -0,0 +1,180 @@ + + + + + + + +raylib-cpp: raylib::RaylibException Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::RaylibException Class Reference
+
+
+ +

Exception used for most raylib-related exceptions. + More...

+ + + + + + + + +

+Public Member Functions

 RaylibException (std::string message) throw ()
 Construct a runtime exception with the given message. More...
 
void TraceLog (int logLevel=LOG_ERROR)
 Outputs the exception message to TraceLog(). More...
 
+

Detailed Description

+

Exception used for most raylib-related exceptions.

+ +

Definition at line 13 of file RaylibException.hpp.

+

Constructor & Destructor Documentation

+ +

◆ RaylibException()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + +
raylib::RaylibException::RaylibException (std::string message)
throw (
)
+
+inline
+
+ +

Construct a runtime exception with the given message.

+
Parameters
+ + +
messageThe message to provide for the exception.
+
+
+ +

Definition at line 20 of file RaylibException.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ TraceLog()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RaylibException::TraceLog (int logLevel = LOG_ERROR)
+
+inline
+
+ +

Outputs the exception message to TraceLog().

+
Parameters
+ + +
logLevelThe output status to use when outputing.
+
+
+ +

Definition at line 29 of file RaylibException.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_rectangle-members.html b/classraylib_1_1_rectangle-members.html new file mode 100644 index 00000000..69480ecc --- /dev/null +++ b/classraylib_1_1_rectangle-members.html @@ -0,0 +1,123 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Rectangle Member List
+
+
+ +

This is the complete list of members for raylib::Rectangle, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CheckCollision(::Rectangle rec2) constraylib::Rectangleinline
CheckCollision(::Vector2 point) constraylib::Rectangleinline
CheckCollision(::Vector2 center, float radius)raylib::Rectangleinline
Draw(::Color color) constraylib::Rectangleinline
Draw(::Vector2 origin, float rotation, ::Color color) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawGradientH(::Color color1, ::Color color2) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawGradientV(::Color color1, ::Color color2) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawLines(::Color color) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawLines(::Color color, float lineThick) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawRounded(float roundness, int segments, ::Color color) const (defined in raylib::Rectangle)raylib::Rectangleinline
DrawRoundedLines(float roundness, int segments, float lineThick, ::Color color) const (defined in raylib::Rectangle)raylib::Rectangleinline
GetCollision(::Rectangle rec2) constraylib::Rectangleinline
GetHeight() constraylib::Rectangleinline
GetPosition() (defined in raylib::Rectangle)raylib::Rectangleinline
GetSize() (defined in raylib::Rectangle)raylib::Rectangleinline
GetWidth() constraylib::Rectangleinline
GetX() constraylib::Rectangleinline
GetY() constraylib::Rectangleinline
operator::Vector4() const (defined in raylib::Rectangle)raylib::Rectangleinline
operator=(const ::Rectangle &rect) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(const ::Rectangle &rect) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x, float y, float width, float height) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x, float y, float width) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x, float y) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(float x) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle() (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(::Vector2 position, ::Vector2 size) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(::Vector2 size) (defined in raylib::Rectangle)raylib::Rectangleinline
Rectangle(::Vector4 rect) (defined in raylib::Rectangle)raylib::Rectangleinline
SetHeight(float value)raylib::Rectangleinline
SetPosition(float newX, float newY) (defined in raylib::Rectangle)raylib::Rectangleinline
SetPosition(const ::Vector2 &position) (defined in raylib::Rectangle)raylib::Rectangleinline
SetShapesTexture(const ::Texture2D &texture) (defined in raylib::Rectangle)raylib::Rectangleinline
SetSize(float newWidth, float newHeight) (defined in raylib::Rectangle)raylib::Rectangleinline
SetSize(const ::Vector2 &size) (defined in raylib::Rectangle)raylib::Rectangleinline
SetWidth(float value)raylib::Rectangleinline
SetX(float value)raylib::Rectangleinline
SetY(float value)raylib::Rectangleinline
ToVector4() (defined in raylib::Rectangle)raylib::Rectangleinline
+ + + + diff --git a/classraylib_1_1_rectangle.html b/classraylib_1_1_rectangle.html new file mode 100644 index 00000000..9d3d004d --- /dev/null +++ b/classraylib_1_1_rectangle.html @@ -0,0 +1,481 @@ + + + + + + + +raylib-cpp: raylib::Rectangle Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Rectangle Class Reference
+
+
+ +

Rectangle type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Rectangle (::Vector2 position, ::Vector2 size)
 
Rectangle (::Vector2 size)
 
Rectangle (::Vector4 rect)
 
Rectangle (const ::Rectangle &rect)
 
Rectangle (float x)
 
Rectangle (float x, float y)
 
Rectangle (float x, float y, float width)
 
Rectangle (float x, float y, float width, float height)
 
+bool CheckCollision (::Rectangle rec2) const
 Check collision between two rectangles.
 
+bool CheckCollision (::Vector2 center, float radius)
 Check collision between circle and rectangle.
 
+bool CheckCollision (::Vector2 point) const
 Check if point is inside rectangle.
 
+void Draw (::Color color) const
 Draw a color-filled rectangle.
 
+void Draw (::Vector2 origin, float rotation, ::Color color) const
 
+void DrawGradient (::Color col1, ::Color col2, ::Color col3, ::Color col4) const
 
+void DrawGradientH (::Color color1, ::Color color2) const
 
+void DrawGradientV (::Color color1, ::Color color2) const
 
+void DrawLines (::Color color) const
 
+void DrawLines (::Color color, float lineThick) const
 
+void DrawRounded (float roundness, int segments, ::Color color) const
 
+void DrawRoundedLines (float roundness, int segments, float lineThick, ::Color color) const
 
+inline ::Rectangle GetCollision (::Rectangle rec2) const
 Get collision rectangle for two rectangles collision.
 
float GetHeight () const
 Retrieves the height value for the object. More...
 
+Vector2 GetPosition ()
 
+Vector2 GetSize ()
 
float GetWidth () const
 Retrieves the width value for the object. More...
 
float GetX () const
 Retrieves the x value for the object. More...
 
float GetY () const
 Retrieves the y value for the object. More...
 
operator::Vector4 () const
 
+Rectangleoperator= (const ::Rectangle &rect)
 
void SetHeight (float value)
 Sets the height value for the object. More...
 
+RectangleSetPosition (const ::Vector2 &position)
 
+RectangleSetPosition (float newX, float newY)
 
+RectangleSetShapesTexture (const ::Texture2D &texture)
 
+RectangleSetSize (const ::Vector2 &size)
 
+RectangleSetSize (float newWidth, float newHeight)
 
void SetWidth (float value)
 Sets the width value for the object. More...
 
void SetX (float value)
 Sets the x value for the object. More...
 
void SetY (float value)
 Sets the y value for the object. More...
 
+inline ::Vector4 ToVector4 ()
 
+

Detailed Description

+

Rectangle type.

+ +

Definition at line 12 of file Rectangle.hpp.

+

Member Function Documentation

+ +

◆ GetHeight()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Rectangle::GetHeight () const
+
+inline
+
+ +

Retrieves the height value for the object.

+
Returns
The height value of the object.
+ +

Definition at line 30 of file Rectangle.hpp.

+ +
+
+ +

◆ GetWidth()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Rectangle::GetWidth () const
+
+inline
+
+ +

Retrieves the width value for the object.

+
Returns
The width value of the object.
+ +

Definition at line 29 of file Rectangle.hpp.

+ +
+
+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Rectangle::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 27 of file Rectangle.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Rectangle::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 28 of file Rectangle.hpp.

+ +
+
+ +

◆ SetHeight()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Rectangle::SetHeight (float value)
+
+inline
+
+ +

Sets the height value for the object.

+
Parameters
+ + +
valueThe value of which to set height to.
+
+
+ +

Definition at line 30 of file Rectangle.hpp.

+ +
+
+ +

◆ SetWidth()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Rectangle::SetWidth (float value)
+
+inline
+
+ +

Sets the width value for the object.

+
Parameters
+ + +
valueThe value of which to set width to.
+
+
+ +

Definition at line 29 of file Rectangle.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Rectangle::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 27 of file Rectangle.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Rectangle::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 28 of file Rectangle.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_render_texture-members.html b/classraylib_1_1_render_texture-members.html new file mode 100644 index 00000000..330b6e2f --- /dev/null +++ b/classraylib_1_1_render_texture-members.html @@ -0,0 +1,104 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::RenderTexture Member List
+
+
+ +

This is the complete list of members for raylib::RenderTexture, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
BeginMode()raylib::RenderTextureinline
EndMode()raylib::RenderTextureinline
GetDepth()raylib::RenderTextureinline
GetId() constraylib::RenderTextureinline
GetTexture()raylib::RenderTextureinline
IsReady() constraylib::RenderTextureinline
Load(int width, int height)raylib::RenderTextureinlinestatic
operator=(const ::RenderTexture &texture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
operator=(const RenderTexture &)=delete (defined in raylib::RenderTexture)raylib::RenderTexture
operator=(RenderTexture &&other) noexcept (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture()raylib::RenderTextureinline
RenderTexture(const ::RenderTexture &renderTexture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture(unsigned int id, const ::Texture &texture, const ::Texture &depth) (defined in raylib::RenderTexture)raylib::RenderTextureinline
RenderTexture(int width, int height)raylib::RenderTextureinline
RenderTexture(const RenderTexture &)=delete (defined in raylib::RenderTexture)raylib::RenderTexture
RenderTexture(RenderTexture &&other) (defined in raylib::RenderTexture)raylib::RenderTextureinline
SetDepth(const ::Texture &newDepth) (defined in raylib::RenderTexture)raylib::RenderTextureinline
SetId(unsigned int value)raylib::RenderTextureinline
SetTexture(const ::Texture &newTexture) (defined in raylib::RenderTexture)raylib::RenderTextureinline
Unload() (defined in raylib::RenderTexture)raylib::RenderTextureinline
~RenderTexture() (defined in raylib::RenderTexture)raylib::RenderTextureinline
+ + + + diff --git a/classraylib_1_1_render_texture.html b/classraylib_1_1_render_texture.html new file mode 100644 index 00000000..08343f3b --- /dev/null +++ b/classraylib_1_1_render_texture.html @@ -0,0 +1,233 @@ + + + + + + + +raylib-cpp: raylib::RenderTexture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::RenderTexture Class Reference
+
+
+ +

RenderTexture type, for texture rendering. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

RenderTexture ()
 Default constructor to build an empty RenderTexture.
 
RenderTexture (const ::RenderTexture &renderTexture)
 
RenderTexture (const RenderTexture &)=delete
 
RenderTexture (int width, int height)
 Load texture for rendering (framebuffer)
 
RenderTexture (RenderTexture &&other)
 
RenderTexture (unsigned int id, const ::Texture &texture, const ::Texture &depth)
 
+RenderTextureBeginMode ()
 Initializes render texture for drawing.
 
+RenderTextureEndMode ()
 Ends drawing to render texture.
 
+TextureUnmanaged GetDepth ()
 Depth buffer attachment texture.
 
unsigned int GetId () const
 Retrieves the id value for the object. More...
 
+TextureUnmanaged GetTexture ()
 Get the color buffer attachment texture.
 
+bool IsReady () const
 Retrieves whether or not the render texture is ready.
 
+RenderTextureoperator= (const ::RenderTexture &texture)
 
+RenderTextureoperator= (const RenderTexture &)=delete
 
+RenderTextureoperator= (RenderTexture &&other) noexcept
 
+void SetDepth (const ::Texture &newDepth)
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
+void SetTexture (const ::Texture &newTexture)
 
+void Unload ()
 
+ + + + +

+Static Public Member Functions

+static RenderTexture Load (int width, int height)
 Load texture for rendering (framebuffer)
 
+

Detailed Description

+

RenderTexture type, for texture rendering.

+ +

Definition at line 13 of file RenderTexture.hpp.

+

Member Function Documentation

+ +

◆ GetId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::RenderTexture::GetId () const
+
+inline
+
+ +

Retrieves the id value for the object.

+
Returns
The id value of the object.
+ +

Definition at line 46 of file RenderTexture.hpp.

+ +
+
+ +

◆ SetId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::RenderTexture::SetId (unsigned int value)
+
+inline
+
+ +

Sets the id value for the object.

+
Parameters
+ + +
valueThe value of which to set id to.
+
+
+ +

Definition at line 46 of file RenderTexture.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_shader-members.html b/classraylib_1_1_shader-members.html new file mode 100644 index 00000000..5bdb4b68 --- /dev/null +++ b/classraylib_1_1_shader-members.html @@ -0,0 +1,109 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Shader Member List
+
+
+ +

This is the complete list of members for raylib::Shader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
BeginMode()raylib::Shaderinline
EndMode()raylib::Shaderinline
GetId() constraylib::Shaderinline
GetLocation(const std::string &uniformName) constraylib::Shaderinline
GetLocationAttrib(const std::string &attribName) constraylib::Shaderinline
GetLocs() constraylib::Shaderinline
IsReady() constraylib::Shaderinline
Load(const std::string &vsFileName, const std::string &fsFileName)raylib::Shaderinlinestatic
LoadFromMemory(const std::string &vsCode, const std::string &fsCode)raylib::Shaderinlinestatic
operator=(const ::Shader &shader) (defined in raylib::Shader)raylib::Shaderinline
operator=(const Shader &)=delete (defined in raylib::Shader)raylib::Shader
operator=(Shader &&other) noexcept (defined in raylib::Shader)raylib::Shaderinline
SetId(unsigned int value)raylib::Shaderinline
SetLocs(int *value)raylib::Shaderinline
SetValue(int uniformLoc, const void *value, int uniformType)raylib::Shaderinline
SetValue(int uniformLoc, const void *value, int uniformType, int count)raylib::Shaderinline
SetValue(int uniformLoc, const ::Matrix &mat)raylib::Shaderinline
SetValue(int uniformLoc, const ::Texture2D &texture)raylib::Shaderinline
Shader(const ::Shader &shader) (defined in raylib::Shader)raylib::Shaderinline
Shader(unsigned int id, int *locs=nullptr) (defined in raylib::Shader)raylib::Shaderinline
Shader(const std::string &vsFileName, const std::string &fsFileName) (defined in raylib::Shader)raylib::Shaderinline
Shader(const char *vsFileName, const char *fsFileName) (defined in raylib::Shader)raylib::Shaderinline
Shader(const Shader &)=delete (defined in raylib::Shader)raylib::Shader
Shader(Shader &&other) (defined in raylib::Shader)raylib::Shaderinline
Unload()raylib::Shaderinline
~Shader()raylib::Shaderinline
+ + + + diff --git a/classraylib_1_1_shader.html b/classraylib_1_1_shader.html new file mode 100644 index 00000000..5cd6eb52 --- /dev/null +++ b/classraylib_1_1_shader.html @@ -0,0 +1,640 @@ + + + + + + + +raylib-cpp: raylib::Shader Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Shader Class Reference
+
+
+ +

Shader type (generic) + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Shader (const ::Shader &shader)
 
Shader (const char *vsFileName, const char *fsFileName)
 
Shader (const Shader &)=delete
 
Shader (const std::string &vsFileName, const std::string &fsFileName)
 
Shader (Shader &&other)
 
Shader (unsigned int id, int *locs=nullptr)
 
~Shader ()
 Unload shader from GPU memory (VRAM)
 
+ShaderBeginMode ()
 Begin custom shader drawing.
 
+ShaderEndMode ()
 End custom shader drawing (use default shader).
 
unsigned int GetId () const
 Retrieves the id value for the object. More...
 
int GetLocation (const std::string &uniformName) const
 Get shader uniform location. More...
 
int GetLocationAttrib (const std::string &attribName) const
 Get shader attribute location. More...
 
int * GetLocs () const
 Retrieves the locs value for the object. More...
 
+bool IsReady () const
 Retrieves whether or not the shader is ready.
 
+Shaderoperator= (const ::Shader &shader)
 
+Shaderoperator= (const Shader &)=delete
 
+Shaderoperator= (Shader &&other) noexcept
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
void SetLocs (int *value)
 Sets the locs value for the object. More...
 
ShaderSetValue (int uniformLoc, const ::Matrix &mat)
 Set shader uniform value (matrix 4x4) More...
 
ShaderSetValue (int uniformLoc, const ::Texture2D &texture)
 Set shader uniform value for texture. More...
 
ShaderSetValue (int uniformLoc, const void *value, int uniformType)
 Set shader uniform value. More...
 
ShaderSetValue (int uniformLoc, const void *value, int uniformType, int count)
 Set shader uniform value vector. More...
 
+void Unload ()
 Unload shader from GPU memory (VRAM)
 
+ + + + + + + +

+Static Public Member Functions

::Shader Load (const std::string &vsFileName, const std::string &fsFileName)
 Load shader from files and bind default locations. More...
 
::Shader LoadFromMemory (const std::string &vsCode, const std::string &fsCode)
 Load a shader from memory. More...
 
+

Detailed Description

+

Shader type (generic)

+ +

Definition at line 14 of file Shader.hpp.

+

Member Function Documentation

+ +

◆ GetId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Shader::GetId () const
+
+inline
+
+ +

Retrieves the id value for the object.

+
Returns
The id value of the object.
+ +

Definition at line 57 of file Shader.hpp.

+ +
+
+ +

◆ GetLocation()

+ +
+
+ + + + + +
+ + + + + + + + +
int raylib::Shader::GetLocation (const std::string & uniformName) const
+
+inline
+
+ +

Get shader uniform location.

+
See also
GetShaderLocation()
+ +

Definition at line 118 of file Shader.hpp.

+ +
+
+ +

◆ GetLocationAttrib()

+ +
+
+ + + + + +
+ + + + + + + + +
int raylib::Shader::GetLocationAttrib (const std::string & attribName) const
+
+inline
+
+ +

Get shader attribute location.

+
See also
GetShaderLocationAttrib()
+ +

Definition at line 127 of file Shader.hpp.

+ +
+
+ +

◆ GetLocs()

+ +
+
+ + + + + +
+ + + + + + + +
int* raylib::Shader::GetLocs () const
+
+inline
+
+ +

Retrieves the locs value for the object.

+
Returns
The locs value of the object.
+ +

Definition at line 58 of file Shader.hpp.

+ +
+
+ +

◆ Load()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
::Shader raylib::Shader::Load (const std::string & vsFileName,
const std::string & fsFileName 
)
+
+inlinestatic
+
+ +

Load shader from files and bind default locations.

+
See also
::LoadShader
+ +

Definition at line 44 of file Shader.hpp.

+ +
+
+ +

◆ LoadFromMemory()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
::Shader raylib::Shader::LoadFromMemory (const std::string & vsCode,
const std::string & fsCode 
)
+
+inlinestatic
+
+ +

Load a shader from memory.

+
See also
::LoadShaderFromMemory
+ +

Definition at line 53 of file Shader.hpp.

+ +
+
+ +

◆ SetId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Shader::SetId (unsigned int value)
+
+inline
+
+ +

Sets the id value for the object.

+
Parameters
+ + +
valueThe value of which to set id to.
+
+
+ +

Definition at line 57 of file Shader.hpp.

+ +
+
+ +

◆ SetLocs()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Shader::SetLocs (int * value)
+
+inline
+
+ +

Sets the locs value for the object.

+
Parameters
+ + +
valueThe value of which to set locs to.
+
+
+ +

Definition at line 58 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
const ::Matrixmat 
)
+
+inline
+
+ +

Set shader uniform value (matrix 4x4)

+
See also
SetShaderValueMatrix()
+ +

Definition at line 156 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
const ::Texture2Dtexture 
)
+
+inline
+
+ +

Set shader uniform value for texture.

+
See also
SetShaderValueTexture()
+ +

Definition at line 166 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
const void * value,
int uniformType 
)
+
+inline
+
+ +

Set shader uniform value.

+
See also
SetShaderValue()
+ +

Definition at line 136 of file Shader.hpp.

+ +
+
+ +

◆ SetValue() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Shader& raylib::Shader::SetValue (int uniformLoc,
const void * value,
int uniformType,
int count 
)
+
+inline
+
+ +

Set shader uniform value vector.

+
See also
SetShaderValueV()
+ +

Definition at line 146 of file Shader.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_sound-members.html b/classraylib_1_1_sound-members.html new file mode 100644 index 00000000..6fe635da --- /dev/null +++ b/classraylib_1_1_sound-members.html @@ -0,0 +1,113 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Sound Member List
+
+
+ +

This is the complete list of members for raylib::Sound, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetFrameCount() constraylib::Soundinline
GetPlaying()raylib::Soundinline
GetStream() constraylib::Soundinline
IsPlaying() constraylib::Soundinline
IsReady() constraylib::Soundinline
Load(const std::string &fileName)raylib::Soundinline
Load(const ::Wave &wave)raylib::Soundinline
operator=(const Sound &)=delete (defined in raylib::Sound)raylib::Sound
operator=(Sound &&other) noexcept (defined in raylib::Sound)raylib::Soundinline
Pause()raylib::Soundinline
Play()raylib::Soundinline
PlayMulti()raylib::Soundinline
Resume()raylib::Soundinline
SetFrameCount(unsigned int value)raylib::Soundinline
SetPan(float pan=0.5f)raylib::Soundinline
SetPitch(float pitch)raylib::Soundinline
SetStream(::AudioStream value)raylib::Soundinline
SetVolume(float volume)raylib::Soundinline
Sound(const Sound &)=delete (defined in raylib::Sound)raylib::Sound
Sound() (defined in raylib::Sound)raylib::Soundinline
Sound(::AudioStream stream, unsigned int frameCount) (defined in raylib::Sound)raylib::Soundinline
Sound(Sound &&other) (defined in raylib::Sound)raylib::Soundinline
Sound(const std::string &fileName)raylib::Soundinline
Sound(const ::Wave &wave)raylib::Soundinline
Stop()raylib::Soundinline
StopMulti()raylib::Soundinline
Unload()raylib::Soundinline
Update(const void *data, int samplesCount)raylib::Soundinline
Update(const void *data)raylib::Soundinline
~Sound() (defined in raylib::Sound)raylib::Soundinline
+ + + + diff --git a/classraylib_1_1_sound.html b/classraylib_1_1_sound.html new file mode 100644 index 00000000..8089d6e6 --- /dev/null +++ b/classraylib_1_1_sound.html @@ -0,0 +1,517 @@ + + + + + + + +raylib-cpp: raylib::Sound Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Sound Class Reference
+
+
+ +

Wave/Sound management functions. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Sound (::AudioStream stream, unsigned int frameCount)
 
 Sound (const ::Wave &wave)
 Loads a sound from the given Wave. More...
 
Sound (const Sound &)=delete
 
 Sound (const std::string &fileName)
 Loads a sound from the given file. More...
 
Sound (Sound &&other)
 
unsigned int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
+int GetPlaying ()
 Get number of sounds playing in the multichannel.
 
::AudioStream GetStream () const
 Retrieves the stream value for the object. More...
 
+bool IsPlaying () const
 Check if a sound is currently playing.
 
bool IsReady () const
 Retrieve whether or not the Sound buffer is loaded. More...
 
void Load (const ::Wave &wave)
 Loads the given Wave object into the Sound. More...
 
void Load (const std::string &fileName)
 Load a sound from the given file. More...
 
+Soundoperator= (const Sound &)=delete
 
+Soundoperator= (Sound &&other) noexcept
 
+SoundPause ()
 Pause a sound.
 
+SoundPlay ()
 Play a sound.
 
+SoundPlayMulti ()
 Play a sound (using multichannel buffer pool)
 
+SoundResume ()
 Resume a paused sound.
 
void SetFrameCount (unsigned int value)
 Sets the frameCount value for the object. More...
 
+SoundSetPan (float pan=0.5f)
 Set pan for a sound (0.5 is center)
 
+SoundSetPitch (float pitch)
 Set pitch for a sound (1.0 is base level)
 
void SetStream (::AudioStream value)
 Sets the stream value for the object. More...
 
+SoundSetVolume (float volume)
 Set volume for a sound (1.0 is max level)
 
+SoundStop ()
 Stop playing a sound.
 
+SoundStopMulti ()
 Stop any sound playing (using multichannel buffer pool)
 
+void Unload ()
 Unload sound.
 
+SoundUpdate (const void *data)
 Update sound buffer with new data, assuming it's the same sample count.
 
+SoundUpdate (const void *data, int samplesCount)
 Update sound buffer with new data.
 
+

Detailed Description

+

Wave/Sound management functions.

+
raylib::Sound boom("boom.wav");
+
boom.Play();
+
Wave/Sound management functions.
Definition: Sound.hpp:19
+
+

Definition at line 19 of file Sound.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Sound() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Sound::Sound (const std::string & fileName)
+
+inline
+
+ +

Loads a sound from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Sound failed to load.
+
+
+ +

Definition at line 45 of file Sound.hpp.

+ +

References Load().

+ +
+
+ +

◆ Sound() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Sound::Sound (const ::Wavewave)
+
+inline
+
+ +

Loads a sound from the given Wave.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Sound failed to load.
+
+
+ +

Definition at line 54 of file Sound.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ GetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Sound::GetFrameCount () const
+
+inline
+
+ +

Retrieves the frameCount value for the object.

+
Returns
The frameCount value of the object.
+ +

Definition at line 62 of file Sound.hpp.

+ +
+
+ +

◆ GetStream()

+ +
+
+ + + + + +
+ + + + + + + +
::AudioStream raylib::Sound::GetStream () const
+
+inline
+
+ +

Retrieves the stream value for the object.

+
Returns
The stream value of the object.
+ +

Definition at line 63 of file Sound.hpp.

+ +

References Unload().

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Sound::IsReady () const
+
+inline
+
+ +

Retrieve whether or not the Sound buffer is loaded.

+
Returns
True or false depending on whether the Sound buffer is loaded.
+ +

Definition at line 213 of file Sound.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Sound::Load (const ::Wavewave)
+
+inline
+
+ +

Loads the given Wave object into the Sound.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Sound failed to load.
+
+
+ +

Definition at line 201 of file Sound.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ Load() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Sound::Load (const std::string & fileName)
+
+inline
+
+ +

Load a sound from the given file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Sound failed to load.
+
+
+ +

Definition at line 189 of file Sound.hpp.

+ +

References IsReady().

+ +

Referenced by Sound().

+ +
+
+ +

◆ SetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Sound::SetFrameCount (unsigned int value)
+
+inline
+
+ +

Sets the frameCount value for the object.

+
Parameters
+ + +
valueThe value of which to set frameCount to.
+
+
+ +

Definition at line 62 of file Sound.hpp.

+ +
+
+ +

◆ SetStream()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Sound::SetStream (::AudioStream value)
+
+inline
+
+ +

Sets the stream value for the object.

+
Parameters
+ + +
valueThe value of which to set stream to.
+
+
+ +

Definition at line 63 of file Sound.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_text-members.html b/classraylib_1_1_text-members.html new file mode 100644 index 00000000..80acfa06 --- /dev/null +++ b/classraylib_1_1_text-members.html @@ -0,0 +1,110 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Text Member List
+
+
+ +

This is the complete list of members for raylib::Text, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
colorraylib::Text
Draw(const ::Vector2 &position) constraylib::Textinline
Draw(int posX, int posY) constraylib::Textinline
Draw(const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) constraylib::Textinline
Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)raylib::Textinlinestatic
Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)raylib::Textinlinestatic
Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)raylib::Textinlinestatic
fontraylib::Text
fontSizeraylib::Text
GetColor() constraylib::Textinline
GetFont() constraylib::Textinline
GetFontSize() constraylib::Textinline
GetSpacing() constraylib::Textinline
GetText() constraylib::Textinline
Measure()raylib::Textinline
MeasureEx()raylib::Textinline
operator=(const Text &other) (defined in raylib::Text)raylib::Textinline
SetColor(::Color value)raylib::Textinline
SetFont(::Font value)raylib::Textinline
SetFontSize(float value)raylib::Textinline
SetSpacing(float value)raylib::Textinline
SetText(std::string value)raylib::Textinline
spacingraylib::Text
textraylib::Text
Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)raylib::Textinline
Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)raylib::Textinline
+ + + + diff --git a/classraylib_1_1_text.html b/classraylib_1_1_text.html new file mode 100644 index 00000000..8ea01261 --- /dev/null +++ b/classraylib_1_1_text.html @@ -0,0 +1,969 @@ + + + + + + + +raylib-cpp: raylib::Text Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Text Functions. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Text (const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
 Initializes a new Text object with a custom font. More...
 
 Text (const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
 Initializes a new Text object. More...
 
+void Draw (const ::Vector2 &position) const
 Draw text with values in class.
 
void Draw (const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const
 Draw text using Font and pro parameters (rotation). More...
 
+void Draw (int posX, int posY) const
 Draw text with values in class.
 
::Color GetColor () const
 Retrieves the color value for the object. More...
 
::Font GetFont () const
 Retrieves the font value for the object. More...
 
float GetFontSize () const
 Retrieves the fontSize value for the object. More...
 
float GetSpacing () const
 Retrieves the spacing value for the object. More...
 
std::string GetText () const
 Retrieves the text value for the object. More...
 
+int Measure ()
 Measure string width for default font.
 
+Vector2 MeasureEx ()
 Measure string size for Font.
 
+Textoperator= (const Text &other)
 
void SetColor (::Color value)
 Sets the color value for the object. More...
 
void SetFont (::Font value)
 Sets the font value for the object. More...
 
void SetFontSize (float value)
 Sets the fontSize value for the object. More...
 
void SetSpacing (float value)
 Sets the spacing value for the object. More...
 
void SetText (std::string value)
 Sets the text value for the object. More...
 
+ + + + + + + + + + + + + +

+Static Public Member Functions

static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
 Draw text using font, color, position, origin, font size and spacing. More...
 
static void Draw (const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
 Draw text using font, color, position, font size and spacing. More...
 
static void Draw (const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
 Draw text using font and color, with position defined as Vector2. More...
 
static void Draw (const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
 Draw text using font and color. More...
 
+ + + + + + + + + + + + + + + + +

+Public Attributes

+::Color color
 The color of the text.
 
+::Font font
 The internal raylib font to use for the text.
 
+float fontSize
 The size of the text.
 
+float spacing
 The character spacing for the text.
 
+std::string text
 The internal text.
 
+

Detailed Description

+

Text Functions.

+ +

Definition at line 14 of file Text.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Text() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Text::Text (const std::string & text = "",
float fontSize = 10,
const ::Colorcolor = WHITE,
const ::Fontfont = ::GetFontDefault(),
float spacing = 0 
)
+
+inline
+
+ +

Initializes a new Text object.

+
Parameters
+ + + + + + +
textText to initialize.
fontSizeThe size of the text.
colorThe color of the font.
fontFont to initialize.
spacingThe spacing of the text.
+
+
+ +

Definition at line 50 of file Text.hpp.

+ +
+
+ +

◆ Text() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Text::Text (const ::Fontfont,
const std::string & text = "",
float fontSize = 10,
float spacing = 0,
const ::Colorcolor = WHITE 
)
+
+inline
+
+ +

Initializes a new Text object with a custom font.

+
Parameters
+ + + + + + +
fontFont to initialize.
textText to initialize.
fontSizeThe size of the text.
spacingThe spacing of the text.
colorThe color of the font.
+
+
+ +

Definition at line 73 of file Text.hpp.

+ +
+
+

Member Function Documentation

+ +

◆ Draw() [1/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void raylib::Text::Draw (const ::Fontfont,
const std::string & text,
const ::Vector2position,
const ::Vector2origin,
const float rotation,
const float fontSize,
const float spacing,
const ::Colorcolor 
)
+
+inlinestatic
+
+ +

Draw text using font, color, position, origin, font size and spacing.

+
See also
DrawTextPro
+ +

Definition at line 196 of file Text.hpp.

+ +

References color, raylib::DrawTextPro(), font, fontSize, spacing, and text.

+ +
+
+ +

◆ Draw() [2/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void raylib::Text::Draw (const ::Fontfont,
const std::string & text,
const ::Vector2position,
const float fontSize,
const float spacing,
const ::Colorcolor 
)
+
+inlinestatic
+
+ +

Draw text using font, color, position, font size and spacing.

+
See also
DrawTextEx
+ +

Definition at line 181 of file Text.hpp.

+ +

References color, raylib::DrawTextEx(), font, fontSize, spacing, and text.

+ +
+
+ +

◆ Draw() [3/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Text::Draw (const ::Vector2position,
float rotation,
const ::Vector2origin = {0, 0} 
) const
+
+inline
+
+ +

Draw text using Font and pro parameters (rotation).

+
See also
DrawTextPro()
+ +

Definition at line 117 of file Text.hpp.

+ +
+
+ +

◆ Draw() [4/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void raylib::Text::Draw (const std::string & text,
const ::Vector2pos,
const int fontSize,
const ::Colorcolor 
)
+
+inlinestatic
+
+ +

Draw text using font and color, with position defined as Vector2.

+
See also
DrawText
+ +

Definition at line 168 of file Text.hpp.

+ +

References color, raylib::DrawText(), fontSize, and text.

+ +
+
+ +

◆ Draw() [5/5]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static void raylib::Text::Draw (const std::string & text,
const int posX,
const int posY,
const int fontSize,
const ::Colorcolor 
)
+
+inlinestatic
+
+ +

Draw text using font and color.

+
See also
DrawText
+ +

Definition at line 154 of file Text.hpp.

+ +

References color, raylib::DrawText(), fontSize, and text.

+ +
+
+ +

◆ GetColor()

+ +
+
+ + + + + +
+ + + + + + + +
::Color raylib::Text::GetColor () const
+
+inline
+
+ +

Retrieves the color value for the object.

+
Returns
The color value of the object.
+ +

Definition at line 90 of file Text.hpp.

+ +
+
+ +

◆ GetFont()

+ +
+
+ + + + + +
+ + + + + + + +
::Font raylib::Text::GetFont () const
+
+inline
+
+ +

Retrieves the font value for the object.

+
Returns
The font value of the object.
+ +

Definition at line 89 of file Text.hpp.

+ +
+
+ +

◆ GetFontSize()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Text::GetFontSize () const
+
+inline
+
+ +

Retrieves the fontSize value for the object.

+
Returns
The fontSize value of the object.
+ +

Definition at line 88 of file Text.hpp.

+ +
+
+ +

◆ GetSpacing()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Text::GetSpacing () const
+
+inline
+
+ +

Retrieves the spacing value for the object.

+
Returns
The spacing value of the object.
+ +

Definition at line 91 of file Text.hpp.

+ +
+
+ +

◆ GetText()

+ +
+
+ + + + + +
+ + + + + + + +
std::string raylib::Text::GetText () const
+
+inline
+
+ +

Retrieves the text value for the object.

+
Returns
The text value of the object.
+ +

Definition at line 87 of file Text.hpp.

+ +
+
+ +

◆ SetColor()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Text::SetColor (::Color value)
+
+inline
+
+ +

Sets the color value for the object.

+
Parameters
+ + +
valueThe value of which to set color to.
+
+
+ +

Definition at line 90 of file Text.hpp.

+ +
+
+ +

◆ SetFont()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Text::SetFont (::Font value)
+
+inline
+
+ +

Sets the font value for the object.

+
Parameters
+ + +
valueThe value of which to set font to.
+
+
+ +

Definition at line 89 of file Text.hpp.

+ +
+
+ +

◆ SetFontSize()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Text::SetFontSize (float value)
+
+inline
+
+ +

Sets the fontSize value for the object.

+
Parameters
+ + +
valueThe value of which to set fontSize to.
+
+
+ +

Definition at line 88 of file Text.hpp.

+ +
+
+ +

◆ SetSpacing()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Text::SetSpacing (float value)
+
+inline
+
+ +

Sets the spacing value for the object.

+
Parameters
+ + +
valueThe value of which to set spacing to.
+
+
+ +

Definition at line 91 of file Text.hpp.

+ +
+
+ +

◆ SetText()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Text::SetText (std::string value)
+
+inline
+
+ +

Sets the text value for the object.

+
Parameters
+ + +
valueThe value of which to set text to.
+
+
+ +

Definition at line 87 of file Text.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_texture-members.html b/classraylib_1_1_texture-members.html new file mode 100644 index 00000000..d836e39c --- /dev/null +++ b/classraylib_1_1_texture-members.html @@ -0,0 +1,146 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Texture Member List
+
+
+ +

This is the complete list of members for raylib::Texture, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
GenMipmaps()raylib::TextureUnmanagedinline
GetData() constraylib::TextureUnmanagedinline
GetFormat() constraylib::TextureUnmanagedinline
GetHeight() constraylib::TextureUnmanagedinline
GetId() constraylib::TextureUnmanagedinline
GetMipmaps() constraylib::TextureUnmanagedinline
GetSize() constraylib::TextureUnmanagedinline
GetWidth() constraylib::TextureUnmanagedinline
IsReady() constraylib::TextureUnmanagedinline
Load(const ::Image &image)raylib::TextureUnmanagedinline
Load(const ::Image &image, int layoutType)raylib::TextureUnmanagedinline
Load(const std::string &fileName)raylib::TextureUnmanagedinline
operator Image()raylib::TextureUnmanagedinline
operator=(const Texture &)=deleteraylib::Texture
operator=(Texture &&other) noexceptraylib::Textureinline
operator=(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline
set(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinlineprotected
SetFilter(int filterMode)raylib::TextureUnmanagedinline
SetFormat(int value)raylib::TextureUnmanagedinline
SetHeight(int value)raylib::TextureUnmanagedinline
SetId(unsigned int value)raylib::TextureUnmanagedinline
SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::TextureUnmanagedinline
SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline
SetMipmaps(int value)raylib::TextureUnmanagedinline
SetShaderValue(const ::Shader &shader, int locIndex)raylib::TextureUnmanagedinline
SetShapes(const ::Rectangle &source)raylib::TextureUnmanagedinline
SetWidth(int value)raylib::TextureUnmanagedinline
SetWrap(int wrapMode)raylib::TextureUnmanagedinline
Texture(const Texture &)=deleteraylib::Texture
Texture(Texture &&other)raylib::Textureinline
TextureUnmanaged()raylib::Textureinline
TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::Textureinline
TextureUnmanaged(const ::Texture &texture)raylib::Textureinline
TextureUnmanaged(const ::Image &image)raylib::Textureinline
TextureUnmanaged(const ::Image &image, int layout)raylib::Textureinline
TextureUnmanaged(const std::string &fileName)raylib::Textureinline
TextureUnmanaged(::Texture &&other) (defined in raylib::Texture)raylib::Textureinline
raylib::TextureUnmanaged::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::TextureUnmanagedinline
raylib::TextureUnmanaged::TextureUnmanaged(const ::Texture &texture)raylib::TextureUnmanagedinline
raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image)raylib::TextureUnmanagedinline
raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image, int layout)raylib::TextureUnmanagedinline
raylib::TextureUnmanaged::TextureUnmanaged(const std::string &fileName)raylib::TextureUnmanagedinline
TextureUnmanaged(::Texture &&other) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline
Unload()raylib::TextureUnmanagedinline
Update(const void *pixels)raylib::TextureUnmanagedinline
Update(::Rectangle rec, const void *pixels)raylib::TextureUnmanagedinline
~Texture()raylib::Textureinline
+ + + + diff --git a/classraylib_1_1_texture.html b/classraylib_1_1_texture.html new file mode 100644 index 00000000..95259ebc --- /dev/null +++ b/classraylib_1_1_texture.html @@ -0,0 +1,417 @@ + + + + + + + +raylib-cpp: raylib::Texture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Texture Class Reference
+
+
+ +

Texture type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Texture (const Texture &)=delete
 Explicitly forbid the copy constructor.
 
Texture (Texture &&other)
 Move constructor.
 
~Texture ()
 On destruction, unload the Texture.
 
+Textureoperator= (const Texture &)=delete
 Explicitly forbid copy assignment.
 
+Textureoperator= (Texture &&other) noexcept
 Move assignment.
 
TextureUnmanaged ()
 Default texture constructor.
 
TextureUnmanaged (::Texture &&other)
 
 TextureUnmanaged (const ::Image &image)
 Creates a texture from the given Image. More...
 
 TextureUnmanaged (const ::Image &image, int layout)
 Load cubemap from image, multiple image cubemap layouts supported. More...
 
TextureUnmanaged (const ::Texture &texture)
 Creates a texture object based on the given Texture struct data.
 
 TextureUnmanaged (const std::string &fileName)
 Load texture from file into GPU memory (VRAM) More...
 
TextureUnmanaged (unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
 Move/Create a texture structure manually.
 
- Public Member Functions inherited from raylib::TextureUnmanaged
TextureUnmanaged ()
 Default texture constructor.
 
TextureUnmanaged (::Texture &&other)
 
 TextureUnmanaged (const ::Image &image)
 Creates a texture from the given Image. More...
 
 TextureUnmanaged (const ::Image &image, int layout)
 Load cubemap from image, multiple image cubemap layouts supported. More...
 
TextureUnmanaged (const ::Texture &texture)
 Creates a texture object based on the given Texture struct data.
 
 TextureUnmanaged (const std::string &fileName)
 Load texture from file into GPU memory (VRAM) More...
 
TextureUnmanaged (unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
 Move/Create a texture structure manually.
 
void Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
 Draws a texture (or part of it) that stretches or shrinks nicely. More...
 
void Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
 Draw a part of a texture defined by a rectangle with 'pro' parameters. More...
 
void Draw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const
 Draw a part of a texture defined by a rectangle. More...
 
void Draw (::Vector2 position, ::Color tint={255, 255, 255, 255}) const
 Draw a Texture2D with position defined as Vector2. More...
 
void Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
 Draw a Texture2D with extended parameters. More...
 
void Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const
 Draw texture quad with tiling and offset parameters. More...
 
void Draw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const
 Draw a Texture2D. More...
 
void DrawBillboard (const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture defined by source. More...
 
void DrawBillboard (const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture defined by source and rotation. More...
 
void DrawBillboard (const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture. More...
 
void DrawCube (::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
 Draw cube with a region of a texture, with dimensions. More...
 
void DrawCube (::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
 Draw cube with a region of a texture. More...
 
void DrawCube (::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
 Draw cube textured, with dimensions. More...
 
void DrawCube (::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
 Draw cube textured. More...
 
void DrawPoly (::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const
 Draw a textured polygon. More...
 
void DrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const
 Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. More...
 
+TextureUnmanagedGenMipmaps ()
 Generate GPU mipmaps for a texture.
 
+inline ::Image GetData () const
 Get pixel data from GPU texture and return an Image.
 
int GetFormat () const
 Retrieves the format value for the object. More...
 
int GetHeight () const
 Retrieves the height value for the object. More...
 
unsigned int GetId () const
 Retrieves the id value for the object. More...
 
int GetMipmaps () const
 Retrieves the mipmaps value for the object. More...
 
+inline ::Vector2 GetSize () const
 Retrieve the width and height of the texture.
 
int GetWidth () const
 Retrieves the width value for the object. More...
 
bool IsReady () const
 Determines whether or not the Texture has been loaded and is ready. More...
 
+void Load (const ::Image &image)
 Load texture from image data.
 
+void Load (const ::Image &image, int layoutType)
 Load cubemap from image, multiple image cubemap layouts supported.
 
+void Load (const std::string &fileName)
 Load texture from file into GPU memory (VRAM)
 
operator Image ()
 Get pixel data from GPU texture and return an Image.
 
+TextureUnmanagedoperator= (const ::Texture &texture)
 
+TextureUnmanagedSetFilter (int filterMode)
 Set texture scaling filter mode.
 
void SetFormat (int value)
 Sets the format value for the object. More...
 
void SetHeight (int value)
 Sets the height value for the object. More...
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
+TextureUnmanagedSetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
 
+TextureUnmanagedSetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
 
void SetMipmaps (int value)
 Sets the mipmaps value for the object. More...
 
+TextureUnmanagedSetShaderValue (const ::Shader &shader, int locIndex)
 Set shader uniform value for texture (sampler2d)
 
+TextureUnmanagedSetShapes (const ::Rectangle &source)
 Set texture and rectangle to be used on shapes drawing.
 
void SetWidth (int value)
 Sets the width value for the object. More...
 
+TextureUnmanagedSetWrap (int wrapMode)
 Set texture wrapping mode.
 
+void Unload ()
 Unload texture from GPU memory (VRAM)
 
+TextureUnmanagedUpdate (::Rectangle rec, const void *pixels)
 Update GPU texture rectangle with new data.
 
+TextureUnmanagedUpdate (const void *pixels)
 Update GPU texture with new data.
 
+ + + + +

+Additional Inherited Members

- Protected Member Functions inherited from raylib::TextureUnmanaged
+void set (const ::Texture &texture)
 
+

Detailed Description

+

Texture type.

+

The texture will be unloaded on object destruction. Use raylib::TextureUnmanaged if you're looking to not unload.

+
See also
raylib::TextureUnmanaged
+ +

Definition at line 14 of file Texture.hpp.

+

Member Function Documentation

+ +

◆ TextureUnmanaged() [1/3]

+ +
+
+ + + + + +
+ + + + +
raylib::TextureUnmanaged::TextureUnmanaged
+
+inline
+
+ +

Creates a texture from the given Image.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to create the texture from the given image.
+
+
+ +

Definition at line 54 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ TextureUnmanaged() [2/3]

+ +
+
+ + + + + +
+ + + + +
raylib::TextureUnmanaged::TextureUnmanaged
+
+inline
+
+ +

Load cubemap from image, multiple image cubemap layouts supported.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to create the texture from the given cubemap.
+
+
+
See also
LoadTextureCubemap()
+ +

Definition at line 65 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ TextureUnmanaged() [3/3]

+ +
+
+ + + + + +
+ + + + +
raylib::TextureUnmanaged::TextureUnmanaged
+
+inline
+
+ +

Load texture from file into GPU memory (VRAM)

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to create the texture from the given file.
+
+
+ +

Definition at line 74 of file TextureUnmanaged.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_texture_unmanaged-members.html b/classraylib_1_1_texture_unmanaged-members.html new file mode 100644 index 00000000..a5b1e372 --- /dev/null +++ b/classraylib_1_1_texture_unmanaged-members.html @@ -0,0 +1,135 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::TextureUnmanaged Member List
+
+
+ +

This is the complete list of members for raylib::TextureUnmanaged, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline
GenMipmaps()raylib::TextureUnmanagedinline
GetData() constraylib::TextureUnmanagedinline
GetFormat() constraylib::TextureUnmanagedinline
GetHeight() constraylib::TextureUnmanagedinline
GetId() constraylib::TextureUnmanagedinline
GetMipmaps() constraylib::TextureUnmanagedinline
GetSize() constraylib::TextureUnmanagedinline
GetWidth() constraylib::TextureUnmanagedinline
IsReady() constraylib::TextureUnmanagedinline
Load(const ::Image &image)raylib::TextureUnmanagedinline
Load(const ::Image &image, int layoutType)raylib::TextureUnmanagedinline
Load(const std::string &fileName)raylib::TextureUnmanagedinline
operator Image()raylib::TextureUnmanagedinline
operator=(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline
set(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinlineprotected
SetFilter(int filterMode)raylib::TextureUnmanagedinline
SetFormat(int value)raylib::TextureUnmanagedinline
SetHeight(int value)raylib::TextureUnmanagedinline
SetId(unsigned int value)raylib::TextureUnmanagedinline
SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::TextureUnmanagedinline
SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline
SetMipmaps(int value)raylib::TextureUnmanagedinline
SetShaderValue(const ::Shader &shader, int locIndex)raylib::TextureUnmanagedinline
SetShapes(const ::Rectangle &source)raylib::TextureUnmanagedinline
SetWidth(int value)raylib::TextureUnmanagedinline
SetWrap(int wrapMode)raylib::TextureUnmanagedinline
TextureUnmanaged()raylib::TextureUnmanagedinline
TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::TextureUnmanagedinline
TextureUnmanaged(const ::Texture &texture)raylib::TextureUnmanagedinline
TextureUnmanaged(const ::Image &image)raylib::TextureUnmanagedinline
TextureUnmanaged(const ::Image &image, int layout)raylib::TextureUnmanagedinline
TextureUnmanaged(const std::string &fileName)raylib::TextureUnmanagedinline
TextureUnmanaged(::Texture &&other) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline
Unload()raylib::TextureUnmanagedinline
Update(const void *pixels)raylib::TextureUnmanagedinline
Update(::Rectangle rec, const void *pixels)raylib::TextureUnmanagedinline
+ + + + diff --git a/classraylib_1_1_texture_unmanaged.html b/classraylib_1_1_texture_unmanaged.html new file mode 100644 index 00000000..98963c51 --- /dev/null +++ b/classraylib_1_1_texture_unmanaged.html @@ -0,0 +1,1659 @@ + + + + + + + +raylib-cpp: raylib::TextureUnmanaged Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::TextureUnmanaged Class Reference
+
+
+ +

A Texture that is not managed by the C++ garbage collector. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

TextureUnmanaged ()
 Default texture constructor.
 
TextureUnmanaged (::Texture &&other)
 
 TextureUnmanaged (const ::Image &image)
 Creates a texture from the given Image. More...
 
 TextureUnmanaged (const ::Image &image, int layout)
 Load cubemap from image, multiple image cubemap layouts supported. More...
 
TextureUnmanaged (const ::Texture &texture)
 Creates a texture object based on the given Texture struct data.
 
 TextureUnmanaged (const std::string &fileName)
 Load texture from file into GPU memory (VRAM) More...
 
TextureUnmanaged (unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
 Move/Create a texture structure manually.
 
void Draw (::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
 Draws a texture (or part of it) that stretches or shrinks nicely. More...
 
void Draw (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
 Draw a part of a texture defined by a rectangle with 'pro' parameters. More...
 
void Draw (::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const
 Draw a part of a texture defined by a rectangle. More...
 
void Draw (::Vector2 position, ::Color tint={255, 255, 255, 255}) const
 Draw a Texture2D with position defined as Vector2. More...
 
void Draw (::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
 Draw a Texture2D with extended parameters. More...
 
void Draw (::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const
 Draw texture quad with tiling and offset parameters. More...
 
void Draw (int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const
 Draw a Texture2D. More...
 
void DrawBillboard (const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture defined by source. More...
 
void DrawBillboard (const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture defined by source and rotation. More...
 
void DrawBillboard (const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const
 Draw a billboard texture. More...
 
void DrawCube (::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
 Draw cube with a region of a texture, with dimensions. More...
 
void DrawCube (::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
 Draw cube with a region of a texture. More...
 
void DrawCube (::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
 Draw cube textured, with dimensions. More...
 
void DrawCube (::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
 Draw cube textured. More...
 
void DrawPoly (::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const
 Draw a textured polygon. More...
 
void DrawTiled (::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const
 Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. More...
 
+TextureUnmanagedGenMipmaps ()
 Generate GPU mipmaps for a texture.
 
+inline ::Image GetData () const
 Get pixel data from GPU texture and return an Image.
 
int GetFormat () const
 Retrieves the format value for the object. More...
 
int GetHeight () const
 Retrieves the height value for the object. More...
 
unsigned int GetId () const
 Retrieves the id value for the object. More...
 
int GetMipmaps () const
 Retrieves the mipmaps value for the object. More...
 
+inline ::Vector2 GetSize () const
 Retrieve the width and height of the texture.
 
int GetWidth () const
 Retrieves the width value for the object. More...
 
bool IsReady () const
 Determines whether or not the Texture has been loaded and is ready. More...
 
+void Load (const ::Image &image)
 Load texture from image data.
 
+void Load (const ::Image &image, int layoutType)
 Load cubemap from image, multiple image cubemap layouts supported.
 
+void Load (const std::string &fileName)
 Load texture from file into GPU memory (VRAM)
 
operator Image ()
 Get pixel data from GPU texture and return an Image.
 
+TextureUnmanagedoperator= (const ::Texture &texture)
 
+TextureUnmanagedSetFilter (int filterMode)
 Set texture scaling filter mode.
 
void SetFormat (int value)
 Sets the format value for the object. More...
 
void SetHeight (int value)
 Sets the height value for the object. More...
 
void SetId (unsigned int value)
 Sets the id value for the object. More...
 
+TextureUnmanagedSetMaterial (::Material *material, int mapType=MATERIAL_MAP_NORMAL)
 Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
 
+TextureUnmanagedSetMaterial (const ::Material &material, int mapType=MATERIAL_MAP_NORMAL)
 
void SetMipmaps (int value)
 Sets the mipmaps value for the object. More...
 
+TextureUnmanagedSetShaderValue (const ::Shader &shader, int locIndex)
 Set shader uniform value for texture (sampler2d)
 
+TextureUnmanagedSetShapes (const ::Rectangle &source)
 Set texture and rectangle to be used on shapes drawing.
 
void SetWidth (int value)
 Sets the width value for the object. More...
 
+TextureUnmanagedSetWrap (int wrapMode)
 Set texture wrapping mode.
 
+void Unload ()
 Unload texture from GPU memory (VRAM)
 
+TextureUnmanagedUpdate (::Rectangle rec, const void *pixels)
 Update GPU texture rectangle with new data.
 
+TextureUnmanagedUpdate (const void *pixels)
 Update GPU texture with new data.
 
+ + + +

+Protected Member Functions

+void set (const ::Texture &texture)
 
+

Detailed Description

+

A Texture that is not managed by the C++ garbage collector.

+

Make sure to Unload() this if needed, otherwise use raylib::Texture.

+
See also
raylib::Texture
+ +

Definition at line 21 of file TextureUnmanaged.hpp.

+

Constructor & Destructor Documentation

+ +

◆ TextureUnmanaged() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::TextureUnmanaged::TextureUnmanaged (const ::Imageimage)
+
+inline
+
+ +

Creates a texture from the given Image.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to create the texture from the given image.
+
+
+ +

Definition at line 54 of file TextureUnmanaged.hpp.

+ +

References Load().

+ +
+
+ +

◆ TextureUnmanaged() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
raylib::TextureUnmanaged::TextureUnmanaged (const ::Imageimage,
int layout 
)
+
+inline
+
+ +

Load cubemap from image, multiple image cubemap layouts supported.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to create the texture from the given cubemap.
+
+
+
See also
LoadTextureCubemap()
+ +

Definition at line 65 of file TextureUnmanaged.hpp.

+ +

References Load().

+ +
+
+ +

◆ TextureUnmanaged() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::TextureUnmanaged::TextureUnmanaged (const std::string & fileName)
+
+inline
+
+ +

Load texture from file into GPU memory (VRAM)

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if failed to create the texture from the given file.
+
+
+ +

Definition at line 74 of file TextureUnmanaged.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ Draw() [1/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (::NPatchInfo nPatchInfo,
::Rectangle destRec,
::Vector2 origin = {0, 0},
float rotation = 0,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draws a texture (or part of it) that stretches or shrinks nicely.

+
See also
::DrawTextureNPatch()
+ +

Definition at line 259 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ Draw() [2/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (::Rectangle sourceRec,
::Rectangle destRec,
::Vector2 origin = {0, 0},
float rotation = 0,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a part of a texture defined by a rectangle with 'pro' parameters.

+
See also
::DrawTexturePro()
+ +

Definition at line 249 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ Draw() [3/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (::Rectangle sourceRec,
::Vector2 position = {0, 0},
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a part of a texture defined by a rectangle.

+
See also
::DrawTextureRec()
+ +

Definition at line 229 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ Draw() [4/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (::Vector2 position,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a Texture2D with position defined as Vector2.

+
See also
::DrawTextureV()
+ +

Definition at line 210 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ Draw() [5/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (::Vector2 position,
float rotation,
float scale = 1.0f,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a Texture2D with extended parameters.

+
See also
::DrawTextureEx()
+ +

Definition at line 219 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ Draw() [6/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (::Vector2 tiling,
::Vector2 offset,
::Rectangle quad,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw texture quad with tiling and offset parameters.

+
See also
::DrawTextureQuad()
+ +

Definition at line 239 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ Draw() [7/7]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::Draw (int posX = 0,
int posY = 0,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a Texture2D.

+
See also
::DrawTexture()
+ +

Definition at line 201 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawBillboard() [1/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawBillboard (const ::Cameracamera,
::Rectangle source,
::Vector3 position,
::Vector2 size,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a billboard texture defined by source.

+
See also
::DrawBillboardRec()
+ +

Definition at line 301 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawBillboard() [2/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawBillboard (const ::Cameracamera,
::Rectangle source,
Vector3 position,
::Vector3 up,
Vector2 size,
Vector2 origin,
float rotation = 0.0f,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a billboard texture defined by source and rotation.

+
See also
::DrawBillboardPro()
+ +

Definition at line 312 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawBillboard() [3/3]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawBillboard (const ::Cameracamera,
::Vector3 position,
float size,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a billboard texture.

+
See also
::DrawBillboard()
+ +

Definition at line 290 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawCube() [1/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawCube (::Rectangle source,
::Vector3 position,
::Vector3 dimensions,
::Color color = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw cube with a region of a texture, with dimensions.

+
See also
::DrawCubeTextureRec()
+ +

Definition at line 354 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawCube() [2/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawCube (::Rectangle source,
::Vector3 position,
float width,
float height,
float length,
::Color color = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw cube with a region of a texture.

+
See also
::DrawCubeTextureRec()
+ +

Definition at line 344 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawCube() [3/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawCube (::Vector3 position,
::Vector3 dimensions,
::Color color = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw cube textured, with dimensions.

+
See also
::DrawCubeTexture()
+ +

Definition at line 334 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawCube() [4/4]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawCube (::Vector3 position,
float width,
float height,
float length,
::Color color = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw cube textured.

+
See also
::DrawCubeTexture()
+ +

Definition at line 324 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawPoly()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawPoly (::Vector2 center,
::Vector2points,
::Vector2texcoords,
int pointsCount,
::Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw a textured polygon.

+
See also
::DrawTexturePoly()
+ +

Definition at line 279 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ DrawTiled()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::TextureUnmanaged::DrawTiled (::Rectangle sourceRec,
::Rectangle destRec,
::Vector2 origin = {0, 0},
float rotation = 0,
float scale = 1,
Color tint = {255, 255, 255, 255} 
) const
+
+inline
+
+ +

Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.

+
See also
::DrawTextureTiled()
+ +

Definition at line 269 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ GetFormat()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::TextureUnmanaged::GetFormat () const
+
+inline
+
+ +

Retrieves the format value for the object.

+
Returns
The format value of the object.
+ +

Definition at line 87 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ GetHeight()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::TextureUnmanaged::GetHeight () const
+
+inline
+
+ +

Retrieves the height value for the object.

+
Returns
The height value of the object.
+ +

Definition at line 85 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ GetId()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::TextureUnmanaged::GetId () const
+
+inline
+
+ +

Retrieves the id value for the object.

+
Returns
The id value of the object.
+ +

Definition at line 83 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ GetMipmaps()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::TextureUnmanaged::GetMipmaps () const
+
+inline
+
+ +

Retrieves the mipmaps value for the object.

+
Returns
The mipmaps value of the object.
+ +

Definition at line 86 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ GetWidth()

+ +
+
+ + + + + +
+ + + + + + + +
int raylib::TextureUnmanaged::GetWidth () const
+
+inline
+
+ +

Retrieves the width value for the object.

+
Returns
The width value of the object.
+ +

Definition at line 84 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::TextureUnmanaged::IsReady () const
+
+inline
+
+ +

Determines whether or not the Texture has been loaded and is ready.

+
Returns
True or false depending on whether the Texture has data.
+ +

Definition at line 393 of file TextureUnmanaged.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ SetFormat()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::TextureUnmanaged::SetFormat (int value)
+
+inline
+
+ +

Sets the format value for the object.

+
Parameters
+ + +
valueThe value of which to set format to.
+
+
+ +

Definition at line 87 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ SetHeight()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::TextureUnmanaged::SetHeight (int value)
+
+inline
+
+ +

Sets the height value for the object.

+
Parameters
+ + +
valueThe value of which to set height to.
+
+
+ +

Definition at line 85 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ SetId()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::TextureUnmanaged::SetId (unsigned int value)
+
+inline
+
+ +

Sets the id value for the object.

+
Parameters
+ + +
valueThe value of which to set id to.
+
+
+ +

Definition at line 83 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ SetMipmaps()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::TextureUnmanaged::SetMipmaps (int value)
+
+inline
+
+ +

Sets the mipmaps value for the object.

+
Parameters
+ + +
valueThe value of which to set mipmaps to.
+
+
+ +

Definition at line 86 of file TextureUnmanaged.hpp.

+ +
+
+ +

◆ SetWidth()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::TextureUnmanaged::SetWidth (int value)
+
+inline
+
+ +

Sets the width value for the object.

+
Parameters
+ + +
valueThe value of which to set width to.
+
+
+ +

Definition at line 84 of file TextureUnmanaged.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_touch-members.html b/classraylib_1_1_touch-members.html new file mode 100644 index 00000000..71613e01 --- /dev/null +++ b/classraylib_1_1_touch-members.html @@ -0,0 +1,88 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Touch Member List
+
+
+ +

This is the complete list of members for raylib::Touch, including all inherited members.

+ + + + + + +
GetPointCount()raylib::Touchinlinestatic
GetPointId(int index)raylib::Touchinlinestatic
GetPosition(int index)raylib::Touchinlinestatic
GetX()raylib::Touchinlinestatic
GetY()raylib::Touchinlinestatic
+ + + + diff --git a/classraylib_1_1_touch.html b/classraylib_1_1_touch.html new file mode 100644 index 00000000..c8c43958 --- /dev/null +++ b/classraylib_1_1_touch.html @@ -0,0 +1,114 @@ + + + + + + + +raylib-cpp: raylib::Touch Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Touch Class Reference
+
+
+ +

Input-related functions: touch. + More...

+ + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static int GetPointCount ()
 Get number of touch points.
 
+static int GetPointId (int index)
 Get touch point identifier for given index.
 
+static Vector2 GetPosition (int index)
 Get touch position XY for a touch point index (relative to screen size)
 
+static int GetX ()
 Get touch position X for touch point 0 (relative to screen size)
 
+static int GetY ()
 Get touch position Y for touch point 0 (relative to screen size)
 
+

Detailed Description

+

Input-related functions: touch.

+ +

Definition at line 10 of file Touch.hpp.

+
+ + + + diff --git a/classraylib_1_1_vector2-members.html b/classraylib_1_1_vector2-members.html new file mode 100644 index 00000000..6a678686 --- /dev/null +++ b/classraylib_1_1_vector2-members.html @@ -0,0 +1,147 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Vector2 Member List
+
+
+ +

This is the complete list of members for raylib::Vector2, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(const ::Vector2 &vector2) constraylib::Vector2inline
Angle(const ::Vector2 &vector2) constraylib::Vector2inline
CheckCollision(::Rectangle rec) constraylib::Vector2inline
CheckCollision(::Vector2 center, float radius) constraylib::Vector2inline
CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) constraylib::Vector2inline
CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) constraylib::Vector2inline
CheckCollisionCircle(float radius, ::Rectangle rec) constraylib::Vector2inline
CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) constraylib::Vector2inline
CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold=1)raylib::Vector2inline
Clamp(::Vector2 min, ::Vector2 max)raylib::Vector2inline
Clamp(float min, float max)raylib::Vector2inline
Distance(const ::Vector2 &vector2) constraylib::Vector2inline
DistanceSqr(::Vector2 v2)raylib::Vector2inline
Divide(const ::Vector2 &vector2) constraylib::Vector2inline
Divide(const float div) constraylib::Vector2inline
DotProduct(const ::Vector2 &vector2) constraylib::Vector2inline
DrawCircle(float radius, ::Color color={0, 0, 0, 255}) constraylib::Vector2inline
DrawLine(::Vector2 endPos, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2)raylib::Vector2inline
DrawLine(::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2)raylib::Vector2inline
DrawLineBezier(::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2)raylib::Vector2inline
DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color={0, 0, 0, 255}) constraylib::Vector2inline
DrawPixel(::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2)raylib::Vector2inline
DrawPoly(int sides, float radius, float rotation, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2)raylib::Vector2inline
DrawRectangle(::Vector2 size, ::Color color={0, 0, 0, 255}) const (defined in raylib::Vector2)raylib::Vector2inline
Equals(::Vector2 q)raylib::Vector2inline
GetX() constraylib::Vector2inline
GetY() constraylib::Vector2inline
Invert()raylib::Vector2inline
Length() constraylib::Vector2inline
LengthSqr() constraylib::Vector2inline
Lerp(const ::Vector2 &vector2, float amount) constraylib::Vector2inline
MoveTowards(const ::Vector2 &target, float maxDistance) constraylib::Vector2inline
Multiply(const ::Vector2 &vector2) constraylib::Vector2inline
Negate() constraylib::Vector2inline
Normalize() constraylib::Vector2inline
One()raylib::Vector2inlinestatic
operator!=(const ::Vector2 &other)raylib::Vector2inline
operator*(const ::Vector2 &vector2) constraylib::Vector2inline
operator*(const float scale) constraylib::Vector2inline
operator*=(const ::Vector2 &vector2)raylib::Vector2inline
operator*=(const float scale)raylib::Vector2inline
operator+(const ::Vector2 &vector2) constraylib::Vector2inline
operator+=(const ::Vector2 &vector2)raylib::Vector2inline
operator-(const ::Vector2 &vector2) constraylib::Vector2inline
operator-() constraylib::Vector2inline
operator-=(const ::Vector2 &vector2)raylib::Vector2inline
operator/(const ::Vector2 &vector2) constraylib::Vector2inline
operator/(const float div) constraylib::Vector2inline
operator/=(const ::Vector2 &vector2)raylib::Vector2inline
operator/=(const float div)raylib::Vector2inline
operator=(const ::Vector2 &vector2)raylib::Vector2inline
operator==(const ::Vector2 &other)raylib::Vector2inline
Reflect(const ::Vector2 &normal) constraylib::Vector2inline
Rotate(float degrees) constraylib::Vector2inline
Scale(const float scale) constraylib::Vector2inline
SetX(float value)raylib::Vector2inline
SetY(float value)raylib::Vector2inline
Subtract(const ::Vector2 &vector2) constraylib::Vector2inline
Transform(::Matrix mat)raylib::Vector2inline
Vector2(const ::Vector2 &vec) (defined in raylib::Vector2)raylib::Vector2inline
Vector2(float x, float y) (defined in raylib::Vector2)raylib::Vector2inline
Vector2(float x) (defined in raylib::Vector2)raylib::Vector2inline
Vector2() (defined in raylib::Vector2)raylib::Vector2inline
Zero()raylib::Vector2inlinestatic
+ + + + diff --git a/classraylib_1_1_vector2.html b/classraylib_1_1_vector2.html new file mode 100644 index 00000000..b60fd21f --- /dev/null +++ b/classraylib_1_1_vector2.html @@ -0,0 +1,470 @@ + + + + + + + +raylib-cpp: raylib::Vector2 Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Vector2 Class Reference
+
+
+ +

Vector2 type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Vector2 (const ::Vector2 &vec)
 
Vector2 (float x)
 
Vector2 (float x, float y)
 
+Vector2 Add (const ::Vector2 &vector2) const
 Add two vectors (v1 + v2)
 
+float Angle (const ::Vector2 &vector2) const
 Calculate angle from two vectors in X-axis.
 
+bool CheckCollision (::Rectangle rec) const
 Check if point is inside rectangle.
 
+bool CheckCollision (::Vector2 center, float radius) const
 Check if point is inside circle.
 
+bool CheckCollision (::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
 Check if point is inside a triangle.
 
+bool CheckCollisionCircle (float radius, ::Rectangle rec) const
 Check collision between circle and rectangle.
 
+bool CheckCollisionCircle (float radius1, ::Vector2 center2, float radius2) const
 Check collision between two circles.
 
+bool CheckCollisionLines (::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
 Check the collision between two lines defined by two points each, returns collision point by reference.
 
+bool CheckCollisionPointLine (::Vector2 p1, ::Vector2 p2, int threshold=1)
 Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold].
 
+Vector2 Clamp (::Vector2 min, ::Vector2 max)
 Clamp the components of the vector between.
 
+Vector2 Clamp (float min, float max)
 // Clamp the magnitude of the vector between two min and max values
 
+float Distance (const ::Vector2 &vector2) const
 Calculate distance between two vectors.
 
+float DistanceSqr (::Vector2 v2)
 Calculate square distance between two vectors.
 
+Vector2 Divide (const ::Vector2 &vector2) const
 Divide vector by vector.
 
+Vector2 Divide (const float div) const
 Divide vector by value.
 
+float DotProduct (const ::Vector2 &vector2) const
 Calculate two vectors dot product.
 
+void DrawCircle (float radius, ::Color color={0, 0, 0, 255}) const
 Draw a color-filled circle (Vector version)
 
+void DrawLine (::Vector2 endPos, ::Color color={0, 0, 0, 255}) const
 
+void DrawLine (::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const
 
+void DrawLineBezier (::Vector2 endPos, float thick, ::Color color={0, 0, 0, 255}) const
 
+void DrawLineBezierQuad (::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color={0, 0, 0, 255}) const
 Draw line using quadratic bezier curves with a control point.
 
+void DrawPixel (::Color color={0, 0, 0, 255}) const
 
+void DrawPoly (int sides, float radius, float rotation, ::Color color={0, 0, 0, 255}) const
 
+void DrawRectangle (::Vector2 size, ::Color color={0, 0, 0, 255}) const
 
+int Equals (::Vector2 q)
 Check whether two given vectors are almost equal.
 
float GetX () const
 Retrieves the x value for the object. More...
 
float GetY () const
 Retrieves the y value for the object. More...
 
+Vector2 Invert ()
 Invert the given vector.
 
+float Length () const
 Calculate vector length.
 
+float LengthSqr () const
 Calculate vector square length.
 
+Vector2 Lerp (const ::Vector2 &vector2, float amount) const
 Calculate linear interpolation between two vectors.
 
+Vector2 MoveTowards (const ::Vector2 &target, float maxDistance) const
 Move Vector towards target.
 
+Vector2 Multiply (const ::Vector2 &vector2) const
 Multiply vector by vector.
 
+Vector2 Negate () const
 Negate vector.
 
+Vector2 Normalize () const
 Normalize provided vector.
 
+bool operator!= (const ::Vector2 &other)
 Determines if the vectors are not equal.
 
+Vector2 operator* (const ::Vector2 &vector2) const
 Multiply vector by vector.
 
+Vector2 operator* (const float scale) const
 Scale vector (multiply by value)
 
+Vector2operator*= (const ::Vector2 &vector2)
 Multiply vector by vector.
 
+Vector2operator*= (const float scale)
 Scale vector (multiply by value)
 
+Vector2 operator+ (const ::Vector2 &vector2) const
 Add two vectors (v1 + v2)
 
+Vector2operator+= (const ::Vector2 &vector2)
 Add two vectors (v1 + v2)
 
+Vector2 operator- () const
 Negate vector.
 
+Vector2 operator- (const ::Vector2 &vector2) const
 Subtract two vectors (v1 - v2)
 
+Vector2operator-= (const ::Vector2 &vector2)
 Add two vectors (v1 + v2)
 
+Vector2 operator/ (const ::Vector2 &vector2) const
 Divide vector by vector.
 
+Vector2 operator/ (const float div) const
 Divide vector by value.
 
+Vector2operator/= (const ::Vector2 &vector2)
 Divide vector by vector.
 
+Vector2operator/= (const float div)
 Divide vector by value.
 
+Vector2operator= (const ::Vector2 &vector2)
 Set the Vector2 to the same as the given Vector2.
 
+bool operator== (const ::Vector2 &other)
 Determine whether or not the vectors are equal.
 
+Vector2 Reflect (const ::Vector2 &normal) const
 Calculate reflected vector to normal.
 
+Vector2 Rotate (float degrees) const
 Rotate Vector by float in Degrees.
 
+Vector2 Scale (const float scale) const
 Scale vector (multiply by value)
 
void SetX (float value)
 Sets the x value for the object. More...
 
void SetY (float value)
 Sets the y value for the object. More...
 
+Vector2 Subtract (const ::Vector2 &vector2) const
 Subtract two vectors (v1 - v2)
 
+Vector2 Transform (::Matrix mat)
 Transforms a Vector2 by a given Matrix.
 
+ + + + + + + +

+Static Public Member Functions

+static Vector2 One ()
 Vector with components value 1.0f.
 
+static Vector2 Zero ()
 Vector with components value 0.0f.
 
+

Detailed Description

+

Vector2 type.

+ +

Definition at line 16 of file Vector2.hpp.

+

Member Function Documentation

+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector2::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 24 of file Vector2.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector2::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 25 of file Vector2.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector2::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 24 of file Vector2.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector2::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 25 of file Vector2.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_vector3-members.html b/classraylib_1_1_vector3-members.html new file mode 100644 index 00000000..f038076c --- /dev/null +++ b/classraylib_1_1_vector3-members.html @@ -0,0 +1,149 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Vector3 Member List
+
+
+ +

This is the complete list of members for raylib::Vector3, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Add(const ::Vector3 &vector3)raylib::Vector3inline
Barycenter(const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c) (defined in raylib::Vector3)raylib::Vector3inline
CheckCollision(float radius1, const ::Vector3 &center2, float radius2)raylib::Vector3inline
CrossProduct(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
Distance(const ::Vector3 &vector3) const (defined in raylib::Vector3)raylib::Vector3inline
Divide(const ::Vector3 &vector3) constraylib::Vector3inline
Divide(const float div) constraylib::Vector3inline
DotProduct(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
DrawCircle3D(float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCube(float width, float height, float length, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCube(const ::Vector3 &size, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCubeTexture(const ::Texture2D &texture, float width, float height, float length, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCubeWires(float width, float height, float length, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCubeWires(const ::Vector3 &size, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCylinder(float radiusTop, float radiusBottom, float height, int slices, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawCylinderWires(float radiusTop, float radiusBottom, float height, int slices, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawLine3D(const ::Vector3 &endPos, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawPlane(const ::Vector2 &size, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawPoint3D(::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawSphere(float radius, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawSphere(float radius, int rings, int slices, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
DrawSphereWires(float radius, int rings, int slices, ::Color color) const (defined in raylib::Vector3)raylib::Vector3inline
GetX() constraylib::Vector3inline
GetY() constraylib::Vector3inline
GetZ() constraylib::Vector3inline
Length() constraylib::Vector3inline
Lerp(const ::Vector3 &vector3, const float amount) const (defined in raylib::Vector3)raylib::Vector3inline
Max(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
Min(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
Multiply(const ::Vector3 &vector3) constraylib::Vector3inline
Negate()raylib::Vector3inline
Normalize() const (defined in raylib::Vector3)raylib::Vector3inline
One() (defined in raylib::Vector3)raylib::Vector3inlinestatic
operator!=(const ::Vector3 &other) (defined in raylib::Vector3)raylib::Vector3inline
operator*(const ::Vector3 &vector3) constraylib::Vector3inline
operator*(const float scaler) constraylib::Vector3inline
operator*=(const ::Vector3 &vector3)raylib::Vector3inline
operator*=(const float scaler)raylib::Vector3inline
operator+(const ::Vector3 &vector3)raylib::Vector3inline
operator+=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator-(const ::Vector3 &vector3)raylib::Vector3inline
operator-()raylib::Vector3inline
operator-=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator/(const ::Vector3 &vector3) constraylib::Vector3inline
operator/(const float div) constraylib::Vector3inline
operator/=(const ::Vector3 &vector3)raylib::Vector3inline
operator/=(const float div)raylib::Vector3inline
operator=(const ::Vector3 &vector3) (defined in raylib::Vector3)raylib::Vector3inline
operator==(const ::Vector3 &other) (defined in raylib::Vector3)raylib::Vector3inline
OrthoNormalize(::Vector3 *vector3) (defined in raylib::Vector3)raylib::Vector3inline
Perpendicular() const (defined in raylib::Vector3)raylib::Vector3inline
Reflect(const ::Vector3 &normal) const (defined in raylib::Vector3)raylib::Vector3inline
RotateByQuaternion(const ::Quaternion &quaternion) (defined in raylib::Vector3)raylib::Vector3inline
Scale(const float scaler) constraylib::Vector3inline
SetX(float value)raylib::Vector3inline
SetY(float value)raylib::Vector3inline
SetZ(float value)raylib::Vector3inline
Subtract(const ::Vector3 &vector3)raylib::Vector3inline
Transform(const ::Matrix &matrix) const (defined in raylib::Vector3)raylib::Vector3inline
Vector3(const ::Vector3 &vec) (defined in raylib::Vector3)raylib::Vector3inline
Vector3(float x, float y, float z) (defined in raylib::Vector3)raylib::Vector3inline
Vector3(float x, float y) (defined in raylib::Vector3)raylib::Vector3inline
Vector3(float x) (defined in raylib::Vector3)raylib::Vector3inline
Vector3() (defined in raylib::Vector3)raylib::Vector3inline
Vector3(::Color color) (defined in raylib::Vector3)raylib::Vector3inline
Zero() (defined in raylib::Vector3)raylib::Vector3inlinestatic
+ + + + diff --git a/classraylib_1_1_vector3.html b/classraylib_1_1_vector3.html new file mode 100644 index 00000000..223bf1a1 --- /dev/null +++ b/classraylib_1_1_vector3.html @@ -0,0 +1,512 @@ + + + + + + + +raylib-cpp: raylib::Vector3 Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Vector3 Class Reference
+
+
+ +

Vector3 type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Vector3 (::Color color)
 
Vector3 (const ::Vector3 &vec)
 
Vector3 (float x)
 
Vector3 (float x, float y)
 
Vector3 (float x, float y, float z)
 
+Vector3 Add (const ::Vector3 &vector3)
 Add two vectors.
 
+Vector3 Barycenter (const ::Vector3 &a, const ::Vector3 &b, const ::Vector3 &c)
 
+bool CheckCollision (float radius1, const ::Vector3 &center2, float radius2)
 Detect collision between two spheres.
 
+Vector3 CrossProduct (const ::Vector3 &vector3) const
 
+float Distance (const ::Vector3 &vector3) const
 
+Vector3 Divide (const ::Vector3 &vector3) const
 Divide vector by vector.
 
+Vector3 Divide (const float div) const
 Divide a vector by a value.
 
+float DotProduct (const ::Vector3 &vector3)
 
+void DrawCircle3D (float radius, const ::Vector3 &rotationAxis, float rotationAngle, Color color) const
 
+void DrawCube (const ::Vector3 &size, ::Color color) const
 
+void DrawCube (float width, float height, float length, ::Color color) const
 
+void DrawCubeTexture (const ::Texture2D &texture, float width, float height, float length, ::Color color) const
 
+void DrawCubeWires (const ::Vector3 &size, ::Color color) const
 
+void DrawCubeWires (float width, float height, float length, ::Color color) const
 
+void DrawCylinder (float radiusTop, float radiusBottom, float height, int slices, ::Color color) const
 
+void DrawCylinderWires (float radiusTop, float radiusBottom, float height, int slices, ::Color color) const
 
+void DrawLine3D (const ::Vector3 &endPos, ::Color color) const
 
+void DrawPlane (const ::Vector2 &size, ::Color color) const
 
+void DrawPoint3D (::Color color) const
 
+void DrawSphere (float radius, ::Color color) const
 
+void DrawSphere (float radius, int rings, int slices, ::Color color) const
 
+void DrawSphereWires (float radius, int rings, int slices, ::Color color) const
 
float GetX () const
 Retrieves the x value for the object. More...
 
float GetY () const
 Retrieves the y value for the object. More...
 
float GetZ () const
 Retrieves the z value for the object. More...
 
+float Length () const
 Calculate vector length.
 
+Vector3 Lerp (const ::Vector3 &vector3, const float amount) const
 
+Vector3 Max (const ::Vector3 &vector3)
 
+Vector3 Min (const ::Vector3 &vector3)
 
+Vector3 Multiply (const ::Vector3 &vector3) const
 Multiply vector by vector.
 
+Vector3 Negate ()
 Negate provided vector (invert direction)
 
+Vector3 Normalize () const
 
+bool operator!= (const ::Vector3 &other)
 
+Vector3 operator* (const ::Vector3 &vector3) const
 Multiply vector by vector.
 
+Vector3 operator* (const float scaler) const
 Multiply vector by scalar.
 
+Vector3operator*= (const ::Vector3 &vector3)
 Multiply vector by vector.
 
+Vector3operator*= (const float scaler)
 Multiply vector by scalar.
 
+Vector3 operator+ (const ::Vector3 &vector3)
 Add two vectors.
 
+Vector3operator+= (const ::Vector3 &vector3)
 
+Vector3 operator- ()
 Negate provided vector (invert direction)
 
+Vector3 operator- (const ::Vector3 &vector3)
 Subtract two vectors.
 
+Vector3operator-= (const ::Vector3 &vector3)
 
+Vector3 operator/ (const ::Vector3 &vector3) const
 Divide vector by vector.
 
+Vector3 operator/ (const float div) const
 Divide a vector by a value.
 
+Vector3operator/= (const ::Vector3 &vector3)
 Divide vector by vector.
 
+Vector3operator/= (const float div)
 Divide a vector by a value.
 
+Vector3operator= (const ::Vector3 &vector3)
 
+bool operator== (const ::Vector3 &other)
 
+void OrthoNormalize (::Vector3 *vector3)
 
+Vector3 Perpendicular () const
 
+Vector3 Reflect (const ::Vector3 &normal) const
 
+Vector3 RotateByQuaternion (const ::Quaternion &quaternion)
 
+Vector3 Scale (const float scaler) const
 Multiply vector by scalar.
 
void SetX (float value)
 Sets the x value for the object. More...
 
void SetY (float value)
 Sets the y value for the object. More...
 
void SetZ (float value)
 Sets the z value for the object. More...
 
+Vector3 Subtract (const ::Vector3 &vector3)
 Subtract two vectors.
 
+Vector3 Transform (const ::Matrix &matrix) const
 
+ + + + + +

+Static Public Member Functions

+static Vector3 One ()
 
+static Vector3 Zero ()
 
+

Detailed Description

+

Vector3 type.

+ +

Definition at line 16 of file Vector3.hpp.

+

Member Function Documentation

+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 29 of file Vector3.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 30 of file Vector3.hpp.

+ +
+
+ +

◆ GetZ()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector3::GetZ () const
+
+inline
+
+ +

Retrieves the z value for the object.

+
Returns
The z value of the object.
+ +

Definition at line 31 of file Vector3.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 29 of file Vector3.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 30 of file Vector3.hpp.

+ +
+
+ +

◆ SetZ()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector3::SetZ (float value)
+
+inline
+
+ +

Sets the z value for the object.

+
Parameters
+ + +
valueThe value of which to set z to.
+
+
+ +

Definition at line 31 of file Vector3.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_vector4-members.html b/classraylib_1_1_vector4-members.html new file mode 100644 index 00000000..c12ee279 --- /dev/null +++ b/classraylib_1_1_vector4-members.html @@ -0,0 +1,125 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Vector4 Member List
+
+
+ +

This is the complete list of members for raylib::Vector4, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ColorFromNormalized() const (defined in raylib::Vector4)raylib::Vector4inline
FromAxisAngle(const ::Vector3 &axis, const float angle) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromEuler(const float yaw, const float pitch, const float roll) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromEuler(const ::Vector3 &vector3) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromMatrix(const ::Matrix &matrix) (defined in raylib::Vector4)raylib::Vector4inlinestatic
FromVector3ToVector3(const ::Vector3 &from, const ::Vector3 &to) (defined in raylib::Vector4)raylib::Vector4inlinestatic
GetW() constraylib::Vector4inline
GetX() constraylib::Vector4inline
GetY() constraylib::Vector4inline
GetZ() constraylib::Vector4inline
Identity() (defined in raylib::Vector4)raylib::Vector4inlinestatic
Invert() const (defined in raylib::Vector4)raylib::Vector4inline
Length() const (defined in raylib::Vector4)raylib::Vector4inline
Lerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
Multiply(const ::Vector4 &vector4) const (defined in raylib::Vector4)raylib::Vector4inline
Nlerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
Normalize() const (defined in raylib::Vector4)raylib::Vector4inline
operator Color() (defined in raylib::Vector4)raylib::Vector4inline
operator!=(const ::Vector4 &other) (defined in raylib::Vector4)raylib::Vector4inline
operator*(const ::Vector4 &vector4) const (defined in raylib::Vector4)raylib::Vector4inline
operator::Rectangle() const (defined in raylib::Vector4)raylib::Vector4inline
operator=(const ::Vector4 &vector4) (defined in raylib::Vector4)raylib::Vector4inline
operator==(const ::Vector4 &other) (defined in raylib::Vector4)raylib::Vector4inline
SetW(float value)raylib::Vector4inline
SetX(float value)raylib::Vector4inline
SetY(float value)raylib::Vector4inline
SetZ(float value)raylib::Vector4inline
Slerp(const ::Vector4 &vector4, float amount) const (defined in raylib::Vector4)raylib::Vector4inline
ToAxisAngle(::Vector3 *outAxis, float *outAngle) (defined in raylib::Vector4)raylib::Vector4inline
ToAxisAngle()raylib::Vector4inline
ToEuler() (defined in raylib::Vector4)raylib::Vector4inline
ToMatrix() const (defined in raylib::Vector4)raylib::Vector4inline
ToRectangle() (defined in raylib::Vector4)raylib::Vector4inline
Transform(const ::Matrix &matrix) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(const ::Vector4 &vec) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x, float y, float z, float w) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x, float y, float z) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x, float y) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(float x) (defined in raylib::Vector4)raylib::Vector4inline
Vector4() (defined in raylib::Vector4)raylib::Vector4inline
Vector4(::Rectangle rectangle) (defined in raylib::Vector4)raylib::Vector4inline
Vector4(::Color color) (defined in raylib::Vector4)raylib::Vector4inline
+ + + + diff --git a/classraylib_1_1_vector4.html b/classraylib_1_1_vector4.html new file mode 100644 index 00000000..8a95d38e --- /dev/null +++ b/classraylib_1_1_vector4.html @@ -0,0 +1,487 @@ + + + + + + + +raylib-cpp: raylib::Vector4 Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Vector4 Class Reference
+
+
+ +

Vector4 type. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Vector4 (::Color color)
 
Vector4 (::Rectangle rectangle)
 
Vector4 (const ::Vector4 &vec)
 
Vector4 (float x)
 
Vector4 (float x, float y)
 
Vector4 (float x, float y, float z)
 
Vector4 (float x, float y, float z, float w)
 
+Color ColorFromNormalized () const
 
float GetW () const
 Retrieves the w value for the object. More...
 
float GetX () const
 Retrieves the x value for the object. More...
 
float GetY () const
 Retrieves the y value for the object. More...
 
float GetZ () const
 Retrieves the z value for the object. More...
 
+Vector4 Invert () const
 
+float Length () const
 
+Vector4 Lerp (const ::Vector4 &vector4, float amount) const
 
+Vector4 Multiply (const ::Vector4 &vector4) const
 
+Vector4 Nlerp (const ::Vector4 &vector4, float amount) const
 
+Vector4 Normalize () const
 
operator Color ()
 
+bool operator!= (const ::Vector4 &other)
 
+Vector4 operator* (const ::Vector4 &vector4) const
 
operator::Rectangle () const
 
+Vector4operator= (const ::Vector4 &vector4)
 
+bool operator== (const ::Vector4 &other)
 
void SetW (float value)
 Sets the w value for the object. More...
 
void SetX (float value)
 Sets the x value for the object. More...
 
void SetY (float value)
 Sets the y value for the object. More...
 
void SetZ (float value)
 Sets the z value for the object. More...
 
+Vector4 Slerp (const ::Vector4 &vector4, float amount) const
 
+std::pair< Vector3, float > ToAxisAngle ()
 Get the rotation angle and axis for a given quaternion.
 
+void ToAxisAngle (::Vector3 *outAxis, float *outAngle)
 
+Vector3 ToEuler ()
 
+Matrix ToMatrix () const
 
+inline ::Rectangle ToRectangle ()
 
+Vector4 Transform (const ::Matrix &matrix)
 
+ + + + + + + + + + + + + +

+Static Public Member Functions

+static Vector4 FromAxisAngle (const ::Vector3 &axis, const float angle)
 
+static Vector4 FromEuler (const ::Vector3 &vector3)
 
+static Vector4 FromEuler (const float yaw, const float pitch, const float roll)
 
+static Vector4 FromMatrix (const ::Matrix &matrix)
 
+static Vector4 FromVector3ToVector3 (const ::Vector3 &from, const ::Vector3 &to)
 
+static Vector4 Identity ()
 
+

Detailed Description

+

Vector4 type.

+ +

Definition at line 17 of file Vector4.hpp.

+

Member Function Documentation

+ +

◆ GetW()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetW () const
+
+inline
+
+ +

Retrieves the w value for the object.

+
Returns
The w value of the object.
+ +

Definition at line 35 of file Vector4.hpp.

+ +
+
+ +

◆ GetX()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetX () const
+
+inline
+
+ +

Retrieves the x value for the object.

+
Returns
The x value of the object.
+ +

Definition at line 32 of file Vector4.hpp.

+ +
+
+ +

◆ GetY()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetY () const
+
+inline
+
+ +

Retrieves the y value for the object.

+
Returns
The y value of the object.
+ +

Definition at line 33 of file Vector4.hpp.

+ +
+
+ +

◆ GetZ()

+ +
+
+ + + + + +
+ + + + + + + +
float raylib::Vector4::GetZ () const
+
+inline
+
+ +

Retrieves the z value for the object.

+
Returns
The z value of the object.
+ +

Definition at line 34 of file Vector4.hpp.

+ +
+
+ +

◆ SetW()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetW (float value)
+
+inline
+
+ +

Sets the w value for the object.

+
Parameters
+ + +
valueThe value of which to set w to.
+
+
+ +

Definition at line 35 of file Vector4.hpp.

+ +
+
+ +

◆ SetX()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetX (float value)
+
+inline
+
+ +

Sets the x value for the object.

+
Parameters
+ + +
valueThe value of which to set x to.
+
+
+ +

Definition at line 32 of file Vector4.hpp.

+ +
+
+ +

◆ SetY()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetY (float value)
+
+inline
+
+ +

Sets the y value for the object.

+
Parameters
+ + +
valueThe value of which to set y to.
+
+
+ +

Definition at line 33 of file Vector4.hpp.

+ +
+
+ +

◆ SetZ()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Vector4::SetZ (float value)
+
+inline
+
+ +

Sets the z value for the object.

+
Parameters
+ + +
valueThe value of which to set z to.
+
+
+ +

Definition at line 34 of file Vector4.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_vr_stereo_config-members.html b/classraylib_1_1_vr_stereo_config-members.html new file mode 100644 index 00000000..31ca8332 --- /dev/null +++ b/classraylib_1_1_vr_stereo_config-members.html @@ -0,0 +1,89 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::VrStereoConfig Member List
+
+
+ +

This is the complete list of members for raylib::VrStereoConfig, including all inherited members.

+ + + + + + + +
BeginMode()raylib::VrStereoConfiginline
EndMode()raylib::VrStereoConfiginline
Load(const ::VrDeviceInfo &info)raylib::VrStereoConfiginline
Unload()raylib::VrStereoConfiginline
VrStereoConfig(const ::VrDeviceInfo &info) (defined in raylib::VrStereoConfig)raylib::VrStereoConfiginline
~VrStereoConfig()raylib::VrStereoConfiginline
+ + + + diff --git a/classraylib_1_1_vr_stereo_config.html b/classraylib_1_1_vr_stereo_config.html new file mode 100644 index 00000000..5f7e9796 --- /dev/null +++ b/classraylib_1_1_vr_stereo_config.html @@ -0,0 +1,117 @@ + + + + + + + +raylib-cpp: raylib::VrStereoConfig Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::VrStereoConfig Class Reference
+
+
+ +

VR stereo config functions for VR simulator. + More...

+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

VrStereoConfig (const ::VrDeviceInfo &info)
 
~VrStereoConfig ()
 Unload VR stereo config.
 
+VrStereoConfigBeginMode ()
 Begin stereo rendering.
 
+VrStereoConfigEndMode ()
 End stereo rendering.
 
+void Load (const ::VrDeviceInfo &info)
 Load VR stereo config for VR simulator device parameters.
 
+void Unload ()
 Unload VR stereo config.
 
+

Detailed Description

+

VR stereo config functions for VR simulator.

+ +

Definition at line 11 of file VrStereoConfig.hpp.

+
+ + + + diff --git a/classraylib_1_1_wave-members.html b/classraylib_1_1_wave-members.html new file mode 100644 index 00000000..3a8d4462 --- /dev/null +++ b/classraylib_1_1_wave-members.html @@ -0,0 +1,116 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Wave Member List
+
+
+ +

This is the complete list of members for raylib::Wave, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Copy() constraylib::Waveinline
Crop(int initSample, int finalSample)raylib::Waveinline
Export(const std::string &fileName)raylib::Waveinline
ExportAsCode(const std::string &fileName)raylib::Waveinline
Format(int SampleRate, int SampleSize, int Channels=2)raylib::Waveinline
GetChannels() constraylib::Waveinline
GetData() constraylib::Waveinline
GetFrameCount() constraylib::Waveinline
GetSampleRate() constraylib::Waveinline
GetSampleSize() constraylib::Waveinline
IsReady() constraylib::Waveinline
Load(const std::string &fileName)raylib::Waveinline
Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
LoadSamples()raylib::Waveinline
LoadSound()raylib::Waveinline
operator::Sound()raylib::Waveinline
operator=(const ::Wave &wave) (defined in raylib::Wave)raylib::Waveinline
operator=(const Wave &other) (defined in raylib::Wave)raylib::Waveinline
operator=(Wave &&other) noexcept (defined in raylib::Wave)raylib::Waveinline
SetChannels(unsigned int value)raylib::Waveinline
SetData(void *value)raylib::Waveinline
SetFrameCount(unsigned int value)raylib::Waveinline
SetSampleRate(unsigned int value)raylib::Waveinline
SetSampleSize(unsigned int value)raylib::Waveinline
Unload()raylib::Waveinline
UnloadSamples(float *samples)raylib::Waveinlinestatic
Wave(const ::Wave &wave) (defined in raylib::Wave)raylib::Waveinline
Wave(unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr) (defined in raylib::Wave)raylib::Waveinline
Wave(const std::string &fileName)raylib::Waveinline
Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Waveinline
Wave(const Wave &other) (defined in raylib::Wave)raylib::Waveinline
Wave(Wave &&other) (defined in raylib::Wave)raylib::Waveinline
~Wave()raylib::Waveinline
+ + + + diff --git a/classraylib_1_1_wave.html b/classraylib_1_1_wave.html new file mode 100644 index 00000000..227b63d4 --- /dev/null +++ b/classraylib_1_1_wave.html @@ -0,0 +1,760 @@ + + + + + + + +raylib-cpp: raylib::Wave Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +

Wave type, defines audio wave data. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Wave (const ::Wave &wave)
 
 Wave (const std::string &fileName)
 Load wave data from file. More...
 
 Wave (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load wave from memory buffer, fileType refers to extension: i.e. More...
 
Wave (const Wave &other)
 
Wave (unsigned int frameCount=0, unsigned int sampleRate=0, unsigned int sampleSize=0, unsigned int channels=0, void *data=nullptr)
 
Wave (Wave &&other)
 
~Wave ()
 Unload wave data.
 
+inline ::Wave Copy () const
 Copy a wave to a new wave.
 
+WaveCrop (int initSample, int finalSample)
 Crop a wave to defined samples range.
 
+bool Export (const std::string &fileName)
 Export wave data to file, returns true on success.
 
+bool ExportAsCode (const std::string &fileName)
 Export wave sample data to code (.h), returns true on success.
 
+WaveFormat (int SampleRate, int SampleSize, int Channels=2)
 Convert wave data to desired format.
 
unsigned int GetChannels () const
 Retrieves the channels value for the object. More...
 
void * GetData () const
 Retrieves the data value for the object. More...
 
unsigned int GetFrameCount () const
 Retrieves the frameCount value for the object. More...
 
unsigned int GetSampleRate () const
 Retrieves the sampleRate value for the object. More...
 
unsigned int GetSampleSize () const
 Retrieves the sampleSize value for the object. More...
 
bool IsReady () const
 Retrieve whether or not the Wave data has been loaded. More...
 
void Load (const std::string &fileName)
 Load wave data from file. More...
 
void Load (const std::string &fileType, const unsigned char *fileData, int dataSize)
 Load wave from memory buffer, fileType refers to extension: i.e. More...
 
+float * LoadSamples ()
 Load samples data from wave as a floats array.
 
+inline ::Sound LoadSound ()
 Load sound from wave data.
 
operator::Sound ()
 Load sound from wave data.
 
+Waveoperator= (const ::Wave &wave)
 
+Waveoperator= (const Wave &other)
 
+Waveoperator= (Wave &&other) noexcept
 
void SetChannels (unsigned int value)
 Sets the channels value for the object. More...
 
void SetData (void *value)
 Sets the data value for the object. More...
 
void SetFrameCount (unsigned int value)
 Sets the frameCount value for the object. More...
 
void SetSampleRate (unsigned int value)
 Sets the sampleRate value for the object. More...
 
void SetSampleSize (unsigned int value)
 Sets the sampleSize value for the object. More...
 
+void Unload ()
 Unload wave data.
 
+ + + + +

+Static Public Member Functions

+static void UnloadSamples (float *samples)
 Unload samples data loaded with LoadWaveSamples()
 
+

Detailed Description

+

Wave type, defines audio wave data.

+ +

Definition at line 14 of file Wave.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Wave() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
raylib::Wave::Wave (const std::string & fileName)
+
+inline
+
+ +

Load wave data from file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Wave failed to load.
+
+
+ +

Definition at line 34 of file Wave.hpp.

+ +

References Load().

+ +
+
+ +

◆ Wave() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Wave::Wave (const std::string & fileType,
const unsigned char * fileData,
int dataSize 
)
+
+inline
+
+ +

Load wave from memory buffer, fileType refers to extension: i.e.

+

"wav"

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Wave failed to load.
+
+
+ +

Definition at line 43 of file Wave.hpp.

+ +

References Load().

+ +
+
+

Member Function Documentation

+ +

◆ GetChannels()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetChannels () const
+
+inline
+
+ +

Retrieves the channels value for the object.

+
Returns
The channels value of the object.
+ +

Definition at line 71 of file Wave.hpp.

+ +
+
+ +

◆ GetData()

+ +
+
+ + + + + +
+ + + + + + + +
void* raylib::Wave::GetData () const
+
+inline
+
+ +

Retrieves the data value for the object.

+
Returns
The data value of the object.
+ +

Definition at line 72 of file Wave.hpp.

+ +
+
+ +

◆ GetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetFrameCount () const
+
+inline
+
+ +

Retrieves the frameCount value for the object.

+
Returns
The frameCount value of the object.
+ +

Definition at line 68 of file Wave.hpp.

+ +
+
+ +

◆ GetSampleRate()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetSampleRate () const
+
+inline
+
+ +

Retrieves the sampleRate value for the object.

+
Returns
The sampleRate value of the object.
+ +

Definition at line 69 of file Wave.hpp.

+ +
+
+ +

◆ GetSampleSize()

+ +
+
+ + + + + +
+ + + + + + + +
unsigned int raylib::Wave::GetSampleSize () const
+
+inline
+
+ +

Retrieves the sampleSize value for the object.

+
Returns
The sampleSize value of the object.
+ +

Definition at line 70 of file Wave.hpp.

+ +
+
+ +

◆ IsReady()

+ +
+
+ + + + + +
+ + + + + + + +
bool raylib::Wave::IsReady () const
+
+inline
+
+ +

Retrieve whether or not the Wave data has been loaded.

+
Returns
True or false depending on whether the wave data has been loaded.
+ +

Definition at line 214 of file Wave.hpp.

+ +

Referenced by Load().

+ +
+
+ +

◆ Load() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::Load (const std::string & fileName)
+
+inline
+
+ +

Load wave data from file.

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Wave failed to load.
+
+
+ +

Definition at line 190 of file Wave.hpp.

+ +

References IsReady().

+ +

Referenced by Wave().

+ +
+
+ +

◆ Load() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Wave::Load (const std::string & fileType,
const unsigned char * fileData,
int dataSize 
)
+
+inline
+
+ +

Load wave from memory buffer, fileType refers to extension: i.e.

+

"wav"

+
Exceptions
+ + +
raylib::RaylibExceptionThrows if the Wave failed to load.
+
+
+ +

Definition at line 202 of file Wave.hpp.

+ +

References IsReady().

+ +
+
+ +

◆ SetChannels()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::SetChannels (unsigned int value)
+
+inline
+
+ +

Sets the channels value for the object.

+
Parameters
+ + +
valueThe value of which to set channels to.
+
+
+ +

Definition at line 71 of file Wave.hpp.

+ +
+
+ +

◆ SetData()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::SetData (void * value)
+
+inline
+
+ +

Sets the data value for the object.

+
Parameters
+ + +
valueThe value of which to set data to.
+
+
+ +

Definition at line 72 of file Wave.hpp.

+ +
+
+ +

◆ SetFrameCount()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::SetFrameCount (unsigned int value)
+
+inline
+
+ +

Sets the frameCount value for the object.

+
Parameters
+ + +
valueThe value of which to set frameCount to.
+
+
+ +

Definition at line 68 of file Wave.hpp.

+ +
+
+ +

◆ SetSampleRate()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::SetSampleRate (unsigned int value)
+
+inline
+
+ +

Sets the sampleRate value for the object.

+
Parameters
+ + +
valueThe value of which to set sampleRate to.
+
+
+ +

Definition at line 69 of file Wave.hpp.

+ +
+
+ +

◆ SetSampleSize()

+ +
+
+ + + + + +
+ + + + + + + + +
void raylib::Wave::SetSampleSize (unsigned int value)
+
+inline
+
+ +

Sets the sampleSize value for the object.

+
Parameters
+ + +
valueThe value of which to set sampleSize to.
+
+
+ +

Definition at line 70 of file Wave.hpp.

+ +
+
+
+ + + + diff --git a/classraylib_1_1_window-members.html b/classraylib_1_1_window-members.html new file mode 100644 index 00000000..316c2c58 --- /dev/null +++ b/classraylib_1_1_window-members.html @@ -0,0 +1,133 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raylib::Window Member List
+
+
+ +

This is the complete list of members for raylib::Window, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BeginDrawing()raylib::Windowinline
ClearBackground(const ::Color &color=BLACK)raylib::Windowinline
ClearState(unsigned int flag)raylib::Windowinline
Close()raylib::Windowinline
DrawFPS(int posX=10, int posY=10) constraylib::Windowinline
EndDrawing()raylib::Windowinline
GetClipboardText()raylib::Windowinline
GetFPS() constraylib::Windowinline
GetFrameTime() constraylib::Windowinline
GetHandle() constraylib::Windowinline
GetHeight() constraylib::Windowinline
GetPosition() constraylib::Windowinline
GetRenderHeight() constraylib::Windowinline
GetRenderWidth() constraylib::Windowinline
GetScaleDPI() constraylib::Windowinline
GetSize() constraylib::Windowinline
GetTime() constraylib::Windowinline
GetWidth() constraylib::Windowinline
Init(int width=800, int height=450, const std::string &title="raylib")raylib::Windowinline
IsCursorOnScreen() constraylib::Windowinline
IsFocused() constraylib::Windowinline
IsFullscreen() constraylib::Windowinline
IsHidden() constraylib::Windowinline
IsMaximized() constraylib::Windowinline
IsMinimized() constraylib::Windowinline
IsReady()raylib::Windowinlinestatic
IsResized() constraylib::Windowinline
IsState(unsigned int flag) constraylib::Windowinline
Maximize()raylib::Windowinline
Minimize()raylib::Windowinline
Restore()raylib::Windowinline
SetClipboardText(const std::string &text)raylib::Windowinline
SetFullscreen(bool fullscreen)raylib::Windowinline
SetIcon(const ::Image &image)raylib::Windowinline
SetMinSize(int width, int height)raylib::Windowinline
SetMinSize(const ::Vector2 &size)raylib::Windowinline
SetMonitor(int monitor)raylib::Windowinline
SetOpacity(float opacity)raylib::Windowinline
SetPosition(int x, int y)raylib::Windowinline
SetPosition(const ::Vector2 &position)raylib::Windowinline
SetSize(int width, int height)raylib::Windowinline
SetSize(const ::Vector2 &size)raylib::Windowinline
SetState(unsigned int flag)raylib::Windowinline
SetTargetFPS(int fps)raylib::Windowinline
SetTitle(const std::string &title)raylib::Windowinline
ShouldClose() constraylib::Windowinline
ToggleFullscreen()raylib::Windowinline
Window()raylib::Windowinline
Window(int width, int height, const std::string &title="raylib")raylib::Windowinline
~Window()raylib::Windowinline
+ + + + diff --git a/classraylib_1_1_window.html b/classraylib_1_1_window.html new file mode 100644 index 00000000..1a02c7b7 --- /dev/null +++ b/classraylib_1_1_window.html @@ -0,0 +1,438 @@ + + + + + + + +raylib-cpp: raylib::Window Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
raylib::Window Class Reference
+
+
+ +

Window and Graphics Device Functions. + More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Window ()
 Build a Window object, but defer the initialization. More...
 
 Window (int width, int height, const std::string &title="raylib")
 Initialize window and OpenGL context. More...
 
~Window ()
 Close window and unload OpenGL context.
 
+WindowBeginDrawing ()
 Setup canvas (framebuffer) to start drawing.
 
+WindowClearBackground (const ::Color &color=BLACK)
 Clear window with given color.
 
+WindowClearState (unsigned int flag)
 Clear window configuration state flags.
 
+void Close ()
 Close window and unload OpenGL context.
 
+void DrawFPS (int posX=10, int posY=10) const
 Draw current FPS.
 
+WindowEndDrawing ()
 End canvas drawing and swap buffers (double buffering)
 
+const std::string GetClipboardText ()
 Get clipboard text content.
 
+int GetFPS () const
 Returns current FPS.
 
+float GetFrameTime () const
 Returns time in seconds for last frame drawn.
 
+void * GetHandle () const
 Get native window handle.
 
+int GetHeight () const
 Get current screen height.
 
+Vector2 GetPosition () const
 Get window position XY on monitor.
 
+int GetRenderHeight () const
 Get current render height (it considers HiDPI)
 
+int GetRenderWidth () const
 Get current render width (it considers HiDPI)
 
+Vector2 GetScaleDPI () const
 Get window scale DPI factor.
 
+Vector2 GetSize () const
 Get the screen's width and height.
 
+double GetTime () const
 Returns elapsed time in seconds since InitWindow()
 
+int GetWidth () const
 Get current screen width.
 
void Init (int width=800, int height=450, const std::string &title="raylib")
 Initializes the window. More...
 
+bool IsCursorOnScreen () const
 Check if cursor is on the current screen.
 
+bool IsFocused () const
 Check if window is currently focused.
 
+bool IsFullscreen () const
 Check if window is currently fullscreen.
 
+bool IsHidden () const
 Check if window is currently hidden.
 
+bool IsMaximized () const
 Check if window is currently minimized.
 
+bool IsMinimized () const
 Check if window is currently minimized.
 
+bool IsResized () const
 Check if window has been resized last frame.
 
+bool IsState (unsigned int flag) const
 Check if one specific window flag is enabled.
 
+WindowMaximize ()
 Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
 
+WindowMinimize ()
 Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
 
+WindowRestore ()
 Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
 
+void SetClipboardText (const std::string &text)
 Set clipboard text content.
 
+WindowSetFullscreen (bool fullscreen)
 Set whether or not the application should be fullscreen.
 
+WindowSetIcon (const ::Image &image)
 Set icon for window.
 
+WindowSetMinSize (const ::Vector2 &size)
 Set window minimum dimensions.
 
+WindowSetMinSize (int width, int height)
 Set window minimum dimensions.
 
+WindowSetMonitor (int monitor)
 Set monitor for the current window.
 
+WindowSetOpacity (float opacity)
 Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
 
+WindowSetPosition (const ::Vector2 &position)
 Set window position on screen.
 
+WindowSetPosition (int x, int y)
 Set window position on screen.
 
+WindowSetSize (const ::Vector2 &size)
 Set window dimensions.
 
+WindowSetSize (int width, int height)
 Set window dimensions.
 
+WindowSetState (unsigned int flag)
 Set window configuration state using flags.
 
+WindowSetTargetFPS (int fps)
 Set target FPS (maximum)
 
+WindowSetTitle (const std::string &title)
 Set title for window.
 
+bool ShouldClose () const
 Check if KEY_ESCAPE pressed or Close icon pressed.
 
+WindowToggleFullscreen ()
 Toggle window state: fullscreen/windowed.
 
+ + + + +

+Static Public Member Functions

+static bool IsReady ()
 Check if window has been initialized successfully.
 
+

Detailed Description

+

Window and Graphics Device Functions.

+ +

Definition at line 14 of file Window.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Window() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
raylib::Window::Window ()
+
+inline
+
+ +

Build a Window object, but defer the initialization.

+

Ensure you call Init() manually.

+
See also
Init()
+ +

Definition at line 21 of file Window.hpp.

+ +
+
+ +

◆ Window() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
raylib::Window::Window (int width,
int height,
const std::string & title = "raylib" 
)
+
+inline
+
+ +

Initialize window and OpenGL context.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the window failed to initiate.
+
+
+ +

Definition at line 30 of file Window.hpp.

+ +

References Init().

+ +
+
+

Member Function Documentation

+ +

◆ Init()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void raylib::Window::Init (int width = 800,
int height = 450,
const std::string & title = "raylib" 
)
+
+inline
+
+ +

Initializes the window.

+
Exceptions
+ + +
raylib::RaylibExceptionThrown if the window failed to initiate.
+
+
+ +

Definition at line 46 of file Window.hpp.

+ +

References raylib::InitWindow().

+ +

Referenced by Window().

+ +
+
+
+ + + + diff --git a/closed.png b/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 00000000..6a1e239b --- /dev/null +++ b/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,80 @@ + + + + + + + +raylib-cpp: include Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
include Directory Reference
+
+
+
+ + + + diff --git a/doc.png b/doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/doxygen.css b/doxygen.css new file mode 100644 index 00000000..ffbff022 --- /dev/null +++ b/doxygen.css @@ -0,0 +1,1793 @@ +/* The standard CSS for doxygen 1.9.1 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +th p.starttd, th p.intertd, th p.endtd { + font-size: 100%; + font-weight: 700; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +p.interli { +} + +p.interdd { +} + +p.intertd { +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.navtab { + border-right: 1px solid #A3B4D7; + padding-right: 15px; + text-align: right; + line-height: 110%; +} + +div.navtab table { + border-spacing: 0; +} + +td.navtab { + padding-right: 6px; + padding-left: 6px; +} +td.navtabHL { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; + width: 100%; + line-height: 140%; + font-size: 130%; + color: #A0A0A0; +} + +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: black; +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.odd { + background-color: #F8F9FC; +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +.contents a.qindexHL:visited { + color: #FFFFFF; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +ul { + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ +} + +#side-nav ul { + overflow: visible; /* reset ul rule for scroll bar in GENERATE_TREEVIEW window */ +} + +#main-nav ul { + overflow: visible; /* reset ul rule for the navigation bar drop down lists */ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #FFFFFF; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl, img.inline { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +blockquote.DocNodeRTL { + border-left: 0; + border-right: 2px solid #9CAFD4; + margin: 0 4px 0 24px; + padding: 0 16px 0 12px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight, .memTemplItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype, .tparams .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir, .tparams .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +.PageDocRTL-title div.headertitle { + text-align: right; + direction: rtl; +} + +dl { + padding: 0 0 0 0; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug, dl.examples */ +dl.section { + margin-left: 0px; + padding-left: 0px; +} + +dl.section.DocNodeRTL { + margin-right: 0px; + padding-right: 0px; +} + +dl.note { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #D0C000; +} + +dl.note.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #FF0000; +} + +dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00D000; +} + +dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00D000; +} + +dl.deprecated { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #505050; +} + +dl.deprecated.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #505050; +} + +dl.todo { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #00C0E0; +} + +dl.todo.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #00C0E0; +} + +dl.test { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #3030E0; +} + +dl.test.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #3030E0; +} + +dl.bug { + margin-left: -7px; + padding-left: 3px; + border-left: 4px solid; + border-color: #C08050; +} + +dl.bug.DocNodeRTL { + margin-left: 0; + padding-left: 0; + border-left: 0; + margin-right: -7px; + padding-right: 3px; + border-right: 4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; + text-align:right; + width:52px; +} + +dl.citelist dd { + margin:2px 0 2px 72px; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +.PageDocRTL-title div.toc { + float: left !important; + text-align: right; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #FFFFFF; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #FFFFFF; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + +.DocNodeRTL { + text-align: right; + direction: rtl; +} + +.DocNodeLTR { + text-align: left; + direction: ltr; +} + +table.DocNodeRTL { + width: auto; + margin-right: 0; + margin-left: auto; +} + +table.DocNodeLTR { + width: auto; + margin-right: auto; + margin-left: 0; +} + +tt, code, kbd, samp +{ + display: inline-block; + direction:ltr; +} +/* @end */ + +u { + text-decoration: underline; +} + diff --git a/doxygen.svg b/doxygen.svg new file mode 100644 index 00000000..d42dad52 --- /dev/null +++ b/doxygen.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dynsections.js b/dynsections.js new file mode 100644 index 00000000..88f2c27e --- /dev/null +++ b/dynsections.js @@ -0,0 +1,128 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (la9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/functions.html b/functions.html new file mode 100644 index 00000000..8f9a0362 --- /dev/null +++ b/functions.html @@ -0,0 +1,110 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+ + + + diff --git a/functions_b.html b/functions_b.html new file mode 100644 index 00000000..c32e7e62 --- /dev/null +++ b/functions_b.html @@ -0,0 +1,89 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+ + + + diff --git a/functions_c.html b/functions_c.html new file mode 100644 index 00000000..66e975c2 --- /dev/null +++ b/functions_c.html @@ -0,0 +1,160 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+ + + + diff --git a/functions_d.html b/functions_d.html new file mode 100644 index 00000000..be2010a6 --- /dev/null +++ b/functions_d.html @@ -0,0 +1,142 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+ + + + diff --git a/functions_e.html b/functions_e.html new file mode 100644 index 00000000..5f009071 --- /dev/null +++ b/functions_e.html @@ -0,0 +1,97 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+ + + + diff --git a/functions_f.html b/functions_f.html new file mode 100644 index 00000000..a59d6e23 --- /dev/null +++ b/functions_f.html @@ -0,0 +1,104 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+ + + + diff --git a/functions_func.html b/functions_func.html new file mode 100644 index 00000000..fd602f2f --- /dev/null +++ b/functions_func.html @@ -0,0 +1,110 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+
+ + + + diff --git a/functions_func_b.html b/functions_func_b.html new file mode 100644 index 00000000..69eedb57 --- /dev/null +++ b/functions_func_b.html @@ -0,0 +1,89 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- b -

+
+ + + + diff --git a/functions_func_c.html b/functions_func_c.html new file mode 100644 index 00000000..2c6597ad --- /dev/null +++ b/functions_func_c.html @@ -0,0 +1,157 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- c -

+
+ + + + diff --git a/functions_func_d.html b/functions_func_d.html new file mode 100644 index 00000000..a982b50c --- /dev/null +++ b/functions_func_d.html @@ -0,0 +1,142 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- d -

+
+ + + + diff --git a/functions_func_e.html b/functions_func_e.html new file mode 100644 index 00000000..7be7de18 --- /dev/null +++ b/functions_func_e.html @@ -0,0 +1,97 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- e -

+
+ + + + diff --git a/functions_func_f.html b/functions_func_f.html new file mode 100644 index 00000000..13dff636 --- /dev/null +++ b/functions_func_f.html @@ -0,0 +1,98 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- f -

+
+ + + + diff --git a/functions_func_g.html b/functions_func_g.html new file mode 100644 index 00000000..b73d2d6c --- /dev/null +++ b/functions_func_g.html @@ -0,0 +1,530 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- g -

+
+ + + + diff --git a/functions_func_h.html b/functions_func_h.html new file mode 100644 index 00000000..327f4c47 --- /dev/null +++ b/functions_func_h.html @@ -0,0 +1,82 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- h -

+
+ + + + diff --git a/functions_func_i.html b/functions_func_i.html new file mode 100644 index 00000000..f4b0f89f --- /dev/null +++ b/functions_func_i.html @@ -0,0 +1,159 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- i -

+
+ + + + diff --git a/functions_func_k.html b/functions_func_k.html new file mode 100644 index 00000000..f3c35db9 --- /dev/null +++ b/functions_func_k.html @@ -0,0 +1,79 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- k -

+
+ + + + diff --git a/functions_func_l.html b/functions_func_l.html new file mode 100644 index 00000000..efbb0380 --- /dev/null +++ b/functions_func_l.html @@ -0,0 +1,125 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- l -

+
+ + + + diff --git a/functions_func_m.html b/functions_func_m.html new file mode 100644 index 00000000..f0aec45f --- /dev/null +++ b/functions_func_m.html @@ -0,0 +1,110 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- m -

+
+ + + + diff --git a/functions_func_n.html b/functions_func_n.html new file mode 100644 index 00000000..7adbaa94 --- /dev/null +++ b/functions_func_n.html @@ -0,0 +1,84 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- n -

+
+ + + + diff --git a/functions_func_o.html b/functions_func_o.html new file mode 100644 index 00000000..2c5a19e5 --- /dev/null +++ b/functions_func_o.html @@ -0,0 +1,143 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- o -

+
+ + + + diff --git a/functions_func_p.html b/functions_func_p.html new file mode 100644 index 00000000..463f6b55 --- /dev/null +++ b/functions_func_p.html @@ -0,0 +1,95 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- p -

+
+ + + + diff --git a/functions_func_r.html b/functions_func_r.html new file mode 100644 index 00000000..8a6a9819 --- /dev/null +++ b/functions_func_r.html @@ -0,0 +1,114 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- r -

+
+ + + + diff --git a/functions_func_s.html b/functions_func_s.html new file mode 100644 index 00000000..52ea3a39 --- /dev/null +++ b/functions_func_s.html @@ -0,0 +1,502 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- s -

+
+ + + + diff --git a/functions_func_t.html b/functions_func_t.html new file mode 100644 index 00000000..5966347a --- /dev/null +++ b/functions_func_t.html @@ -0,0 +1,116 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- t -

+
+ + + + diff --git a/functions_func_u.html b/functions_func_u.html new file mode 100644 index 00000000..6393fa05 --- /dev/null +++ b/functions_func_u.html @@ -0,0 +1,119 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- u -

+
+ + + + diff --git a/functions_func_w.html b/functions_func_w.html new file mode 100644 index 00000000..fc3fca76 --- /dev/null +++ b/functions_func_w.html @@ -0,0 +1,85 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- w -

+
+ + + + diff --git a/functions_func_z.html b/functions_func_z.html new file mode 100644 index 00000000..b659e102 --- /dev/null +++ b/functions_func_z.html @@ -0,0 +1,79 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- z -

+
+ + + + diff --git a/functions_func_~.html b/functions_func_~.html new file mode 100644 index 00000000..474b11f2 --- /dev/null +++ b/functions_func_~.html @@ -0,0 +1,97 @@ + + + + + + + +raylib-cpp: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- ~ -

+
+ + + + diff --git a/functions_g.html b/functions_g.html new file mode 100644 index 00000000..05ffb47d --- /dev/null +++ b/functions_g.html @@ -0,0 +1,530 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+ + + + diff --git a/functions_h.html b/functions_h.html new file mode 100644 index 00000000..8de94fa0 --- /dev/null +++ b/functions_h.html @@ -0,0 +1,82 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

+
+ + + + diff --git a/functions_i.html b/functions_i.html new file mode 100644 index 00000000..2bc162e8 --- /dev/null +++ b/functions_i.html @@ -0,0 +1,159 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+ + + + diff --git a/functions_k.html b/functions_k.html new file mode 100644 index 00000000..cd13470c --- /dev/null +++ b/functions_k.html @@ -0,0 +1,79 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- k -

+
+ + + + diff --git a/functions_l.html b/functions_l.html new file mode 100644 index 00000000..93aa12fe --- /dev/null +++ b/functions_l.html @@ -0,0 +1,125 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- l -

+
+ + + + diff --git a/functions_m.html b/functions_m.html new file mode 100644 index 00000000..4b1f981b --- /dev/null +++ b/functions_m.html @@ -0,0 +1,110 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+ + + + diff --git a/functions_n.html b/functions_n.html new file mode 100644 index 00000000..2b2bbe4d --- /dev/null +++ b/functions_n.html @@ -0,0 +1,84 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+ + + + diff --git a/functions_o.html b/functions_o.html new file mode 100644 index 00000000..873c3464 --- /dev/null +++ b/functions_o.html @@ -0,0 +1,143 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- o -

+
+ + + + diff --git a/functions_p.html b/functions_p.html new file mode 100644 index 00000000..b1220ab7 --- /dev/null +++ b/functions_p.html @@ -0,0 +1,95 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+ + + + diff --git a/functions_r.html b/functions_r.html new file mode 100644 index 00000000..ac7d452b --- /dev/null +++ b/functions_r.html @@ -0,0 +1,114 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+ + + + diff --git a/functions_s.html b/functions_s.html new file mode 100644 index 00000000..927f9f6b --- /dev/null +++ b/functions_s.html @@ -0,0 +1,505 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+ + + + diff --git a/functions_t.html b/functions_t.html new file mode 100644 index 00000000..98f194ec --- /dev/null +++ b/functions_t.html @@ -0,0 +1,119 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- t -

+
+ + + + diff --git a/functions_u.html b/functions_u.html new file mode 100644 index 00000000..c792ac1e --- /dev/null +++ b/functions_u.html @@ -0,0 +1,119 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+ + + + diff --git a/functions_vars.html b/functions_vars.html new file mode 100644 index 00000000..176ff312 --- /dev/null +++ b/functions_vars.html @@ -0,0 +1,89 @@ + + + + + + + +raylib-cpp: Class Members - Variables + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + + diff --git a/functions_w.html b/functions_w.html new file mode 100644 index 00000000..4fc8aa02 --- /dev/null +++ b/functions_w.html @@ -0,0 +1,85 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+ + + + diff --git a/functions_z.html b/functions_z.html new file mode 100644 index 00000000..d1005b75 --- /dev/null +++ b/functions_z.html @@ -0,0 +1,79 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- z -

+
+ + + + diff --git a/functions_~.html b/functions_~.html new file mode 100644 index 00000000..03ce577f --- /dev/null +++ b/functions_~.html @@ -0,0 +1,97 @@ + + + + + + + +raylib-cpp: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- ~ -

+
+ + + + diff --git a/hierarchy.html b/hierarchy.html new file mode 100644 index 00000000..6cdad2ad --- /dev/null +++ b/hierarchy.html @@ -0,0 +1,115 @@ + + + + + + + +raylib-cpp: Class Hierarchy + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Craylib::AudioDeviceAudio device management functions
 Craylib::AudioStreamAudioStream management functions
 Craylib::BoundingBoxBounding box type
 Craylib::Camera2DCamera2D type, defines a 2d camera
 Craylib::Camera3DCamera type, defines a camera position/orientation in 3d space
 Craylib::ColorColor type, RGBA (32bit)
 Cstd::exceptionSTL class
 Cstd::runtime_errorSTL class
 Craylib::RaylibExceptionException used for most raylib-related exceptions
 Craylib::FontFont type, includes texture and charSet array data
 Craylib::GamepadInput-related functions: gamepads
 Craylib::ImageImage type, bpp always RGBA (32bit)
 Craylib::MaterialMaterial type (generic)
 Craylib::MatrixMatrix type (OpenGL style 4x4 - right handed, column major)
 Craylib::MeshVertex data definning a mesh
 Craylib::ModelModel type
 Craylib::ModelAnimationModel animation
 Craylib::MouseInput-related functions: mouse
 Craylib::MusicMusic stream type (audio file streaming from memory)
 Craylib::RayRay type (useful for raycast)
 Craylib::RayCollisionRaycast hit information
 Craylib::RectangleRectangle type
 Craylib::RenderTextureRenderTexture type, for texture rendering
 Craylib::ShaderShader type (generic)
 Craylib::SoundWave/Sound management functions
 Craylib::TextText Functions
 Craylib::TextureUnmanagedA Texture that is not managed by the C++ garbage collector
 Craylib::TextureTexture type
 Craylib::TouchInput-related functions: touch
 Craylib::Vector2Vector2 type
 Craylib::Vector3Vector3 type
 Craylib::Vector4Vector4 type
 Craylib::VrStereoConfigVR stereo config functions for VR simulator
 Craylib::WaveWave type, defines audio wave data
 Craylib::WindowWindow and Graphics Device Functions
+
+
+ + + + diff --git a/index.html b/index.html new file mode 100644 index 00000000..9abfbd29 --- /dev/null +++ b/index.html @@ -0,0 +1,146 @@ + + + + + + + +raylib-cpp: raylib-cpp + + + + + + + + + +
+
+ + + + + + + +
+
raylib-cpp +
+
C++ object-oriented wrapper library for raylib.
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
raylib-cpp
+
+
+

raylib-cpp is a C++ wrapper library for raylib, a simple and easy-to-use library to enjoy videogames programming. This C++ header provides object-oriented wrappers around raylib's struct interfaces.

+
See also
raylib namespace for a list of all available classes.
+
/*******************************************************************************************
+
*
+
* raylib [core] example - Basic window
+
*
+
* Welcome to raylib!
+
*
+
* To test examples, just press F6 and execute raylib_compile_execute script
+
* Note that compiled executable is placed in the same folder as .c file
+
*
+
* You can find all basic examples on C:\raylib\raylib\examples folder or
+
* raylib official webpage: www.raylib.com
+
*
+
* Enjoy using raylib. :)
+
*
+
* This example has been created using raylib 1.0 (www.raylib.com)
+
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
+
*
+
* Copyright (c) 2014 Ramon Santamaria (@raysan5)
+
*
+
********************************************************************************************/
+
+
#include "raylib-cpp.hpp"
+
+
int main() {
+
// Initialization
+
//--------------------------------------------------------------------------------------
+
int screenWidth = 800;
+
int screenHeight = 450;
+
raylib::Color textColor = raylib::Color::LightGray();
+
raylib::Window window(screenWidth, screenHeight, "raylib [core] example - basic window");
+
+
SetTargetFPS(60);
+
//--------------------------------------------------------------------------------------
+
+
// Main game loop
+
while (!window.ShouldClose()) { // Detect window close button or ESC key
+
// Update
+
//----------------------------------------------------------------------------------
+
// Update your variables here
+
//----------------------------------------------------------------------------------
+
+
// Draw
+
//----------------------------------------------------------------------------------
+
BeginDrawing();
+
{
+
window.ClearBackground(RAYWHITE);
+
textColor.DrawText("Congrats! You created your first window!", 190, 200, 20);
+
}
+
EndDrawing();
+
//----------------------------------------------------------------------------------
+
}
+
+
return 0;
+
}
+
Color type, RGBA (32bit)
Definition: Color.hpp:14
+
Window and Graphics Device Functions.
Definition: Window.hpp:14
+
Author
Rob Loach (RobLoach)
+ +

raylib-cpp is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software:

+

Copyright 2020 Rob Loach (RobLoach)

+

This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

+

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

+
    +
  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. +
  3. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  4. +
  5. This notice may not be removed or altered from any source distribution.
  6. +
+
+
+ + + + diff --git a/jquery.js b/jquery.js new file mode 100644 index 00000000..103c32d7 --- /dev/null +++ b/jquery.js @@ -0,0 +1,35 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
"),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element +},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** + * Copyright (c) 2007 Ariel Flesler - aflesler ○ gmail • com | https://github.com/flesler + * Licensed under MIT + * @author Ariel Flesler + * @version 2.1.2 + */ +;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1-1){targetElements.on(evt+EVENT_NAMESPACE,function elementToggle(event){$.powerTip.toggle(this,event)})}else{targetElements.on(evt+EVENT_NAMESPACE,function elementOpen(event){$.powerTip.show(this,event)})}});$.each(options.closeEvents,function(idx,evt){if($.inArray(evt,options.openEvents)<0){targetElements.on(evt+EVENT_NAMESPACE,function elementClose(event){$.powerTip.hide(this,!isMouseEvent(event))})}});targetElements.on("keydown"+EVENT_NAMESPACE,function elementKeyDown(event){if(event.keyCode===27){$.powerTip.hide(this,true)}})}return targetElements};$.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]};$.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};$.powerTip={show:function apiShowTip(element,event){if(isMouseEvent(event)){trackMouse(event);session.previousX=event.pageX;session.previousY=event.pageY;$(element).data(DATA_DISPLAYCONTROLLER).show()}else{$(element).first().data(DATA_DISPLAYCONTROLLER).show(true,true)}return element},reposition:function apiResetPosition(element){$(element).first().data(DATA_DISPLAYCONTROLLER).resetPosition();return element},hide:function apiCloseTip(element,immediate){var displayController;immediate=element?immediate:true;if(element){displayController=$(element).first().data(DATA_DISPLAYCONTROLLER)}else if(session.activeHover){displayController=session.activeHover.data(DATA_DISPLAYCONTROLLER)}if(displayController){displayController.hide(immediate)}return element},toggle:function apiToggle(element,event){if(session.activeHover&&session.activeHover.is(element)){$.powerTip.hide(element,!isMouseEvent(event))}else{$.powerTip.show(element,event)}return element}};$.powerTip.showTip=$.powerTip.show;$.powerTip.closeTip=$.powerTip.hide;function CSSCoordinates(){var me=this;me.top="auto";me.left="auto";me.right="auto";me.bottom="auto";me.set=function(property,value){if($.isNumeric(value)){me[property]=Math.round(value)}}}function DisplayController(element,options,tipController){var hoverTimer=null,myCloseDelay=null;function openTooltip(immediate,forceOpen){cancelTimer();if(!element.data(DATA_HASACTIVEHOVER)){if(!immediate){session.tipOpenImminent=true;hoverTimer=setTimeout(function intentDelay(){hoverTimer=null;checkForIntent()},options.intentPollInterval)}else{if(forceOpen){element.data(DATA_FORCEDOPEN,true)}closeAnyDelayed();tipController.showTip(element)}}else{cancelClose()}}function closeTooltip(disableDelay){if(myCloseDelay){myCloseDelay=session.closeDelayTimeout=clearTimeout(myCloseDelay);session.delayInProgress=false}cancelTimer();session.tipOpenImminent=false;if(element.data(DATA_HASACTIVEHOVER)){element.data(DATA_FORCEDOPEN,false);if(!disableDelay){session.delayInProgress=true;session.closeDelayTimeout=setTimeout(function closeDelay(){session.closeDelayTimeout=null;tipController.hideTip(element);session.delayInProgress=false;myCloseDelay=null},options.closeDelay);myCloseDelay=session.closeDelayTimeout}else{tipController.hideTip(element)}}}function checkForIntent(){var xDifference=Math.abs(session.previousX-session.currentX),yDifference=Math.abs(session.previousY-session.currentY),totalDifference=xDifference+yDifference;if(totalDifference",{id:options.popupId});if($body.length===0){$body=$("body")}$body.append(tipElement);session.tooltips=session.tooltips?session.tooltips.add(tipElement):tipElement}if(options.followMouse){if(!tipElement.data(DATA_HASMOUSEMOVE)){$document.on("mousemove"+EVENT_NAMESPACE,positionTipOnCursor);$window.on("scroll"+EVENT_NAMESPACE,positionTipOnCursor);tipElement.data(DATA_HASMOUSEMOVE,true)}}function beginShowTip(element){element.data(DATA_HASACTIVEHOVER,true);tipElement.queue(function queueTipInit(next){showTip(element);next()})}function showTip(element){var tipContent;if(!element.data(DATA_HASACTIVEHOVER)){return}if(session.isTipOpen){if(!session.isClosing){hideTip(session.activeHover)}tipElement.delay(100).queue(function queueTipAgain(next){showTip(element);next()});return}element.trigger("powerTipPreRender");tipContent=getTooltipContent(element);if(tipContent){tipElement.empty().append(tipContent)}else{return}element.trigger("powerTipRender");session.activeHover=element;session.isTipOpen=true;tipElement.data(DATA_MOUSEONTOTIP,options.mouseOnToPopup);tipElement.addClass(options.popupClass);if(!options.followMouse||element.data(DATA_FORCEDOPEN)){positionTipOnElement(element);session.isFixedTipOpen=true}else{positionTipOnCursor()}if(!element.data(DATA_FORCEDOPEN)&&!options.followMouse){$document.on("click"+EVENT_NAMESPACE,function documentClick(event){var target=event.target;if(target!==element[0]){if(options.mouseOnToPopup){if(target!==tipElement[0]&&!$.contains(tipElement[0],target)){$.powerTip.hide()}}else{$.powerTip.hide()}}})}if(options.mouseOnToPopup&&!options.manual){tipElement.on("mouseenter"+EVENT_NAMESPACE,function tipMouseEnter(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel()}});tipElement.on("mouseleave"+EVENT_NAMESPACE,function tipMouseLeave(){if(session.activeHover){session.activeHover.data(DATA_DISPLAYCONTROLLER).hide()}})}tipElement.fadeIn(options.fadeInTime,function fadeInCallback(){if(!session.desyncTimeout){session.desyncTimeout=setInterval(closeDesyncedTip,500)}element.trigger("powerTipOpen")})}function hideTip(element){session.isClosing=true;session.isTipOpen=false;session.desyncTimeout=clearInterval(session.desyncTimeout);element.data(DATA_HASACTIVEHOVER,false);element.data(DATA_FORCEDOPEN,false);$document.off("click"+EVENT_NAMESPACE);tipElement.off(EVENT_NAMESPACE);tipElement.fadeOut(options.fadeOutTime,function fadeOutCallback(){var coords=new CSSCoordinates;session.activeHover=null;session.isClosing=false;session.isFixedTipOpen=false;tipElement.removeClass();coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);tipElement.css(coords);element.trigger("powerTipClose")})}function positionTipOnCursor(){var tipWidth,tipHeight,coords,collisions,collisionCount;if(!session.isFixedTipOpen&&(session.isTipOpen||session.tipOpenImminent&&tipElement.data(DATA_HASMOUSEMOVE))){tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=new CSSCoordinates;coords.set("top",session.currentY+options.offset);coords.set("left",session.currentX+options.offset);collisions=getViewportCollisions(coords,tipWidth,tipHeight);if(collisions!==Collision.none){collisionCount=countFlags(collisions);if(collisionCount===1){if(collisions===Collision.right){coords.set("left",session.scrollLeft+session.windowWidth-tipWidth)}else if(collisions===Collision.bottom){coords.set("top",session.scrollTop+session.windowHeight-tipHeight)}}else{coords.set("left",session.currentX-tipWidth-options.offset);coords.set("top",session.currentY-tipHeight-options.offset)}}tipElement.css(coords)}}function positionTipOnElement(element){var priorityList,finalPlacement;if(options.smartPlacement||options.followMouse&&element.data(DATA_FORCEDOPEN)){priorityList=$.fn.powerTip.smartPlacementLists[options.placement];$.each(priorityList,function(idx,pos){var collisions=getViewportCollisions(placeTooltip(element,pos),tipElement.outerWidth(),tipElement.outerHeight());finalPlacement=pos;return collisions!==Collision.none})}else{placeTooltip(element,options.placement);finalPlacement=options.placement}tipElement.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt");tipElement.addClass(finalPlacement)}function placeTooltip(element,placement){var iterationCount=0,tipWidth,tipHeight,coords=new CSSCoordinates;coords.set("top",0);coords.set("left",0);tipElement.css(coords);do{tipWidth=tipElement.outerWidth();tipHeight=tipElement.outerHeight();coords=placementCalculator.compute(element,placement,tipWidth,tipHeight,options.offset);tipElement.css(coords)}while(++iterationCount<=5&&(tipWidth!==tipElement.outerWidth()||tipHeight!==tipElement.outerHeight()));return coords}function closeDesyncedTip(){var isDesynced=false,hasDesyncableCloseEvent=$.grep(["mouseleave","mouseout","blur","focusout"],function(eventType){return $.inArray(eventType,options.closeEvents)!==-1}).length>0;if(session.isTipOpen&&!session.isClosing&&!session.delayInProgress&&hasDesyncableCloseEvent){if(session.activeHover.data(DATA_HASACTIVEHOVER)===false||session.activeHover.is(":disabled")){isDesynced=true}else if(!isMouseOver(session.activeHover)&&!session.activeHover.is(":focus")&&!session.activeHover.data(DATA_FORCEDOPEN)){if(tipElement.data(DATA_MOUSEONTOTIP)){if(!isMouseOver(tipElement)){isDesynced=true}}else{isDesynced=true}}if(isDesynced){hideTip(session.activeHover)}}}this.showTip=beginShowTip;this.hideTip=hideTip;this.resetPosition=positionTipOnElement}function isSvgElement(element){return Boolean(window.SVGElement&&element[0]instanceof SVGElement)}function isMouseEvent(event){return Boolean(event&&$.inArray(event.type,MOUSE_EVENTS)>-1&&typeof event.pageX==="number")}function initTracking(){if(!session.mouseTrackingActive){session.mouseTrackingActive=true;getViewportDimensions();$(getViewportDimensions);$document.on("mousemove"+EVENT_NAMESPACE,trackMouse);$window.on("resize"+EVENT_NAMESPACE,trackResize);$window.on("scroll"+EVENT_NAMESPACE,trackScroll)}}function getViewportDimensions(){session.scrollLeft=$window.scrollLeft();session.scrollTop=$window.scrollTop();session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackResize(){session.windowWidth=$window.width();session.windowHeight=$window.height()}function trackScroll(){var x=$window.scrollLeft(),y=$window.scrollTop();if(x!==session.scrollLeft){session.currentX+=x-session.scrollLeft;session.scrollLeft=x}if(y!==session.scrollTop){session.currentY+=y-session.scrollTop;session.scrollTop=y}}function trackMouse(event){session.currentX=event.pageX;session.currentY=event.pageY}function isMouseOver(element){var elementPosition=element.offset(),elementBox=element[0].getBoundingClientRect(),elementWidth=elementBox.right-elementBox.left,elementHeight=elementBox.bottom-elementBox.top;return session.currentX>=elementPosition.left&&session.currentX<=elementPosition.left+elementWidth&&session.currentY>=elementPosition.top&&session.currentY<=elementPosition.top+elementHeight}function getTooltipContent(element){var tipText=element.data(DATA_POWERTIP),tipObject=element.data(DATA_POWERTIPJQ),tipTarget=element.data(DATA_POWERTIPTARGET),targetElement,content;if(tipText){if($.isFunction(tipText)){tipText=tipText.call(element[0])}content=tipText}else if(tipObject){if($.isFunction(tipObject)){tipObject=tipObject.call(element[0])}if(tipObject.length>0){content=tipObject.clone(true,true)}}else if(tipTarget){targetElement=$("#"+tipTarget);if(targetElement.length>0){content=targetElement.html()}}return content}function getViewportCollisions(coords,elementWidth,elementHeight){var viewportTop=session.scrollTop,viewportLeft=session.scrollLeft,viewportBottom=viewportTop+session.windowHeight,viewportRight=viewportLeft+session.windowWidth,collisions=Collision.none;if(coords.topviewportBottom||Math.abs(coords.bottom-session.windowHeight)>viewportBottom){collisions|=Collision.bottom}if(coords.leftviewportRight){collisions|=Collision.left}if(coords.left+elementWidth>viewportRight||coords.right1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);/*! SmartMenus jQuery Plugin - v1.1.0 - September 17, 2017 + * http://www.smartmenus.org/ + * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)})(function($){function initMouseDetection(t){var e=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(e),mouseDetectionEnabled=!1);else{var i=!0,s=null,o={mousemove:function(t){var e={x:t.pageX,y:t.pageY,timeStamp:(new Date).getTime()};if(s){var o=Math.abs(s.x-e.x),a=Math.abs(s.y-e.y);if((o>0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};for(var s in t)i[s.split(" ").join(e+" ")+e]=t[s];return i}var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},i)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},i),"a"),i+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},i)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(e),e+=this.rootId,$(document).off(e),$(window).off(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll(),void 0)},docTouchEnd:function(){if(this.lastTouch){if(!(!this.visibleSubMenus.length||void 0!==this.lastTouch.x2&&this.lastTouch.x1!=this.lastTouch.x2||void 0!==this.lastTouch.y2&&this.lastTouch.y1!=this.lastTouch.y2||this.lastTouch.target&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is(".sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1,a=this.isCollapsible(),n=/toggle$/.test(this.opts.collapsibleBehavior),r=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(s&&!s.is(":visible")){if((!r||!a||i)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e,h),s.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(n||i))return this.itemActivate(e,h),this.menuHide(s),n&&(this.focusActivated=!1),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var e=2,i=t[0];(i=i.parentNode.parentNode)!=this.$root[0];)e++;var s=t.prevAll("a").eq(-1);s.length||(s=t.prevAll().find("a").eq(-1)),s.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",s).dataSM("level",e).parent().dataSM("sub",t);var o=s.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;s.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&s[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var e,i,s=t.dataSM("parent-a"),o=s.closest("li"),a=o.parent(),n=t.dataSM("level"),r=this.getWidth(t),h=this.getHeight(t),u=s.offset(),l=u.left,c=u.top,d=this.getWidth(s),m=this.getHeight(s),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==n&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==n?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==n?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(e=M?d-r-w:w,i=this.opts.bottomToTopSubMenus?-h-T:m+T):(e=M?w-r:d-w,i=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+e,I=c+i;if(M&&f>y?e=g?f-y+e:d-w:!M&&y+r>f+b&&(e=g?f+b-r-y+e:w-r),g||(S>h&&I+h>v+S?i+=v+S-h-I:(h>=S||v>I)&&(i+=v-I)),g&&(I+h>v+S+.49||v>I)||!g&&h>S+.49){var x=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('')[0],$('')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),x.menuScroll(t)},mouseleave:function(e){x.menuScrollStop(t),x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var A=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:i-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(e){x.menuScrollOver(t,e)},mouseout:function(e){x.menuScrollOut(t,e)},"mousewheel DOMMouseScroll":function(e){x.menuScrollMousewheel(t,e)}},A)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:e+(parseInt(t.css("border-left-width"))||0),width:r-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(e){x.menuScrollTouch(t,e)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,A))}}}t.css({top:"auto",left:"0",marginLeft:e,marginTop:i-m})},menuScroll:function(t,e,i){var s,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),n=o.up?o.upEnd:o.downEnd;if(!e&&o.momentum){if(o.momentum*=.92,s=o.momentum,.5>s)return this.menuScrollStop(t),void 0}else s=i||(e||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var r=t.dataSM("level");if(this.activatedItems[r-1]&&this.activatedItems[r-1].dataSM("sub")&&this.activatedItems[r-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(r-1),o.y=o.up&&o.y>=n||!o.up&&n>=o.y?o.y:Math.abs(n-o.y)>s?o.y+(o.up?s:-s):n,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y0;t.dataSM("scroll-arrows").eq(i?0:1).is(":visible")&&(t.dataSM("scroll").up=i,this.menuScroll(t,!0))}e.preventDefault()},menuScrollOut:function(t,e){mouse&&(/^scroll-(up|down)/.test((e.relatedTarget||"").className)||(t[0]==e.relatedTarget||$.contains(t[0],e.relatedTarget))&&this.getClosestMenu(e.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(t,e){if(mouse&&!/^scroll-(up|down)/.test(e.target.className)&&this.getClosestMenu(e.target)==t[0]){this.menuScrollRefreshData(t);var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",s).end().eq(1).css("margin-top",s+this.getViewportHeight()-i.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var e=t.dataSM("scroll"),i=$(window).scrollTop()-t.dataSM("parent-a").offset().top-e.itemH;this.cssTransforms3d&&(i=-(parseFloat(t.css("margin-top"))-i)),$.extend(e,{upEnd:i,downEnd:i+this.getViewportHeight()-e.subH})},menuScrollStop:function(t){return this.scrollTimeout?(cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(t,e){if(e=e.originalEvent,isTouchEvent(e)){var i=this.getTouchPoint(e);if(this.getClosestMenu(i.target)==t[0]){var s=t.dataSM("scroll");if(/(start|down)$/i.test(e.type))this.menuScrollStop(t)?(e.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp});else if(/move$/i.test(e.type)){var o=void 0!==s.touchY?s.touchY:s.touchStartY;if(void 0!==o&&o!=i.pageY){this.$touchScrollingSub=t;var a=i.pageY>o;void 0!==s.up&&s.up!=a&&$.extend(s,{touchStartY:i.pageY,touchStartTime:e.timeStamp}),$.extend(s,{up:a,touchY:i.pageY}),this.menuScroll(t,!0,Math.abs(i.pageY-o))}e.preventDefault()}else void 0!==s.touchY&&((s.momentum=15*Math.pow(Math.abs(i.pageY-s.touchStartY)/(e.timeStamp-s.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),e.preventDefault()),delete s.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",t[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",t[0])!==!1&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var e=t.dataSM("parent-a"),i=this.isCollapsible();if((this.opts.keepHighlighted||i)&&e.addClass("highlighted"),i)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var s=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),s>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};i?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),e.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,e){if(!this.opts.isPopup)return alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.'),void 0;if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:e});var i=this,s=function(){i.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,s):this.$root.show(this.opts.showDuration,s),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var e=this.activatedItems[0];if(e){this.menuHideAll(),e[0].focus();var i=e.dataSM("sub");i&&this.menuHide(i)}break;case 32:var s=$(t.target);if(s.is("a")&&this.handleItemEvents(s)){var i=s.dataSM("sub");i&&!i.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var e=this;this.hideTimeout=setTimeout(function(){e.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){this.handleEvents()&&!this.isTouchMode()&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==t.type){var e=this.isCollapsible();this.wasCollapsible&&e||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=e}}else if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),$.fn.dataSM=function(t,e){return e?this.data(t+"_smartmenus",e):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,e){t.fadeOut(200,e)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,e){t.slideDown(200,e)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,e){t.slideUp(200,e)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$}); \ No newline at end of file diff --git a/menu.js b/menu.js new file mode 100644 index 00000000..2fe2214f --- /dev/null +++ b/menu.js @@ -0,0 +1,51 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { + function makeTree(data,relPath) { + var result=''; + if ('children' in data) { + result+=''; + } + return result; + } + + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchEnabled) { + if (serverSide) { + $('#main-menu').append('
  • '); + } else { + $('#main-menu').append('
  • '); + } + } + $('#main-menu').smartmenus(); +} +/* @license-end */ diff --git a/menudata.js b/menudata.js new file mode 100644 index 00000000..1afff3bd --- /dev/null +++ b/menudata.js @@ -0,0 +1,107 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file +*/ +var menudata={children:[ +{text:"Main Page",url:"index.html"}, +{text:"Namespaces",url:"namespaces.html",children:[ +{text:"Namespace List",url:"namespaces.html"}, +{text:"Namespace Members",url:"namespacemembers.html",children:[ +{text:"All",url:"namespacemembers.html",children:[ +{text:"c",url:"namespacemembers.html#index_c"}, +{text:"d",url:"namespacemembers.html#index_d"}, +{text:"e",url:"namespacemembers.html#index_e"}, +{text:"f",url:"namespacemembers.html#index_f"}, +{text:"g",url:"namespacemembers.html#index_g"}, +{text:"i",url:"namespacemembers.html#index_i"}, +{text:"l",url:"namespacemembers.html#index_l"}, +{text:"m",url:"namespacemembers.html#index_m"}, +{text:"o",url:"namespacemembers.html#index_o"}, +{text:"s",url:"namespacemembers.html#index_s"}, +{text:"t",url:"namespacemembers.html#index_t"}, +{text:"u",url:"namespacemembers.html#index_u"}]}, +{text:"Functions",url:"namespacemembers_func.html",children:[ +{text:"c",url:"namespacemembers_func.html#index_c"}, +{text:"d",url:"namespacemembers_func.html#index_d"}, +{text:"e",url:"namespacemembers_func.html#index_e"}, +{text:"f",url:"namespacemembers_func.html#index_f"}, +{text:"g",url:"namespacemembers_func.html#index_g"}, +{text:"i",url:"namespacemembers_func.html#index_i"}, +{text:"l",url:"namespacemembers_func.html#index_l"}, +{text:"m",url:"namespacemembers_func.html#index_m"}, +{text:"o",url:"namespacemembers_func.html#index_o"}, +{text:"s",url:"namespacemembers_func.html#index_s"}, +{text:"t",url:"namespacemembers_func.html#index_t"}, +{text:"u",url:"namespacemembers_func.html#index_u"}]}]}]}, +{text:"Classes",url:"annotated.html",children:[ +{text:"Class List",url:"annotated.html"}, +{text:"Class Index",url:"classes.html"}, +{text:"Class Hierarchy",url:"hierarchy.html"}, +{text:"Class Members",url:"functions.html",children:[ +{text:"All",url:"functions.html",children:[ +{text:"a",url:"functions.html#index_a"}, +{text:"b",url:"functions_b.html#index_b"}, +{text:"c",url:"functions_c.html#index_c"}, +{text:"d",url:"functions_d.html#index_d"}, +{text:"e",url:"functions_e.html#index_e"}, +{text:"f",url:"functions_f.html#index_f"}, +{text:"g",url:"functions_g.html#index_g"}, +{text:"h",url:"functions_h.html#index_h"}, +{text:"i",url:"functions_i.html#index_i"}, +{text:"k",url:"functions_k.html#index_k"}, +{text:"l",url:"functions_l.html#index_l"}, +{text:"m",url:"functions_m.html#index_m"}, +{text:"n",url:"functions_n.html#index_n"}, +{text:"o",url:"functions_o.html#index_o"}, +{text:"p",url:"functions_p.html#index_p"}, +{text:"r",url:"functions_r.html#index_r"}, +{text:"s",url:"functions_s.html#index_s"}, +{text:"t",url:"functions_t.html#index_t"}, +{text:"u",url:"functions_u.html#index_u"}, +{text:"w",url:"functions_w.html#index_w"}, +{text:"z",url:"functions_z.html#index_z"}, +{text:"~",url:"functions_~.html#index__7E"}]}, +{text:"Functions",url:"functions_func.html",children:[ +{text:"a",url:"functions_func.html#index_a"}, +{text:"b",url:"functions_func_b.html#index_b"}, +{text:"c",url:"functions_func_c.html#index_c"}, +{text:"d",url:"functions_func_d.html#index_d"}, +{text:"e",url:"functions_func_e.html#index_e"}, +{text:"f",url:"functions_func_f.html#index_f"}, +{text:"g",url:"functions_func_g.html#index_g"}, +{text:"h",url:"functions_func_h.html#index_h"}, +{text:"i",url:"functions_func_i.html#index_i"}, +{text:"k",url:"functions_func_k.html#index_k"}, +{text:"l",url:"functions_func_l.html#index_l"}, +{text:"m",url:"functions_func_m.html#index_m"}, +{text:"n",url:"functions_func_n.html#index_n"}, +{text:"o",url:"functions_func_o.html#index_o"}, +{text:"p",url:"functions_func_p.html#index_p"}, +{text:"r",url:"functions_func_r.html#index_r"}, +{text:"s",url:"functions_func_s.html#index_s"}, +{text:"t",url:"functions_func_t.html#index_t"}, +{text:"u",url:"functions_func_u.html#index_u"}, +{text:"w",url:"functions_func_w.html#index_w"}, +{text:"z",url:"functions_func_z.html#index_z"}, +{text:"~",url:"functions_func_~.html#index__7E"}]}, +{text:"Variables",url:"functions_vars.html"}]}]}]} diff --git a/namespacemembers.html b/namespacemembers.html new file mode 100644 index 00000000..641a781a --- /dev/null +++ b/namespacemembers.html @@ -0,0 +1,261 @@ + + + + + + + +raylib-cpp: Namespace Members + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    Here is a list of all documented namespace members with links to the namespaces they belong to:
    + +

    - c -

      +
    • ChangeDirectory() +: raylib +
    • +
    + + +

    - d -

    + + +

    - e -

      +
    • ExportImage() +: raylib +
    • +
    • ExportImageAsCode() +: raylib +
    • +
    + + +

    - f -

    + + +

    - g -

      +
    • GetClipboardText() +: raylib +
    • +
    • GetDirectoryPath() +: raylib +
    • +
    • GetFileExtension() +: raylib +
    • +
    • GetFileModTime() +: raylib +
    • +
    • GetFileName() +: raylib +
    • +
    • GetFileNameWithoutExt() +: raylib +
    • +
    • GetGamepadName() +: raylib +
    • +
    • GetMonitorName() +: raylib +
    • +
    • GetPrevDirectoryPath() +: raylib +
    • +
    • GetWorkingDirectory() +: raylib +
    • +
    + + +

    - i -

    + + +

    - l -

    + + +

    - m -

    + + +

    - o -

    + + +

    - s -

      +
    • SaveFileText() +: raylib +
    • +
    • SetClipboardText() +: raylib +
    • +
    • SetWindowTitle() +: raylib +
    • +
    + + +

    - t -

    + + +

    - u -

      +
    • UpdateCamera() +: raylib +
    • +
    +
    + + + + diff --git a/namespacemembers_func.html b/namespacemembers_func.html new file mode 100644 index 00000000..4c739a29 --- /dev/null +++ b/namespacemembers_func.html @@ -0,0 +1,261 @@ + + + + + + + +raylib-cpp: Namespace Members + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +  + +

    - c -

      +
    • ChangeDirectory() +: raylib +
    • +
    + + +

    - d -

    + + +

    - e -

      +
    • ExportImage() +: raylib +
    • +
    • ExportImageAsCode() +: raylib +
    • +
    + + +

    - f -

    + + +

    - g -

      +
    • GetClipboardText() +: raylib +
    • +
    • GetDirectoryPath() +: raylib +
    • +
    • GetFileExtension() +: raylib +
    • +
    • GetFileModTime() +: raylib +
    • +
    • GetFileName() +: raylib +
    • +
    • GetFileNameWithoutExt() +: raylib +
    • +
    • GetGamepadName() +: raylib +
    • +
    • GetMonitorName() +: raylib +
    • +
    • GetPrevDirectoryPath() +: raylib +
    • +
    • GetWorkingDirectory() +: raylib +
    • +
    + + +

    - i -

    + + +

    - l -

    + + +

    - m -

    + + +

    - o -

    + + +

    - s -

      +
    • SaveFileText() +: raylib +
    • +
    • SetClipboardText() +: raylib +
    • +
    • SetWindowTitle() +: raylib +
    • +
    + + +

    - t -

    + + +

    - u -

      +
    • UpdateCamera() +: raylib +
    • +
    +
    + + + + diff --git a/namespaceraylib.html b/namespaceraylib.html new file mode 100644 index 00000000..7a0d5514 --- /dev/null +++ b/namespaceraylib.html @@ -0,0 +1,403 @@ + + + + + + + +raylib-cpp: raylib Namespace Reference + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + +
    +
    + +
    +
    raylib Namespace Reference
    +
    +
    + +

    All raylib-cpp classes and functions appear in the raylib namespace. +More...

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Classes

    class  AudioDevice
     Audio device management functions. More...
     
    class  AudioStream
     AudioStream management functions. More...
     
    class  BoundingBox
     Bounding box type. More...
     
    class  Camera2D
     Camera2D type, defines a 2d camera. More...
     
    class  Camera3D
     Camera type, defines a camera position/orientation in 3d space. More...
     
    class  Color
     Color type, RGBA (32bit) More...
     
    class  Font
     Font type, includes texture and charSet array data. More...
     
    class  Gamepad
     Input-related functions: gamepads. More...
     
    class  Image
     Image type, bpp always RGBA (32bit) More...
     
    class  Material
     Material type (generic) More...
     
    class  Matrix
     Matrix type (OpenGL style 4x4 - right handed, column major) More...
     
    class  Mesh
     Vertex data definning a mesh. More...
     
    class  Model
     Model type. More...
     
    class  ModelAnimation
     Model animation. More...
     
    class  Mouse
     Input-related functions: mouse. More...
     
    class  Music
     Music stream type (audio file streaming from memory) More...
     
    class  Ray
     Ray type (useful for raycast) More...
     
    class  RayCollision
     Raycast hit information. More...
     
    class  RaylibException
     Exception used for most raylib-related exceptions. More...
     
    class  Rectangle
     Rectangle type. More...
     
    class  RenderTexture
     RenderTexture type, for texture rendering. More...
     
    class  Shader
     Shader type (generic) More...
     
    class  Sound
     Wave/Sound management functions. More...
     
    class  Text
     Text Functions. More...
     
    class  Texture
     Texture type. More...
     
    class  TextureUnmanaged
     A Texture that is not managed by the C++ garbage collector. More...
     
    class  Touch
     Input-related functions: touch. More...
     
    class  Vector2
     Vector2 type. More...
     
    class  Vector3
     Vector3 type. More...
     
    class  Vector4
     Vector4 type. More...
     
    class  VrStereoConfig
     VR stereo config functions for VR simulator. More...
     
    class  Wave
     Wave type, defines audio wave data. More...
     
    class  Window
     Window and Graphics Device Functions. More...
     
    + + + + + + + + + + + + + + + +

    +Typedefs

    +typedef Camera3D Camera
     
    +typedef Vector4 Quaternion
     
    +typedef RenderTexture RenderTexture2D
     
    +typedef Texture Texture2D
     
    +typedef TextureUnmanaged Texture2DUnmanaged
     
    +typedef Texture TextureCubemap
     
    +typedef TextureUnmanaged TextureCubemapUnmanaged
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Functions

    +static bool ChangeDirectory (const std::string &dir)
     Change working directory, return true on success.
     
    +static bool DirectoryExists (const std::string &dirPath)
     Check if directory path exists.
     
    +static void DrawText (const std::string &text, int posX, int posY, int fontSize, ::Color color)
     Draw text (using default font)
     
    +static void DrawTextEx (const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
     Draw text using font and additional parameters.
     
    +static void DrawTextPro (const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
     Draw text using Font and pro parameters (rotation)
     
    +static bool ExportImage (const Image &image, const std::string &fileName)
     Export image data to file.
     
    +static bool ExportImageAsCode (const Image &image, const std::string &fileName)
     Export image as code file (.h) defining an array of bytes.
     
    +static bool FileExists (const std::string &fileName)
     Check if file exists.
     
    +static std::string GetClipboardText ()
     Get clipboard text content.
     
    +static std::string GetDirectoryPath (const std::string &filePath)
     Get full path for a given fileName with path.
     
    +static std::string GetFileExtension (const std::string &fileName)
     Get pointer to extension for a filename string (including point: ".png")
     
    +static long GetFileModTime (const std::string &fileName)
     Get file modification time (last write time)
     
    +static std::string GetFileName (const std::string &filePath)
     Get pointer to filename for a path string.
     
    +static std::string GetFileNameWithoutExt (const std::string &filePath)
     Get filename string without extension.
     
    +static std::string GetGamepadName (int gamepad)
     Get gamepad internal name id.
     
    +static std::string GetMonitorName (int monitor=0)
     Get the human-readable, UTF-8 encoded name of the primary monitor.
     
    +static std::string GetPrevDirectoryPath (const std::string &dirPath)
     Get previous directory path for a given path.
     
    +static std::string GetWorkingDirectory ()
     Get current working directory.
     
    +static void InitWindow (int width, int height, const std::string &title="raylib")
     Initialize window and OpenGL context.
     
    +static bool IsFileExtension (const std::string &fileName, const std::string &ext)
     Check file extension (including point: .png, .wav)
     
    +static std::vector< std::string > LoadDirectoryFiles (const std::string &dirPath)
     Get filenames in a directory path.
     
    +static std::vector< std::string > LoadDroppedFiles ()
     Get dropped files names.
     
    +static std::string LoadFileText (const std::string &fileName)
     Load text data from file (read)
     
    +static inline ::Font LoadFont (const std::string &fileName)
     Load font from file (filename must include file extension)
     
    +static inline ::Font LoadFontEx (const std::string &fileName, int fontSize, int *fontChars, int charsCount)
     Load font from file (filename must include file extension)
     
    +static inline ::Image LoadImage (const std::string &fileName)
     Load an image.
     
    +static inline ::Image LoadImageAnim (const std::string &fileName, int *frames)
     Load animated image data.
     
    +static inline ::Image LoadImageFromMemory (const std::string &fileType, const unsigned char *fileData, int dataSize)
     Load image from memory buffer, fileType refers to extension like "png".
     
    +static inline ::Image LoadImageRaw (const std::string &fileName, int width, int height, int format, int headerSize)
     Load an image from RAW file data.
     
    +static int MeasureText (const std::string &text, int fontSize)
     Measure string width for default font.
     
    +static void OpenURL (const std::string &url)
     Open URL with default system browser (if available)
     
    +static bool SaveFileText (const std::string &fileName, const std::string &text)
     Save text data to file (write)
     
    +static void SetClipboardText (const std::string &text)
     Set clipboard text content.
     
    +static void SetWindowTitle (const std::string &title)
     Set title for window.
     
    +static void TakeScreenshot (const std::string &fileName)
     Takes a screenshot of current screen (saved a .png)
     
    +RLAPI int TextFindIndex (const std::string &text, const std::string &find)
     Find first text occurrence within a string.
     
    +RLAPI std::string TextInsert (const std::string &text, const std::string &insert, int position)
     Insert text in a position.
     
    +static bool TextIsEqual (const std::string &text1, const std::string &text2)
     Check if two text string are equal.
     
    +static unsigned int TextLength (const std::string &text)
     Check if two text string are equal.
     
    +RLAPI std::string TextReplace (const std::string &text, const std::string &replace, const std::string &by)
     Replace text string.
     
    +RLAPI std::vector< std::string > TextSplit (const std::string &text, char delimiter)
     Split text into multiple strings.
     
    +RLAPI std::string TextSubtext (const std::string &text, int position, int length)
     Get text length, checks for '\0' ending.
     
    +RLAPI int TextToInteger (const std::string &text)
     Get integer value from text (negative values not supported)
     
    +RLAPI std::string TextToLower (const std::string &text)
     Get lower case version of provided string.
     
    +RLAPI std::string TextToPascal (const std::string &text)
     Get Pascal case notation version of provided string.
     
    +RLAPI std::string TextToUpper (const std::string &text)
     Get upper case version of provided string.
     
    +static void UpdateCamera (const ::Camera &camera)
     Update camera depending on selected mode.
     
    +

    Detailed Description

    +

    All raylib-cpp classes and functions appear in the raylib namespace.

    +
    + + + + diff --git a/namespaces.html b/namespaces.html new file mode 100644 index 00000000..e22406ed --- /dev/null +++ b/namespaces.html @@ -0,0 +1,114 @@ + + + + + + + +raylib-cpp: Namespace List + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    Namespace List
    +
    +
    +
    Here is a list of all documented namespaces with brief descriptions:
    +
    [detail level 12]
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     NraylibAll raylib-cpp classes and functions appear in the raylib namespace
     CAudioDeviceAudio device management functions
     CAudioStreamAudioStream management functions
     CBoundingBoxBounding box type
     CCamera2DCamera2D type, defines a 2d camera
     CCamera3DCamera type, defines a camera position/orientation in 3d space
     CColorColor type, RGBA (32bit)
     CFontFont type, includes texture and charSet array data
     CGamepadInput-related functions: gamepads
     CImageImage type, bpp always RGBA (32bit)
     CMaterialMaterial type (generic)
     CMatrixMatrix type (OpenGL style 4x4 - right handed, column major)
     CMeshVertex data definning a mesh
     CModelModel type
     CModelAnimationModel animation
     CMouseInput-related functions: mouse
     CMusicMusic stream type (audio file streaming from memory)
     CRayRay type (useful for raycast)
     CRayCollisionRaycast hit information
     CRaylibExceptionException used for most raylib-related exceptions
     CRectangleRectangle type
     CRenderTextureRenderTexture type, for texture rendering
     CShaderShader type (generic)
     CSoundWave/Sound management functions
     CTextText Functions
     CTextureTexture type
     CTextureUnmanagedA Texture that is not managed by the C++ garbage collector
     CTouchInput-related functions: touch
     CVector2Vector2 type
     CVector3Vector3 type
     CVector4Vector4 type
     CVrStereoConfigVR stereo config functions for VR simulator
     CWaveWave type, defines audio wave data
     CWindowWindow and Graphics Device Functions
    +
    +
    + + + + diff --git a/nav_f.png b/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/nav_g.png b/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..2093a237a94f6c83e19ec6e5fd42f7ddabdafa81 GIT binary patch literal 95 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDK$?Q$B+ufw|5PB85lU25BhtE tr?otc=hd~V+ws&_A@j8Fiv!KF$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + + +raylib-cpp: raylib-cpp-utils.hpp Source File + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    raylib-cpp-utils.hpp
    +
    +
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    6 
    +
    7 #ifndef GETTERSETTER
    +
    15 #define GETTERSETTER(type, method, name) \
    +
    16  \
    +
    17  inline type Get##method() const { return name; } \
    +
    18  \
    +
    19  inline void Set##method(type value) { name = value; }
    +
    20 #endif
    +
    21 
    +
    22 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_UTILS_HPP_
    +
    + + + + diff --git a/raylib-cpp_55x55.png b/raylib-cpp_55x55.png new file mode 100644 index 0000000000000000000000000000000000000000..4631fabb8aaaf6a5c0c6e45c901151934eaa8906 GIT binary patch literal 1398 zcmV-+1&R8JP)r850&M+1h<`000FQNkl?cIR@==fkwyEh-?c+9q>eX6Bsl%>2&xo$oT4VJLkc zW4>t^4^6lS29Pb`$gzaRna(MZl5Dy9h1pAjc~YsdK*%+%s;>3e5B1Rb2qhf3B$)U1 ziehJMs8a|I;MnP_qbUKYl;cRt9xFyqwCecq9*@$a^e8<_kJ6*`C_PG#(xdb!JxY(# zqx2{}%CSKyxF)zp0M|6ZHH|St@Ucb7fSRU`ON|`?LtJU-6 z`KaYNiWmcDEZ#$aBbDHql!}J6NJL-%*yu=A5}e)~>NRagO4@PY?Ap?~L@{@wEmd+T zHO8(s-^MVKQk0iH!L(#&Z`9=^g5MAYITNq7gbSx;7(&xD*3jDZ=%jSZmX;#{HLoa# zfo_HSd-`KdH#>WyCIG2uR$i8tu-b>G^!xSsTMmz0N6n+V*3>n3?)m%z3;_UA1&gLs z?_K}wj*82lyjCzZ!|)l)c2*wRzKnCmBmiD!rzq#d?Gm( z2hebE!xQ=0AO!}?bY6O@uzbxz5PSx&th)Z$$t$jI;_^xnB}`XDZb#aLK;*=`fb0lI zW^Fh~prq|f00X9No0hwc48cD=dF9}#+G$zoU}y{X$MwM&(-;FrjChwl2>{5p?5Jrg zqD09gP>yn5hC7j1y5F~T^^yYO%p*M+9*31URCnB7>pH9sdq*SYS758EkU zy>R2Qxvnl4;4?UY>&JHxfq;xuUvSeQB6@G#qBob$$<9a>oH>%x1IDF_&F%(e0099* z{B24@=U-j;<-n<0cZE`^X<6y}x0Y@C=(KA-05RLywSIAPsHfu0HNiF4X^L_)_q|p6 z>W3#&e7YN7ySfL6ke!j5H6f7rh$r*1?w_&lJ|FicZ!QvH=h~8y zZN^~Q@~`|O85xod#gviIF%(c(d^GVS9%}|oCpk6BefgB4`j+tSBj-$8Dxycy0$WxT zgJ|EkH946nhT!!rVMPQ&?XRKTN2-)kH8(%R0O2>#EI&r;>V_Zy!pk*pyi6O|4f%|1*Gx2k{V4+_4x!B!}S|u%y00t zfWf#Xc=Bu35lXIU;sMHL0Jfugj+c|Pq$ES + + + + + + +raylib-cpp: raylib-cpp.hpp Source File + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    raylib-cpp.hpp
    +
    +
    +
    1 
    +
    31 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    32 #define RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    33 
    +
    34 #include "./AudioDevice.hpp"
    +
    35 #include "./AudioStream.hpp"
    +
    36 #include "./BoundingBox.hpp"
    +
    37 #include "./Camera2D.hpp"
    +
    38 #include "./Camera3D.hpp"
    +
    39 #include "./Color.hpp"
    +
    40 #include "./Font.hpp"
    +
    41 #include "./Functions.hpp"
    +
    42 #include "./Gamepad.hpp"
    +
    43 #include "./Image.hpp"
    +
    44 #include "./Material.hpp"
    +
    45 #include "./Matrix.hpp"
    +
    46 #include "./Mesh.hpp"
    +
    47 #include "./Model.hpp"
    +
    48 #include "./ModelAnimation.hpp"
    +
    49 #include "./Mouse.hpp"
    +
    50 #include "./Music.hpp"
    +
    51 #include "./Ray.hpp"
    +
    52 #include "./RaylibException.hpp"
    +
    53 #include "./RayCollision.hpp"
    +
    54 #include "./Rectangle.hpp"
    +
    55 #include "./RenderTexture.hpp"
    +
    56 #include "./Shader.hpp"
    +
    57 #include "./Sound.hpp"
    +
    58 #include "./Text.hpp"
    +
    59 #include "./Texture.hpp"
    +
    60 #include "./TextureUnmanaged.hpp"
    +
    61 #include "./Touch.hpp"
    +
    62 #include "./Vector2.hpp"
    +
    63 #include "./Vector3.hpp"
    +
    64 #include "./Vector4.hpp"
    +
    65 #include "./VrStereoConfig.hpp"
    +
    66 #include "./Wave.hpp"
    +
    67 #include "./Window.hpp"
    +
    68 
    +
    72 namespace raylib {
    +
    73  // Nothing.
    +
    74 } // namespace raylib
    +
    75 
    +
    76 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_CPP_HPP_
    +
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    +
    + + + + diff --git a/raylib_8hpp_source.html b/raylib_8hpp_source.html new file mode 100644 index 00000000..44a0c97a --- /dev/null +++ b/raylib_8hpp_source.html @@ -0,0 +1,93 @@ + + + + + + + +raylib-cpp: raylib.hpp Source File + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    raylib.hpp
    +
    +
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    6 
    +
    7 #ifdef __cplusplus
    +
    8 extern "C" {
    +
    9 #endif
    +
    10 #include "raylib.h" // NOLINT
    +
    11 #ifdef __cplusplus
    +
    12 }
    +
    13 #endif
    +
    14 
    +
    15 #endif // RAYLIB_CPP_INCLUDE_RAYLIB_HPP_
    +
    + + + + diff --git a/raymath_8hpp_source.html b/raymath_8hpp_source.html new file mode 100644 index 00000000..288f4605 --- /dev/null +++ b/raymath_8hpp_source.html @@ -0,0 +1,105 @@ + + + + + + + +raylib-cpp: raymath.hpp Source File + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    raymath.hpp
    +
    +
    +
    1 
    +
    4 #ifndef RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    5 #define RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    6 
    +
    7 #ifdef __cplusplus
    +
    8 extern "C" {
    +
    9 #endif
    +
    10 #ifndef RAYLIB_CPP_NO_MATH
    +
    11 #ifndef RAYMATH_STATIC_INLINE
    +
    12 #define RAYMATH_STATIC_INLINE
    +
    13 #endif
    +
    14 #ifdef __GNUC__
    +
    15 #pragma GCC diagnostic push // These throw a warnings on visual studio, need to check if __GNUC__ is defined to use it.
    +
    16 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
    +
    17 #endif
    +
    18 #include "raymath.h" // NOLINT
    +
    19 #ifdef __GNUC__
    +
    20 #pragma GCC diagnostic pop
    +
    21 #endif
    +
    22 #endif
    +
    23 #ifdef __cplusplus
    +
    24 }
    +
    25 #endif
    +
    26 
    +
    27 #endif // RAYLIB_CPP_INCLUDE_RAYMATH_HPP_
    +
    + + + + diff --git a/search/all_0.html b/search/all_0.html new file mode 100644 index 00000000..1ec5b2d5 --- /dev/null +++ b/search/all_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_0.js b/search/all_0.js new file mode 100644 index 00000000..cc424945 --- /dev/null +++ b/search/all_0.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['add_0',['Add',['../classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678',1,'raylib::Vector2::Add()'],['../classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2',1,'raylib::Vector3::Add()']]], + ['alpha_1',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], + ['alphablend_2',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], + ['alphaclear_3',['AlphaClear',['../classraylib_1_1_image.html#a39d6f6b230bcdaba3d85f45e9b5dad20',1,'raylib::Image']]], + ['alphacrop_4',['AlphaCrop',['../classraylib_1_1_image.html#a5945a136f675e024dda002075b34dfef',1,'raylib::Image']]], + ['alphamask_5',['AlphaMask',['../classraylib_1_1_image.html#a3bbcbb96834c526b6b789a804078d472',1,'raylib::Image']]], + ['alphapremultiply_6',['AlphaPremultiply',['../classraylib_1_1_image.html#ace3ef45495b17bf2e5a645931b792483',1,'raylib::Image']]], + ['angle_7',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], + ['attachprocessor_8',['AttachProcessor',['../classraylib_1_1_audio_stream.html#a4442ef0d6ba9c3ac03354c10ab62dd4a',1,'raylib::AudioStream']]], + ['audiodevice_9',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice::AudioDevice()'],['../classraylib_1_1_audio_device.html',1,'raylib::AudioDevice']]], + ['audiostream_10',['AudioStream',['../classraylib_1_1_audio_stream.html#a8dd9cb9c1d176a3ff8518cd1e5fbe3b2',1,'raylib::AudioStream::AudioStream()'],['../classraylib_1_1_audio_stream.html',1,'raylib::AudioStream']]] +]; diff --git a/search/all_1.html b/search/all_1.html new file mode 100644 index 00000000..9f80e904 --- /dev/null +++ b/search/all_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_1.js b/search/all_1.js new file mode 100644 index 00000000..8a2877fc --- /dev/null +++ b/search/all_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['begindrawing_11',['BeginDrawing',['../classraylib_1_1_window.html#a8f2b932e51fc0ac154e2fd578691ebd6',1,'raylib::Window']]], + ['beginmode_12',['BeginMode',['../classraylib_1_1_camera3_d.html#a0aeaa99678bacc68d410a4d42e95548a',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a7d05e471bb2d7fc83094f7a9463d836f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a63311cdadb7f81791a61e2ccea33efbe',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#aee11917e6f68d22e12e06a81d58ee340',1,'raylib::VrStereoConfig::BeginMode()']]], + ['boundingbox_13',['BoundingBox',['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox()'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()'],['../classraylib_1_1_bounding_box.html',1,'raylib::BoundingBox']]] +]; diff --git a/search/all_10.html b/search/all_10.html new file mode 100644 index 00000000..3bf11961 --- /dev/null +++ b/search/all_10.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_10.js b/search/all_10.js new file mode 100644 index 00000000..06279dd9 --- /dev/null +++ b/search/all_10.js @@ -0,0 +1,135 @@ +var searchData= +[ + ['savefiletext_334',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], + ['scale_335',['Scale',['../classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e',1,'raylib::Vector2::Scale()'],['../classraylib_1_1_vector3.html#a836612125a59668d0654010cacf76e92',1,'raylib::Vector3::Scale()']]], + ['seek_336',['Seek',['../classraylib_1_1_music.html#ab2013c089ab1b10e6dcc70c9c350c0f2',1,'raylib::Music']]], + ['seta_337',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], + ['setaltcontrol_338',['SetAltControl',['../classraylib_1_1_camera3_d.html#af4494c05808722f3111c6bcb3703b662',1,'raylib::Camera3D']]], + ['setanimnormals_339',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], + ['setanimvertices_340',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], + ['setb_341',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], + ['setbasesize_342',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], + ['setbindpose_343',['SetBindPose',['../classraylib_1_1_model.html#a050984a426af27d50b3026b581f7e2b5',1,'raylib::Model']]], + ['setbonecount_344',['SetBoneCount',['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()'],['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()']]], + ['setboneids_345',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], + ['setbones_346',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], + ['setboneweights_347',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], + ['setbuffer_348',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], + ['setbuffersizedefault_349',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], + ['setcallback_350',['SetCallback',['../classraylib_1_1_audio_stream.html#a01d982a89d11be88d5621aead4394560',1,'raylib::AudioStream']]], + ['setchannels_351',['SetChannels',['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()'],['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()']]], + ['setclipboardtext_352',['SetClipboardText',['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib::SetClipboardText()'],['../classraylib_1_1_window.html#afcca44b978f167ad371285fd8f227034',1,'raylib::Window::SetClipboardText()']]], + ['setcolor_353',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], + ['setcolors_354',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], + ['setctxdata_355',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], + ['setctxtype_356',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], + ['setcursor_357',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], + ['setdata_358',['SetData',['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()'],['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()']]], + ['setdirection_359',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], + ['setdistance_360',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], + ['setfilter_361',['SetFilter',['../classraylib_1_1_texture_unmanaged.html#a1836f13313db416d34a8c79ef723e47b',1,'raylib::TextureUnmanaged']]], + ['setfont_362',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], + ['setfontsize_363',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], + ['setformat_364',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture_unmanaged.html#a438ae75a5d6486360f1d7ff6e7184ca8',1,'raylib::TextureUnmanaged::SetFormat()']]], + ['setfovy_365',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], + ['setframecount_366',['SetFrameCount',['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()']]], + ['setframeposes_367',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], + ['setfullscreen_368',['SetFullscreen',['../classraylib_1_1_window.html#aeb4c203ec7f228bb196d7d6c3278984f',1,'raylib::Window']]], + ['setg_369',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], + ['setglyphcount_370',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], + ['setglyphpadding_371',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], + ['setglyphs_372',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], + ['setheight_373',['SetHeight',['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()'],['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture_unmanaged.html#a9db8ff20c38b884a2cc28227afb2cf03',1,'raylib::TextureUnmanaged::SetHeight()']]], + ['sethit_374',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], + ['seticon_375',['SetIcon',['../classraylib_1_1_window.html#a5035259115c985be13b506af12b1f525',1,'raylib::Window']]], + ['setid_376',['SetId',['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()'],['../classraylib_1_1_texture_unmanaged.html#a62a74b91321e534aedcd8dcc325a774a',1,'raylib::TextureUnmanaged::SetId()']]], + ['setindices_377',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], + ['setlocs_378',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], + ['setlooping_379',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], + ['setm0_380',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], + ['setm1_381',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], + ['setm10_382',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], + ['setm11_383',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], + ['setm12_384',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], + ['setm13_385',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], + ['setm14_386',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], + ['setm15_387',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], + ['setm2_388',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], + ['setm3_389',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], + ['setm4_390',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], + ['setm5_391',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], + ['setm6_392',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], + ['setm7_393',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], + ['setm8_394',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], + ['setm9_395',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], + ['setmaps_396',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], + ['setmaterial_397',['SetMaterial',['../classraylib_1_1_texture_unmanaged.html#a8699a9de805c43779cadf52ac1c3ad49',1,'raylib::TextureUnmanaged']]], + ['setmaterialcount_398',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], + ['setmaterials_399',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], + ['setmax_400',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], + ['setmeshcount_401',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], + ['setmeshes_402',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], + ['setmeshmaterial_403',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#acb7831c2542e8e1a7b80859cc7f43aa1',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], + ['setmin_404',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], + ['setminsize_405',['SetMinSize',['../classraylib_1_1_window.html#abd534b189b57a77e491bd7852c9ee3a4',1,'raylib::Window::SetMinSize(int width, int height)'],['../classraylib_1_1_window.html#ad8acc035fd7ae1ca24452de0ca97ff2b',1,'raylib::Window::SetMinSize(const ::Vector2 &size)']]], + ['setmipmaps_406',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture_unmanaged.html#aabfdcae0f545eab0b2d77586ecea98dc',1,'raylib::TextureUnmanaged::SetMipmaps()']]], + ['setmode_407',['SetMode',['../classraylib_1_1_camera3_d.html#a9a2649478bcbc00bc738112d9deacc04',1,'raylib::Camera3D']]], + ['setmonitor_408',['SetMonitor',['../classraylib_1_1_window.html#a69b43267e498bdbe64092cfb96e0e950',1,'raylib::Window']]], + ['setmovecontrols_409',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a6d179e8e85e580dc9e50b6d01c99dd51',1,'raylib::Camera3D']]], + ['setnormal_410',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], + ['setnormals_411',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], + ['setnumber_412',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], + ['setoffset_413',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D']]], + ['setopacity_414',['SetOpacity',['../classraylib_1_1_window.html#adab3c1f529e7a52b9c517d390daa9c90',1,'raylib::Window']]], + ['setpan_415',['SetPan',['../classraylib_1_1_audio_stream.html#ab52147d9e34db29dcf899b040a977a15',1,'raylib::AudioStream::SetPan()'],['../classraylib_1_1_music.html#ae64778c6d20a4ae931f8bfe81899bc28',1,'raylib::Music::SetPan()'],['../classraylib_1_1_sound.html#a460e0429c1b7d5d02386ef80bc91d78d',1,'raylib::Sound::SetPan()']]], + ['setpitch_416',['SetPitch',['../classraylib_1_1_audio_stream.html#a3142331c775e25f172247d86fd112207',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#a863348374483c4b9b01f6e2624f833e8',1,'raylib::Music::SetPitch()'],['../classraylib_1_1_sound.html#a5018b4876727080e904385ce98ee4990',1,'raylib::Sound::SetPitch()']]], + ['setposition_417',['SetPosition',['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_window.html#a662e058a9f5b3121e6280411fa0cc73d',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_window.html#a701de0c79e8252538cd080ddfa51952d',1,'raylib::Window::SetPosition(const ::Vector2 &position)']]], + ['setprocessor_418',['SetProcessor',['../classraylib_1_1_audio_stream.html#a62132160fd5650c0243b3e137ccf4bb2',1,'raylib::AudioStream']]], + ['setprojection_419',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], + ['setr_420',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], + ['setrecs_421',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], + ['setrotation_422',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], + ['setsamplerate_423',['SetSampleRate',['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate()'],['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()']]], + ['setsamplesize_424',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], + ['setshader_425',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], + ['setshadervalue_426',['SetShaderValue',['../classraylib_1_1_matrix.html#a63d84439072b269a99cbf83608ceb387',1,'raylib::Matrix::SetShaderValue()'],['../classraylib_1_1_texture_unmanaged.html#a380af0696999a558ea57354d7a3f8e9f',1,'raylib::TextureUnmanaged::SetShaderValue(const ::Shader &shader, int locIndex)']]], + ['setshapes_427',['SetShapes',['../classraylib_1_1_texture_unmanaged.html#af944a028069f85422065a1c71f0d661d',1,'raylib::TextureUnmanaged']]], + ['setsize_428',['SetSize',['../classraylib_1_1_window.html#a9a51c4a61cb8c6fbf14e164e7c3afa50',1,'raylib::Window::SetSize(int width, int height)'],['../classraylib_1_1_window.html#a51be4f5c35dd84abbaa174df913aa4c7',1,'raylib::Window::SetSize(const ::Vector2 &size)']]], + ['setsmoothzoomcontrol_429',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#a6263a91ecfcc94144cd4cbff82396e78',1,'raylib::Camera3D']]], + ['setspacing_430',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], + ['setstate_431',['SetState',['../classraylib_1_1_window.html#a8f65f0cddfc91ba7c5c5efe0b5deb063',1,'raylib::Window']]], + ['setstream_432',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], + ['settangents_433',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], + ['settarget_434',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], + ['settargetfps_435',['SetTargetFPS',['../classraylib_1_1_window.html#a191fafa4e6e094477c15c157f00a18a4',1,'raylib::Window']]], + ['settexcoords_436',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], + ['settexcoords2_437',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], + ['settext_438',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], + ['settexture_439',['SetTexture',['../classraylib_1_1_font.html#a1f50e12b340a6593b266818e566e3182',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a563a153517435efba319c750d7bd0379',1,'raylib::Material::SetTexture()']]], + ['settitle_440',['SetTitle',['../classraylib_1_1_window.html#a306c896a81dd5790af0c8a8617b907d4',1,'raylib::Window']]], + ['settransform_441',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], + ['settrianglecount_442',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], + ['setup_443',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], + ['setvalue_444',['SetValue',['../classraylib_1_1_shader.html#aee50d83bfae949b476ad994fa739b9a5',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)'],['../classraylib_1_1_shader.html#a7bbc8d326c377cee898bf772dda1fc1c',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)'],['../classraylib_1_1_shader.html#adade0b76feffac6c439efb46586f4099',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)'],['../classraylib_1_1_shader.html#a37e4981ccc95df6b78efd21e8563d49d',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)']]], + ['setvaoid_445',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], + ['setvboid_446',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], + ['setvertexcount_447',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], + ['setvertices_448',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], + ['setvolume_449',['SetVolume',['../classraylib_1_1_audio_device.html#ae1e2ca6a0cd5a3b2cb6f4cfc5455a3f1',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a4cc8dfb6e753ac1ff382b21abe579269',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#acbcc821ca804c0c9783e96267b7c5ef9',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_sound.html#a03cbb1aa868bf037d163a5a540db8c8f',1,'raylib::Sound::SetVolume()']]], + ['setw_450',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], + ['setwidth_451',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture_unmanaged.html#a73c9c2010a1899678a8702b6fa142810',1,'raylib::TextureUnmanaged::SetWidth()']]], + ['setwindowtitle_452',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], + ['setwrap_453',['SetWrap',['../classraylib_1_1_texture_unmanaged.html#ab2c496550bb53555414dd7f49078ec7b',1,'raylib::TextureUnmanaged']]], + ['setx_454',['SetX',['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()'],['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()'],['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX(float value)']]], + ['sety_455',['SetY',['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()'],['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()']]], + ['setz_456',['SetZ',['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()'],['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()']]], + ['setzoom_457',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], + ['shader_458',['Shader',['../classraylib_1_1_shader.html',1,'raylib']]], + ['shouldclose_459',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], + ['sound_460',['Sound',['../classraylib_1_1_sound.html',1,'raylib::Sound'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)']]], + ['spacing_461',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]], + ['sphere_462',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], + ['stop_463',['Stop',['../classraylib_1_1_audio_stream.html#a266882a0ea63da435e44583270685d57',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a6a6ed906b768631c86a006b23900d542',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#af00839539bfeb6dd1bac84b5d1c90f0b',1,'raylib::Sound::Stop()']]], + ['stopmulti_464',['StopMulti',['../classraylib_1_1_sound.html#a6925b0114e6d9636c928fed1f0f0586c',1,'raylib::Sound']]], + ['subtract_465',['Subtract',['../classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9',1,'raylib::Vector2::Subtract()'],['../classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717',1,'raylib::Vector3::Subtract()']]] +]; diff --git a/search/all_11.html b/search/all_11.html new file mode 100644 index 00000000..c9f79d28 --- /dev/null +++ b/search/all_11.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_11.js b/search/all_11.js new file mode 100644 index 00000000..edc98e2f --- /dev/null +++ b/search/all_11.js @@ -0,0 +1,31 @@ +var searchData= +[ + ['takescreenshot_466',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], + ['text_467',['Text',['../classraylib_1_1_text.html',1,'raylib']]], + ['text_468',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]], + ['text_469',['Text',['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)'],['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)']]], + ['textfindindex_470',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], + ['textinsert_471',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], + ['textisequal_472',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], + ['textlength_473',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], + ['textreplace_474',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], + ['textsplit_475',['TextSplit',['../namespaceraylib.html#aaacc0e4e56d476e380eb93734a63157d',1,'raylib']]], + ['textsubtext_476',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], + ['texttointeger_477',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], + ['texttolower_478',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], + ['texttopascal_479',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], + ['texttoupper_480',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], + ['texture_481',['Texture',['../classraylib_1_1_texture.html',1,'raylib::Texture'],['../classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134',1,'raylib::Texture::Texture(const Texture &)=delete'],['../classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be',1,'raylib::Texture::Texture(Texture &&other)']]], + ['textureunmanaged_482',['TextureUnmanaged',['../classraylib_1_1_texture_unmanaged.html',1,'raylib::TextureUnmanaged'],['../classraylib_1_1_texture.html#aeeacead4a33d0e00540e171e7bc22d36',1,'raylib::Texture::TextureUnmanaged()'],['../classraylib_1_1_texture_unmanaged.html#aa860ea9d9af3a4a46c3f14a80bb68b35',1,'raylib::TextureUnmanaged::TextureUnmanaged()'],['../classraylib_1_1_texture_unmanaged.html#a5b3c6a126302ffb5f4109ed2b584644a',1,'raylib::TextureUnmanaged::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)'],['../classraylib_1_1_texture_unmanaged.html#aeb865b1ffcd7263ea2f6e5d12c82bc51',1,'raylib::TextureUnmanaged::TextureUnmanaged(const ::Texture &texture)'],['../classraylib_1_1_texture_unmanaged.html#aeeacead4a33d0e00540e171e7bc22d36',1,'raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image)'],['../classraylib_1_1_texture_unmanaged.html#a492b656b2131ac680ec81ffdb12f6462',1,'raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image, int layout)'],['../classraylib_1_1_texture_unmanaged.html#ac6abab33ac55a239296a820a3821091c',1,'raylib::TextureUnmanaged::TextureUnmanaged(const std::string &fileName)'],['../classraylib_1_1_texture.html#aa860ea9d9af3a4a46c3f14a80bb68b35',1,'raylib::Texture::TextureUnmanaged()'],['../classraylib_1_1_texture.html#a5b3c6a126302ffb5f4109ed2b584644a',1,'raylib::Texture::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)'],['../classraylib_1_1_texture.html#ac6abab33ac55a239296a820a3821091c',1,'raylib::Texture::TextureUnmanaged(const std::string &fileName)'],['../classraylib_1_1_texture.html#a492b656b2131ac680ec81ffdb12f6462',1,'raylib::Texture::TextureUnmanaged(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#aeb865b1ffcd7263ea2f6e5d12c82bc51',1,'raylib::Texture::TextureUnmanaged(const ::Texture &texture)']]], + ['toaxisangle_483',['ToAxisAngle',['../classraylib_1_1_vector4.html#a9ba7c844c00e64543c10c3dfdbc6b868',1,'raylib::Vector4']]], + ['togglefullscreen_484',['ToggleFullscreen',['../classraylib_1_1_window.html#a4f4e526ad3a1bfc3c133ff379d5f04d5',1,'raylib::Window']]], + ['tohsv_485',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], + ['toint_486',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], + ['topot_487',['ToPOT',['../classraylib_1_1_image.html#ae8c33add6a7f996a706f531231b8d996',1,'raylib::Image']]], + ['torus_488',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], + ['touch_489',['Touch',['../classraylib_1_1_touch.html',1,'raylib']]], + ['trace_490',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], + ['tracelog_491',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], + ['transform_492',['Transform',['../classraylib_1_1_vector2.html#afdc8f876d4e2edbab9d34b70f577182e',1,'raylib::Vector2']]], + ['transpose_493',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] +]; diff --git a/search/all_12.html b/search/all_12.html new file mode 100644 index 00000000..ab934722 --- /dev/null +++ b/search/all_12.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_12.js b/search/all_12.js new file mode 100644 index 00000000..45950211 --- /dev/null +++ b/search/all_12.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['unload_494',['Unload',['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4',1,'raylib::Shader::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture_unmanaged.html#aca5cc649538043b521ce77073c367eb3',1,'raylib::TextureUnmanaged::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()'],['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()']]], + ['unloadcolors_495',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], + ['unloadkeepmeshes_496',['UnloadKeepMeshes',['../classraylib_1_1_model.html#a1f8233c28728eff2c4684cb8b4258cda',1,'raylib::Model']]], + ['unloadpalette_497',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], + ['unloadsamples_498',['UnloadSamples',['../classraylib_1_1_wave.html#ad4deb1b67bef7706f29804e00e83d4f0',1,'raylib::Wave']]], + ['update_499',['Update',['../classraylib_1_1_audio_stream.html#ac7aa320c506865cc88d60264549d23b0',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#a6a59671e1b7ed19c5b6566e700b625a7',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#aa5cf71119ac343985b5575be55475c05',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#a031bc82c19b51b29f5c507cacd9c2664',1,'raylib::Music::Update()'],['../classraylib_1_1_sound.html#acec4ed7b817a356a13a24691192da968',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#aa17ec450860a4b02d1fc717dcec278e5',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture_unmanaged.html#a2b4068f21fc78ec60f8d3c696442f300',1,'raylib::TextureUnmanaged::Update(const void *pixels)'],['../classraylib_1_1_texture_unmanaged.html#a1d3924f17f8d9b86bc190e837599348d',1,'raylib::TextureUnmanaged::Update(::Rectangle rec, const void *pixels)']]], + ['updateanimation_500',['UpdateAnimation',['../classraylib_1_1_model.html#a6b2400a98189c50a0c01d9868f56c3e4',1,'raylib::Model']]], + ['updatebuffer_501',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], + ['updatecamera_502',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], + ['upload_503',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] +]; diff --git a/search/all_13.html b/search/all_13.html new file mode 100644 index 00000000..51172c2f --- /dev/null +++ b/search/all_13.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_13.js b/search/all_13.js new file mode 100644 index 00000000..36ddc7c3 --- /dev/null +++ b/search/all_13.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['vector2_504',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib']]], + ['vector3_505',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib']]], + ['vector4_506',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib']]], + ['vrstereoconfig_507',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib']]] +]; diff --git a/search/all_14.html b/search/all_14.html new file mode 100644 index 00000000..afecf563 --- /dev/null +++ b/search/all_14.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_14.js b/search/all_14.js new file mode 100644 index 00000000..5d38695a --- /dev/null +++ b/search/all_14.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['wave_508',['Wave',['../classraylib_1_1_wave.html',1,'raylib::Wave'],['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], + ['whitenoise_509',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], + ['window_510',['Window',['../classraylib_1_1_window.html',1,'raylib::Window'],['../classraylib_1_1_window.html#ac5e6aa9fe0f156cb5de9914552228a6e',1,'raylib::Window::Window()'],['../classraylib_1_1_window.html#a1210770510fc7b1b61c85fc465a96958',1,'raylib::Window::Window(int width, int height, const std::string &title="raylib")']]] +]; diff --git a/search/all_15.html b/search/all_15.html new file mode 100644 index 00000000..69f382b3 --- /dev/null +++ b/search/all_15.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_15.js b/search/all_15.js new file mode 100644 index 00000000..18201dce --- /dev/null +++ b/search/all_15.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['zero_511',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2']]] +]; diff --git a/search/all_16.html b/search/all_16.html new file mode 100644 index 00000000..b19867ad --- /dev/null +++ b/search/all_16.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_16.js b/search/all_16.js new file mode 100644 index 00000000..e61d4ce0 --- /dev/null +++ b/search/all_16.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['_7eaudiodevice_512',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], + ['_7emusic_513',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], + ['_7eshader_514',['~Shader',['../classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1',1,'raylib::Shader']]], + ['_7etexture_515',['~Texture',['../classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac',1,'raylib::Texture']]], + ['_7evrstereoconfig_516',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], + ['_7ewave_517',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], + ['_7ewindow_518',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] +]; diff --git a/search/all_2.html b/search/all_2.html new file mode 100644 index 00000000..02cfffc2 --- /dev/null +++ b/search/all_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_2.js b/search/all_2.js new file mode 100644 index 00000000..8cd13ced --- /dev/null +++ b/search/all_2.js @@ -0,0 +1,30 @@ +var searchData= +[ + ['camera2d_14',['Camera2D',['../classraylib_1_1_camera2_d.html',1,'raylib']]], + ['camera3d_15',['Camera3D',['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D::Camera3D()'],['../classraylib_1_1_camera3_d.html',1,'raylib::Camera3D']]], + ['cellular_16',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], + ['changedirectory_17',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], + ['checkcollision_18',['CheckCollision',['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision(::Vector3 center, float radius) const'],['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision(::Vector2 center, float radius)'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()'],['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision()']]], + ['checkcollisioncircle_19',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], + ['checkcollisionlines_20',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], + ['checkcollisionpointline_21',['CheckCollisionPointLine',['../classraylib_1_1_vector2.html#a1f850b3932615e953d0b454f15a209d2',1,'raylib::Vector2']]], + ['checked_22',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], + ['clamp_23',['Clamp',['../classraylib_1_1_vector2.html#a417d9181ad559a9e2f193219928e886c',1,'raylib::Vector2::Clamp(::Vector2 min, ::Vector2 max)'],['../classraylib_1_1_vector2.html#a4953b5c480256737dc976617caf97ecc',1,'raylib::Vector2::Clamp(float min, float max)']]], + ['clearbackground_24',['ClearBackground',['../classraylib_1_1_color.html#ace467f20d71ff4af44e0211d6aeea9b5',1,'raylib::Color::ClearBackground()'],['../classraylib_1_1_image.html#aed48d37124df81191a9c10a417508703',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a69eb249831f1976ce2a73945e31c6f52',1,'raylib::Window::ClearBackground(const ::Color &color=BLACK)']]], + ['clearstate_25',['ClearState',['../classraylib_1_1_window.html#a359e2101ac13e8ee8423b3ffb27c8a42',1,'raylib::Window']]], + ['close_26',['Close',['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()'],['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()']]], + ['color_27',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]], + ['color_28',['Color',['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html',1,'raylib::Color']]], + ['colorbrightness_29',['ColorBrightness',['../classraylib_1_1_image.html#a2e6287edda71ed977b4b416e04b0f37f',1,'raylib::Image']]], + ['colorcontrast_30',['ColorContrast',['../classraylib_1_1_image.html#af00dca9570581bb75e0616e9a9f9b822',1,'raylib::Image']]], + ['colorgrayscale_31',['ColorGrayscale',['../classraylib_1_1_image.html#a2eae93c88197917b6706139f2c3c6dc2',1,'raylib::Image']]], + ['colorinvert_32',['ColorInvert',['../classraylib_1_1_image.html#af7f900b20bb8823c2c435673438dfbbd',1,'raylib::Image']]], + ['colorreplace_33',['ColorReplace',['../classraylib_1_1_image.html#af9d668a5feaed2554a77694f61cbdae0',1,'raylib::Image']]], + ['colortint_34',['ColorTint',['../classraylib_1_1_image.html#a0299b8ed8b569977d214ce265d3a5c93',1,'raylib::Image']]], + ['cone_35',['Cone',['../classraylib_1_1_mesh.html#a38eec58dd557e79016b1a024b3d2ed8c',1,'raylib::Mesh']]], + ['copy_36',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], + ['crop_37',['Crop',['../classraylib_1_1_image.html#a50a7394e9662bf4f587cd73c5d594cee',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#a1ac865ee24df3dab2afa028c49843590',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#a2fdfad958c27f8cc590b194b06338e2d',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a24323ef52da6113c3af4861ce0250ea0',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a25601c51a2f81c569b074620c6758e94',1,'raylib::Wave::Crop()']]], + ['cube_38',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], + ['cubicmap_39',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], + ['cylinder_40',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] +]; diff --git a/search/all_3.html b/search/all_3.html new file mode 100644 index 00000000..39767b85 --- /dev/null +++ b/search/all_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_3.js b/search/all_3.js new file mode 100644 index 00000000..10490be0 --- /dev/null +++ b/search/all_3.js @@ -0,0 +1,25 @@ +var searchData= +[ + ['detachprocessor_41',['DetachProcessor',['../classraylib_1_1_audio_stream.html#ae41cbe345a20fd7155b96a218c807608',1,'raylib::AudioStream']]], + ['directoryexists_42',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], + ['distance_43',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2']]], + ['distancesqr_44',['DistanceSqr',['../classraylib_1_1_vector2.html#aeb94650ad22524f8e7f6749b49ded6f2',1,'raylib::Vector2']]], + ['dither_45',['Dither',['../classraylib_1_1_image.html#a055b6908b9e8cfcd109abc537f3d2056',1,'raylib::Image']]], + ['divide_46',['Divide',['../classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21',1,'raylib::Vector2::Divide(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83',1,'raylib::Vector2::Divide(const float div) const'],['../classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435',1,'raylib::Vector3::Divide(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6',1,'raylib::Vector3::Divide(const float div) const']]], + ['dotproduct_47',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2']]], + ['draw_48',['Draw',['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_texture_unmanaged.html#a80196875c325e6d7dae9e1f05915e8c2',1,'raylib::TextureUnmanaged::Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a92231c7ef084ded4958752c4196b6638',1,'raylib::TextureUnmanaged::Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#aa1672e3692c36b71128cdfe2ffe718ce',1,'raylib::TextureUnmanaged::Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a8aab2105c5f0d84b151c20ea8b8c747c',1,'raylib::TextureUnmanaged::Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a92e88bfec194e1798b736659c7cd1d4b',1,'raylib::TextureUnmanaged::Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a66f30c9f9ed8ed26a215a0306db082a2',1,'raylib::TextureUnmanaged::Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a4dd8468b304980fe8795dd9f9b0d3723',1,'raylib::TextureUnmanaged::Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_text.html#af89344485eb70a46e94524ea241a88c3',1,'raylib::Text::Draw(const ::Vector2 &position) const'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#ae814ee1d884fe4713c442b93b0a8d841',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const'],['../classraylib_1_1_text.html#af1054f6f69cf55821c9aea8119528db1',1,'raylib::Text::Draw(int posX, int posY) const'],['../classraylib_1_1_rectangle.html#a7d4b375b3bd00fdddffddaaa57da25a7',1,'raylib::Rectangle::Draw()'],['../classraylib_1_1_ray.html#a877f92e8379d13b8fdeb07bb392b83c6',1,'raylib::Ray::Draw()'],['../classraylib_1_1_model.html#a3a38a436863fca2fd5613300d2ba6595',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_model.html#a23d7b4075544332ef45abc84605c3b21',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_mesh.html#a19195e45485c697da105609b361aadb2',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances) const'],['../classraylib_1_1_mesh.html#ad41ffa9eedf941eb309296e7a0ac2f2e',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform) const'],['../classraylib_1_1_bounding_box.html#abb1910745ab4f5c4f1536e15ed79764e',1,'raylib::BoundingBox::Draw()']]], + ['drawbillboard_49',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a7858f66ab315f8fa6db756e072a2943a',1,'raylib::Camera3D::DrawBillboard()'],['../classraylib_1_1_texture_unmanaged.html#a7641f72a49fdf05f417575822dfff92b',1,'raylib::TextureUnmanaged::DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a018bc6617635d2022fe966b581ceeae7',1,'raylib::TextureUnmanaged::DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#afc9cb6a285acb93aa9c340360cb3f03e',1,'raylib::TextureUnmanaged::DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_camera3_d.html#ae49055f2db670d584a2d404c9a17c777',1,'raylib::Camera3D::DrawBillboard()']]], + ['drawcircle_50',['DrawCircle',['../classraylib_1_1_vector2.html#a79787d852db926ff3ef1aece06b201ff',1,'raylib::Vector2']]], + ['drawcube_51',['DrawCube',['../classraylib_1_1_texture_unmanaged.html#ae0777ad1fd9578342c2e45e450c7052f',1,'raylib::TextureUnmanaged::DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a4dcb0ec62404dbb2bed6eb195bbfc059',1,'raylib::TextureUnmanaged::DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#ad179ce6ca17df2c800faf0df2c5b18cb',1,'raylib::TextureUnmanaged::DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#ac5610339e89be5a13c0e1cfd018eedd4',1,'raylib::TextureUnmanaged::DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const']]], + ['drawfps_52',['DrawFPS',['../classraylib_1_1_window.html#a91bbcfadc697547f373dd9cc02edeaf1',1,'raylib::Window']]], + ['drawline_53',['DrawLine',['../classraylib_1_1_color.html#ab3fab187c29a3705aac1a0e826e4a456',1,'raylib::Color::DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) const'],['../classraylib_1_1_color.html#a6333cda3646d05c183d7d90a7ea322e5',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos) const'],['../classraylib_1_1_color.html#accade15fb033d45d707d81d4f114bce9',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) const']]], + ['drawlinebezierquad_54',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#afc700789b302b9f2ef138fc2accfcae9',1,'raylib::Vector2']]], + ['drawmesh_55',['DrawMesh',['../classraylib_1_1_material.html#ab34a9e08028190db1aad10c9c10859c2',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#aa339541c681d718e46dd3ecde1887b52',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], + ['drawpixel_56',['DrawPixel',['../classraylib_1_1_color.html#a63a177093cd11a5ab16d1d2ea9e717b1',1,'raylib::Color::DrawPixel()'],['../classraylib_1_1_image.html#adcec2cf5a6a16d26a8e8dd63407686fc',1,'raylib::Image::DrawPixel()']]], + ['drawpoly_57',['DrawPoly',['../classraylib_1_1_texture_unmanaged.html#a3d18c29ef4a1e7471193ac92d67f0167',1,'raylib::TextureUnmanaged']]], + ['drawtext_58',['DrawText',['../classraylib_1_1_font.html#af430e0ef9362a8d2262443d8a2b92af2',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) const'],['../classraylib_1_1_font.html#ae0c4a16d8aa1cee270b0989afca0e1b6',1,'raylib::Font::DrawText(const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) const'],['../classraylib_1_1_font.html#a741e243c689fb06c6d7756a57c622a2a',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) const'],['../classraylib_1_1_font.html#a172e4e09d9049eea41299b28337131c2',1,'raylib::Font::DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) const'],['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)']]], + ['drawtextex_59',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], + ['drawtextpro_60',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], + ['drawtiled_61',['DrawTiled',['../classraylib_1_1_texture_unmanaged.html#aaa1fc9e74514fd239162b490fd3f38d4',1,'raylib::TextureUnmanaged']]], + ['drawwires_62',['DrawWires',['../classraylib_1_1_model.html#ad4ecebcfd5ee0292c6ea0068b5744002',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_model.html#a6706e37a1bdf3bc971929c9b69880d5a',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const']]] +]; diff --git a/search/all_4.html b/search/all_4.html new file mode 100644 index 00000000..fc40463c --- /dev/null +++ b/search/all_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_4.js b/search/all_4.js new file mode 100644 index 00000000..b8481442 --- /dev/null +++ b/search/all_4.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['enddrawing_63',['EndDrawing',['../classraylib_1_1_window.html#a43bfc69dfce6ec3aaf1170f521243d59',1,'raylib::Window']]], + ['endmode_64',['EndMode',['../classraylib_1_1_camera3_d.html#a724b766ec42ff58243a353e07fd464e8',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a2b742cd39ce046d2ac8e1cd0bb6ae4ff',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a525c31d5a7482bc89e41f03d1284b9f7',1,'raylib::Shader::EndMode()'],['../classraylib_1_1_vr_stereo_config.html#af7dfa68579eca4f909be5bb8c2383721',1,'raylib::VrStereoConfig::EndMode()']]], + ['equals_65',['Equals',['../classraylib_1_1_vector2.html#a005eb382654cbd8e54e24029169e14ff',1,'raylib::Vector2']]], + ['export_66',['Export',['../classraylib_1_1_image.html#acc2213c23d1b05bc0dc46ece4aa2a1d9',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#af9fb0b047378827f5dfb76fbc72fa3c3',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], + ['exportascode_67',['ExportAsCode',['../classraylib_1_1_image.html#ad12fc30d3b858e4c8a1abcac92d4483e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], + ['exportimage_68',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], + ['exportimageascode_69',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] +]; diff --git a/search/all_5.html b/search/all_5.html new file mode 100644 index 00000000..9dd9344b --- /dev/null +++ b/search/all_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_5.js b/search/all_5.js new file mode 100644 index 00000000..4a6e27c6 --- /dev/null +++ b/search/all_5.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['fade_70',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], + ['fileexists_71',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], + ['fliphorizontal_72',['FlipHorizontal',['../classraylib_1_1_image.html#a5d8f596d36077f4b8c24512a2df73e65',1,'raylib::Image']]], + ['flipvertical_73',['FlipVertical',['../classraylib_1_1_image.html#a0f052c63b3cebcf99c0cad86c8e88da4',1,'raylib::Image']]], + ['font_74',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], + ['font_75',['Font',['../classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764',1,'raylib::Font::Font()'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)'],['../classraylib_1_1_font.html',1,'raylib::Font']]], + ['fontsize_76',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]], + ['format_77',['Format',['../classraylib_1_1_image.html#a01fcff59e33e044bd779202ea3473c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a4e6d2e64e6cdd46133893c9edd70b508',1,'raylib::Wave::Format()']]], + ['fromhsv_78',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], + ['fromimage_79',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]] +]; diff --git a/search/all_6.html b/search/all_6.html new file mode 100644 index 00000000..f1e516d7 --- /dev/null +++ b/search/all_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_6.js b/search/all_6.js new file mode 100644 index 00000000..0d02561c --- /dev/null +++ b/search/all_6.js @@ -0,0 +1,150 @@ +var searchData= +[ + ['gamepad_80',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]], + ['genmipmaps_81',['GenMipmaps',['../classraylib_1_1_texture_unmanaged.html#a8a36b99ad434f7f6aa831260f9a9a3db',1,'raylib::TextureUnmanaged']]], + ['gentangents_82',['GenTangents',['../classraylib_1_1_mesh.html#a2c4f31c3ddb8ef351c8fc3a8301497c2',1,'raylib::Mesh']]], + ['geta_83',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], + ['getalphaborder_84',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], + ['getanimnormals_85',['GetAnimNormals',['../classraylib_1_1_mesh.html#a853c2afc08600c3e9e256d1eb805dded',1,'raylib::Mesh']]], + ['getanimvertices_86',['GetAnimVertices',['../classraylib_1_1_mesh.html#a38f5de9866c13b05b49b936a03b17201',1,'raylib::Mesh']]], + ['getaxiscount_87',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], + ['getaxismovement_88',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], + ['getb_89',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], + ['getbasesize_90',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], + ['getbindpose_91',['GetBindPose',['../classraylib_1_1_model.html#a8012904ab28c4966752c7ab67014faa1',1,'raylib::Model']]], + ['getbonecount_92',['GetBoneCount',['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()'],['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()']]], + ['getboneids_93',['GetBoneIds',['../classraylib_1_1_mesh.html#a6e29e78cfa20a16e46cb77de8c4031c7',1,'raylib::Mesh']]], + ['getbones_94',['GetBones',['../classraylib_1_1_model.html#ab944580c06987114068ae16d2b1ac34e',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#aec9078358dfd2a87e580db69d8f7b325',1,'raylib::ModelAnimation::GetBones()']]], + ['getboneweights_95',['GetBoneWeights',['../classraylib_1_1_mesh.html#a0127c2cf9efa4e369fd3f71c326049b1',1,'raylib::Mesh']]], + ['getboundingbox_96',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], + ['getbuffer_97',['GetBuffer',['../classraylib_1_1_audio_stream.html#adea73b3b07652eb26bcaeb6e63f7ebb2',1,'raylib::AudioStream']]], + ['getbuttonpressed_98',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], + ['getchannels_99',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], + ['getclipboardtext_100',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib::GetClipboardText()'],['../classraylib_1_1_window.html#a95694b643f5ded1b873cc8130d238885',1,'raylib::Window::GetClipboardText()']]], + ['getcollision_101',['GetCollision',['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision()'],['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()'],['../classraylib_1_1_ray.html#a576e54e9926824a639235aeafb64a06c',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#acc1e0cffcf355d177dee6f2b8f43fc0d',1,'raylib::Ray::GetCollision(const ::BoundingBox &box) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const']]], + ['getcolor_102',['GetColor',['../classraylib_1_1_image.html#a963ffd4ae257684022ffaa48d66e5c20',1,'raylib::Image::GetColor(int x=0, int y=0) const'],['../classraylib_1_1_image.html#a59621864f70ce41a014133ae323d5f8f',1,'raylib::Image::GetColor(::Vector2 position) const'],['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text::GetColor()']]], + ['getcolors_103',['GetColors',['../classraylib_1_1_mesh.html#a142e31381d248fbcdeeef46fd1f208ed',1,'raylib::Mesh']]], + ['getctxdata_104',['GetCtxData',['../classraylib_1_1_music.html#a349420428960e47afd4c69499b62eeac',1,'raylib::Music']]], + ['getctxtype_105',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], + ['getdata_106',['GetData',['../classraylib_1_1_image.html#a3144e343f963e5b206e1050be54b4187',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture_unmanaged.html#a2d6348f1aa633559046de27145b44a75',1,'raylib::TextureUnmanaged::GetData()'],['../classraylib_1_1_wave.html#a8e7edd178a2ec7dc11f2474b29771d90',1,'raylib::Wave::GetData()']]], + ['getdelta_107',['GetDelta',['../classraylib_1_1_mouse.html#af289f6259f77657bebb4bc6d303b678e',1,'raylib::Mouse']]], + ['getdepth_108',['GetDepth',['../classraylib_1_1_render_texture.html#ab57a4e6a2bef25e85c0942575b508806',1,'raylib::RenderTexture']]], + ['getdirection_109',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], + ['getdirectorypath_110',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], + ['getdistance_111',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], + ['getfileextension_112',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], + ['getfilemodtime_113',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], + ['getfilename_114',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], + ['getfilenamewithoutext_115',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], + ['getfont_116',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], + ['getfontsize_117',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], + ['getformat_118',['GetFormat',['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()'],['../classraylib_1_1_texture_unmanaged.html#a675f52bdb426855011e5c7febfd679b1',1,'raylib::TextureUnmanaged::GetFormat()']]], + ['getfovy_119',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], + ['getfps_120',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], + ['getframecount_121',['GetFrameCount',['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount() const']]], + ['getframeposes_122',['GetFramePoses',['../classraylib_1_1_model_animation.html#a63616ed03e2ca3e1dbe4337de5189ec7',1,'raylib::ModelAnimation']]], + ['getframetime_123',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], + ['getg_124',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], + ['getgamepadname_125',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], + ['getglyphcount_126',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], + ['getglyphindex_127',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], + ['getglyphpadding_128',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], + ['getglyphs_129',['GetGlyphs',['../classraylib_1_1_font.html#a741aa157ac264e77613794818e2fdbe1',1,'raylib::Font']]], + ['gethandle_130',['GetHandle',['../classraylib_1_1_window.html#a0cc3f939a42ba3d625d43096b2e1e60b',1,'raylib::Window']]], + ['getheight_131',['GetHeight',['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()'],['../classraylib_1_1_texture_unmanaged.html#a0cdedece1cb41c7cf93ed49e45245379',1,'raylib::TextureUnmanaged::GetHeight()'],['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()']]], + ['gethit_132',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], + ['getid_133',['GetId',['../classraylib_1_1_texture_unmanaged.html#acf91be34b2c2500a8930f39a83050922',1,'raylib::TextureUnmanaged::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()']]], + ['getindices_134',['GetIndices',['../classraylib_1_1_mesh.html#a1a48eb931c6c910f0fb524d2c49ed183',1,'raylib::Mesh']]], + ['getlocation_135',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], + ['getlocationattrib_136',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], + ['getlocs_137',['GetLocs',['../classraylib_1_1_shader.html#a552106b906d353d97538e43ed2265bd0',1,'raylib::Shader']]], + ['getlooping_138',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], + ['getm0_139',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], + ['getm1_140',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], + ['getm10_141',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], + ['getm11_142',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], + ['getm12_143',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], + ['getm13_144',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], + ['getm14_145',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], + ['getm15_146',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], + ['getm2_147',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], + ['getm3_148',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], + ['getm4_149',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], + ['getm5_150',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], + ['getm6_151',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], + ['getm7_152',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], + ['getm8_153',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], + ['getm9_154',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], + ['getmaps_155',['GetMaps',['../classraylib_1_1_material.html#a561e81c743da576c866cfcec9bad8e53',1,'raylib::Material']]], + ['getmaterialcount_156',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], + ['getmaterials_157',['GetMaterials',['../classraylib_1_1_model.html#a649280afda23717aacce04ee652f601f',1,'raylib::Model']]], + ['getmatrix_158',['GetMatrix',['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()'],['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()']]], + ['getmax_159',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], + ['getmeshcount_160',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], + ['getmeshes_161',['GetMeshes',['../classraylib_1_1_model.html#a66b34f9913ac900b94a338be266f63ce',1,'raylib::Model']]], + ['getmeshmaterial_162',['GetMeshMaterial',['../classraylib_1_1_model.html#a65eb3d0fb0be3d9ba7539df410885045',1,'raylib::Model']]], + ['getmin_163',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], + ['getmipmaps_164',['GetMipmaps',['../classraylib_1_1_texture_unmanaged.html#a5c7983ed1a0434bd60c744155aacca59',1,'raylib::TextureUnmanaged::GetMipmaps()'],['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()']]], + ['getmonitorname_165',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], + ['getmouse_166',['GetMouse',['../classraylib_1_1_ray.html#abc9387233e34d74c668382a2ec206239',1,'raylib::Ray::GetMouse(const ::Camera &camera)'],['../classraylib_1_1_ray.html#a71ed42f62ed21b18de311a5958fb2f90',1,'raylib::Ray::GetMouse(::Vector2 mousePosition, const ::Camera &camera)']]], + ['getmouseray_167',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], + ['getname_168',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], + ['getnormal_169',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], + ['getnormals_170',['GetNormals',['../classraylib_1_1_mesh.html#a0fcc7bca9b9419a0d8e3d59666082edc',1,'raylib::Mesh']]], + ['getnumber_171',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], + ['getoffset_172',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], + ['getpixeldatasize_173',['GetPixelDataSize',['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const'],['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)']]], + ['getplaying_174',['GetPlaying',['../classraylib_1_1_sound.html#a4b665deede8cd92fb0e3dd79193a1c27',1,'raylib::Sound']]], + ['getpointcount_175',['GetPointCount',['../classraylib_1_1_touch.html#ab8237b88ca4e91466b2bf8ac0518dd21',1,'raylib::Touch']]], + ['getpointid_176',['GetPointId',['../classraylib_1_1_touch.html#ac8f4025e43da8339bdfcd70fa1b690fa',1,'raylib::Touch']]], + ['getposition_177',['GetPosition',['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_window.html#a3be14707970a3af16d8dd212c27635a0',1,'raylib::Window::GetPosition()'],['../classraylib_1_1_touch.html#a4e980e79595488f2899795ff76c8989d',1,'raylib::Touch::GetPosition()']]], + ['getprevdirectorypath_178',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], + ['getprocessor_179',['GetProcessor',['../classraylib_1_1_audio_stream.html#a03bb4e9a8f7f4465a21af713147e7d5f',1,'raylib::AudioStream']]], + ['getprojection_180',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], + ['getr_181',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], + ['getray_182',['GetRay',['../classraylib_1_1_mouse.html#ac65597d5676ed34d2ef02868451871a3',1,'raylib::Mouse::GetRay(::Vector2 mousePosition, const ::Camera &camera)'],['../classraylib_1_1_mouse.html#aa123b90dbea73502567e51a410db822c',1,'raylib::Mouse::GetRay(const ::Camera &camera)']]], + ['getrecs_183',['GetRecs',['../classraylib_1_1_font.html#a396cae69c0d0c46bf76fc3879d5219e1',1,'raylib::Font']]], + ['getrenderheight_184',['GetRenderHeight',['../classraylib_1_1_window.html#a135515c9f786676a4e8e1f72ab279e59',1,'raylib::Window']]], + ['getrenderwidth_185',['GetRenderWidth',['../classraylib_1_1_window.html#a06a01230bfa32291f585f1aa63e04e88',1,'raylib::Window']]], + ['getrotation_186',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], + ['getsamplerate_187',['GetSampleRate',['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()'],['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate()']]], + ['getsamplesize_188',['GetSampleSize',['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()'],['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()']]], + ['getscaledpi_189',['GetScaleDPI',['../classraylib_1_1_window.html#a361fe3405b75feef86fe621a0480e10d',1,'raylib::Window']]], + ['getscreentoworld_190',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], + ['getshader_191',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], + ['getsize_192',['GetSize',['../classraylib_1_1_texture_unmanaged.html#a8cf82d2185a819bf7e1cbb2ba0d74372',1,'raylib::TextureUnmanaged::GetSize()'],['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()'],['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()']]], + ['getspacing_193',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], + ['getstream_194',['GetStream',['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()'],['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()']]], + ['gettangents_195',['GetTangents',['../classraylib_1_1_mesh.html#aa87bf017b9ea53e09230d128ffbb6a19',1,'raylib::Mesh']]], + ['gettarget_196',['GetTarget',['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()'],['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()']]], + ['gettexcoords_197',['GetTexCoords',['../classraylib_1_1_mesh.html#a3f81f280b53829deef1a37c4b5b5ca62',1,'raylib::Mesh']]], + ['gettexcoords2_198',['GetTexCoords2',['../classraylib_1_1_mesh.html#a30066599a6ce84274283fe59ddade320',1,'raylib::Mesh']]], + ['gettext_199',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], + ['gettexture_200',['GetTexture',['../classraylib_1_1_render_texture.html#a0bda707cbc38cb5225e2fead089b2f92',1,'raylib::RenderTexture::GetTexture()'],['../classraylib_1_1_font.html#ad9435dc5993fab5b91d38b30c0cabc0b',1,'raylib::Font::GetTexture()']]], + ['gettime_201',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], + ['gettimelength_202',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], + ['gettimeplayed_203',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], + ['gettouchposition_204',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], + ['gettouchx_205',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], + ['gettouchy_206',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], + ['gettransform_207',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], + ['gettrianglecount_208',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], + ['getup_209',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], + ['getvaoid_210',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], + ['getvboid_211',['GetVboId',['../classraylib_1_1_mesh.html#ae535ee83038e5e79a9347c1196aff6b9',1,'raylib::Mesh']]], + ['getvertexcount_212',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], + ['getvertices_213',['GetVertices',['../classraylib_1_1_mesh.html#a3e0d13eece1fd47334117d316c777f4f',1,'raylib::Mesh']]], + ['getw_214',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], + ['getwheelmove_215',['GetWheelMove',['../classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9',1,'raylib::Mouse']]], + ['getwheelmovev_216',['GetWheelMoveV',['../classraylib_1_1_mouse.html#ad7f3a408bf64d5af809c9f798eb96d51',1,'raylib::Mouse']]], + ['getwidth_217',['GetWidth',['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()'],['../classraylib_1_1_texture_unmanaged.html#a643a62489bf02008ad964f3681a2e0bf',1,'raylib::TextureUnmanaged::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()']]], + ['getworkingdirectory_218',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], + ['getworldtoscreen_219',['GetWorldToScreen',['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()'],['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()']]], + ['getx_220',['GetX',['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_touch.html#aeaad71fb64dd384ab1fa6a844c21b5c9',1,'raylib::Touch::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], + ['gety_221',['GetY',['../classraylib_1_1_touch.html#add32d0ca76f297d9f793d2e9028eaf78',1,'raylib::Touch::GetY()'],['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY() const']]], + ['getz_222',['GetZ',['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()'],['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()']]], + ['getzoom_223',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], + ['gradienth_224',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], + ['gradientradial_225',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], + ['gradientv_226',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]] +]; diff --git a/search/all_7.html b/search/all_7.html new file mode 100644 index 00000000..8ddbf6c8 --- /dev/null +++ b/search/all_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_7.js b/search/all_7.js new file mode 100644 index 00000000..ff407c30 --- /dev/null +++ b/search/all_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['heightmap_227',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], + ['hemisphere_228',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] +]; diff --git a/search/all_8.html b/search/all_8.html new file mode 100644 index 00000000..83c55ae2 --- /dev/null +++ b/search/all_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_8.js b/search/all_8.js new file mode 100644 index 00000000..497545be --- /dev/null +++ b/search/all_8.js @@ -0,0 +1,27 @@ +var searchData= +[ + ['image_229',['Image',['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)'],['../classraylib_1_1_image.html#a1712a7b876e26241634d57221371460a',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize=0)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)'],['../classraylib_1_1_image.html',1,'raylib::Image']]], + ['imagetext_230',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], + ['init_231',['Init',['../classraylib_1_1_audio_device.html#a65bd0c0305c16fb70a0a6fb09e834224',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_window.html#a90e16147a603cfb0b5cda99f7e9168db',1,'raylib::Window::Init()']]], + ['initwindow_232',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], + ['invert_233',['Invert',['../classraylib_1_1_vector2.html#a2fb114c1cde0a2f8037e61aa2822379c',1,'raylib::Vector2']]], + ['isavailable_234',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], + ['isbuttondown_235',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], + ['isbuttonpressed_236',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], + ['isbuttonreleased_237',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], + ['isbuttonup_238',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad']]], + ['iscursoronscreen_239',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], + ['isfileextension_240',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], + ['isfocused_241',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], + ['isfullscreen_242',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], + ['ishidden_243',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], + ['ismaximized_244',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], + ['isminimized_245',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], + ['ismodelanimationvalid_246',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], + ['isplaying_247',['IsPlaying',['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], + ['isprocessed_248',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], + ['isready_249',['IsReady',['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_texture_unmanaged.html#a5d8c0f98228733827086ea0b89db8bf4',1,'raylib::TextureUnmanaged::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_font.html#ae4ccfbf51f897fe88c0865a1be0f9d59',1,'raylib::Font::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()']]], + ['isresized_250',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], + ['isstate_251',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], + ['isvalid_252',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] +]; diff --git a/search/all_9.html b/search/all_9.html new file mode 100644 index 00000000..1e263c13 --- /dev/null +++ b/search/all_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_9.js b/search/all_9.js new file mode 100644 index 00000000..d1bb33d5 --- /dev/null +++ b/search/all_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['knot_253',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] +]; diff --git a/search/all_a.html b/search/all_a.html new file mode 100644 index 00000000..3a6cac10 --- /dev/null +++ b/search/all_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_a.js b/search/all_a.js new file mode 100644 index 00000000..d0d9acc9 --- /dev/null +++ b/search/all_a.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['length_254',['Length',['../classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e',1,'raylib::Vector3::Length()'],['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2::Length() const']]], + ['lengthsqr_255',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], + ['lerp_256',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2']]], + ['load_257',['Load',['../classraylib_1_1_texture_unmanaged.html#a5f26bb84c03b611f0c949e60d9aa2fe6',1,'raylib::TextureUnmanaged::Load()'],['../classraylib_1_1_wave.html#a2fccdb0e506c2dbacb84c32ff5ff3231',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_wave.html#ae84bb98eb9f24cf352dce7c1bd5661da',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_vr_stereo_config.html#a9bfecba47ab31e1849bc6fb801b771dd',1,'raylib::VrStereoConfig::Load()'],['../classraylib_1_1_texture_unmanaged.html#a7a647e7603b96f1d97acb8ef5dafcaf9',1,'raylib::TextureUnmanaged::Load(const std::string &fileName)'],['../classraylib_1_1_texture_unmanaged.html#a26e02437029caa0c637053778cc5d38c',1,'raylib::TextureUnmanaged::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_sound.html#a1f761b71ed572d0f86d02f9d9f13e959',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a908c8b125703ec0a3f0a669f077fcb74',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_render_texture.html#ac2842a1ce99b510d23cc3537119765d6',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_music.html#a2b24fbd4b710d4b0d95a38e19c0baf12',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html#ac167e74cfb05e4e7e94c5462f8b0671b',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#a3ecd0439157481f160413efb94d40812',1,'raylib::Model::Load()'],['../classraylib_1_1_model_animation.html#ae743a3f4d87b6c904b2b4737851f0e21',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_audio_stream.html#a5a5c4cad697bfd65ae5e87843699e7e7',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a3ed074aa440e8ff6605fba72e0f93f0b',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#a3dcf41055e85366b04e5fff7c95c88a3',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_image.html#a399564cc57fbee6d5055c3adf0da6ac7',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a1f5badb0420aaa6620b39ec665669c85',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a02e6bf50845e864750bd54eaf83d68c8',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a9695f5ea51c98a9bda031744a94b82b7',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a31ad53284abbe6bb4ce56906a737ea7b',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#ac482f46142b5ecc9eea4206aced73e26',1,'raylib::Material::Load()'],['../classraylib_1_1_model.html#a0b7a1b536850d4a921c7ddcd5d896475',1,'raylib::Model::Load()']]], + ['loadcolors_258',['LoadColors',['../classraylib_1_1_image.html#a6d338c20d5bd42e64dc7bc5227d4f8ac',1,'raylib::Image']]], + ['loaddirectoryfiles_259',['LoadDirectoryFiles',['../namespaceraylib.html#a5cf133d6498e67a2e626dc09f8cda454',1,'raylib']]], + ['loaddroppedfiles_260',['LoadDroppedFiles',['../namespaceraylib.html#ac7092ec5861661cf6e50ac74fde01339',1,'raylib']]], + ['loadfiletext_261',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], + ['loadfont_262',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], + ['loadfontex_263',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], + ['loadfrommemory_264',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], + ['loadfromscreen_265',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], + ['loadimage_266',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], + ['loadimageanim_267',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], + ['loadimagefrommemory_268',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], + ['loadimageraw_269',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], + ['loadmodelfrom_270',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], + ['loadpalette_271',['LoadPalette',['../classraylib_1_1_image.html#a89f8e8272c2dfae8c3200572e43c051a',1,'raylib::Image']]], + ['loadsamples_272',['LoadSamples',['../classraylib_1_1_wave.html#ac42dd244534663a8fb1da305006c9f3a',1,'raylib::Wave']]], + ['loadsound_273',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], + ['loadtexture_274',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]] +]; diff --git a/search/all_b.html b/search/all_b.html new file mode 100644 index 00000000..130deb4e --- /dev/null +++ b/search/all_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_b.js b/search/all_b.js new file mode 100644 index 00000000..55f00e3d --- /dev/null +++ b/search/all_b.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['material_275',['Material',['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material::Material()'],['../classraylib_1_1_material.html',1,'raylib::Material']]], + ['matrix_276',['Matrix',['../classraylib_1_1_matrix.html',1,'raylib']]], + ['maximize_277',['Maximize',['../classraylib_1_1_window.html#aee89de600dcc7e645452b4d2f88d55e3',1,'raylib::Window']]], + ['measure_278',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], + ['measureex_279',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], + ['measuretext_280',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], + ['mesh_281',['Mesh',['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh::Mesh()'],['../classraylib_1_1_mesh.html',1,'raylib::Mesh']]], + ['minimize_282',['Minimize',['../classraylib_1_1_window.html#a16f54f039449dc45b57849811754ceae',1,'raylib::Window']]], + ['mipmaps_283',['Mipmaps',['../classraylib_1_1_image.html#aaf8f93e11186f0be62d68ae3f932435f',1,'raylib::Image']]], + ['model_284',['Model',['../classraylib_1_1_model.html',1,'raylib']]], + ['modelanimation_285',['ModelAnimation',['../classraylib_1_1_model_animation.html',1,'raylib']]], + ['mouse_286',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], + ['movetowards_287',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], + ['multiply_288',['Multiply',['../classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec',1,'raylib::Vector2::Multiply()'],['../classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4',1,'raylib::Vector3::Multiply()']]], + ['music_289',['Music',['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html',1,'raylib::Music']]] +]; diff --git a/search/all_c.html b/search/all_c.html new file mode 100644 index 00000000..3dd5af06 --- /dev/null +++ b/search/all_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_c.js b/search/all_c.js new file mode 100644 index 00000000..fd62a26b --- /dev/null +++ b/search/all_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['negate_290',['Negate',['../classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587',1,'raylib::Vector2::Negate()'],['../classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c',1,'raylib::Vector3::Negate()']]], + ['normalize_291',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()']]] +]; diff --git a/search/all_d.html b/search/all_d.html new file mode 100644 index 00000000..af7f2f0f --- /dev/null +++ b/search/all_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_d.js b/search/all_d.js new file mode 100644 index 00000000..8f7316d4 --- /dev/null +++ b/search/all_d.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['boundingbox_292',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], + ['model_293',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], + ['one_294',['One',['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2']]], + ['openurl_295',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], + ['operator_20boundingbox_296',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], + ['operator_20image_297',['operator Image',['../classraylib_1_1_texture_unmanaged.html#a4ca04773c348cb63e0ae04f1a15ad559',1,'raylib::TextureUnmanaged']]], + ['operator_20int_298',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color']]], + ['operator_21_3d_299',['operator!=',['../classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433',1,'raylib::Vector2']]], + ['operator_2a_300',['operator*',['../classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970',1,'raylib::Vector2::operator*(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d',1,'raylib::Vector2::operator*(const float scale) const'],['../classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e',1,'raylib::Vector3::operator*(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#afef36f35a5679310ce6b2c66c00e7ffb',1,'raylib::Vector3::operator*(const float scaler) const']]], + ['operator_2a_3d_301',['operator*=',['../classraylib_1_1_vector2.html#a422aa937be7626ffc2e3b22e13a1b036',1,'raylib::Vector2::operator*=(const ::Vector2 &vector2)'],['../classraylib_1_1_vector2.html#a25383d6bd6417ff08f5278a655149f88',1,'raylib::Vector2::operator*=(const float scale)'],['../classraylib_1_1_vector3.html#a28be7d5bee8c76e3150ec35a52ed0223',1,'raylib::Vector3::operator*=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#ac9b30eae1bf4894e88fb7adc41e98950',1,'raylib::Vector3::operator*=(const float scaler)']]], + ['operator_2b_302',['operator+',['../classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a',1,'raylib::Vector2::operator+()'],['../classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36',1,'raylib::Vector3::operator+()']]], + ['operator_2b_3d_303',['operator+=',['../classraylib_1_1_vector2.html#ab38e455e117ee26f7f75a4e1693f690b',1,'raylib::Vector2']]], + ['operator_2d_304',['operator-',['../classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934',1,'raylib::Vector3::operator-()'],['../classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676',1,'raylib::Vector3::operator-(const ::Vector3 &vector3)'],['../classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1',1,'raylib::Vector2::operator-(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779',1,'raylib::Vector2::operator-() const']]], + ['operator_2d_3d_305',['operator-=',['../classraylib_1_1_vector2.html#a4419d8dd4712350785b1faa420c39e78',1,'raylib::Vector2']]], + ['operator_2f_306',['operator/',['../classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517',1,'raylib::Vector2::operator/(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5',1,'raylib::Vector2::operator/(const float div) const'],['../classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb',1,'raylib::Vector3::operator/(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb',1,'raylib::Vector3::operator/(const float div) const']]], + ['operator_2f_3d_307',['operator/=',['../classraylib_1_1_vector3.html#a2601db71baebda5e0b63f961420caea0',1,'raylib::Vector3::operator/=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#aaf126a750920c95d56f980278d1ae90e',1,'raylib::Vector3::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a882cfda12dddbea24639ca8b0b2b3e11',1,'raylib::Vector2::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a9786cfa3e5d2b9fea2e88efc508dfa25',1,'raylib::Vector2::operator/=(const ::Vector2 &vector2)']]], + ['operator_3d_308',['operator=',['../classraylib_1_1_texture.html#a94c78b9b9f27a430dad001b0eb05fef8',1,'raylib::Texture::operator=(const Texture &)=delete'],['../classraylib_1_1_texture.html#ad7218067681e3e5509f22a481aa69a04',1,'raylib::Texture::operator=(Texture &&other) noexcept'],['../classraylib_1_1_vector2.html#a7482eb2d4f0c5b5261b6473aa07f8af7',1,'raylib::Vector2::operator=(const ::Vector2 &vector2)']]], + ['operator_3d_3d_309',['operator==',['../classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069',1,'raylib::Vector2']]], + ['sound_310',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], + ['string_311',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], + ['texture2d_312',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]] +]; diff --git a/search/all_e.html b/search/all_e.html new file mode 100644 index 00000000..e25df423 --- /dev/null +++ b/search/all_e.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_e.js b/search/all_e.js new file mode 100644 index 00000000..0695e40a --- /dev/null +++ b/search/all_e.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['pause_313',['Pause',['../classraylib_1_1_audio_stream.html#aa620374153aa063a0e34f4260c6dce94',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#a810f0ae266f247237aa23574e1e31626',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a51f64c5c76a86a6b6f2225870d5a83a3',1,'raylib::Sound::Pause()']]], + ['plane_314',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], + ['play_315',['Play',['../classraylib_1_1_audio_stream.html#a594754979b974479711879b7d4af082e',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a908ddb6c248c75bd1a3cabc1381a45fc',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#a2fd3ff7a2653fa57dc2b0987e108a2ae',1,'raylib::Sound::Play()']]], + ['playmulti_316',['PlayMulti',['../classraylib_1_1_sound.html#adfe6e6915bb17eefd0ab58f5cb3aa7ba',1,'raylib::Sound']]], + ['poly_317',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]] +]; diff --git a/search/all_f.html b/search/all_f.html new file mode 100644 index 00000000..b23da6ce --- /dev/null +++ b/search/all_f.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/all_f.js b/search/all_f.js new file mode 100644 index 00000000..407a1bfb --- /dev/null +++ b/search/all_f.js @@ -0,0 +1,19 @@ +var searchData= +[ + ['ray_318',['Ray',['../classraylib_1_1_ray.html',1,'raylib']]], + ['raycollision_319',['RayCollision',['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)'],['../classraylib_1_1_ray_collision.html#afe1b683d72b7de2fc4dadc05fca2d82b',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 center, float radius)'],['../classraylib_1_1_ray_collision.html#a50e76ebbce10933ee9e499837fcbe3ba',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::BoundingBox &box)'],['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a702bd678593171faed68bf96079d5233',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4)'],['../classraylib_1_1_ray_collision.html',1,'raylib::RayCollision']]], + ['raylib_320',['raylib',['../namespaceraylib.html',1,'']]], + ['raylib_2dcpp_321',['raylib-cpp',['../index.html',1,'']]], + ['raylibexception_322',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib::RaylibException'],['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException::RaylibException()']]], + ['rectangle_323',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib']]], + ['reflect_324',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2']]], + ['rendertexture_325',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib::RenderTexture'],['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()'],['../classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3',1,'raylib::RenderTexture::RenderTexture(int width, int height)']]], + ['resize_326',['Resize',['../classraylib_1_1_image.html#a62294223271290f049711ee96ca809fb',1,'raylib::Image']]], + ['resizecanvas_327',['ResizeCanvas',['../classraylib_1_1_image.html#a008fc6154d0252aa1b9924281a27a61d',1,'raylib::Image']]], + ['resizenn_328',['ResizeNN',['../classraylib_1_1_image.html#a13f6b8aade2957218bdfa199857caa04',1,'raylib::Image']]], + ['restore_329',['Restore',['../classraylib_1_1_window.html#a936ba6f4614ab6b3c2552f88798ffac2',1,'raylib::Window']]], + ['resume_330',['Resume',['../classraylib_1_1_audio_stream.html#ab3514d8e8b8c8992046ef3e51e571c88',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#a5c5c67064aa37d2b3f3234a2a02230de',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#a08132251f7b6e4caec600475f610e2f5',1,'raylib::Sound::Resume()']]], + ['rotate_331',['Rotate',['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2']]], + ['rotateccw_332',['RotateCCW',['../classraylib_1_1_image.html#aa08513832d0ab58144f4418ba3b4b6d6',1,'raylib::Image']]], + ['rotatecw_333',['RotateCW',['../classraylib_1_1_image.html#aed253e5dd980e63b7fd7a8ef43ef7cf6',1,'raylib::Image']]] +]; diff --git a/search/classes_0.html b/search/classes_0.html new file mode 100644 index 00000000..af8159ee --- /dev/null +++ b/search/classes_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_0.js b/search/classes_0.js new file mode 100644 index 00000000..13796175 --- /dev/null +++ b/search/classes_0.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['audiodevice_519',['AudioDevice',['../classraylib_1_1_audio_device.html',1,'raylib']]], + ['audiostream_520',['AudioStream',['../classraylib_1_1_audio_stream.html',1,'raylib']]] +]; diff --git a/search/classes_1.html b/search/classes_1.html new file mode 100644 index 00000000..576e9168 --- /dev/null +++ b/search/classes_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_1.js b/search/classes_1.js new file mode 100644 index 00000000..f62d72bc --- /dev/null +++ b/search/classes_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['boundingbox_521',['BoundingBox',['../classraylib_1_1_bounding_box.html',1,'raylib']]] +]; diff --git a/search/classes_2.html b/search/classes_2.html new file mode 100644 index 00000000..956405e5 --- /dev/null +++ b/search/classes_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_2.js b/search/classes_2.js new file mode 100644 index 00000000..30d50c5f --- /dev/null +++ b/search/classes_2.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['camera2d_522',['Camera2D',['../classraylib_1_1_camera2_d.html',1,'raylib']]], + ['camera3d_523',['Camera3D',['../classraylib_1_1_camera3_d.html',1,'raylib']]], + ['color_524',['Color',['../classraylib_1_1_color.html',1,'raylib']]] +]; diff --git a/search/classes_3.html b/search/classes_3.html new file mode 100644 index 00000000..d33343bc --- /dev/null +++ b/search/classes_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_3.js b/search/classes_3.js new file mode 100644 index 00000000..941bb8c5 --- /dev/null +++ b/search/classes_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['font_525',['Font',['../classraylib_1_1_font.html',1,'raylib']]] +]; diff --git a/search/classes_4.html b/search/classes_4.html new file mode 100644 index 00000000..8430b07f --- /dev/null +++ b/search/classes_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_4.js b/search/classes_4.js new file mode 100644 index 00000000..78e02595 --- /dev/null +++ b/search/classes_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['gamepad_526',['Gamepad',['../classraylib_1_1_gamepad.html',1,'raylib']]] +]; diff --git a/search/classes_5.html b/search/classes_5.html new file mode 100644 index 00000000..c2f1b767 --- /dev/null +++ b/search/classes_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_5.js b/search/classes_5.js new file mode 100644 index 00000000..cd17f650 --- /dev/null +++ b/search/classes_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['image_527',['Image',['../classraylib_1_1_image.html',1,'raylib']]] +]; diff --git a/search/classes_6.html b/search/classes_6.html new file mode 100644 index 00000000..e39847ce --- /dev/null +++ b/search/classes_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_6.js b/search/classes_6.js new file mode 100644 index 00000000..f8e71e0f --- /dev/null +++ b/search/classes_6.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['material_528',['Material',['../classraylib_1_1_material.html',1,'raylib']]], + ['matrix_529',['Matrix',['../classraylib_1_1_matrix.html',1,'raylib']]], + ['mesh_530',['Mesh',['../classraylib_1_1_mesh.html',1,'raylib']]], + ['model_531',['Model',['../classraylib_1_1_model.html',1,'raylib']]], + ['modelanimation_532',['ModelAnimation',['../classraylib_1_1_model_animation.html',1,'raylib']]], + ['mouse_533',['Mouse',['../classraylib_1_1_mouse.html',1,'raylib']]], + ['music_534',['Music',['../classraylib_1_1_music.html',1,'raylib']]] +]; diff --git a/search/classes_7.html b/search/classes_7.html new file mode 100644 index 00000000..a2c4d1a3 --- /dev/null +++ b/search/classes_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_7.js b/search/classes_7.js new file mode 100644 index 00000000..1e8e9618 --- /dev/null +++ b/search/classes_7.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['ray_535',['Ray',['../classraylib_1_1_ray.html',1,'raylib']]], + ['raycollision_536',['RayCollision',['../classraylib_1_1_ray_collision.html',1,'raylib']]], + ['raylibexception_537',['RaylibException',['../classraylib_1_1_raylib_exception.html',1,'raylib']]], + ['rectangle_538',['Rectangle',['../classraylib_1_1_rectangle.html',1,'raylib']]], + ['rendertexture_539',['RenderTexture',['../classraylib_1_1_render_texture.html',1,'raylib']]] +]; diff --git a/search/classes_8.html b/search/classes_8.html new file mode 100644 index 00000000..17003e48 --- /dev/null +++ b/search/classes_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_8.js b/search/classes_8.js new file mode 100644 index 00000000..06c9ddc3 --- /dev/null +++ b/search/classes_8.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['shader_540',['Shader',['../classraylib_1_1_shader.html',1,'raylib']]], + ['sound_541',['Sound',['../classraylib_1_1_sound.html',1,'raylib']]] +]; diff --git a/search/classes_9.html b/search/classes_9.html new file mode 100644 index 00000000..b8afa8cb --- /dev/null +++ b/search/classes_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_9.js b/search/classes_9.js new file mode 100644 index 00000000..fbfb6789 --- /dev/null +++ b/search/classes_9.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['text_542',['Text',['../classraylib_1_1_text.html',1,'raylib']]], + ['texture_543',['Texture',['../classraylib_1_1_texture.html',1,'raylib']]], + ['textureunmanaged_544',['TextureUnmanaged',['../classraylib_1_1_texture_unmanaged.html',1,'raylib']]], + ['touch_545',['Touch',['../classraylib_1_1_touch.html',1,'raylib']]] +]; diff --git a/search/classes_a.html b/search/classes_a.html new file mode 100644 index 00000000..6788af27 --- /dev/null +++ b/search/classes_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_a.js b/search/classes_a.js new file mode 100644 index 00000000..9e7be71b --- /dev/null +++ b/search/classes_a.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['vector2_546',['Vector2',['../classraylib_1_1_vector2.html',1,'raylib']]], + ['vector3_547',['Vector3',['../classraylib_1_1_vector3.html',1,'raylib']]], + ['vector4_548',['Vector4',['../classraylib_1_1_vector4.html',1,'raylib']]], + ['vrstereoconfig_549',['VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html',1,'raylib']]] +]; diff --git a/search/classes_b.html b/search/classes_b.html new file mode 100644 index 00000000..3fcb4985 --- /dev/null +++ b/search/classes_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/classes_b.js b/search/classes_b.js new file mode 100644 index 00000000..7ce7399b --- /dev/null +++ b/search/classes_b.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['wave_550',['Wave',['../classraylib_1_1_wave.html',1,'raylib']]], + ['window_551',['Window',['../classraylib_1_1_window.html',1,'raylib']]] +]; diff --git a/search/close.svg b/search/close.svg new file mode 100644 index 00000000..a933eea1 --- /dev/null +++ b/search/close.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/search/functions_0.html b/search/functions_0.html new file mode 100644 index 00000000..eb4c5014 --- /dev/null +++ b/search/functions_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_0.js b/search/functions_0.js new file mode 100644 index 00000000..b21343e1 --- /dev/null +++ b/search/functions_0.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['add_553',['Add',['../classraylib_1_1_vector2.html#a9b508085257410f314beb2f405259678',1,'raylib::Vector2::Add()'],['../classraylib_1_1_vector3.html#a640c5d01ab7d004830de1f7609abfdd2',1,'raylib::Vector3::Add()']]], + ['alpha_554',['Alpha',['../classraylib_1_1_color.html#ad00d99cc5d6212d16e4a264bb7d984d8',1,'raylib::Color']]], + ['alphablend_555',['AlphaBlend',['../classraylib_1_1_color.html#a127c0c75e8f28b01b6861897c0c89c88',1,'raylib::Color']]], + ['alphaclear_556',['AlphaClear',['../classraylib_1_1_image.html#a39d6f6b230bcdaba3d85f45e9b5dad20',1,'raylib::Image']]], + ['alphacrop_557',['AlphaCrop',['../classraylib_1_1_image.html#a5945a136f675e024dda002075b34dfef',1,'raylib::Image']]], + ['alphamask_558',['AlphaMask',['../classraylib_1_1_image.html#a3bbcbb96834c526b6b789a804078d472',1,'raylib::Image']]], + ['alphapremultiply_559',['AlphaPremultiply',['../classraylib_1_1_image.html#ace3ef45495b17bf2e5a645931b792483',1,'raylib::Image']]], + ['angle_560',['Angle',['../classraylib_1_1_vector2.html#af912d448e687a2a39fed158b4bf18a12',1,'raylib::Vector2']]], + ['attachprocessor_561',['AttachProcessor',['../classraylib_1_1_audio_stream.html#a4442ef0d6ba9c3ac03354c10ab62dd4a',1,'raylib::AudioStream']]], + ['audiodevice_562',['AudioDevice',['../classraylib_1_1_audio_device.html#ada9e1459186cb8658b28c1fbeec0f261',1,'raylib::AudioDevice']]], + ['audiostream_563',['AudioStream',['../classraylib_1_1_audio_stream.html#a8dd9cb9c1d176a3ff8518cd1e5fbe3b2',1,'raylib::AudioStream']]] +]; diff --git a/search/functions_1.html b/search/functions_1.html new file mode 100644 index 00000000..ef4088b8 --- /dev/null +++ b/search/functions_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_1.js b/search/functions_1.js new file mode 100644 index 00000000..b923f587 --- /dev/null +++ b/search/functions_1.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['begindrawing_564',['BeginDrawing',['../classraylib_1_1_window.html#a8f2b932e51fc0ac154e2fd578691ebd6',1,'raylib::Window']]], + ['beginmode_565',['BeginMode',['../classraylib_1_1_camera3_d.html#a0aeaa99678bacc68d410a4d42e95548a',1,'raylib::Camera3D::BeginMode()'],['../classraylib_1_1_render_texture.html#a7d05e471bb2d7fc83094f7a9463d836f',1,'raylib::RenderTexture::BeginMode()'],['../classraylib_1_1_shader.html#a63311cdadb7f81791a61e2ccea33efbe',1,'raylib::Shader::BeginMode()'],['../classraylib_1_1_vr_stereo_config.html#aee11917e6f68d22e12e06a81d58ee340',1,'raylib::VrStereoConfig::BeginMode()']]], + ['boundingbox_566',['BoundingBox',['../classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611',1,'raylib::BoundingBox::BoundingBox()'],['../classraylib_1_1_mesh.html#a045bdf62b9676b07c5745172383802c7',1,'raylib::Mesh::BoundingBox()']]] +]; diff --git a/search/functions_10.html b/search/functions_10.html new file mode 100644 index 00000000..1bdc1257 --- /dev/null +++ b/search/functions_10.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_10.js b/search/functions_10.js new file mode 100644 index 00000000..3af29133 --- /dev/null +++ b/search/functions_10.js @@ -0,0 +1,133 @@ +var searchData= +[ + ['savefiletext_874',['SaveFileText',['../namespaceraylib.html#a59f827734d90fbc8993b0c4be6e73d78',1,'raylib']]], + ['scale_875',['Scale',['../classraylib_1_1_vector3.html#a836612125a59668d0654010cacf76e92',1,'raylib::Vector3::Scale()'],['../classraylib_1_1_vector2.html#a99329cc7300b744993c299a60191b23e',1,'raylib::Vector2::Scale()']]], + ['seek_876',['Seek',['../classraylib_1_1_music.html#ab2013c089ab1b10e6dcc70c9c350c0f2',1,'raylib::Music']]], + ['seta_877',['SetA',['../classraylib_1_1_color.html#a32317cff410007a6801f59d447e5f4d6',1,'raylib::Color']]], + ['setaltcontrol_878',['SetAltControl',['../classraylib_1_1_camera3_d.html#af4494c05808722f3111c6bcb3703b662',1,'raylib::Camera3D']]], + ['setanimnormals_879',['SetAnimNormals',['../classraylib_1_1_mesh.html#aabdeb09b82063c1235407955fb927cb7',1,'raylib::Mesh']]], + ['setanimvertices_880',['SetAnimVertices',['../classraylib_1_1_mesh.html#ae929f61ce9c45e933e03d55edfbdf119',1,'raylib::Mesh']]], + ['setb_881',['SetB',['../classraylib_1_1_color.html#a2a22f079f84d9dc63a5341e40a055dc2',1,'raylib::Color']]], + ['setbasesize_882',['SetBaseSize',['../classraylib_1_1_font.html#ae649dde6d344112b02d4f560eb638f94',1,'raylib::Font']]], + ['setbindpose_883',['SetBindPose',['../classraylib_1_1_model.html#a050984a426af27d50b3026b581f7e2b5',1,'raylib::Model']]], + ['setbonecount_884',['SetBoneCount',['../classraylib_1_1_model.html#aaa8d7b34437519af8454b5e0d7de907a',1,'raylib::Model::SetBoneCount()'],['../classraylib_1_1_model_animation.html#a6119b594cad4ead5dab370a8050c42af',1,'raylib::ModelAnimation::SetBoneCount()']]], + ['setboneids_885',['SetBoneIds',['../classraylib_1_1_mesh.html#ada280246cf4ebd0b0d713ab2f021cc81',1,'raylib::Mesh']]], + ['setbones_886',['SetBones',['../classraylib_1_1_model.html#a094bf49ad8f4233ec4d4ad8f3ea211eb',1,'raylib::Model::SetBones()'],['../classraylib_1_1_model_animation.html#ae0f66ea0263dfdad7b06bf04d5d118b3',1,'raylib::ModelAnimation::SetBones()']]], + ['setboneweights_887',['SetBoneWeights',['../classraylib_1_1_mesh.html#afb7f3408f166bed1fb79e681637b2a2c',1,'raylib::Mesh']]], + ['setbuffer_888',['SetBuffer',['../classraylib_1_1_audio_stream.html#aec6bfde9f3a07a8ec95f6533ac934f0d',1,'raylib::AudioStream']]], + ['setbuffersizedefault_889',['SetBufferSizeDefault',['../classraylib_1_1_audio_stream.html#a8a58e7e88a4fec0ce04cdc62614c5f5c',1,'raylib::AudioStream']]], + ['setcallback_890',['SetCallback',['../classraylib_1_1_audio_stream.html#a01d982a89d11be88d5621aead4394560',1,'raylib::AudioStream']]], + ['setchannels_891',['SetChannels',['../classraylib_1_1_wave.html#a8e2031312df790a9b49f4cf828fcf59c',1,'raylib::Wave::SetChannels()'],['../classraylib_1_1_audio_stream.html#aaa94380855352cfd272d32bfa63c67dc',1,'raylib::AudioStream::SetChannels()']]], + ['setclipboardtext_892',['SetClipboardText',['../classraylib_1_1_window.html#afcca44b978f167ad371285fd8f227034',1,'raylib::Window::SetClipboardText()'],['../namespaceraylib.html#a908a40d71074671f52382da28aee734b',1,'raylib::SetClipboardText()']]], + ['setcolor_893',['SetColor',['../classraylib_1_1_text.html#ac818c986dd323175f1037559490e6de3',1,'raylib::Text']]], + ['setcolors_894',['SetColors',['../classraylib_1_1_mesh.html#ac6b674c3044e9bfc0bb67aba765a47ef',1,'raylib::Mesh']]], + ['setctxdata_895',['SetCtxData',['../classraylib_1_1_music.html#a56fd8d72fd7bdc920f546d9e8da05953',1,'raylib::Music']]], + ['setctxtype_896',['SetCtxType',['../classraylib_1_1_music.html#a040d2fce2f109c952604dd909bb15fd7',1,'raylib::Music']]], + ['setcursor_897',['SetCursor',['../classraylib_1_1_mouse.html#a97d379c47bc62fb411fe899534a8d6ae',1,'raylib::Mouse']]], + ['setdata_898',['SetData',['../classraylib_1_1_wave.html#ae4c998bab42616a082348ee1d0062497',1,'raylib::Wave::SetData()'],['../classraylib_1_1_image.html#a3b92f7424fc37e4fb97d274cdc3f13f0',1,'raylib::Image::SetData()']]], + ['setdirection_899',['SetDirection',['../classraylib_1_1_ray.html#a118df187ddd0ad804b743aaa9532f46f',1,'raylib::Ray']]], + ['setdistance_900',['SetDistance',['../classraylib_1_1_ray_collision.html#a428a8b32da292d25d2231650e185dcfa',1,'raylib::RayCollision']]], + ['setfilter_901',['SetFilter',['../classraylib_1_1_texture_unmanaged.html#a1836f13313db416d34a8c79ef723e47b',1,'raylib::TextureUnmanaged']]], + ['setfont_902',['SetFont',['../classraylib_1_1_text.html#ab4c394cfcf889778b7d2ed7c3c1944ce',1,'raylib::Text']]], + ['setfontsize_903',['SetFontSize',['../classraylib_1_1_text.html#a14d090e09c9e6b70683f17de395885d5',1,'raylib::Text']]], + ['setformat_904',['SetFormat',['../classraylib_1_1_image.html#a4c32c43b8f88aa2ac4377dff8f16331b',1,'raylib::Image::SetFormat()'],['../classraylib_1_1_texture_unmanaged.html#a438ae75a5d6486360f1d7ff6e7184ca8',1,'raylib::TextureUnmanaged::SetFormat()']]], + ['setfovy_905',['SetFovy',['../classraylib_1_1_camera3_d.html#a763fd077ad195feb7d75ae97ec3d37e1',1,'raylib::Camera3D']]], + ['setframecount_906',['SetFrameCount',['../classraylib_1_1_wave.html#a302188e53c1c66e7620f2b2b3c494797',1,'raylib::Wave::SetFrameCount()'],['../classraylib_1_1_sound.html#ab2ff0805ab8511b121406979a2dee8db',1,'raylib::Sound::SetFrameCount()'],['../classraylib_1_1_music.html#ac5613b447c6d3ab19dde4379cba3d340',1,'raylib::Music::SetFrameCount()'],['../classraylib_1_1_model_animation.html#aedc42a2ae684a4b27d68b5100c79f361',1,'raylib::ModelAnimation::SetFrameCount(int value)']]], + ['setframeposes_907',['SetFramePoses',['../classraylib_1_1_model_animation.html#ae43fa14074f5ad5f2d288ac945e66061',1,'raylib::ModelAnimation']]], + ['setfullscreen_908',['SetFullscreen',['../classraylib_1_1_window.html#aeb4c203ec7f228bb196d7d6c3278984f',1,'raylib::Window']]], + ['setg_909',['SetG',['../classraylib_1_1_color.html#a0a6de4701e07f60c25ae4463619b4c77',1,'raylib::Color']]], + ['setglyphcount_910',['SetGlyphCount',['../classraylib_1_1_font.html#a71603057b8528b342d9223ddd1bc3073',1,'raylib::Font']]], + ['setglyphpadding_911',['SetGlyphPadding',['../classraylib_1_1_font.html#aea746ddd6b9db042f5bc77c1d45b19f1',1,'raylib::Font']]], + ['setglyphs_912',['SetGlyphs',['../classraylib_1_1_font.html#a03a2b8fcfa44f77bba8fcfff933115b4',1,'raylib::Font']]], + ['setheight_913',['SetHeight',['../classraylib_1_1_rectangle.html#adaa2e9850498344b259f258c5879a60b',1,'raylib::Rectangle::SetHeight()'],['../classraylib_1_1_texture_unmanaged.html#a9db8ff20c38b884a2cc28227afb2cf03',1,'raylib::TextureUnmanaged::SetHeight()'],['../classraylib_1_1_image.html#a499bc6b6b682ec6bb7184e53b32c8dfa',1,'raylib::Image::SetHeight()']]], + ['sethit_914',['SetHit',['../classraylib_1_1_ray_collision.html#acb7fcd5ed98be619d49a1a6852b68c49',1,'raylib::RayCollision']]], + ['seticon_915',['SetIcon',['../classraylib_1_1_window.html#a5035259115c985be13b506af12b1f525',1,'raylib::Window']]], + ['setid_916',['SetId',['../classraylib_1_1_texture_unmanaged.html#a62a74b91321e534aedcd8dcc325a774a',1,'raylib::TextureUnmanaged::SetId()'],['../classraylib_1_1_render_texture.html#a962803da3c2a50de3f4a337ebfd47fa2',1,'raylib::RenderTexture::SetId()'],['../classraylib_1_1_shader.html#ad989f72fce0403b1b01d88e1709de512',1,'raylib::Shader::SetId()']]], + ['setindices_917',['SetIndices',['../classraylib_1_1_mesh.html#a6197ea297eb6777acb9903c9f5a0d34a',1,'raylib::Mesh']]], + ['setlocs_918',['SetLocs',['../classraylib_1_1_shader.html#ac1ed2a53fbb669eb877c9f80ada02174',1,'raylib::Shader']]], + ['setlooping_919',['SetLooping',['../classraylib_1_1_music.html#a57eb787882e835db6f49a2354379280b',1,'raylib::Music']]], + ['setm0_920',['SetM0',['../classraylib_1_1_matrix.html#ab06885a55d9508025a06fa1eb85236ca',1,'raylib::Matrix']]], + ['setm1_921',['SetM1',['../classraylib_1_1_matrix.html#a069ec510cb062cb32ba069aee5d81905',1,'raylib::Matrix']]], + ['setm10_922',['SetM10',['../classraylib_1_1_matrix.html#a9f00f8c7c15b09882cc34ab1f3a3dea7',1,'raylib::Matrix']]], + ['setm11_923',['SetM11',['../classraylib_1_1_matrix.html#a3b7edcbfcefac3252f37657c5a9fe02b',1,'raylib::Matrix']]], + ['setm12_924',['SetM12',['../classraylib_1_1_matrix.html#aeab89067c1bd42ebc199a397c3d1326d',1,'raylib::Matrix']]], + ['setm13_925',['SetM13',['../classraylib_1_1_matrix.html#a77e33ed6159308962453f7a14d4c6f05',1,'raylib::Matrix']]], + ['setm14_926',['SetM14',['../classraylib_1_1_matrix.html#a6fa0a349ce00b2bb84394c8ac223cb27',1,'raylib::Matrix']]], + ['setm15_927',['SetM15',['../classraylib_1_1_matrix.html#aa8b769512ab1c1685d3d2cf70405c0d4',1,'raylib::Matrix']]], + ['setm2_928',['SetM2',['../classraylib_1_1_matrix.html#abb0b7df50104c3e427a8852b73467ccc',1,'raylib::Matrix']]], + ['setm3_929',['SetM3',['../classraylib_1_1_matrix.html#a820323176b4de347589f39642b86b0ca',1,'raylib::Matrix']]], + ['setm4_930',['SetM4',['../classraylib_1_1_matrix.html#ae920da976ff033bc5261c878d1d83964',1,'raylib::Matrix']]], + ['setm5_931',['SetM5',['../classraylib_1_1_matrix.html#a62fc44a64938df432cc1374f2ee18794',1,'raylib::Matrix']]], + ['setm6_932',['SetM6',['../classraylib_1_1_matrix.html#aa327bd7e7cfd33692170f55fbd396e49',1,'raylib::Matrix']]], + ['setm7_933',['SetM7',['../classraylib_1_1_matrix.html#af7f4794ad0bee252ce23b785b0ff22e1',1,'raylib::Matrix']]], + ['setm8_934',['SetM8',['../classraylib_1_1_matrix.html#a5417c6adbc0106783dd8f05a279d9c02',1,'raylib::Matrix']]], + ['setm9_935',['SetM9',['../classraylib_1_1_matrix.html#a2476f470c2462a859ea139d7013f272c',1,'raylib::Matrix']]], + ['setmaps_936',['SetMaps',['../classraylib_1_1_material.html#a629e453e6e682bde8e0a7db31dda7523',1,'raylib::Material']]], + ['setmaterial_937',['SetMaterial',['../classraylib_1_1_texture_unmanaged.html#a8699a9de805c43779cadf52ac1c3ad49',1,'raylib::TextureUnmanaged']]], + ['setmaterialcount_938',['SetMaterialCount',['../classraylib_1_1_model.html#a6ba6210b8a4e52cee98529f2d7b82b67',1,'raylib::Model']]], + ['setmaterials_939',['SetMaterials',['../classraylib_1_1_model.html#a9f9f5f426134239d73d681da5283dc9f',1,'raylib::Model']]], + ['setmax_940',['SetMax',['../classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1',1,'raylib::BoundingBox']]], + ['setmeshcount_941',['SetMeshCount',['../classraylib_1_1_model.html#a5fbf1e02e1d0aa65d69dce2f1908d327',1,'raylib::Model']]], + ['setmeshes_942',['SetMeshes',['../classraylib_1_1_model.html#a8ed39c91c497b06b00e125348c3e77a9',1,'raylib::Model']]], + ['setmeshmaterial_943',['SetMeshMaterial',['../classraylib_1_1_model.html#a27d80234c7c1f128d9ca8faa1b2c4b73',1,'raylib::Model::SetMeshMaterial(int *value)'],['../classraylib_1_1_model.html#acb7831c2542e8e1a7b80859cc7f43aa1',1,'raylib::Model::SetMeshMaterial(int meshId, int materialId)']]], + ['setmin_944',['SetMin',['../classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1',1,'raylib::BoundingBox']]], + ['setminsize_945',['SetMinSize',['../classraylib_1_1_window.html#ad8acc035fd7ae1ca24452de0ca97ff2b',1,'raylib::Window::SetMinSize(const ::Vector2 &size)'],['../classraylib_1_1_window.html#abd534b189b57a77e491bd7852c9ee3a4',1,'raylib::Window::SetMinSize(int width, int height)']]], + ['setmipmaps_946',['SetMipmaps',['../classraylib_1_1_image.html#a0018742a01c6a9dfa7d202a696566f27',1,'raylib::Image::SetMipmaps()'],['../classraylib_1_1_texture_unmanaged.html#aabfdcae0f545eab0b2d77586ecea98dc',1,'raylib::TextureUnmanaged::SetMipmaps()']]], + ['setmode_947',['SetMode',['../classraylib_1_1_camera3_d.html#a9a2649478bcbc00bc738112d9deacc04',1,'raylib::Camera3D']]], + ['setmonitor_948',['SetMonitor',['../classraylib_1_1_window.html#a69b43267e498bdbe64092cfb96e0e950',1,'raylib::Window']]], + ['setmovecontrols_949',['SetMoveControls',['../classraylib_1_1_camera3_d.html#a6d179e8e85e580dc9e50b6d01c99dd51',1,'raylib::Camera3D']]], + ['setnormal_950',['SetNormal',['../classraylib_1_1_ray_collision.html#ad71eaf5cdbbcae7189d32e3a37d1be79',1,'raylib::RayCollision']]], + ['setnormals_951',['SetNormals',['../classraylib_1_1_mesh.html#a114396c730c79bf84e17e2b5ee668723',1,'raylib::Mesh']]], + ['setnumber_952',['SetNumber',['../classraylib_1_1_gamepad.html#aaba2aeeb551b7f4f0d6ffc147614f71b',1,'raylib::Gamepad']]], + ['setoffset_953',['SetOffset',['../classraylib_1_1_camera2_d.html#a280d095df3201cc1ff6398dc8bfe88cb',1,'raylib::Camera2D']]], + ['setopacity_954',['SetOpacity',['../classraylib_1_1_window.html#adab3c1f529e7a52b9c517d390daa9c90',1,'raylib::Window']]], + ['setpan_955',['SetPan',['../classraylib_1_1_sound.html#a460e0429c1b7d5d02386ef80bc91d78d',1,'raylib::Sound::SetPan()'],['../classraylib_1_1_audio_stream.html#ab52147d9e34db29dcf899b040a977a15',1,'raylib::AudioStream::SetPan()'],['../classraylib_1_1_music.html#ae64778c6d20a4ae931f8bfe81899bc28',1,'raylib::Music::SetPan()']]], + ['setpitch_956',['SetPitch',['../classraylib_1_1_sound.html#a5018b4876727080e904385ce98ee4990',1,'raylib::Sound::SetPitch()'],['../classraylib_1_1_audio_stream.html#a3142331c775e25f172247d86fd112207',1,'raylib::AudioStream::SetPitch()'],['../classraylib_1_1_music.html#a863348374483c4b9b01f6e2624f833e8',1,'raylib::Music::SetPitch()']]], + ['setposition_957',['SetPosition',['../classraylib_1_1_camera3_d.html#a8788c4e1bd4e6138528f498288a118c4',1,'raylib::Camera3D::SetPosition()'],['../classraylib_1_1_ray.html#a58e766e005e207f9d8162afe7a35939e',1,'raylib::Ray::SetPosition()'],['../classraylib_1_1_ray_collision.html#a5c03b455fbe0c0ec20428cdc6134eea4',1,'raylib::RayCollision::SetPosition()'],['../classraylib_1_1_window.html#a662e058a9f5b3121e6280411fa0cc73d',1,'raylib::Window::SetPosition(int x, int y)'],['../classraylib_1_1_window.html#a701de0c79e8252538cd080ddfa51952d',1,'raylib::Window::SetPosition(const ::Vector2 &position)']]], + ['setprocessor_958',['SetProcessor',['../classraylib_1_1_audio_stream.html#a62132160fd5650c0243b3e137ccf4bb2',1,'raylib::AudioStream']]], + ['setprojection_959',['SetProjection',['../classraylib_1_1_camera3_d.html#a54a6d1c674178f3a571747c14bf9b9d4',1,'raylib::Camera3D']]], + ['setr_960',['SetR',['../classraylib_1_1_color.html#a5e3b3a2f7be0f5a314c8afcc25548515',1,'raylib::Color']]], + ['setrecs_961',['SetRecs',['../classraylib_1_1_font.html#a1030f35362a541bc750605f0e47592e9',1,'raylib::Font']]], + ['setrotation_962',['SetRotation',['../classraylib_1_1_camera2_d.html#a078b6d4f0b4a93e57fa005886d71a403',1,'raylib::Camera2D']]], + ['setsamplerate_963',['SetSampleRate',['../classraylib_1_1_wave.html#a49e420bdac56451a50f8a45966cc60a4',1,'raylib::Wave::SetSampleRate()'],['../classraylib_1_1_audio_stream.html#a00a71071bf2f18ab7761de67d885ecea',1,'raylib::AudioStream::SetSampleRate(unsigned int value)']]], + ['setsamplesize_964',['SetSampleSize',['../classraylib_1_1_audio_stream.html#a214328e8f215f493bff32c0d9e9fc962',1,'raylib::AudioStream::SetSampleSize()'],['../classraylib_1_1_wave.html#acc3cdf1f245ec2eb17766b25b47ef2d2',1,'raylib::Wave::SetSampleSize()']]], + ['setshader_965',['SetShader',['../classraylib_1_1_material.html#ae52f7a1005f77683fadb5bb2d6f10669',1,'raylib::Material']]], + ['setshadervalue_966',['SetShaderValue',['../classraylib_1_1_texture_unmanaged.html#a380af0696999a558ea57354d7a3f8e9f',1,'raylib::TextureUnmanaged::SetShaderValue()'],['../classraylib_1_1_matrix.html#a63d84439072b269a99cbf83608ceb387',1,'raylib::Matrix::SetShaderValue()']]], + ['setshapes_967',['SetShapes',['../classraylib_1_1_texture_unmanaged.html#af944a028069f85422065a1c71f0d661d',1,'raylib::TextureUnmanaged']]], + ['setsize_968',['SetSize',['../classraylib_1_1_window.html#a51be4f5c35dd84abbaa174df913aa4c7',1,'raylib::Window::SetSize(const ::Vector2 &size)'],['../classraylib_1_1_window.html#a9a51c4a61cb8c6fbf14e164e7c3afa50',1,'raylib::Window::SetSize(int width, int height)']]], + ['setsmoothzoomcontrol_969',['SetSmoothZoomControl',['../classraylib_1_1_camera3_d.html#a6263a91ecfcc94144cd4cbff82396e78',1,'raylib::Camera3D']]], + ['setspacing_970',['SetSpacing',['../classraylib_1_1_text.html#ad1b1f3d1c7f5f79a369edf2e1cf78b44',1,'raylib::Text']]], + ['setstate_971',['SetState',['../classraylib_1_1_window.html#a8f65f0cddfc91ba7c5c5efe0b5deb063',1,'raylib::Window']]], + ['setstream_972',['SetStream',['../classraylib_1_1_music.html#af00ed20b552cd395df95fddad4fa460e',1,'raylib::Music::SetStream()'],['../classraylib_1_1_sound.html#a6fd54c39f3101a23c49f4266344d59b5',1,'raylib::Sound::SetStream()']]], + ['settangents_973',['SetTangents',['../classraylib_1_1_mesh.html#a34fcc4eb9ab217e5b14ec722d23ecf8e',1,'raylib::Mesh']]], + ['settarget_974',['SetTarget',['../classraylib_1_1_camera2_d.html#adc9a7d85d9db33fa5a5cda2a0405f7e8',1,'raylib::Camera2D::SetTarget()'],['../classraylib_1_1_camera3_d.html#ac13f2010e8053fabbfd6e932375dfa95',1,'raylib::Camera3D::SetTarget()']]], + ['settargetfps_975',['SetTargetFPS',['../classraylib_1_1_window.html#a191fafa4e6e094477c15c157f00a18a4',1,'raylib::Window']]], + ['settexcoords_976',['SetTexCoords',['../classraylib_1_1_mesh.html#a8bb633e4e39dbd4101cac8ce7a119162',1,'raylib::Mesh']]], + ['settexcoords2_977',['SetTexCoords2',['../classraylib_1_1_mesh.html#a6250a00b596178cf0ef3b3a240b8e822',1,'raylib::Mesh']]], + ['settext_978',['SetText',['../classraylib_1_1_text.html#a8daf1c498ce1f30f5b197b009b17ea1b',1,'raylib::Text']]], + ['settexture_979',['SetTexture',['../classraylib_1_1_font.html#a1f50e12b340a6593b266818e566e3182',1,'raylib::Font::SetTexture()'],['../classraylib_1_1_material.html#a563a153517435efba319c750d7bd0379',1,'raylib::Material::SetTexture()']]], + ['settitle_980',['SetTitle',['../classraylib_1_1_window.html#a306c896a81dd5790af0c8a8617b907d4',1,'raylib::Window']]], + ['settransform_981',['SetTransform',['../classraylib_1_1_model.html#ac30c84bbf7b1e0129bb48e48b5c71745',1,'raylib::Model']]], + ['settrianglecount_982',['SetTriangleCount',['../classraylib_1_1_mesh.html#a6052f0983fe1089e09da26572a12d721',1,'raylib::Mesh']]], + ['setup_983',['SetUp',['../classraylib_1_1_camera3_d.html#a4bf005a9f24cee0854d4eb3badd3fc0d',1,'raylib::Camera3D']]], + ['setvalue_984',['SetValue',['../classraylib_1_1_shader.html#a37e4981ccc95df6b78efd21e8563d49d',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType, int count)'],['../classraylib_1_1_shader.html#aee50d83bfae949b476ad994fa739b9a5',1,'raylib::Shader::SetValue(int uniformLoc, const void *value, int uniformType)'],['../classraylib_1_1_shader.html#a7bbc8d326c377cee898bf772dda1fc1c',1,'raylib::Shader::SetValue(int uniformLoc, const ::Texture2D &texture)'],['../classraylib_1_1_shader.html#adade0b76feffac6c439efb46586f4099',1,'raylib::Shader::SetValue(int uniformLoc, const ::Matrix &mat)']]], + ['setvaoid_985',['SetVaoId',['../classraylib_1_1_mesh.html#a8f1090f17c7f909dc705a26f79e3823c',1,'raylib::Mesh']]], + ['setvboid_986',['SetVboId',['../classraylib_1_1_mesh.html#a8965c1740e9fd27172dab6ef5687b24b',1,'raylib::Mesh']]], + ['setvertexcount_987',['SetVertexCount',['../classraylib_1_1_mesh.html#a06ee0812528d387d8d55473450f6f3cd',1,'raylib::Mesh']]], + ['setvertices_988',['SetVertices',['../classraylib_1_1_mesh.html#ad1a2f0cd8623f8c5365c1990b1ac596f',1,'raylib::Mesh']]], + ['setvolume_989',['SetVolume',['../classraylib_1_1_audio_device.html#ae1e2ca6a0cd5a3b2cb6f4cfc5455a3f1',1,'raylib::AudioDevice::SetVolume()'],['../classraylib_1_1_audio_stream.html#a4cc8dfb6e753ac1ff382b21abe579269',1,'raylib::AudioStream::SetVolume()'],['../classraylib_1_1_music.html#acbcc821ca804c0c9783e96267b7c5ef9',1,'raylib::Music::SetVolume()'],['../classraylib_1_1_sound.html#a03cbb1aa868bf037d163a5a540db8c8f',1,'raylib::Sound::SetVolume()']]], + ['setw_990',['SetW',['../classraylib_1_1_vector4.html#aa73748302dc95aad9c9fa3a6d8d5bffc',1,'raylib::Vector4']]], + ['setwidth_991',['SetWidth',['../classraylib_1_1_image.html#af9e9c16a1ca0d6c2b0aa926e21226262',1,'raylib::Image::SetWidth()'],['../classraylib_1_1_rectangle.html#a38f4fc9eeb30777e68993b4a32fb0254',1,'raylib::Rectangle::SetWidth()'],['../classraylib_1_1_texture_unmanaged.html#a73c9c2010a1899678a8702b6fa142810',1,'raylib::TextureUnmanaged::SetWidth()']]], + ['setwindowtitle_992',['SetWindowTitle',['../namespaceraylib.html#a974a4a71390122643c9f7ee1265892b0',1,'raylib']]], + ['setwrap_993',['SetWrap',['../classraylib_1_1_texture_unmanaged.html#ab2c496550bb53555414dd7f49078ec7b',1,'raylib::TextureUnmanaged']]], + ['setx_994',['SetX',['../classraylib_1_1_vector4.html#abd81e9eb660e7f08cb30b23174b87bec',1,'raylib::Vector4::SetX()'],['../classraylib_1_1_rectangle.html#a22c9cc628c283fa4b7380e91c29c81d7',1,'raylib::Rectangle::SetX()'],['../classraylib_1_1_vector2.html#a501a6761c9e3fe6adb6f660a751f1324',1,'raylib::Vector2::SetX()'],['../classraylib_1_1_vector3.html#aedfa9761bf452e7c7c92574fc3a7717c',1,'raylib::Vector3::SetX()']]], + ['sety_995',['SetY',['../classraylib_1_1_vector4.html#a0c46c0aaa7fc71685a1c523ed0b40ba3',1,'raylib::Vector4::SetY()'],['../classraylib_1_1_rectangle.html#a779595ab1373baba2da38a4247bfd5f7',1,'raylib::Rectangle::SetY()'],['../classraylib_1_1_vector2.html#a8735d26f1eae8f836521046c42d3906f',1,'raylib::Vector2::SetY()'],['../classraylib_1_1_vector3.html#aae0d8010357e617b76dada9375b6c085',1,'raylib::Vector3::SetY()']]], + ['setz_996',['SetZ',['../classraylib_1_1_vector4.html#a1351f26ba875824cd6fb938b9fe2afc6',1,'raylib::Vector4::SetZ()'],['../classraylib_1_1_vector3.html#a6ff8718eb583f9963c58e0d27f24f506',1,'raylib::Vector3::SetZ()']]], + ['setzoom_997',['SetZoom',['../classraylib_1_1_camera2_d.html#a3e031779ff5f2a5d25cb07d0ccc8ed7f',1,'raylib::Camera2D']]], + ['shouldclose_998',['ShouldClose',['../classraylib_1_1_window.html#a5f2a255aad32ac32aee87fb2e6b20a01',1,'raylib::Window']]], + ['sound_999',['Sound',['../classraylib_1_1_sound.html#a0fe06e7bac504ae550abd45f842ae3f4',1,'raylib::Sound::Sound(const std::string &fileName)'],['../classraylib_1_1_sound.html#ae4ba50639e820e761161e6ae632983b6',1,'raylib::Sound::Sound(const ::Wave &wave)']]], + ['sphere_1000',['Sphere',['../classraylib_1_1_mesh.html#a1c47f75cc2add45ccd623dd6922f66e3',1,'raylib::Mesh']]], + ['stop_1001',['Stop',['../classraylib_1_1_audio_stream.html#a266882a0ea63da435e44583270685d57',1,'raylib::AudioStream::Stop()'],['../classraylib_1_1_music.html#a6a6ed906b768631c86a006b23900d542',1,'raylib::Music::Stop()'],['../classraylib_1_1_sound.html#af00839539bfeb6dd1bac84b5d1c90f0b',1,'raylib::Sound::Stop()']]], + ['stopmulti_1002',['StopMulti',['../classraylib_1_1_sound.html#a6925b0114e6d9636c928fed1f0f0586c',1,'raylib::Sound']]], + ['subtract_1003',['Subtract',['../classraylib_1_1_vector2.html#a2203d35228a10defe410dec8d33017f9',1,'raylib::Vector2::Subtract()'],['../classraylib_1_1_vector3.html#af99d38f6a5f8100a91397a11994c9717',1,'raylib::Vector3::Subtract()']]] +]; diff --git a/search/functions_11.html b/search/functions_11.html new file mode 100644 index 00000000..188076ef --- /dev/null +++ b/search/functions_11.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_11.js b/search/functions_11.js new file mode 100644 index 00000000..038d44a7 --- /dev/null +++ b/search/functions_11.js @@ -0,0 +1,28 @@ +var searchData= +[ + ['takescreenshot_1004',['TakeScreenshot',['../namespaceraylib.html#a85b0e8952631936155bae8979cbf2aed',1,'raylib']]], + ['text_1005',['Text',['../classraylib_1_1_text.html#a331f8bf332cded9c5ea8a052457ad3fa',1,'raylib::Text::Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)'],['../classraylib_1_1_text.html#a97f218896227b2456e5f03a1cf6ffc3f',1,'raylib::Text::Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)']]], + ['textfindindex_1006',['TextFindIndex',['../namespaceraylib.html#a326b43b5b209389b1b5ecf4adc9ea49d',1,'raylib']]], + ['textinsert_1007',['TextInsert',['../namespaceraylib.html#a957beb0de1bc12f1781b9f9af4e7d5a6',1,'raylib']]], + ['textisequal_1008',['TextIsEqual',['../namespaceraylib.html#afc1e3c933eb301bee7d42466a3ec5261',1,'raylib']]], + ['textlength_1009',['TextLength',['../namespaceraylib.html#a3c5e254ed90864520fd592295941bbaf',1,'raylib']]], + ['textreplace_1010',['TextReplace',['../namespaceraylib.html#a80f557311e1acab398ea456340db6566',1,'raylib']]], + ['textsplit_1011',['TextSplit',['../namespaceraylib.html#aaacc0e4e56d476e380eb93734a63157d',1,'raylib']]], + ['textsubtext_1012',['TextSubtext',['../namespaceraylib.html#a56b3428d8e400e61dc30af5b5827bbd3',1,'raylib']]], + ['texttointeger_1013',['TextToInteger',['../namespaceraylib.html#a616f2f07e2659317414528488dcd7dc9',1,'raylib']]], + ['texttolower_1014',['TextToLower',['../namespaceraylib.html#a2eefbb6b4e9818162487ab277f4b8be0',1,'raylib']]], + ['texttopascal_1015',['TextToPascal',['../namespaceraylib.html#a5908d3c152c471e79cb9afb83f36759b',1,'raylib']]], + ['texttoupper_1016',['TextToUpper',['../namespaceraylib.html#a2065a8eb9b4c0c419e6c7a332c868d04',1,'raylib']]], + ['texture_1017',['Texture',['../classraylib_1_1_texture.html#a58e78588be53fc00096d37019fef9134',1,'raylib::Texture::Texture(const Texture &)=delete'],['../classraylib_1_1_texture.html#a7988e6f875f2f613d449325acf9f74be',1,'raylib::Texture::Texture(Texture &&other)']]], + ['textureunmanaged_1018',['TextureUnmanaged',['../classraylib_1_1_texture.html#aeeacead4a33d0e00540e171e7bc22d36',1,'raylib::Texture::TextureUnmanaged()'],['../classraylib_1_1_texture_unmanaged.html#aa860ea9d9af3a4a46c3f14a80bb68b35',1,'raylib::TextureUnmanaged::TextureUnmanaged()'],['../classraylib_1_1_texture_unmanaged.html#a5b3c6a126302ffb5f4109ed2b584644a',1,'raylib::TextureUnmanaged::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)'],['../classraylib_1_1_texture_unmanaged.html#aeb865b1ffcd7263ea2f6e5d12c82bc51',1,'raylib::TextureUnmanaged::TextureUnmanaged(const ::Texture &texture)'],['../classraylib_1_1_texture_unmanaged.html#aeeacead4a33d0e00540e171e7bc22d36',1,'raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image)'],['../classraylib_1_1_texture_unmanaged.html#a492b656b2131ac680ec81ffdb12f6462',1,'raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image, int layout)'],['../classraylib_1_1_texture_unmanaged.html#ac6abab33ac55a239296a820a3821091c',1,'raylib::TextureUnmanaged::TextureUnmanaged(const std::string &fileName)'],['../classraylib_1_1_texture.html#aa860ea9d9af3a4a46c3f14a80bb68b35',1,'raylib::Texture::TextureUnmanaged()'],['../classraylib_1_1_texture.html#a5b3c6a126302ffb5f4109ed2b584644a',1,'raylib::Texture::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)'],['../classraylib_1_1_texture.html#aeb865b1ffcd7263ea2f6e5d12c82bc51',1,'raylib::Texture::TextureUnmanaged(const ::Texture &texture)'],['../classraylib_1_1_texture.html#a492b656b2131ac680ec81ffdb12f6462',1,'raylib::Texture::TextureUnmanaged(const ::Image &image, int layout)'],['../classraylib_1_1_texture.html#ac6abab33ac55a239296a820a3821091c',1,'raylib::Texture::TextureUnmanaged(const std::string &fileName)']]], + ['toaxisangle_1019',['ToAxisAngle',['../classraylib_1_1_vector4.html#a9ba7c844c00e64543c10c3dfdbc6b868',1,'raylib::Vector4']]], + ['togglefullscreen_1020',['ToggleFullscreen',['../classraylib_1_1_window.html#a4f4e526ad3a1bfc3c133ff379d5f04d5',1,'raylib::Window']]], + ['tohsv_1021',['ToHSV',['../classraylib_1_1_color.html#ab909853a3380e3cf4306a011caca7ec5',1,'raylib::Color']]], + ['toint_1022',['ToInt',['../classraylib_1_1_color.html#a927ba04098ee1ba3a8e91374ed5d5606',1,'raylib::Color']]], + ['topot_1023',['ToPOT',['../classraylib_1_1_image.html#ae8c33add6a7f996a706f531231b8d996',1,'raylib::Image']]], + ['torus_1024',['Torus',['../classraylib_1_1_mesh.html#a90d8283bb7215bf489a5c0fbae7727d8',1,'raylib::Mesh']]], + ['trace_1025',['Trace',['../classraylib_1_1_matrix.html#a7ed7bc3003490c97c363ac2108aaa44b',1,'raylib::Matrix']]], + ['tracelog_1026',['TraceLog',['../classraylib_1_1_raylib_exception.html#abf64800d999a541343a3a55833ef6155',1,'raylib::RaylibException']]], + ['transform_1027',['Transform',['../classraylib_1_1_vector2.html#afdc8f876d4e2edbab9d34b70f577182e',1,'raylib::Vector2']]], + ['transpose_1028',['Transpose',['../classraylib_1_1_matrix.html#a7fc0f1d9225126201c4880a5052b8316',1,'raylib::Matrix']]] +]; diff --git a/search/functions_12.html b/search/functions_12.html new file mode 100644 index 00000000..eb29d8f9 --- /dev/null +++ b/search/functions_12.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_12.js b/search/functions_12.js new file mode 100644 index 00000000..2fc9c84b --- /dev/null +++ b/search/functions_12.js @@ -0,0 +1,13 @@ +var searchData= +[ + ['unload_1029',['Unload',['../classraylib_1_1_image.html#abb33cee3596f6f74ede70683865aaf0c',1,'raylib::Image::Unload()'],['../classraylib_1_1_material.html#a67962efd02fd7f59cb14cda929e599cc',1,'raylib::Material::Unload()'],['../classraylib_1_1_mesh.html#a2b9f6edb3fce3b6fcea46891e646fcd7',1,'raylib::Mesh::Unload()'],['../classraylib_1_1_model.html#a4a8d6932f932cd9857b62e139418d497',1,'raylib::Model::Unload()'],['../classraylib_1_1_model_animation.html#afa5bb2f87178e477dcbe541cc14eb697',1,'raylib::ModelAnimation::Unload()'],['../classraylib_1_1_music.html#aeaec37b4d521dfca16f39ce141c12515',1,'raylib::Music::Unload()'],['../classraylib_1_1_shader.html#a5d56815b3531966cee3e2bee8ecfa5a4',1,'raylib::Shader::Unload()'],['../classraylib_1_1_sound.html#a1384d166f189c9bebdb6649b502920f3',1,'raylib::Sound::Unload()'],['../classraylib_1_1_texture_unmanaged.html#aca5cc649538043b521ce77073c367eb3',1,'raylib::TextureUnmanaged::Unload()'],['../classraylib_1_1_vr_stereo_config.html#af2f638f95b4efda7c90a5a623b374678',1,'raylib::VrStereoConfig::Unload()'],['../classraylib_1_1_wave.html#a6a143fc632271958e5ee2899338ec5bc',1,'raylib::Wave::Unload()'],['../classraylib_1_1_audio_stream.html#a7eb60e7995e5d89c403fdb9bd50d0095',1,'raylib::AudioStream::Unload()']]], + ['unloadcolors_1030',['UnloadColors',['../classraylib_1_1_image.html#ac341ac54d84277328f2a81decaba6a0b',1,'raylib::Image']]], + ['unloadkeepmeshes_1031',['UnloadKeepMeshes',['../classraylib_1_1_model.html#a1f8233c28728eff2c4684cb8b4258cda',1,'raylib::Model']]], + ['unloadpalette_1032',['UnloadPalette',['../classraylib_1_1_image.html#ae4a15042e53ce1e1b907c1bb5f5e0f4a',1,'raylib::Image']]], + ['unloadsamples_1033',['UnloadSamples',['../classraylib_1_1_wave.html#ad4deb1b67bef7706f29804e00e83d4f0',1,'raylib::Wave']]], + ['update_1034',['Update',['../classraylib_1_1_audio_stream.html#ac7aa320c506865cc88d60264549d23b0',1,'raylib::AudioStream::Update()'],['../classraylib_1_1_camera3_d.html#a6a59671e1b7ed19c5b6566e700b625a7',1,'raylib::Camera3D::Update()'],['../classraylib_1_1_model_animation.html#aa5cf71119ac343985b5575be55475c05',1,'raylib::ModelAnimation::Update()'],['../classraylib_1_1_music.html#a031bc82c19b51b29f5c507cacd9c2664',1,'raylib::Music::Update()'],['../classraylib_1_1_sound.html#acec4ed7b817a356a13a24691192da968',1,'raylib::Sound::Update(const void *data, int samplesCount)'],['../classraylib_1_1_sound.html#aa17ec450860a4b02d1fc717dcec278e5',1,'raylib::Sound::Update(const void *data)'],['../classraylib_1_1_texture_unmanaged.html#a2b4068f21fc78ec60f8d3c696442f300',1,'raylib::TextureUnmanaged::Update(const void *pixels)'],['../classraylib_1_1_texture_unmanaged.html#a1d3924f17f8d9b86bc190e837599348d',1,'raylib::TextureUnmanaged::Update(::Rectangle rec, const void *pixels)']]], + ['updateanimation_1035',['UpdateAnimation',['../classraylib_1_1_model.html#a6b2400a98189c50a0c01d9868f56c3e4',1,'raylib::Model']]], + ['updatebuffer_1036',['UpdateBuffer',['../classraylib_1_1_mesh.html#a2d592396bc6c930fe886a406336b8bdf',1,'raylib::Mesh']]], + ['updatecamera_1037',['UpdateCamera',['../namespaceraylib.html#abd45302dac72cb253026bce044dee236',1,'raylib']]], + ['upload_1038',['Upload',['../classraylib_1_1_mesh.html#aa32b8f666eece6bf8839f27538a6b4d1',1,'raylib::Mesh']]] +]; diff --git a/search/functions_13.html b/search/functions_13.html new file mode 100644 index 00000000..3da2ea69 --- /dev/null +++ b/search/functions_13.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_13.js b/search/functions_13.js new file mode 100644 index 00000000..e919b221 --- /dev/null +++ b/search/functions_13.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['wave_1039',['Wave',['../classraylib_1_1_wave.html#ad5144b906b92b84d95f8ce192ce9f86b',1,'raylib::Wave::Wave(const std::string &fileName)'],['../classraylib_1_1_wave.html#a31b96adb8009137b02529f3b8b95918d',1,'raylib::Wave::Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)']]], + ['whitenoise_1040',['WhiteNoise',['../classraylib_1_1_image.html#a103852d13c46a1073035149afa76bc4c',1,'raylib::Image']]], + ['window_1041',['Window',['../classraylib_1_1_window.html#ac5e6aa9fe0f156cb5de9914552228a6e',1,'raylib::Window::Window()'],['../classraylib_1_1_window.html#a1210770510fc7b1b61c85fc465a96958',1,'raylib::Window::Window(int width, int height, const std::string &title="raylib")']]] +]; diff --git a/search/functions_14.html b/search/functions_14.html new file mode 100644 index 00000000..29237b44 --- /dev/null +++ b/search/functions_14.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_14.js b/search/functions_14.js new file mode 100644 index 00000000..69f3b88b --- /dev/null +++ b/search/functions_14.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['zero_1042',['Zero',['../classraylib_1_1_vector2.html#a6fc574d57d45b21e36bffbd44ceb8989',1,'raylib::Vector2']]] +]; diff --git a/search/functions_15.html b/search/functions_15.html new file mode 100644 index 00000000..6d5decd7 --- /dev/null +++ b/search/functions_15.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_15.js b/search/functions_15.js new file mode 100644 index 00000000..d2343afe --- /dev/null +++ b/search/functions_15.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['_7eaudiodevice_1043',['~AudioDevice',['../classraylib_1_1_audio_device.html#aab60bade54ebe2fc41e567d0023047d9',1,'raylib::AudioDevice']]], + ['_7emusic_1044',['~Music',['../classraylib_1_1_music.html#a6fb0e1cb0807c33e952bdd8c5028fa16',1,'raylib::Music']]], + ['_7eshader_1045',['~Shader',['../classraylib_1_1_shader.html#a5fdd95f82f152bae43e274830cffcbf1',1,'raylib::Shader']]], + ['_7etexture_1046',['~Texture',['../classraylib_1_1_texture.html#afb52b2f43d5deb3e2e244205faa563ac',1,'raylib::Texture']]], + ['_7evrstereoconfig_1047',['~VrStereoConfig',['../classraylib_1_1_vr_stereo_config.html#affd207a5267f0ea9c48d92dcfd72edea',1,'raylib::VrStereoConfig']]], + ['_7ewave_1048',['~Wave',['../classraylib_1_1_wave.html#a545a0afb559e87f42cdedcda263452ba',1,'raylib::Wave']]], + ['_7ewindow_1049',['~Window',['../classraylib_1_1_window.html#a6071f03b18e0f2d3817b0da3699f24af',1,'raylib::Window']]] +]; diff --git a/search/functions_2.html b/search/functions_2.html new file mode 100644 index 00000000..ca5aa10e --- /dev/null +++ b/search/functions_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_2.js b/search/functions_2.js new file mode 100644 index 00000000..3d0fa27c --- /dev/null +++ b/search/functions_2.js @@ -0,0 +1,28 @@ +var searchData= +[ + ['camera3d_567',['Camera3D',['../classraylib_1_1_camera3_d.html#ab5b870b0848cd6fb821b2387e714f771',1,'raylib::Camera3D']]], + ['cellular_568',['Cellular',['../classraylib_1_1_image.html#a322fc19c5ae2a843a7c243b7fa4b74b1',1,'raylib::Image']]], + ['changedirectory_569',['ChangeDirectory',['../namespaceraylib.html#ae8cbcbf937c110d5865f0295463b90c1',1,'raylib']]], + ['checkcollision_570',['CheckCollision',['../classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3',1,'raylib::BoundingBox::CheckCollision(const ::Ray &ray) const'],['../classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2',1,'raylib::BoundingBox::CheckCollision(const ::BoundingBox &box2) const'],['../classraylib_1_1_vector3.html#a7b325f85196b92450b76c3f1925cf205',1,'raylib::Vector3::CheckCollision()'],['../classraylib_1_1_vector2.html#a10b07c009af9cf9723cd48a15f5044b6',1,'raylib::Vector2::CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const'],['../classraylib_1_1_vector2.html#a5a16075cb1de65199a8c810147658198',1,'raylib::Vector2::CheckCollision(::Vector2 center, float radius) const'],['../classraylib_1_1_rectangle.html#abe80bafa896b885af41187d6611cd34b',1,'raylib::Rectangle::CheckCollision()'],['../classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b',1,'raylib::BoundingBox::CheckCollision()'],['../classraylib_1_1_rectangle.html#a4e0fe086b5e04a2810ea5ec31fee7cb7',1,'raylib::Rectangle::CheckCollision(::Rectangle rec2) const'],['../classraylib_1_1_rectangle.html#ac1cd92eb4d964c2f643500506a8103c4',1,'raylib::Rectangle::CheckCollision(::Vector2 point) const'],['../classraylib_1_1_vector2.html#a23dfda9f721e98d3bf80de4eeccde18e',1,'raylib::Vector2::CheckCollision(::Rectangle rec) const']]], + ['checkcollisioncircle_571',['CheckCollisionCircle',['../classraylib_1_1_vector2.html#a7dcfa1e305dca48ca72648a447228d47',1,'raylib::Vector2::CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const'],['../classraylib_1_1_vector2.html#a6ed62656d9528f2a1b2924132576779e',1,'raylib::Vector2::CheckCollisionCircle(float radius, ::Rectangle rec) const']]], + ['checkcollisionlines_572',['CheckCollisionLines',['../classraylib_1_1_vector2.html#adf2ac764f0a4b4c6d67dc1cfbb8d0df5',1,'raylib::Vector2']]], + ['checkcollisionpointline_573',['CheckCollisionPointLine',['../classraylib_1_1_vector2.html#a1f850b3932615e953d0b454f15a209d2',1,'raylib::Vector2']]], + ['checked_574',['Checked',['../classraylib_1_1_image.html#a30b75ee71c4240b4438a22a1313e90c8',1,'raylib::Image']]], + ['clamp_575',['Clamp',['../classraylib_1_1_vector2.html#a4953b5c480256737dc976617caf97ecc',1,'raylib::Vector2::Clamp(float min, float max)'],['../classraylib_1_1_vector2.html#a417d9181ad559a9e2f193219928e886c',1,'raylib::Vector2::Clamp(::Vector2 min, ::Vector2 max)']]], + ['clearbackground_576',['ClearBackground',['../classraylib_1_1_image.html#aed48d37124df81191a9c10a417508703',1,'raylib::Image::ClearBackground()'],['../classraylib_1_1_window.html#a69eb249831f1976ce2a73945e31c6f52',1,'raylib::Window::ClearBackground()'],['../classraylib_1_1_color.html#ace467f20d71ff4af44e0211d6aeea9b5',1,'raylib::Color::ClearBackground()']]], + ['clearstate_577',['ClearState',['../classraylib_1_1_window.html#a359e2101ac13e8ee8423b3ffb27c8a42',1,'raylib::Window']]], + ['close_578',['Close',['../classraylib_1_1_window.html#a59cf11e97d3e33d914bc7b1711c2ccaf',1,'raylib::Window::Close()'],['../classraylib_1_1_audio_device.html#a04b39055a7d4dc12801f39f3429af9a0',1,'raylib::AudioDevice::Close()']]], + ['color_579',['Color',['../classraylib_1_1_color.html#ac0af7e53c6e05e6ec4de88169bae3952',1,'raylib::Color::Color()'],['../classraylib_1_1_image.html#a8cf520f677b90541789a53b6bed96e6e',1,'raylib::Image::Color()'],['../classraylib_1_1_color.html#ae94a7282beb9cd71dd8d1b0dac24652a',1,'raylib::Color::Color(unsigned int hexValue)'],['../classraylib_1_1_color.html#a3c177f10d10851fdf20d09fae83c8e19',1,'raylib::Color::Color(::Vector3 hsv)'],['../classraylib_1_1_color.html#aa5b23dd8167f9babe41abd378339d3a4',1,'raylib::Color::Color(::Vector4 normalized)']]], + ['colorbrightness_580',['ColorBrightness',['../classraylib_1_1_image.html#a2e6287edda71ed977b4b416e04b0f37f',1,'raylib::Image']]], + ['colorcontrast_581',['ColorContrast',['../classraylib_1_1_image.html#af00dca9570581bb75e0616e9a9f9b822',1,'raylib::Image']]], + ['colorgrayscale_582',['ColorGrayscale',['../classraylib_1_1_image.html#a2eae93c88197917b6706139f2c3c6dc2',1,'raylib::Image']]], + ['colorinvert_583',['ColorInvert',['../classraylib_1_1_image.html#af7f900b20bb8823c2c435673438dfbbd',1,'raylib::Image']]], + ['colorreplace_584',['ColorReplace',['../classraylib_1_1_image.html#af9d668a5feaed2554a77694f61cbdae0',1,'raylib::Image']]], + ['colortint_585',['ColorTint',['../classraylib_1_1_image.html#a0299b8ed8b569977d214ce265d3a5c93',1,'raylib::Image']]], + ['cone_586',['Cone',['../classraylib_1_1_mesh.html#a38eec58dd557e79016b1a024b3d2ed8c',1,'raylib::Mesh']]], + ['copy_587',['Copy',['../classraylib_1_1_image.html#a41c1bbd428e6a5eb0a755aebc657acb9',1,'raylib::Image::Copy()'],['../classraylib_1_1_wave.html#a288eb813e2334496ca4313c4dc7d2253',1,'raylib::Wave::Copy()']]], + ['crop_588',['Crop',['../classraylib_1_1_image.html#a50a7394e9662bf4f587cd73c5d594cee',1,'raylib::Image::Crop(::Rectangle crop)'],['../classraylib_1_1_image.html#a1ac865ee24df3dab2afa028c49843590',1,'raylib::Image::Crop(int newWidth, int newHeight)'],['../classraylib_1_1_image.html#a2fdfad958c27f8cc590b194b06338e2d',1,'raylib::Image::Crop(::Vector2 size)'],['../classraylib_1_1_image.html#a24323ef52da6113c3af4861ce0250ea0',1,'raylib::Image::Crop(int offsetX, int offsetY, int newWidth, int newHeight)'],['../classraylib_1_1_wave.html#a25601c51a2f81c569b074620c6758e94',1,'raylib::Wave::Crop()']]], + ['cube_589',['Cube',['../classraylib_1_1_mesh.html#a3063bad532be0ec9f0545652ffb2e929',1,'raylib::Mesh']]], + ['cubicmap_590',['Cubicmap',['../classraylib_1_1_mesh.html#af18beb1df9193e095dde1ecbdadf7688',1,'raylib::Mesh']]], + ['cylinder_591',['Cylinder',['../classraylib_1_1_mesh.html#aed00f01b7f68b3ef236814c8468891f0',1,'raylib::Mesh']]] +]; diff --git a/search/functions_3.html b/search/functions_3.html new file mode 100644 index 00000000..d79f55b8 --- /dev/null +++ b/search/functions_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_3.js b/search/functions_3.js new file mode 100644 index 00000000..7ac33607 --- /dev/null +++ b/search/functions_3.js @@ -0,0 +1,25 @@ +var searchData= +[ + ['detachprocessor_592',['DetachProcessor',['../classraylib_1_1_audio_stream.html#ae41cbe345a20fd7155b96a218c807608',1,'raylib::AudioStream']]], + ['directoryexists_593',['DirectoryExists',['../namespaceraylib.html#a2991a63252dbe2be7e1ae4b852c9bd69',1,'raylib']]], + ['distance_594',['Distance',['../classraylib_1_1_vector2.html#a488a41369489998272b217d6385d6c37',1,'raylib::Vector2']]], + ['distancesqr_595',['DistanceSqr',['../classraylib_1_1_vector2.html#aeb94650ad22524f8e7f6749b49ded6f2',1,'raylib::Vector2']]], + ['dither_596',['Dither',['../classraylib_1_1_image.html#a055b6908b9e8cfcd109abc537f3d2056',1,'raylib::Image']]], + ['divide_597',['Divide',['../classraylib_1_1_vector2.html#a6cd160434801eeadfbbc5deec8b20e21',1,'raylib::Vector2::Divide(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#afed61e067c7fc43651cc1528e62ecd83',1,'raylib::Vector2::Divide(const float div) const'],['../classraylib_1_1_vector3.html#a93595f9db4555c26eadb2c0370ca1435',1,'raylib::Vector3::Divide(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a9f644e6c306ae5cf3a68c3f4900ef9e6',1,'raylib::Vector3::Divide(const float div) const']]], + ['dotproduct_598',['DotProduct',['../classraylib_1_1_vector2.html#a31c32996761d89b568102b2f6b60b745',1,'raylib::Vector2']]], + ['draw_599',['Draw',['../classraylib_1_1_text.html#a443ed5c0ea65b2788b6830c284731bc7',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_text.html#acfe392b1bb2aaf6b3e7eb3059e9d568a',1,'raylib::Text::Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)'],['../classraylib_1_1_texture_unmanaged.html#a80196875c325e6d7dae9e1f05915e8c2',1,'raylib::TextureUnmanaged::Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a92231c7ef084ded4958752c4196b6638',1,'raylib::TextureUnmanaged::Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#aa1672e3692c36b71128cdfe2ffe718ce',1,'raylib::TextureUnmanaged::Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a8aab2105c5f0d84b151c20ea8b8c747c',1,'raylib::TextureUnmanaged::Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a92e88bfec194e1798b736659c7cd1d4b',1,'raylib::TextureUnmanaged::Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a66f30c9f9ed8ed26a215a0306db082a2',1,'raylib::TextureUnmanaged::Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a4dd8468b304980fe8795dd9f9b0d3723',1,'raylib::TextureUnmanaged::Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_text.html#af89344485eb70a46e94524ea241a88c3',1,'raylib::Text::Draw(const ::Vector2 &position) const'],['../classraylib_1_1_text.html#a3bc44ac0e61b309e035f8d80b421771e',1,'raylib::Text::Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#a98742bb9c9256cd660e9ef7f071a6769',1,'raylib::Text::Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)'],['../classraylib_1_1_text.html#ae814ee1d884fe4713c442b93b0a8d841',1,'raylib::Text::Draw(const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const'],['../classraylib_1_1_text.html#af1054f6f69cf55821c9aea8119528db1',1,'raylib::Text::Draw(int posX, int posY) const'],['../classraylib_1_1_rectangle.html#a7d4b375b3bd00fdddffddaaa57da25a7',1,'raylib::Rectangle::Draw()'],['../classraylib_1_1_ray.html#a877f92e8379d13b8fdeb07bb392b83c6',1,'raylib::Ray::Draw()'],['../classraylib_1_1_model.html#a3a38a436863fca2fd5613300d2ba6595',1,'raylib::Model::Draw(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_model.html#a23d7b4075544332ef45abc84605c3b21',1,'raylib::Model::Draw(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_mesh.html#a19195e45485c697da105609b361aadb2',1,'raylib::Mesh::Draw(const ::Material &material, ::Matrix *transforms, int instances) const'],['../classraylib_1_1_mesh.html#ad41ffa9eedf941eb309296e7a0ac2f2e',1,'raylib::Mesh::Draw(const ::Material &material, const ::Matrix &transform) const'],['../classraylib_1_1_bounding_box.html#abb1910745ab4f5c4f1536e15ed79764e',1,'raylib::BoundingBox::Draw()']]], + ['drawbillboard_600',['DrawBillboard',['../classraylib_1_1_camera3_d.html#a7858f66ab315f8fa6db756e072a2943a',1,'raylib::Camera3D::DrawBillboard()'],['../classraylib_1_1_texture_unmanaged.html#a7641f72a49fdf05f417575822dfff92b',1,'raylib::TextureUnmanaged::DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a018bc6617635d2022fe966b581ceeae7',1,'raylib::TextureUnmanaged::DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#afc9cb6a285acb93aa9c340360cb3f03e',1,'raylib::TextureUnmanaged::DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_camera3_d.html#ae49055f2db670d584a2d404c9a17c777',1,'raylib::Camera3D::DrawBillboard()']]], + ['drawcircle_601',['DrawCircle',['../classraylib_1_1_vector2.html#a79787d852db926ff3ef1aece06b201ff',1,'raylib::Vector2']]], + ['drawcube_602',['DrawCube',['../classraylib_1_1_texture_unmanaged.html#ae0777ad1fd9578342c2e45e450c7052f',1,'raylib::TextureUnmanaged::DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#a4dcb0ec62404dbb2bed6eb195bbfc059',1,'raylib::TextureUnmanaged::DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#ad179ce6ca17df2c800faf0df2c5b18cb',1,'raylib::TextureUnmanaged::DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const'],['../classraylib_1_1_texture_unmanaged.html#ac5610339e89be5a13c0e1cfd018eedd4',1,'raylib::TextureUnmanaged::DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const']]], + ['drawfps_603',['DrawFPS',['../classraylib_1_1_window.html#a91bbcfadc697547f373dd9cc02edeaf1',1,'raylib::Window']]], + ['drawline_604',['DrawLine',['../classraylib_1_1_color.html#ab3fab187c29a3705aac1a0e826e4a456',1,'raylib::Color::DrawLine(int startPosX, int startPosY, int endPosX, int endPosY) const'],['../classraylib_1_1_color.html#a6333cda3646d05c183d7d90a7ea322e5',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos) const'],['../classraylib_1_1_color.html#accade15fb033d45d707d81d4f114bce9',1,'raylib::Color::DrawLine(::Vector2 startPos, ::Vector2 endPos, float thick) const']]], + ['drawlinebezierquad_605',['DrawLineBezierQuad',['../classraylib_1_1_vector2.html#afc700789b302b9f2ef138fc2accfcae9',1,'raylib::Vector2']]], + ['drawmesh_606',['DrawMesh',['../classraylib_1_1_material.html#ab34a9e08028190db1aad10c9c10859c2',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix transform) const'],['../classraylib_1_1_material.html#aa339541c681d718e46dd3ecde1887b52',1,'raylib::Material::DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) const']]], + ['drawpixel_607',['DrawPixel',['../classraylib_1_1_color.html#a63a177093cd11a5ab16d1d2ea9e717b1',1,'raylib::Color::DrawPixel()'],['../classraylib_1_1_image.html#adcec2cf5a6a16d26a8e8dd63407686fc',1,'raylib::Image::DrawPixel()']]], + ['drawpoly_608',['DrawPoly',['../classraylib_1_1_texture_unmanaged.html#a3d18c29ef4a1e7471193ac92d67f0167',1,'raylib::TextureUnmanaged']]], + ['drawtext_609',['DrawText',['../classraylib_1_1_font.html#af430e0ef9362a8d2262443d8a2b92af2',1,'raylib::Font::DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) const'],['../classraylib_1_1_font.html#ae0c4a16d8aa1cee270b0989afca0e1b6',1,'raylib::Font::DrawText(const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) const'],['../classraylib_1_1_font.html#a741e243c689fb06c6d7756a57c622a2a',1,'raylib::Font::DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) const'],['../classraylib_1_1_font.html#a172e4e09d9049eea41299b28337131c2',1,'raylib::Font::DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) const'],['../namespaceraylib.html#a54b76d681a4cd002e304501d5a040bda',1,'raylib::DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)']]], + ['drawtextex_610',['DrawTextEx',['../namespaceraylib.html#adeb818239879e345434fec0f2b61e5cd',1,'raylib']]], + ['drawtextpro_611',['DrawTextPro',['../namespaceraylib.html#ad9373305a332c98fd718966388bc2946',1,'raylib']]], + ['drawtiled_612',['DrawTiled',['../classraylib_1_1_texture_unmanaged.html#aaa1fc9e74514fd239162b490fd3f38d4',1,'raylib::TextureUnmanaged']]], + ['drawwires_613',['DrawWires',['../classraylib_1_1_model.html#ad4ecebcfd5ee0292c6ea0068b5744002',1,'raylib::Model::DrawWires(::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const'],['../classraylib_1_1_model.html#a6706e37a1bdf3bc971929c9b69880d5a',1,'raylib::Model::DrawWires(::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const']]] +]; diff --git a/search/functions_4.html b/search/functions_4.html new file mode 100644 index 00000000..1657cad0 --- /dev/null +++ b/search/functions_4.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_4.js b/search/functions_4.js new file mode 100644 index 00000000..4b163c0f --- /dev/null +++ b/search/functions_4.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['enddrawing_614',['EndDrawing',['../classraylib_1_1_window.html#a43bfc69dfce6ec3aaf1170f521243d59',1,'raylib::Window']]], + ['endmode_615',['EndMode',['../classraylib_1_1_camera3_d.html#a724b766ec42ff58243a353e07fd464e8',1,'raylib::Camera3D::EndMode()'],['../classraylib_1_1_render_texture.html#a2b742cd39ce046d2ac8e1cd0bb6ae4ff',1,'raylib::RenderTexture::EndMode()'],['../classraylib_1_1_shader.html#a525c31d5a7482bc89e41f03d1284b9f7',1,'raylib::Shader::EndMode()'],['../classraylib_1_1_vr_stereo_config.html#af7dfa68579eca4f909be5bb8c2383721',1,'raylib::VrStereoConfig::EndMode()']]], + ['equals_616',['Equals',['../classraylib_1_1_vector2.html#a005eb382654cbd8e54e24029169e14ff',1,'raylib::Vector2']]], + ['export_617',['Export',['../classraylib_1_1_image.html#acc2213c23d1b05bc0dc46ece4aa2a1d9',1,'raylib::Image::Export()'],['../classraylib_1_1_mesh.html#af9fb0b047378827f5dfb76fbc72fa3c3',1,'raylib::Mesh::Export()'],['../classraylib_1_1_wave.html#aae34ed202b067c1698fcde0615b5e2eb',1,'raylib::Wave::Export()']]], + ['exportascode_618',['ExportAsCode',['../classraylib_1_1_image.html#ad12fc30d3b858e4c8a1abcac92d4483e',1,'raylib::Image::ExportAsCode()'],['../classraylib_1_1_wave.html#a3ff84c35bd83bdd00a7a561ee803ec9e',1,'raylib::Wave::ExportAsCode()']]], + ['exportimage_619',['ExportImage',['../namespaceraylib.html#a5099093ce156cc4d2f25593261009c18',1,'raylib']]], + ['exportimageascode_620',['ExportImageAsCode',['../namespaceraylib.html#a0b97437db0f2b47bd7d4b57a8fdaf987',1,'raylib']]] +]; diff --git a/search/functions_5.html b/search/functions_5.html new file mode 100644 index 00000000..9301d6b9 --- /dev/null +++ b/search/functions_5.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_5.js b/search/functions_5.js new file mode 100644 index 00000000..0ab010d9 --- /dev/null +++ b/search/functions_5.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['fade_621',['Fade',['../classraylib_1_1_color.html#a799b151b5ce92ccf5ca46f0c18ced395',1,'raylib::Color']]], + ['fileexists_622',['FileExists',['../namespaceraylib.html#a9e94283307bcb33f4595dcd5236b65c4',1,'raylib']]], + ['fliphorizontal_623',['FlipHorizontal',['../classraylib_1_1_image.html#a5d8f596d36077f4b8c24512a2df73e65',1,'raylib::Image']]], + ['flipvertical_624',['FlipVertical',['../classraylib_1_1_image.html#a0f052c63b3cebcf99c0cad86c8e88da4',1,'raylib::Image']]], + ['font_625',['Font',['../classraylib_1_1_font.html#a583656ce94c5ade2bf4a47717f767764',1,'raylib::Font::Font()'],['../classraylib_1_1_font.html#a8a29c7a9f5aacc2073d407784774ff7d',1,'raylib::Font::Font(const std::string &fileName)'],['../classraylib_1_1_font.html#a01d6bfdf5aa8b87c65c994c932af3d36',1,'raylib::Font::Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)'],['../classraylib_1_1_font.html#adfe1913d9f5aa7848fcb033fe7bc7ca2',1,'raylib::Font::Font(const ::Image &image, ::Color key, int firstChar)'],['../classraylib_1_1_font.html#a4cfb9ae6c224437ad3d5c7c4f905b6ab',1,'raylib::Font::Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)']]], + ['format_626',['Format',['../classraylib_1_1_image.html#a01fcff59e33e044bd779202ea3473c48',1,'raylib::Image::Format()'],['../classraylib_1_1_wave.html#a4e6d2e64e6cdd46133893c9edd70b508',1,'raylib::Wave::Format()']]], + ['fromhsv_627',['FromHSV',['../classraylib_1_1_color.html#a6c3fd166762f68aede6c448cb26677ef',1,'raylib::Color']]], + ['fromimage_628',['FromImage',['../classraylib_1_1_image.html#a61259f828d00df0dbe8430276652d7aa',1,'raylib::Image']]] +]; diff --git a/search/functions_6.html b/search/functions_6.html new file mode 100644 index 00000000..9c4f5fc6 --- /dev/null +++ b/search/functions_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_6.js b/search/functions_6.js new file mode 100644 index 00000000..29f5f58e --- /dev/null +++ b/search/functions_6.js @@ -0,0 +1,149 @@ +var searchData= +[ + ['genmipmaps_629',['GenMipmaps',['../classraylib_1_1_texture_unmanaged.html#a8a36b99ad434f7f6aa831260f9a9a3db',1,'raylib::TextureUnmanaged']]], + ['gentangents_630',['GenTangents',['../classraylib_1_1_mesh.html#a2c4f31c3ddb8ef351c8fc3a8301497c2',1,'raylib::Mesh']]], + ['geta_631',['GetA',['../classraylib_1_1_color.html#af44c677cf6a4f10cfd1e8bdbb72eff08',1,'raylib::Color']]], + ['getalphaborder_632',['GetAlphaBorder',['../classraylib_1_1_image.html#a3eb64b4c59b8dee647b4aa66b6bbdf68',1,'raylib::Image']]], + ['getanimnormals_633',['GetAnimNormals',['../classraylib_1_1_mesh.html#a853c2afc08600c3e9e256d1eb805dded',1,'raylib::Mesh']]], + ['getanimvertices_634',['GetAnimVertices',['../classraylib_1_1_mesh.html#a38f5de9866c13b05b49b936a03b17201',1,'raylib::Mesh']]], + ['getaxiscount_635',['GetAxisCount',['../classraylib_1_1_gamepad.html#a3a1e2311ee288c437371ee1472449ef9',1,'raylib::Gamepad']]], + ['getaxismovement_636',['GetAxisMovement',['../classraylib_1_1_gamepad.html#ad7c180ac50603ba226fe1aa1bee54a95',1,'raylib::Gamepad']]], + ['getb_637',['GetB',['../classraylib_1_1_color.html#afc74cd36d347b8daaaed8aa14a3c29ba',1,'raylib::Color']]], + ['getbasesize_638',['GetBaseSize',['../classraylib_1_1_font.html#a944d3af1c94f00bbe39182307c26009c',1,'raylib::Font']]], + ['getbindpose_639',['GetBindPose',['../classraylib_1_1_model.html#a8012904ab28c4966752c7ab67014faa1',1,'raylib::Model']]], + ['getbonecount_640',['GetBoneCount',['../classraylib_1_1_model_animation.html#a3c8feacbf8d6fb1efa78a9146c7db327',1,'raylib::ModelAnimation::GetBoneCount()'],['../classraylib_1_1_model.html#a192c0e7b4129a88de333c1eca34587fb',1,'raylib::Model::GetBoneCount()']]], + ['getboneids_641',['GetBoneIds',['../classraylib_1_1_mesh.html#a6e29e78cfa20a16e46cb77de8c4031c7',1,'raylib::Mesh']]], + ['getbones_642',['GetBones',['../classraylib_1_1_model.html#ab944580c06987114068ae16d2b1ac34e',1,'raylib::Model::GetBones()'],['../classraylib_1_1_model_animation.html#aec9078358dfd2a87e580db69d8f7b325',1,'raylib::ModelAnimation::GetBones()']]], + ['getboneweights_643',['GetBoneWeights',['../classraylib_1_1_mesh.html#a0127c2cf9efa4e369fd3f71c326049b1',1,'raylib::Mesh']]], + ['getboundingbox_644',['GetBoundingBox',['../classraylib_1_1_model.html#affdca7b9b3d9dd8f3c113bbb1300bf07',1,'raylib::Model']]], + ['getbuffer_645',['GetBuffer',['../classraylib_1_1_audio_stream.html#adea73b3b07652eb26bcaeb6e63f7ebb2',1,'raylib::AudioStream']]], + ['getbuttonpressed_646',['GetButtonPressed',['../classraylib_1_1_gamepad.html#a851be2dfb762d18268aad40ff7ee3f11',1,'raylib::Gamepad']]], + ['getchannels_647',['GetChannels',['../classraylib_1_1_audio_stream.html#ac29300e1a5c6b984824c2717313c7d7f',1,'raylib::AudioStream::GetChannels()'],['../classraylib_1_1_wave.html#ab6940575496f381bea5097cb716cdbff',1,'raylib::Wave::GetChannels()']]], + ['getclipboardtext_648',['GetClipboardText',['../namespaceraylib.html#afe0adc469dc76944514cda9878393457',1,'raylib::GetClipboardText()'],['../classraylib_1_1_window.html#a95694b643f5ded1b873cc8130d238885',1,'raylib::Window::GetClipboardText()']]], + ['getcollision_649',['GetCollision',['../classraylib_1_1_ray.html#a73fdec29d8ae713c34100a620b0c4a90',1,'raylib::Ray::GetCollision()'],['../classraylib_1_1_bounding_box.html#a75c1287b1fd3b4fb7a67b099fc8d629e',1,'raylib::BoundingBox::GetCollision()'],['../classraylib_1_1_rectangle.html#a645b482ae3a4faa035507506be4f4260',1,'raylib::Rectangle::GetCollision()'],['../classraylib_1_1_ray.html#a576e54e9926824a639235aeafb64a06c',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const'],['../classraylib_1_1_ray.html#ac8797e988864b005cdd5b6c275b57f4d',1,'raylib::Ray::GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const'],['../classraylib_1_1_ray.html#acc1e0cffcf355d177dee6f2b8f43fc0d',1,'raylib::Ray::GetCollision(const ::BoundingBox &box) const'],['../classraylib_1_1_ray.html#a8629f9098a9e4df52d6606121131360a',1,'raylib::Ray::GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const']]], + ['getcolor_650',['GetColor',['../classraylib_1_1_text.html#a4f2bfda860845f32810860527a66498f',1,'raylib::Text::GetColor()'],['../classraylib_1_1_image.html#a963ffd4ae257684022ffaa48d66e5c20',1,'raylib::Image::GetColor(int x=0, int y=0) const'],['../classraylib_1_1_image.html#a59621864f70ce41a014133ae323d5f8f',1,'raylib::Image::GetColor(::Vector2 position) const']]], + ['getcolors_651',['GetColors',['../classraylib_1_1_mesh.html#a142e31381d248fbcdeeef46fd1f208ed',1,'raylib::Mesh']]], + ['getctxdata_652',['GetCtxData',['../classraylib_1_1_music.html#a349420428960e47afd4c69499b62eeac',1,'raylib::Music']]], + ['getctxtype_653',['GetCtxType',['../classraylib_1_1_music.html#abbbad14fbc860d0e74f14c4b0a17a723',1,'raylib::Music']]], + ['getdata_654',['GetData',['../classraylib_1_1_image.html#a3144e343f963e5b206e1050be54b4187',1,'raylib::Image::GetData()'],['../classraylib_1_1_texture_unmanaged.html#a2d6348f1aa633559046de27145b44a75',1,'raylib::TextureUnmanaged::GetData()'],['../classraylib_1_1_wave.html#a8e7edd178a2ec7dc11f2474b29771d90',1,'raylib::Wave::GetData()']]], + ['getdelta_655',['GetDelta',['../classraylib_1_1_mouse.html#af289f6259f77657bebb4bc6d303b678e',1,'raylib::Mouse']]], + ['getdepth_656',['GetDepth',['../classraylib_1_1_render_texture.html#ab57a4e6a2bef25e85c0942575b508806',1,'raylib::RenderTexture']]], + ['getdirection_657',['GetDirection',['../classraylib_1_1_ray.html#aee371fba13716967b132d6cfa7fcee74',1,'raylib::Ray']]], + ['getdirectorypath_658',['GetDirectoryPath',['../namespaceraylib.html#af0226b8293ccb2947674b14ce25628b1',1,'raylib']]], + ['getdistance_659',['GetDistance',['../classraylib_1_1_ray_collision.html#aaf6597f2411717fb1a792c86b5c056d6',1,'raylib::RayCollision']]], + ['getfileextension_660',['GetFileExtension',['../namespaceraylib.html#abbdc5c6e02c73cdfa05f1b9c9e6edf1c',1,'raylib']]], + ['getfilemodtime_661',['GetFileModTime',['../namespaceraylib.html#aba9d6a306d3974b2190caa4433027c87',1,'raylib']]], + ['getfilename_662',['GetFileName',['../namespaceraylib.html#a6ee5ba05382914e2f9cab593ff938b43',1,'raylib']]], + ['getfilenamewithoutext_663',['GetFileNameWithoutExt',['../namespaceraylib.html#ac7d9a2610473677f5e4e93a8e6c60f95',1,'raylib']]], + ['getfont_664',['GetFont',['../classraylib_1_1_text.html#ac99e757de62eef63866fcaeeb7e51d0d',1,'raylib::Text']]], + ['getfontsize_665',['GetFontSize',['../classraylib_1_1_text.html#af99aaa1189b49332a6e10fcd14fe6cdd',1,'raylib::Text']]], + ['getformat_666',['GetFormat',['../classraylib_1_1_texture_unmanaged.html#a675f52bdb426855011e5c7febfd679b1',1,'raylib::TextureUnmanaged::GetFormat()'],['../classraylib_1_1_image.html#afea44592a9dbcdad114be0c57ec179d6',1,'raylib::Image::GetFormat()']]], + ['getfovy_667',['GetFovy',['../classraylib_1_1_camera3_d.html#aa2525e674c4582d4eadddd612f5f341c',1,'raylib::Camera3D']]], + ['getfps_668',['GetFPS',['../classraylib_1_1_window.html#a84747246a5f4e9101ac06c5da684af43',1,'raylib::Window']]], + ['getframecount_669',['GetFrameCount',['../classraylib_1_1_music.html#ace0dab529c9fad79d4ea659f45323ac5',1,'raylib::Music::GetFrameCount()'],['../classraylib_1_1_model_animation.html#ac5c26c30e71be771fe3601e29d816af2',1,'raylib::ModelAnimation::GetFrameCount()'],['../classraylib_1_1_sound.html#af300841c8c1b12106c3533074cda2968',1,'raylib::Sound::GetFrameCount()'],['../classraylib_1_1_wave.html#ac8cc0878a29409841b4f9b716baefff0',1,'raylib::Wave::GetFrameCount()']]], + ['getframeposes_670',['GetFramePoses',['../classraylib_1_1_model_animation.html#a63616ed03e2ca3e1dbe4337de5189ec7',1,'raylib::ModelAnimation']]], + ['getframetime_671',['GetFrameTime',['../classraylib_1_1_window.html#a9b9980432a4deacf2df9471f311d43ad',1,'raylib::Window']]], + ['getg_672',['GetG',['../classraylib_1_1_color.html#a3ab0ea2b21a1548259507219259304f5',1,'raylib::Color']]], + ['getgamepadname_673',['GetGamepadName',['../namespaceraylib.html#a46090fb186918e0f5cc8d21a3d5fe6e2',1,'raylib']]], + ['getglyphcount_674',['GetGlyphCount',['../classraylib_1_1_font.html#ac30454e6cee755a116378a0a1d20558f',1,'raylib::Font']]], + ['getglyphindex_675',['GetGlyphIndex',['../classraylib_1_1_font.html#a4dac04aebd39c1c038f936ef83d86b42',1,'raylib::Font']]], + ['getglyphpadding_676',['GetGlyphPadding',['../classraylib_1_1_font.html#aeddd05c2c79f07cd40901361d1117e0e',1,'raylib::Font']]], + ['getglyphs_677',['GetGlyphs',['../classraylib_1_1_font.html#a741aa157ac264e77613794818e2fdbe1',1,'raylib::Font']]], + ['gethandle_678',['GetHandle',['../classraylib_1_1_window.html#a0cc3f939a42ba3d625d43096b2e1e60b',1,'raylib::Window']]], + ['getheight_679',['GetHeight',['../classraylib_1_1_window.html#a0373241f0e8997b06aa4a15a58d3d5d9',1,'raylib::Window::GetHeight()'],['../classraylib_1_1_texture_unmanaged.html#a0cdedece1cb41c7cf93ed49e45245379',1,'raylib::TextureUnmanaged::GetHeight()'],['../classraylib_1_1_rectangle.html#a990c10a2ae6adcd19769957ee0e1859d',1,'raylib::Rectangle::GetHeight()'],['../classraylib_1_1_image.html#a4a3a94a5a21ce7578410c9c2e94d6805',1,'raylib::Image::GetHeight()']]], + ['gethit_680',['GetHit',['../classraylib_1_1_ray_collision.html#a05a75ae00d347a89866ba6083ef008e9',1,'raylib::RayCollision']]], + ['getid_681',['GetId',['../classraylib_1_1_texture_unmanaged.html#acf91be34b2c2500a8930f39a83050922',1,'raylib::TextureUnmanaged::GetId()'],['../classraylib_1_1_shader.html#a72ec5358fed89076afbd8edfa83e9779',1,'raylib::Shader::GetId()'],['../classraylib_1_1_render_texture.html#ab33b547ed46ceea6960a7385b24bec06',1,'raylib::RenderTexture::GetId()']]], + ['getindices_682',['GetIndices',['../classraylib_1_1_mesh.html#a1a48eb931c6c910f0fb524d2c49ed183',1,'raylib::Mesh']]], + ['getlocation_683',['GetLocation',['../classraylib_1_1_shader.html#a95634f8def8f234a84113d80fd8e521a',1,'raylib::Shader']]], + ['getlocationattrib_684',['GetLocationAttrib',['../classraylib_1_1_shader.html#a9c6eed0a0addfc76110bcec7cc8c3daf',1,'raylib::Shader']]], + ['getlocs_685',['GetLocs',['../classraylib_1_1_shader.html#a552106b906d353d97538e43ed2265bd0',1,'raylib::Shader']]], + ['getlooping_686',['GetLooping',['../classraylib_1_1_music.html#a6b04c6ccd89175f40de2491846a8154e',1,'raylib::Music']]], + ['getm0_687',['GetM0',['../classraylib_1_1_matrix.html#a6b78d7872779be3740adaa0a63c93871',1,'raylib::Matrix']]], + ['getm1_688',['GetM1',['../classraylib_1_1_matrix.html#ae7316cec778f24e875a529ddd116eb06',1,'raylib::Matrix']]], + ['getm10_689',['GetM10',['../classraylib_1_1_matrix.html#a714e3b90607b5345c12f7e5991ccbef7',1,'raylib::Matrix']]], + ['getm11_690',['GetM11',['../classraylib_1_1_matrix.html#a25c4303138c8060bcac037d6bc78912a',1,'raylib::Matrix']]], + ['getm12_691',['GetM12',['../classraylib_1_1_matrix.html#a7fc1f01a4e4137f6cf7597b006bdaa05',1,'raylib::Matrix']]], + ['getm13_692',['GetM13',['../classraylib_1_1_matrix.html#affca67e81632541bf08c743236a95790',1,'raylib::Matrix']]], + ['getm14_693',['GetM14',['../classraylib_1_1_matrix.html#ac2aa01cccd0e67223d2e24ed62b4f3d2',1,'raylib::Matrix']]], + ['getm15_694',['GetM15',['../classraylib_1_1_matrix.html#ac97c8f97e3f012c5c044fd941690ac8c',1,'raylib::Matrix']]], + ['getm2_695',['GetM2',['../classraylib_1_1_matrix.html#adbee9387da5a0c695b442c6bffb5ad44',1,'raylib::Matrix']]], + ['getm3_696',['GetM3',['../classraylib_1_1_matrix.html#a6fd210dab5f11e733d683d08ae9e0a00',1,'raylib::Matrix']]], + ['getm4_697',['GetM4',['../classraylib_1_1_matrix.html#a1b70d062e4ee8a4eb60154003a7778e1',1,'raylib::Matrix']]], + ['getm5_698',['GetM5',['../classraylib_1_1_matrix.html#a0a3e72416a11ddfabb4c8d671aff9347',1,'raylib::Matrix']]], + ['getm6_699',['GetM6',['../classraylib_1_1_matrix.html#a5fd355a3543ed7361699df2c7d0030ae',1,'raylib::Matrix']]], + ['getm7_700',['GetM7',['../classraylib_1_1_matrix.html#a986fde9e8b31d013b4f9a3e7d79a9721',1,'raylib::Matrix']]], + ['getm8_701',['GetM8',['../classraylib_1_1_matrix.html#a4f6a8abe84f2d4013869bb594e81f5b1',1,'raylib::Matrix']]], + ['getm9_702',['GetM9',['../classraylib_1_1_matrix.html#afa3e0fa6ce3f3a886001d523cb2be127',1,'raylib::Matrix']]], + ['getmaps_703',['GetMaps',['../classraylib_1_1_material.html#a561e81c743da576c866cfcec9bad8e53',1,'raylib::Material']]], + ['getmaterialcount_704',['GetMaterialCount',['../classraylib_1_1_model.html#a5667475690e50ed8ed54e0755d40d3a2',1,'raylib::Model']]], + ['getmaterials_705',['GetMaterials',['../classraylib_1_1_model.html#a649280afda23717aacce04ee652f601f',1,'raylib::Model']]], + ['getmatrix_706',['GetMatrix',['../classraylib_1_1_camera3_d.html#a1836faf8c5617c5efea6053c6bb77b4f',1,'raylib::Camera3D::GetMatrix()'],['../classraylib_1_1_camera2_d.html#aa1f8ea4d3a25feb15c2cb2a09628c7a1',1,'raylib::Camera2D::GetMatrix()']]], + ['getmax_707',['GetMax',['../classraylib_1_1_bounding_box.html#a4b537ee581dfdb203c619fbd67e20f18',1,'raylib::BoundingBox']]], + ['getmeshcount_708',['GetMeshCount',['../classraylib_1_1_model.html#a757bbbe4f49034a40740e1c58807c546',1,'raylib::Model']]], + ['getmeshes_709',['GetMeshes',['../classraylib_1_1_model.html#a66b34f9913ac900b94a338be266f63ce',1,'raylib::Model']]], + ['getmeshmaterial_710',['GetMeshMaterial',['../classraylib_1_1_model.html#a65eb3d0fb0be3d9ba7539df410885045',1,'raylib::Model']]], + ['getmin_711',['GetMin',['../classraylib_1_1_bounding_box.html#ad8c5c1330f95a3c5641e16da46bca8e6',1,'raylib::BoundingBox']]], + ['getmipmaps_712',['GetMipmaps',['../classraylib_1_1_texture_unmanaged.html#a5c7983ed1a0434bd60c744155aacca59',1,'raylib::TextureUnmanaged::GetMipmaps()'],['../classraylib_1_1_image.html#aa0e7c5adcbaf91924c141a085ed2317a',1,'raylib::Image::GetMipmaps()']]], + ['getmonitorname_713',['GetMonitorName',['../namespaceraylib.html#a7f6c5083385c50fd984be1abe0e2c94c',1,'raylib']]], + ['getmouse_714',['GetMouse',['../classraylib_1_1_ray.html#abc9387233e34d74c668382a2ec206239',1,'raylib::Ray::GetMouse(const ::Camera &camera)'],['../classraylib_1_1_ray.html#a71ed42f62ed21b18de311a5958fb2f90',1,'raylib::Ray::GetMouse(::Vector2 mousePosition, const ::Camera &camera)']]], + ['getmouseray_715',['GetMouseRay',['../classraylib_1_1_camera3_d.html#ac59decb87b851c16adee7c2c742f8961',1,'raylib::Camera3D']]], + ['getname_716',['GetName',['../classraylib_1_1_gamepad.html#aa13c682766bf03ba1f5f6fa821b15984',1,'raylib::Gamepad']]], + ['getnormal_717',['GetNormal',['../classraylib_1_1_ray_collision.html#a19f3252999a4f810856bcbd7f1cb4144',1,'raylib::RayCollision']]], + ['getnormals_718',['GetNormals',['../classraylib_1_1_mesh.html#a0fcc7bca9b9419a0d8e3d59666082edc',1,'raylib::Mesh']]], + ['getnumber_719',['GetNumber',['../classraylib_1_1_gamepad.html#ac04f6820f2a0d7ffa3876ac1bac9926b',1,'raylib::Gamepad']]], + ['getoffset_720',['GetOffset',['../classraylib_1_1_camera2_d.html#a6f2a2adaac6ce26b6ca132f88a119e01',1,'raylib::Camera2D']]], + ['getpixeldatasize_721',['GetPixelDataSize',['../classraylib_1_1_image.html#a4b552a8c5b2e652951e9f8c241bb8e3b',1,'raylib::Image::GetPixelDataSize() const'],['../classraylib_1_1_image.html#aa432e9f4e1b7a5e31a70447e3efd979d',1,'raylib::Image::GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)']]], + ['getplaying_722',['GetPlaying',['../classraylib_1_1_sound.html#a4b665deede8cd92fb0e3dd79193a1c27',1,'raylib::Sound']]], + ['getpointcount_723',['GetPointCount',['../classraylib_1_1_touch.html#ab8237b88ca4e91466b2bf8ac0518dd21',1,'raylib::Touch']]], + ['getpointid_724',['GetPointId',['../classraylib_1_1_touch.html#ac8f4025e43da8339bdfcd70fa1b690fa',1,'raylib::Touch']]], + ['getposition_725',['GetPosition',['../classraylib_1_1_touch.html#a4e980e79595488f2899795ff76c8989d',1,'raylib::Touch::GetPosition()'],['../classraylib_1_1_ray.html#a13d000fd9369b90b44dffcbc63eb5475',1,'raylib::Ray::GetPosition()'],['../classraylib_1_1_camera3_d.html#a8de66de053eac614313c0912aff2b755',1,'raylib::Camera3D::GetPosition()'],['../classraylib_1_1_ray_collision.html#a3b8389ef3c49c53613472a3fde16e4a3',1,'raylib::RayCollision::GetPosition()'],['../classraylib_1_1_window.html#a3be14707970a3af16d8dd212c27635a0',1,'raylib::Window::GetPosition()']]], + ['getprevdirectorypath_726',['GetPrevDirectoryPath',['../namespaceraylib.html#ade271537f199a6fb169389b9bb05a529',1,'raylib']]], + ['getprocessor_727',['GetProcessor',['../classraylib_1_1_audio_stream.html#a03bb4e9a8f7f4465a21af713147e7d5f',1,'raylib::AudioStream']]], + ['getprojection_728',['GetProjection',['../classraylib_1_1_camera3_d.html#a2886f1e2b41524fcc7e43862460201ce',1,'raylib::Camera3D']]], + ['getr_729',['GetR',['../classraylib_1_1_color.html#aff509b4643d1a176ba62622fc33fce06',1,'raylib::Color']]], + ['getray_730',['GetRay',['../classraylib_1_1_mouse.html#aa123b90dbea73502567e51a410db822c',1,'raylib::Mouse::GetRay(const ::Camera &camera)'],['../classraylib_1_1_mouse.html#ac65597d5676ed34d2ef02868451871a3',1,'raylib::Mouse::GetRay(::Vector2 mousePosition, const ::Camera &camera)']]], + ['getrecs_731',['GetRecs',['../classraylib_1_1_font.html#a396cae69c0d0c46bf76fc3879d5219e1',1,'raylib::Font']]], + ['getrenderheight_732',['GetRenderHeight',['../classraylib_1_1_window.html#a135515c9f786676a4e8e1f72ab279e59',1,'raylib::Window']]], + ['getrenderwidth_733',['GetRenderWidth',['../classraylib_1_1_window.html#a06a01230bfa32291f585f1aa63e04e88',1,'raylib::Window']]], + ['getrotation_734',['GetRotation',['../classraylib_1_1_camera2_d.html#a182bb47e65f422ee3b0d9dc27ba1cd6e',1,'raylib::Camera2D']]], + ['getsamplerate_735',['GetSampleRate',['../classraylib_1_1_wave.html#ada13a639ef1ec80f208ee849026e7c7f',1,'raylib::Wave::GetSampleRate()'],['../classraylib_1_1_audio_stream.html#a77b4c58ec94fb15169258288ef4c1239',1,'raylib::AudioStream::GetSampleRate() const']]], + ['getsamplesize_736',['GetSampleSize',['../classraylib_1_1_audio_stream.html#ac9dfe4b5b11fb155b4fe2169985fb627',1,'raylib::AudioStream::GetSampleSize()'],['../classraylib_1_1_wave.html#acae6daf3fa261c114bdb37a34a08428b',1,'raylib::Wave::GetSampleSize()']]], + ['getscaledpi_737',['GetScaleDPI',['../classraylib_1_1_window.html#a361fe3405b75feef86fe621a0480e10d',1,'raylib::Window']]], + ['getscreentoworld_738',['GetScreenToWorld',['../classraylib_1_1_camera2_d.html#a1eed5bde73d8c1a227250b6caaefcb42',1,'raylib::Camera2D']]], + ['getshader_739',['GetShader',['../classraylib_1_1_material.html#aa9502add9fe1ab801101a3bfe355ab88',1,'raylib::Material']]], + ['getsize_740',['GetSize',['../classraylib_1_1_window.html#aa5d1f6919d7f001e77fc1f5631581af0',1,'raylib::Window::GetSize()'],['../classraylib_1_1_texture_unmanaged.html#a8cf82d2185a819bf7e1cbb2ba0d74372',1,'raylib::TextureUnmanaged::GetSize()'],['../classraylib_1_1_image.html#ab87dacc3d634d09a767f29773e584a84',1,'raylib::Image::GetSize()']]], + ['getspacing_741',['GetSpacing',['../classraylib_1_1_text.html#a82c0ccfe4e9f1f8436b256ade50a2f46',1,'raylib::Text']]], + ['getstream_742',['GetStream',['../classraylib_1_1_sound.html#a356f3d89b688e93d3d72e2cbf3f1a47f',1,'raylib::Sound::GetStream()'],['../classraylib_1_1_music.html#a989d8aa3f23f0656ab3da9f24da40aa8',1,'raylib::Music::GetStream()']]], + ['gettangents_743',['GetTangents',['../classraylib_1_1_mesh.html#aa87bf017b9ea53e09230d128ffbb6a19',1,'raylib::Mesh']]], + ['gettarget_744',['GetTarget',['../classraylib_1_1_camera3_d.html#ac8327369c304938e9f6c538c3694f684',1,'raylib::Camera3D::GetTarget()'],['../classraylib_1_1_camera2_d.html#a6529f488ef7268bc52a3bfc69de5a68e',1,'raylib::Camera2D::GetTarget()']]], + ['gettexcoords_745',['GetTexCoords',['../classraylib_1_1_mesh.html#a3f81f280b53829deef1a37c4b5b5ca62',1,'raylib::Mesh']]], + ['gettexcoords2_746',['GetTexCoords2',['../classraylib_1_1_mesh.html#a30066599a6ce84274283fe59ddade320',1,'raylib::Mesh']]], + ['gettext_747',['GetText',['../classraylib_1_1_text.html#a71a39d6893afc00696355b5211cd97b8',1,'raylib::Text']]], + ['gettexture_748',['GetTexture',['../classraylib_1_1_render_texture.html#a0bda707cbc38cb5225e2fead089b2f92',1,'raylib::RenderTexture::GetTexture()'],['../classraylib_1_1_font.html#ad9435dc5993fab5b91d38b30c0cabc0b',1,'raylib::Font::GetTexture()']]], + ['gettime_749',['GetTime',['../classraylib_1_1_window.html#a60da5ca13065b01316ab17d4cd92b0c4',1,'raylib::Window']]], + ['gettimelength_750',['GetTimeLength',['../classraylib_1_1_music.html#ad23d121ee312f31c3a8f1db201ac5f12',1,'raylib::Music']]], + ['gettimeplayed_751',['GetTimePlayed',['../classraylib_1_1_music.html#a513dc0d09de1d51e1b961d4e59622ebb',1,'raylib::Music']]], + ['gettouchposition_752',['GetTouchPosition',['../classraylib_1_1_mouse.html#a87a1e77a62344626b587e105699c2c61',1,'raylib::Mouse']]], + ['gettouchx_753',['GetTouchX',['../classraylib_1_1_mouse.html#a3745314ab43bff36198dc34e2605a84d',1,'raylib::Mouse']]], + ['gettouchy_754',['GetTouchY',['../classraylib_1_1_mouse.html#a6bc20e86551f9dc641afbf68b0c8cda6',1,'raylib::Mouse']]], + ['gettransform_755',['GetTransform',['../classraylib_1_1_model.html#a9bcf1bc49f414eeec46981145f23c252',1,'raylib::Model']]], + ['gettrianglecount_756',['GetTriangleCount',['../classraylib_1_1_mesh.html#a0952e07513a753cdcff5049685605467',1,'raylib::Mesh']]], + ['getup_757',['GetUp',['../classraylib_1_1_camera3_d.html#a938726fa036cdac158d41649d694d4a6',1,'raylib::Camera3D']]], + ['getvaoid_758',['GetVaoId',['../classraylib_1_1_mesh.html#a2be0d9d846cec0f3aa57fccf87cb3bc4',1,'raylib::Mesh']]], + ['getvboid_759',['GetVboId',['../classraylib_1_1_mesh.html#ae535ee83038e5e79a9347c1196aff6b9',1,'raylib::Mesh']]], + ['getvertexcount_760',['GetVertexCount',['../classraylib_1_1_mesh.html#a68610ac9dbd7abc14b42e7f6d0115538',1,'raylib::Mesh']]], + ['getvertices_761',['GetVertices',['../classraylib_1_1_mesh.html#a3e0d13eece1fd47334117d316c777f4f',1,'raylib::Mesh']]], + ['getw_762',['GetW',['../classraylib_1_1_vector4.html#ab2b62fd149f3a5fe52785d2a2a4fb594',1,'raylib::Vector4']]], + ['getwheelmove_763',['GetWheelMove',['../classraylib_1_1_mouse.html#afb094f45ac8964ae24e068af0595eea9',1,'raylib::Mouse']]], + ['getwheelmovev_764',['GetWheelMoveV',['../classraylib_1_1_mouse.html#ad7f3a408bf64d5af809c9f798eb96d51',1,'raylib::Mouse']]], + ['getwidth_765',['GetWidth',['../classraylib_1_1_window.html#a28b6a5df22c776cf362c400798232a20',1,'raylib::Window::GetWidth()'],['../classraylib_1_1_texture_unmanaged.html#a643a62489bf02008ad964f3681a2e0bf',1,'raylib::TextureUnmanaged::GetWidth()'],['../classraylib_1_1_rectangle.html#a6abb0a899eba4c0cf64abe335cf9524f',1,'raylib::Rectangle::GetWidth()'],['../classraylib_1_1_image.html#a686e411bd7dca746367039925e00ff0c',1,'raylib::Image::GetWidth()']]], + ['getworkingdirectory_766',['GetWorkingDirectory',['../namespaceraylib.html#a3b1394601148ff55ebe71afc941a8ba6',1,'raylib']]], + ['getworldtoscreen_767',['GetWorldToScreen',['../classraylib_1_1_camera2_d.html#ad0ceb4263e2bf5a04686e1cae27f4c64',1,'raylib::Camera2D::GetWorldToScreen()'],['../classraylib_1_1_camera3_d.html#a6259d44a0a9b08d842fb30530dea19cc',1,'raylib::Camera3D::GetWorldToScreen()']]], + ['getx_768',['GetX',['../classraylib_1_1_rectangle.html#ac8e285bfedece7690efecc848f866488',1,'raylib::Rectangle::GetX()'],['../classraylib_1_1_touch.html#aeaad71fb64dd384ab1fa6a844c21b5c9',1,'raylib::Touch::GetX()'],['../classraylib_1_1_vector2.html#a8f3caf893df8b295287b9d38db071f7b',1,'raylib::Vector2::GetX()'],['../classraylib_1_1_vector3.html#adf04670ef541569bb6f059e0882ef6e6',1,'raylib::Vector3::GetX()'],['../classraylib_1_1_vector4.html#aeccdd03d26e614a2e8b24d09df48c46f',1,'raylib::Vector4::GetX()']]], + ['gety_769',['GetY',['../classraylib_1_1_touch.html#add32d0ca76f297d9f793d2e9028eaf78',1,'raylib::Touch::GetY()'],['../classraylib_1_1_rectangle.html#a0d56937d314f4d6772e5c315c0c8804a',1,'raylib::Rectangle::GetY()'],['../classraylib_1_1_vector3.html#a4a0ea2c9f7370ad1b84d7ac354828b04',1,'raylib::Vector3::GetY()'],['../classraylib_1_1_vector2.html#afc302ffc39c6a27208bc51f347614c6d',1,'raylib::Vector2::GetY()'],['../classraylib_1_1_vector4.html#af056e11e295b76b9a411bdd28ca9f0ab',1,'raylib::Vector4::GetY() const']]], + ['getz_770',['GetZ',['../classraylib_1_1_vector4.html#aa6ae558beba3e542596d34d9db4ba00c',1,'raylib::Vector4::GetZ()'],['../classraylib_1_1_vector3.html#a814af8afc4db090e3ae1caa61befa004',1,'raylib::Vector3::GetZ()']]], + ['getzoom_771',['GetZoom',['../classraylib_1_1_camera2_d.html#aff4843bdb20648e4c56404b88364f30d',1,'raylib::Camera2D']]], + ['gradienth_772',['GradientH',['../classraylib_1_1_image.html#a1669d98754a5d6aeb38f7bb7fff3b41f',1,'raylib::Image']]], + ['gradientradial_773',['GradientRadial',['../classraylib_1_1_image.html#aae426ba02db17383c5242e0ee58dd40c',1,'raylib::Image']]], + ['gradientv_774',['GradientV',['../classraylib_1_1_image.html#a57519b22c8a823e3e9fa590a51c25f57',1,'raylib::Image']]] +]; diff --git a/search/functions_7.html b/search/functions_7.html new file mode 100644 index 00000000..46b5c0f6 --- /dev/null +++ b/search/functions_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_7.js b/search/functions_7.js new file mode 100644 index 00000000..75459a72 --- /dev/null +++ b/search/functions_7.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['heightmap_775',['Heightmap',['../classraylib_1_1_mesh.html#ad0adb983d1f147de94505484818d2e97',1,'raylib::Mesh']]], + ['hemisphere_776',['HemiSphere',['../classraylib_1_1_mesh.html#a6549598642005a363f01c4cf23a806d6',1,'raylib::Mesh']]] +]; diff --git a/search/functions_8.html b/search/functions_8.html new file mode 100644 index 00000000..31a1d950 --- /dev/null +++ b/search/functions_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_8.js b/search/functions_8.js new file mode 100644 index 00000000..a89142e1 --- /dev/null +++ b/search/functions_8.js @@ -0,0 +1,27 @@ +var searchData= +[ + ['image_777',['Image',['../classraylib_1_1_image.html#a1712a7b876e26241634d57221371460a',1,'raylib::Image::Image(const std::string &fileName, int width, int height, int format, int headerSize=0)'],['../classraylib_1_1_image.html#a77cc09422677c409385be887ec642d21',1,'raylib::Image::Image(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a3269afe64885389663a144dbc24cc4f8',1,'raylib::Image::Image(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a3ea0ad546689f05b66469cfb3448d701',1,'raylib::Image::Image(const ::Texture2D &texture)'],['../classraylib_1_1_image.html#a81b1f8aa618c6302a03edcc8c03ddaef',1,'raylib::Image::Image(const std::string &fileName)']]], + ['imagetext_778',['ImageText',['../classraylib_1_1_font.html#afd68d404370d62e2a3573977e5bbeb22',1,'raylib::Font']]], + ['init_779',['Init',['../classraylib_1_1_audio_device.html#a65bd0c0305c16fb70a0a6fb09e834224',1,'raylib::AudioDevice::Init()'],['../classraylib_1_1_window.html#a90e16147a603cfb0b5cda99f7e9168db',1,'raylib::Window::Init()']]], + ['initwindow_780',['InitWindow',['../namespaceraylib.html#aa6db29c8b8a63eaebb42a2d550cc55a5',1,'raylib']]], + ['invert_781',['Invert',['../classraylib_1_1_vector2.html#a2fb114c1cde0a2f8037e61aa2822379c',1,'raylib::Vector2']]], + ['isavailable_782',['IsAvailable',['../classraylib_1_1_gamepad.html#a552fc427aa95b93e5c3a0e22625b7912',1,'raylib::Gamepad::IsAvailable() const'],['../classraylib_1_1_gamepad.html#a51ffa43549a2767723bdc8e780483c85',1,'raylib::Gamepad::IsAvailable(int number)']]], + ['isbuttondown_783',['IsButtonDown',['../classraylib_1_1_gamepad.html#a8d36ae1e99c022a1b4cccddfcb4eaca5',1,'raylib::Gamepad::IsButtonDown()'],['../classraylib_1_1_mouse.html#a4df87937eb26af3a7ce677679a006b87',1,'raylib::Mouse::IsButtonDown()']]], + ['isbuttonpressed_784',['IsButtonPressed',['../classraylib_1_1_gamepad.html#ac4f2cf491bba6cf51cd9dcab5ac36f5c',1,'raylib::Gamepad::IsButtonPressed()'],['../classraylib_1_1_mouse.html#abe697fb08941f2207f1ce87f9dd56917',1,'raylib::Mouse::IsButtonPressed()']]], + ['isbuttonreleased_785',['IsButtonReleased',['../classraylib_1_1_gamepad.html#a203c7dafc8025a334590dc9fa6dd8201',1,'raylib::Gamepad::IsButtonReleased()'],['../classraylib_1_1_mouse.html#a9f050865fcc3b2021db4eddb77bca7c8',1,'raylib::Mouse::IsButtonReleased()']]], + ['isbuttonup_786',['IsButtonUp',['../classraylib_1_1_gamepad.html#ab770e18a2a3d1618c19b87bc3350163b',1,'raylib::Gamepad']]], + ['iscursoronscreen_787',['IsCursorOnScreen',['../classraylib_1_1_window.html#aa34b3af6f8d64d11d2c4754d268ce9df',1,'raylib::Window']]], + ['isfileextension_788',['IsFileExtension',['../namespaceraylib.html#a5a60c25be7993db9750acda4cffbd5c5',1,'raylib']]], + ['isfocused_789',['IsFocused',['../classraylib_1_1_window.html#adc7484e498d54cdb28f342097d313284',1,'raylib::Window']]], + ['isfullscreen_790',['IsFullscreen',['../classraylib_1_1_window.html#a5497f129bcfd214f198a1494a8d6aeb0',1,'raylib::Window']]], + ['ishidden_791',['IsHidden',['../classraylib_1_1_window.html#aa84905241727491fcfa04d1b2b4bf9a4',1,'raylib::Window']]], + ['ismaximized_792',['IsMaximized',['../classraylib_1_1_window.html#ae83a47dddc7be356bfd7d8328f7bfcc2',1,'raylib::Window']]], + ['isminimized_793',['IsMinimized',['../classraylib_1_1_window.html#af37b1503d3d94dadd16a2e443853fca7',1,'raylib::Window']]], + ['ismodelanimationvalid_794',['IsModelAnimationValid',['../classraylib_1_1_model.html#a4d9e6f4093c9afd36c8a882884b2e973',1,'raylib::Model']]], + ['isplaying_795',['IsPlaying',['../classraylib_1_1_music.html#a020a0807b02878ce88eb72a51f93a7a8',1,'raylib::Music::IsPlaying()'],['../classraylib_1_1_audio_stream.html#a3ddeb56330bff2e4ae2f6aff6b8c63e9',1,'raylib::AudioStream::IsPlaying()'],['../classraylib_1_1_sound.html#abcb43001db69499796a100f8593c1233',1,'raylib::Sound::IsPlaying()']]], + ['isprocessed_796',['IsProcessed',['../classraylib_1_1_audio_stream.html#a1c208447f698ea82fb3c51f5c9978251',1,'raylib::AudioStream']]], + ['isready_797',['IsReady',['../classraylib_1_1_sound.html#a8af088741ad2ac90c2d2d75a8695fc35',1,'raylib::Sound::IsReady()'],['../classraylib_1_1_window.html#a9814a0d29da572bba75910b41cfe0f77',1,'raylib::Window::IsReady()'],['../classraylib_1_1_wave.html#a9f714404699bcf17b4ccfe6248691a7a',1,'raylib::Wave::IsReady()'],['../classraylib_1_1_texture_unmanaged.html#a5d8c0f98228733827086ea0b89db8bf4',1,'raylib::TextureUnmanaged::IsReady()'],['../classraylib_1_1_shader.html#ac3790f77c2e9154cc3fa5893105c0f0c',1,'raylib::Shader::IsReady()'],['../classraylib_1_1_render_texture.html#a402ca7bd6f0131101739e4ee07229cf4',1,'raylib::RenderTexture::IsReady()'],['../classraylib_1_1_music.html#a42cbf0ab75ae78377c4f2dbb6ddc82e4',1,'raylib::Music::IsReady()'],['../classraylib_1_1_model.html#a05a4df8c1ad0529055933671a6449b17',1,'raylib::Model::IsReady()'],['../classraylib_1_1_image.html#a59d31473c20102852665e3210bb4818b',1,'raylib::Image::IsReady()'],['../classraylib_1_1_font.html#ae4ccfbf51f897fe88c0865a1be0f9d59',1,'raylib::Font::IsReady()'],['../classraylib_1_1_audio_stream.html#add510560554e8b4929ffa47b2d714d1e',1,'raylib::AudioStream::IsReady()'],['../classraylib_1_1_audio_device.html#a5555c3a41868046ea8b6ff08195f21bc',1,'raylib::AudioDevice::IsReady()']]], + ['isresized_798',['IsResized',['../classraylib_1_1_window.html#abc3ef5315e01e7fbaa1023a3a1be5124',1,'raylib::Window']]], + ['isstate_799',['IsState',['../classraylib_1_1_window.html#a5b9dd646247a51705a040d8c1860bb86',1,'raylib::Window']]], + ['isvalid_800',['IsValid',['../classraylib_1_1_model_animation.html#a8759ec999d5a7370e364e8e86d278c34',1,'raylib::ModelAnimation']]] +]; diff --git a/search/functions_9.html b/search/functions_9.html new file mode 100644 index 00000000..9a8e4290 --- /dev/null +++ b/search/functions_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_9.js b/search/functions_9.js new file mode 100644 index 00000000..94c2f592 --- /dev/null +++ b/search/functions_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['knot_801',['Knot',['../classraylib_1_1_mesh.html#a29bea6873743413a23c573bb2a3cebed',1,'raylib::Mesh']]] +]; diff --git a/search/functions_a.html b/search/functions_a.html new file mode 100644 index 00000000..5ecc152c --- /dev/null +++ b/search/functions_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_a.js b/search/functions_a.js new file mode 100644 index 00000000..d20246e1 --- /dev/null +++ b/search/functions_a.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['length_802',['Length',['../classraylib_1_1_vector3.html#a8a34da2f9489bb78d4862cdedd14cd5e',1,'raylib::Vector3::Length()'],['../classraylib_1_1_vector2.html#a31b7bc465faebf07ef894eee4291e725',1,'raylib::Vector2::Length() const']]], + ['lengthsqr_803',['LengthSqr',['../classraylib_1_1_vector2.html#a3e68ca85bfbd5cbe8ebce0ad9e4688a4',1,'raylib::Vector2']]], + ['lerp_804',['Lerp',['../classraylib_1_1_vector2.html#a295e4514f3a3842d83aee1106543e294',1,'raylib::Vector2']]], + ['load_805',['Load',['../classraylib_1_1_texture_unmanaged.html#a5f26bb84c03b611f0c949e60d9aa2fe6',1,'raylib::TextureUnmanaged::Load()'],['../classraylib_1_1_wave.html#a2fccdb0e506c2dbacb84c32ff5ff3231',1,'raylib::Wave::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_wave.html#ae84bb98eb9f24cf352dce7c1bd5661da',1,'raylib::Wave::Load(const std::string &fileName)'],['../classraylib_1_1_vr_stereo_config.html#a9bfecba47ab31e1849bc6fb801b771dd',1,'raylib::VrStereoConfig::Load()'],['../classraylib_1_1_texture_unmanaged.html#a7a647e7603b96f1d97acb8ef5dafcaf9',1,'raylib::TextureUnmanaged::Load(const std::string &fileName)'],['../classraylib_1_1_texture_unmanaged.html#a26e02437029caa0c637053778cc5d38c',1,'raylib::TextureUnmanaged::Load(const ::Image &image, int layoutType)'],['../classraylib_1_1_sound.html#a1f761b71ed572d0f86d02f9d9f13e959',1,'raylib::Sound::Load(const ::Wave &wave)'],['../classraylib_1_1_sound.html#a908c8b125703ec0a3f0a669f077fcb74',1,'raylib::Sound::Load(const std::string &fileName)'],['../classraylib_1_1_shader.html#a65feaccca849680bb3f0a4424309dc53',1,'raylib::Shader::Load()'],['../classraylib_1_1_render_texture.html#ac2842a1ce99b510d23cc3537119765d6',1,'raylib::RenderTexture::Load()'],['../classraylib_1_1_music.html#a2b24fbd4b710d4b0d95a38e19c0baf12',1,'raylib::Music::Load(const std::string &fileType, unsigned char *data, int dataSize)'],['../classraylib_1_1_music.html#ac167e74cfb05e4e7e94c5462f8b0671b',1,'raylib::Music::Load(const std::string &fileName)'],['../classraylib_1_1_model.html#a3ecd0439157481f160413efb94d40812',1,'raylib::Model::Load()'],['../classraylib_1_1_model_animation.html#ae743a3f4d87b6c904b2b4737851f0e21',1,'raylib::ModelAnimation::Load()'],['../classraylib_1_1_audio_stream.html#a5a5c4cad697bfd65ae5e87843699e7e7',1,'raylib::AudioStream::Load()'],['../classraylib_1_1_font.html#a3ed074aa440e8ff6605fba72e0f93f0b',1,'raylib::Font::Load(const std::string &fileName)'],['../classraylib_1_1_font.html#a3dcf41055e85366b04e5fff7c95c88a3',1,'raylib::Font::Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)'],['../classraylib_1_1_image.html#a399564cc57fbee6d5055c3adf0da6ac7',1,'raylib::Image::Load(const std::string &fileName)'],['../classraylib_1_1_image.html#a1f5badb0420aaa6620b39ec665669c85',1,'raylib::Image::Load(const std::string &fileName, int width, int height, int format, int headerSize)'],['../classraylib_1_1_image.html#a02e6bf50845e864750bd54eaf83d68c8',1,'raylib::Image::Load(const std::string &fileName, int *frames)'],['../classraylib_1_1_image.html#a9695f5ea51c98a9bda031744a94b82b7',1,'raylib::Image::Load(const std::string &fileType, const unsigned char *fileData, int dataSize)'],['../classraylib_1_1_image.html#a31ad53284abbe6bb4ce56906a737ea7b',1,'raylib::Image::Load(const ::Texture2D &texture)'],['../classraylib_1_1_material.html#ac482f46142b5ecc9eea4206aced73e26',1,'raylib::Material::Load()'],['../classraylib_1_1_model.html#a0b7a1b536850d4a921c7ddcd5d896475',1,'raylib::Model::Load()']]], + ['loadcolors_806',['LoadColors',['../classraylib_1_1_image.html#a6d338c20d5bd42e64dc7bc5227d4f8ac',1,'raylib::Image']]], + ['loaddirectoryfiles_807',['LoadDirectoryFiles',['../namespaceraylib.html#a5cf133d6498e67a2e626dc09f8cda454',1,'raylib']]], + ['loaddroppedfiles_808',['LoadDroppedFiles',['../namespaceraylib.html#ac7092ec5861661cf6e50ac74fde01339',1,'raylib']]], + ['loadfiletext_809',['LoadFileText',['../namespaceraylib.html#ab04081e22c6ddef68a45eeea91001f82',1,'raylib']]], + ['loadfont_810',['LoadFont',['../namespaceraylib.html#a4cb62d3cec034b1a8aa3f3b7cde5acf6',1,'raylib']]], + ['loadfontex_811',['LoadFontEx',['../namespaceraylib.html#a48f5b8fbb86fb8950f83e2103fc3b41e',1,'raylib']]], + ['loadfrommemory_812',['LoadFromMemory',['../classraylib_1_1_shader.html#a95077cb1fd6b81a63605735b3f8d9253',1,'raylib::Shader']]], + ['loadfromscreen_813',['LoadFromScreen',['../classraylib_1_1_image.html#ab0cf40debeb2e6a551022f27aff2fca0',1,'raylib::Image']]], + ['loadimage_814',['LoadImage',['../namespaceraylib.html#a2ef2826f77c7b5ef61bc23b7bdd0c90f',1,'raylib']]], + ['loadimageanim_815',['LoadImageAnim',['../namespaceraylib.html#aad76b2bedb25cb9636e9de5078d82df9',1,'raylib']]], + ['loadimagefrommemory_816',['LoadImageFromMemory',['../namespaceraylib.html#a72b081f8ea1aed3e888a33e5f20b9430',1,'raylib']]], + ['loadimageraw_817',['LoadImageRaw',['../namespaceraylib.html#acc7e1f187de00bc85f7dcd153f0d740e',1,'raylib']]], + ['loadmodelfrom_818',['LoadModelFrom',['../classraylib_1_1_mesh.html#a192994cdc37a5f68cf149eb79024563d',1,'raylib::Mesh']]], + ['loadpalette_819',['LoadPalette',['../classraylib_1_1_image.html#a89f8e8272c2dfae8c3200572e43c051a',1,'raylib::Image']]], + ['loadsamples_820',['LoadSamples',['../classraylib_1_1_wave.html#ac42dd244534663a8fb1da305006c9f3a',1,'raylib::Wave']]], + ['loadsound_821',['LoadSound',['../classraylib_1_1_wave.html#a6e3a60eee216af788eaa9362a22a847e',1,'raylib::Wave']]], + ['loadtexture_822',['LoadTexture',['../classraylib_1_1_image.html#aa0f721d9a6f48834bf726225128a8da1',1,'raylib::Image']]] +]; diff --git a/search/functions_b.html b/search/functions_b.html new file mode 100644 index 00000000..e301fedd --- /dev/null +++ b/search/functions_b.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_b.js b/search/functions_b.js new file mode 100644 index 00000000..95c2836b --- /dev/null +++ b/search/functions_b.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['material_823',['Material',['../classraylib_1_1_material.html#a85e551f0db58082ad9e4b46849a36a8c',1,'raylib::Material']]], + ['maximize_824',['Maximize',['../classraylib_1_1_window.html#aee89de600dcc7e645452b4d2f88d55e3',1,'raylib::Window']]], + ['measure_825',['Measure',['../classraylib_1_1_text.html#a4aaff1b46c53a27e6a2472b2f6b024a8',1,'raylib::Text']]], + ['measureex_826',['MeasureEx',['../classraylib_1_1_text.html#aabc7e641696aa836e137520a64983b81',1,'raylib::Text']]], + ['measuretext_827',['MeasureText',['../classraylib_1_1_font.html#a230f1f02c3b77b1319316ab7d45d2553',1,'raylib::Font::MeasureText()'],['../namespaceraylib.html#a7fc68bac19ab696df654038f8e1b1b2c',1,'raylib::MeasureText()']]], + ['mesh_828',['Mesh',['../classraylib_1_1_mesh.html#a06926991922586318cbdc402b8c1ba42',1,'raylib::Mesh']]], + ['minimize_829',['Minimize',['../classraylib_1_1_window.html#a16f54f039449dc45b57849811754ceae',1,'raylib::Window']]], + ['mipmaps_830',['Mipmaps',['../classraylib_1_1_image.html#aaf8f93e11186f0be62d68ae3f932435f',1,'raylib::Image']]], + ['movetowards_831',['MoveTowards',['../classraylib_1_1_vector2.html#a1daf7306af22e5f14c9ee6c08952194b',1,'raylib::Vector2']]], + ['multiply_832',['Multiply',['../classraylib_1_1_vector2.html#a8c89ca7656f8dee6e1cb4cfa29deb7ec',1,'raylib::Vector2::Multiply()'],['../classraylib_1_1_vector3.html#ad06dabf1a51260d6cbf3f4381ba15ab4',1,'raylib::Vector3::Multiply()']]], + ['music_833',['Music',['../classraylib_1_1_music.html#a3cbc2287ba5c8e55ce16c47bbb640c60',1,'raylib::Music::Music(const std::string &fileName)'],['../classraylib_1_1_music.html#a894c193e31d956b4c8763698beae17c4',1,'raylib::Music::Music(const std::string &fileType, unsigned char *data, int dataSize)']]] +]; diff --git a/search/functions_c.html b/search/functions_c.html new file mode 100644 index 00000000..c4f32687 --- /dev/null +++ b/search/functions_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_c.js b/search/functions_c.js new file mode 100644 index 00000000..9f4751b6 --- /dev/null +++ b/search/functions_c.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['negate_834',['Negate',['../classraylib_1_1_vector2.html#a98ca288a85bd1643670a058138077587',1,'raylib::Vector2::Negate()'],['../classraylib_1_1_vector3.html#a475ed42613db507afa6f7fdcec14a25c',1,'raylib::Vector3::Negate()']]], + ['normalize_835',['Normalize',['../classraylib_1_1_color.html#a70c0b9f2b6bc92724df1c87553cbca32',1,'raylib::Color::Normalize()'],['../classraylib_1_1_vector2.html#aee50557d8a60c2633de106f66b3d6cd5',1,'raylib::Vector2::Normalize()']]] +]; diff --git a/search/functions_d.html b/search/functions_d.html new file mode 100644 index 00000000..7a1ed065 --- /dev/null +++ b/search/functions_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_d.js b/search/functions_d.js new file mode 100644 index 00000000..3aa09d55 --- /dev/null +++ b/search/functions_d.js @@ -0,0 +1,24 @@ +var searchData= +[ + ['boundingbox_836',['BoundingBox',['../classraylib_1_1_mesh.html#a5c67dce6d54119cc8922f7ed697eab8c',1,'raylib::Mesh']]], + ['model_837',['Model',['../classraylib_1_1_mesh.html#a8f62c7557383cf2a040bb5dd8f3ecaa1',1,'raylib::Mesh']]], + ['one_838',['One',['../classraylib_1_1_vector2.html#ae0d880ae074014c100a342292ff85deb',1,'raylib::Vector2']]], + ['openurl_839',['OpenURL',['../namespaceraylib.html#ac5d2b6117fd1760de466272a363abafd',1,'raylib']]], + ['operator_20boundingbox_840',['operator BoundingBox',['../classraylib_1_1_model.html#a4b1c866bc1ee4e55757067282ae49a00',1,'raylib::Model']]], + ['operator_20image_841',['operator Image',['../classraylib_1_1_texture_unmanaged.html#a4ca04773c348cb63e0ae04f1a15ad559',1,'raylib::TextureUnmanaged']]], + ['operator_20int_842',['operator int',['../classraylib_1_1_color.html#a569352de1fc298f320d0a5c503ad47bf',1,'raylib::Color']]], + ['operator_21_3d_843',['operator!=',['../classraylib_1_1_vector2.html#aeb9bfa80b1e6161a7a85d8c8ebc73433',1,'raylib::Vector2']]], + ['operator_2a_844',['operator*',['../classraylib_1_1_vector2.html#a9c1f9983b14d3ff4ba92ca0e041cb970',1,'raylib::Vector2::operator*(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#a23262c9825611dde85ac071fd442124d',1,'raylib::Vector2::operator*(const float scale) const'],['../classraylib_1_1_vector3.html#a21769cdf336ef366d4278d2120c35a9e',1,'raylib::Vector3::operator*(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#afef36f35a5679310ce6b2c66c00e7ffb',1,'raylib::Vector3::operator*(const float scaler) const']]], + ['operator_2a_3d_845',['operator*=',['../classraylib_1_1_vector2.html#a422aa937be7626ffc2e3b22e13a1b036',1,'raylib::Vector2::operator*=(const ::Vector2 &vector2)'],['../classraylib_1_1_vector2.html#a25383d6bd6417ff08f5278a655149f88',1,'raylib::Vector2::operator*=(const float scale)'],['../classraylib_1_1_vector3.html#a28be7d5bee8c76e3150ec35a52ed0223',1,'raylib::Vector3::operator*=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#ac9b30eae1bf4894e88fb7adc41e98950',1,'raylib::Vector3::operator*=(const float scaler)']]], + ['operator_2b_846',['operator+',['../classraylib_1_1_vector2.html#a8df80afec50063657ce67c2072839c5a',1,'raylib::Vector2::operator+()'],['../classraylib_1_1_vector3.html#a4564e8aa7532966eed679cd730c39c36',1,'raylib::Vector3::operator+()']]], + ['operator_2b_3d_847',['operator+=',['../classraylib_1_1_vector2.html#ab38e455e117ee26f7f75a4e1693f690b',1,'raylib::Vector2']]], + ['operator_2d_848',['operator-',['../classraylib_1_1_vector3.html#a9999af247190e4b6969f61d98e3be934',1,'raylib::Vector3::operator-()'],['../classraylib_1_1_vector3.html#a843267dd14d8a706106dd5258cfa6676',1,'raylib::Vector3::operator-(const ::Vector3 &vector3)'],['../classraylib_1_1_vector2.html#af5a965f5eba6e1d8cc13f29161f0f6e1',1,'raylib::Vector2::operator-(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#af29b9938afed31d821bb7791d929f779',1,'raylib::Vector2::operator-() const']]], + ['operator_2d_3d_849',['operator-=',['../classraylib_1_1_vector2.html#a4419d8dd4712350785b1faa420c39e78',1,'raylib::Vector2']]], + ['operator_2f_850',['operator/',['../classraylib_1_1_vector2.html#a8ef672a3776ca3da2fe0b89fa8cea517',1,'raylib::Vector2::operator/(const ::Vector2 &vector2) const'],['../classraylib_1_1_vector2.html#aa12e15f76cd518d8d0447c80c89fd8c5',1,'raylib::Vector2::operator/(const float div) const'],['../classraylib_1_1_vector3.html#a085a75924d1635c674f444988bcc7ebb',1,'raylib::Vector3::operator/(const ::Vector3 &vector3) const'],['../classraylib_1_1_vector3.html#a394cfcb895d6d8ba3c432b1af9d390cb',1,'raylib::Vector3::operator/(const float div) const']]], + ['operator_2f_3d_851',['operator/=',['../classraylib_1_1_vector3.html#a2601db71baebda5e0b63f961420caea0',1,'raylib::Vector3::operator/=(const ::Vector3 &vector3)'],['../classraylib_1_1_vector3.html#aaf126a750920c95d56f980278d1ae90e',1,'raylib::Vector3::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a882cfda12dddbea24639ca8b0b2b3e11',1,'raylib::Vector2::operator/=(const float div)'],['../classraylib_1_1_vector2.html#a9786cfa3e5d2b9fea2e88efc508dfa25',1,'raylib::Vector2::operator/=(const ::Vector2 &vector2)']]], + ['operator_3d_852',['operator=',['../classraylib_1_1_texture.html#a94c78b9b9f27a430dad001b0eb05fef8',1,'raylib::Texture::operator=(const Texture &)=delete'],['../classraylib_1_1_texture.html#ad7218067681e3e5509f22a481aa69a04',1,'raylib::Texture::operator=(Texture &&other) noexcept'],['../classraylib_1_1_vector2.html#a7482eb2d4f0c5b5261b6473aa07f8af7',1,'raylib::Vector2::operator=(const ::Vector2 &vector2)']]], + ['operator_3d_3d_853',['operator==',['../classraylib_1_1_vector2.html#a92c0c5f254914438cc13926559678069',1,'raylib::Vector2']]], + ['sound_854',['Sound',['../classraylib_1_1_wave.html#a7f54205425932d5ae6b7bab2ab3e5f87',1,'raylib::Wave']]], + ['string_855',['string',['../classraylib_1_1_gamepad.html#afd58495a8ac8066eab2aebd2d09fa49c',1,'raylib::Gamepad']]], + ['texture2d_856',['Texture2D',['../classraylib_1_1_image.html#a574b01ecc2c8c8eec54ddd83efe512c5',1,'raylib::Image']]] +]; diff --git a/search/functions_e.html b/search/functions_e.html new file mode 100644 index 00000000..22d2a6bf --- /dev/null +++ b/search/functions_e.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_e.js b/search/functions_e.js new file mode 100644 index 00000000..988dfb21 --- /dev/null +++ b/search/functions_e.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['pause_857',['Pause',['../classraylib_1_1_audio_stream.html#aa620374153aa063a0e34f4260c6dce94',1,'raylib::AudioStream::Pause()'],['../classraylib_1_1_music.html#a810f0ae266f247237aa23574e1e31626',1,'raylib::Music::Pause()'],['../classraylib_1_1_sound.html#a51f64c5c76a86a6b6f2225870d5a83a3',1,'raylib::Sound::Pause()']]], + ['plane_858',['Plane',['../classraylib_1_1_mesh.html#a4a3885f78dc0d8a592e05653f5c178b4',1,'raylib::Mesh']]], + ['play_859',['Play',['../classraylib_1_1_audio_stream.html#a594754979b974479711879b7d4af082e',1,'raylib::AudioStream::Play()'],['../classraylib_1_1_music.html#a908ddb6c248c75bd1a3cabc1381a45fc',1,'raylib::Music::Play()'],['../classraylib_1_1_sound.html#a2fd3ff7a2653fa57dc2b0987e108a2ae',1,'raylib::Sound::Play()']]], + ['playmulti_860',['PlayMulti',['../classraylib_1_1_sound.html#adfe6e6915bb17eefd0ab58f5cb3aa7ba',1,'raylib::Sound']]], + ['poly_861',['Poly',['../classraylib_1_1_mesh.html#a52c3d52a426fb774bb3769acaa9b6732',1,'raylib::Mesh']]] +]; diff --git a/search/functions_f.html b/search/functions_f.html new file mode 100644 index 00000000..54b7dee0 --- /dev/null +++ b/search/functions_f.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/functions_f.js b/search/functions_f.js new file mode 100644 index 00000000..f8737dc6 --- /dev/null +++ b/search/functions_f.js @@ -0,0 +1,15 @@ +var searchData= +[ + ['raycollision_862',['RayCollision',['../classraylib_1_1_ray_collision.html#a083a89a5a88e73e6b9b76a341c1fdbc4',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::Mesh &mesh, const ::Matrix &transform)'],['../classraylib_1_1_ray_collision.html#a702bd678593171faed68bf96079d5233',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4)'],['../classraylib_1_1_ray_collision.html#afe1b683d72b7de2fc4dadc05fca2d82b',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 center, float radius)'],['../classraylib_1_1_ray_collision.html#a3aad99fa07398e0315e8cae9b57b14c0',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3)'],['../classraylib_1_1_ray_collision.html#a50e76ebbce10933ee9e499837fcbe3ba',1,'raylib::RayCollision::RayCollision(const ::Ray &ray, const ::BoundingBox &box)']]], + ['raylibexception_863',['RaylibException',['../classraylib_1_1_raylib_exception.html#a12eace3257881770d0464dc17dfb2f37',1,'raylib::RaylibException']]], + ['reflect_864',['Reflect',['../classraylib_1_1_vector2.html#a8732abb90648f01e75480a0edf7292d7',1,'raylib::Vector2']]], + ['rendertexture_865',['RenderTexture',['../classraylib_1_1_render_texture.html#abfc6707438ae5bca53ac7764e8e22a35',1,'raylib::RenderTexture::RenderTexture()'],['../classraylib_1_1_render_texture.html#add8d201aec938fe0a66ecedd304e2fd3',1,'raylib::RenderTexture::RenderTexture(int width, int height)']]], + ['resize_866',['Resize',['../classraylib_1_1_image.html#a62294223271290f049711ee96ca809fb',1,'raylib::Image']]], + ['resizecanvas_867',['ResizeCanvas',['../classraylib_1_1_image.html#a008fc6154d0252aa1b9924281a27a61d',1,'raylib::Image']]], + ['resizenn_868',['ResizeNN',['../classraylib_1_1_image.html#a13f6b8aade2957218bdfa199857caa04',1,'raylib::Image']]], + ['restore_869',['Restore',['../classraylib_1_1_window.html#a936ba6f4614ab6b3c2552f88798ffac2',1,'raylib::Window']]], + ['resume_870',['Resume',['../classraylib_1_1_audio_stream.html#ab3514d8e8b8c8992046ef3e51e571c88',1,'raylib::AudioStream::Resume()'],['../classraylib_1_1_music.html#a5c5c67064aa37d2b3f3234a2a02230de',1,'raylib::Music::Resume()'],['../classraylib_1_1_sound.html#a08132251f7b6e4caec600475f610e2f5',1,'raylib::Sound::Resume()']]], + ['rotate_871',['Rotate',['../classraylib_1_1_vector2.html#a32a17f0018071cec378b89edc1f6d696',1,'raylib::Vector2']]], + ['rotateccw_872',['RotateCCW',['../classraylib_1_1_image.html#aa08513832d0ab58144f4418ba3b4b6d6',1,'raylib::Image']]], + ['rotatecw_873',['RotateCW',['../classraylib_1_1_image.html#aed253e5dd980e63b7fd7a8ef43ef7cf6',1,'raylib::Image']]] +]; diff --git a/search/mag_sel.svg b/search/mag_sel.svg new file mode 100644 index 00000000..03626f64 --- /dev/null +++ b/search/mag_sel.svg @@ -0,0 +1,74 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/search/namespaces_0.html b/search/namespaces_0.html new file mode 100644 index 00000000..21db2c3a --- /dev/null +++ b/search/namespaces_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/namespaces_0.js b/search/namespaces_0.js new file mode 100644 index 00000000..38b212f5 --- /dev/null +++ b/search/namespaces_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['raylib_552',['raylib',['../namespaceraylib.html',1,'']]] +]; diff --git a/search/nomatches.html b/search/nomatches.html new file mode 100644 index 00000000..2b9360b6 --- /dev/null +++ b/search/nomatches.html @@ -0,0 +1,13 @@ + + + + + + + + +
    +
    No Matches
    +
    + + diff --git a/search/pages_0.html b/search/pages_0.html new file mode 100644 index 00000000..8517b48f --- /dev/null +++ b/search/pages_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/pages_0.js b/search/pages_0.js new file mode 100644 index 00000000..c1d64713 --- /dev/null +++ b/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['raylib_2dcpp_1055',['raylib-cpp',['../index.html',1,'']]] +]; diff --git a/search/search.css b/search/search.css new file mode 100644 index 00000000..9074198f --- /dev/null +++ b/search/search.css @@ -0,0 +1,257 @@ +/*---------------- Search Box */ + +#MSearchBox { + white-space : nowrap; + background: white; + border-radius: 0.65em; + box-shadow: inset 0.5px 0.5px 3px 0px #555; + z-index: 102; +} + +#MSearchBox .left { + display: inline-block; + vertical-align: middle; + height: 1.4em; +} + +#MSearchSelect { + display: inline-block; + vertical-align: middle; + height: 1.4em; + padding: 0 0 0 0.3em; + margin: 0; +} + +#MSearchField { + display: inline-block; + vertical-align: middle; + width: 7.5em; + height: 1.1em; + margin: 0 0.15em; + padding: 0; + line-height: 1em; + border:none; + color: #909090; + outline: none; + font-family: Arial, Verdana, sans-serif; + -webkit-border-radius: 0px; + border-radius: 0px; + background: none; +} + + +#MSearchBox .right { + display: inline-block; + vertical-align: middle; + width: 1.4em; + height: 1.4em; +} + +#MSearchClose { + display: none; + font-size: inherit; + background : none; + border: none; + margin: 0; + padding: 0; + outline: none; + +} + +#MSearchCloseImg { + height: 1.4em; + padding: 0.3em; + margin: 0; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 10001; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; + z-index:10000; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; + font-family: Arial, Verdana, sans-serif; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; + font-family: Arial, Verdana, sans-serif; +} + +.SRResult { + display: none; +} + +div.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/search/search.js b/search/search.js new file mode 100644 index 00000000..fb226f73 --- /dev/null +++ b/search/search.js @@ -0,0 +1,816 @@ +/* + @licstart The following is the entire license notice for the JavaScript code in this file. + + The MIT License (MIT) + + Copyright (C) 1997-2020 by Dimitri van Heesch + + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file + */ +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var idxChar = searchValue.substr(0, 1).toLowerCase(); + if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair + { + idxChar = searchValue.substr(0, 2); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); + if (idx!=-1) + { + var hexCode=idx.toString(16); + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches' + this.extension; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline-block'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e(R!W8j_r#qQ#gnr4kAxdU#F0+OBry$Z+ z_0PMi;P|#{d%mw(dnw=jM%@$onTJa%@6Nm3`;2S#nwtVFJI#`U@2Q@@JCCctagvF- z8H=anvo~dTmJ2YA%wA6IHRv%{vxvUm|R)kgZeo zmX%Zb;mpflGZdXCTAgit`||AFzkI#z&(3d4(htA?U2FOL4WF6wY&TB#n3n*I4+hl| z*NBpo#FA92vEu822WQ%mvv4FO#qs` BFGc_W literal 0 HcmV?d00001 diff --git a/search/search_r.png b/search/search_r.png new file mode 100644 index 0000000000000000000000000000000000000000..1af5d21ee13e070d7600f1c4657fde843b953a69 GIT binary patch literal 553 zcmeAS@N?(olHy`uVBq!ia0vp^LO?9c!2%@BXHTsJQY`6?zK#qG8~eHcB(ehe3dtTp zz6=bxGZ+|(`xqD=STHa&U1eaXVrO7DwS|Gf*oA>XrmV$GYcEhOQT(QLuS{~ooZ2P@v=Xc@RKW@Irliv8_;wroU0*)0O?temdsA~70jrdux+`@W7 z-N(<(C)L?hOO?KV{>8(jC{hpKsws)#Fh zvsO>IB+gb@b+rGWaO&!a9Z{!U+fV*s7TS>fdt&j$L%^U@Epd$~Nl7e8wMs5Z1yT$~ z28I^8hDN#u<{^fLRz?<9hUVG^237_Jy7tbuQ8eV{r(~v8;?@w8^gA7>fx*+&&t;uc GLK6VEQpiUD literal 0 HcmV?d00001 diff --git a/search/searchdata.js b/search/searchdata.js new file mode 100644 index 00000000..629bad90 --- /dev/null +++ b/search/searchdata.js @@ -0,0 +1,30 @@ +var indexSectionsWithContent = +{ + 0: "abcdefghiklmnoprstuvwz~", + 1: "abcfgimrstvw", + 2: "r", + 3: "abcdefghiklmnoprstuwz~", + 4: "cfst", + 5: "r" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "namespaces", + 3: "functions", + 4: "variables", + 5: "pages" +}; + +var indexSectionLabels = +{ + 0: "All", + 1: "Classes", + 2: "Namespaces", + 3: "Functions", + 4: "Variables", + 5: "Pages" +}; + diff --git a/search/variables_0.html b/search/variables_0.html new file mode 100644 index 00000000..1e477c08 --- /dev/null +++ b/search/variables_0.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_0.js b/search/variables_0.js new file mode 100644 index 00000000..cfc8e914 --- /dev/null +++ b/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['color_1050',['color',['../classraylib_1_1_text.html#ac379780ee0cc613cca6f8aaa07cf83db',1,'raylib::Text']]] +]; diff --git a/search/variables_1.html b/search/variables_1.html new file mode 100644 index 00000000..ea73d9a4 --- /dev/null +++ b/search/variables_1.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_1.js b/search/variables_1.js new file mode 100644 index 00000000..0c5fbe7a --- /dev/null +++ b/search/variables_1.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['font_1051',['font',['../classraylib_1_1_text.html#a8a99e50ad71f0f18c56ecc20681703ba',1,'raylib::Text']]], + ['fontsize_1052',['fontSize',['../classraylib_1_1_text.html#a1638fd4886e46c564b4cac9c912aed4e',1,'raylib::Text']]] +]; diff --git a/search/variables_2.html b/search/variables_2.html new file mode 100644 index 00000000..0580462e --- /dev/null +++ b/search/variables_2.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_2.js b/search/variables_2.js new file mode 100644 index 00000000..cd9c5700 --- /dev/null +++ b/search/variables_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['spacing_1053',['spacing',['../classraylib_1_1_text.html#a489d962f442b9d4f0bc9a2927f4515c0',1,'raylib::Text']]] +]; diff --git a/search/variables_3.html b/search/variables_3.html new file mode 100644 index 00000000..0d69e761 --- /dev/null +++ b/search/variables_3.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/search/variables_3.js b/search/variables_3.js new file mode 100644 index 00000000..b910b51a --- /dev/null +++ b/search/variables_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['text_1054',['text',['../classraylib_1_1_text.html#ac7e1846f0d3d23a43e020dcf402213fe',1,'raylib::Text']]] +]; diff --git a/splitbar.png b/splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/sync_off.png b/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/sync_on.png b/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/tab_a.png b/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/tab_b.png b/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/tabs.css b/tabs.css new file mode 100644 index 00000000..7d45d36c --- /dev/null +++ b/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0px/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0px 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0px 1px 1px rgba(255,255,255,0.9);color:#283A5D;outline:none}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a.current{color:#D23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media (min-width: 768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283A5D transparent transparent transparent;background:transparent;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0px 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;border-radius:0 !important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox a:hover span.sub-arrow{border-color:#fff transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;border-radius:5px !important;box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0 !important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:#fff;text-shadow:0px 1px 1px #000}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent #fff}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #D23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#D23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} From 500cdce6238d73d8950d62dae9dffede59dd61e8 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 21 Jan 2023 17:00:44 -0500 Subject: [PATCH 2/6] Updates --- _audio_device_8hpp_source.html | 1 + _audio_stream_8hpp_source.html | 1 + _bounding_box_8hpp_source.html | 1 + _camera2_d_8hpp_source.html | 1 + _camera3_d_8hpp_source.html | 1 + _color_8hpp_source.html | 1 + _font_8hpp_source.html | 1 + _functions_8hpp_source.html | 1 + _gamepad_8hpp_source.html | 1 + _image_8hpp_source.html | 1 + _material_8hpp_source.html | 1 + _matrix_8hpp_source.html | 1 + _mesh_8hpp_source.html | 1 + _model_8hpp_source.html | 1 + _model_animation_8hpp_source.html | 1 + _mouse_8hpp_source.html | 1 + _music_8hpp_source.html | 1 + _ray_8hpp_source.html | 1 + _ray_collision_8hpp_source.html | 1 + _raylib_exception_8hpp_source.html | 1 + _rectangle_8hpp_source.html | 1 + _render_texture_8hpp_source.html | 1 + _shader_8hpp_source.html | 1 + _sound_8hpp_source.html | 1 + _text_8hpp_source.html | 1 + _texture_8hpp_source.html | 1 + _texture_unmanaged_8hpp_source.html | 196 +- _touch_8hpp_source.html | 1 + _vector2_8hpp_source.html | 1 + _vector3_8hpp_source.html | 86 +- _vector4_8hpp_source.html | 1 + _vr_stereo_config_8hpp_source.html | 1 + _wave_8hpp_source.html | 1 + _window_8hpp_source.html | 1 + annotated.html | 1 + classes.html | 1 + classraylib_1_1_audio_device-members.html | 1 + classraylib_1_1_audio_device.html | 1 + classraylib_1_1_audio_stream-members.html | 1 + classraylib_1_1_audio_stream.html | 1 + classraylib_1_1_bounding_box-members.html | 1 + classraylib_1_1_bounding_box.html | 1 + classraylib_1_1_camera2_d-members.html | 1 + classraylib_1_1_camera2_d.html | 1 + classraylib_1_1_camera3_d-members.html | 1 + classraylib_1_1_camera3_d.html | 1 + classraylib_1_1_color-members.html | 1 + classraylib_1_1_color.html | 1 + classraylib_1_1_font-members.html | 1 + classraylib_1_1_font.html | 1 + classraylib_1_1_gamepad-members.html | 1 + classraylib_1_1_gamepad.html | 1 + classraylib_1_1_image-members.html | 1 + classraylib_1_1_image.html | 1 + classraylib_1_1_material-members.html | 1 + classraylib_1_1_material.html | 1 + classraylib_1_1_matrix-members.html | 1 + classraylib_1_1_matrix.html | 1 + classraylib_1_1_mesh-members.html | 1 + classraylib_1_1_mesh.html | 1 + classraylib_1_1_model-members.html | 1 + classraylib_1_1_model.html | 1 + classraylib_1_1_model_animation-members.html | 1 + classraylib_1_1_model_animation.html | 1 + classraylib_1_1_mouse-members.html | 1 + classraylib_1_1_mouse.html | 1 + classraylib_1_1_music-members.html | 1 + classraylib_1_1_music.html | 1 + classraylib_1_1_ray-members.html | 1 + classraylib_1_1_ray.html | 1 + classraylib_1_1_ray_collision-members.html | 1 + classraylib_1_1_ray_collision.html | 1 + classraylib_1_1_raylib_exception-members.html | 1 + classraylib_1_1_raylib_exception.html | 1 + classraylib_1_1_rectangle-members.html | 1 + classraylib_1_1_rectangle.html | 1 + classraylib_1_1_render_texture-members.html | 1 + classraylib_1_1_render_texture.html | 1 + classraylib_1_1_shader-members.html | 1 + classraylib_1_1_shader.html | 1 + classraylib_1_1_sound-members.html | 1 + classraylib_1_1_sound.html | 1 + classraylib_1_1_text-members.html | 1 + classraylib_1_1_text.html | 1 + classraylib_1_1_texture-members.html | 112 +- classraylib_1_1_texture.html | 22 +- ...sraylib_1_1_texture_unmanaged-members.html | 90 +- classraylib_1_1_texture_unmanaged.html | 447 +--- classraylib_1_1_touch-members.html | 1 + classraylib_1_1_touch.html | 1 + classraylib_1_1_vector2-members.html | 1 + classraylib_1_1_vector2.html | 1 + classraylib_1_1_vector3-members.html | 110 +- classraylib_1_1_vector3.html | 4 +- classraylib_1_1_vector4-members.html | 1 + classraylib_1_1_vector4.html | 1 + classraylib_1_1_vr_stereo_config-members.html | 1 + classraylib_1_1_vr_stereo_config.html | 1 + classraylib_1_1_wave-members.html | 1 + classraylib_1_1_wave.html | 1 + classraylib_1_1_window-members.html | 1 + classraylib_1_1_window.html | 1 + dir_d44c64559bbebec7f509842c48db8b23.html | 1 + doxygen-awesome.css | 2135 +++++++++++++++++ functions.html | 1 + functions_b.html | 1 + functions_c.html | 3 +- functions_d.html | 18 +- functions_e.html | 1 + functions_f.html | 1 + functions_func.html | 1 + functions_func_b.html | 1 + functions_func_c.html | 1 + functions_func_d.html | 18 +- functions_func_e.html | 1 + functions_func_f.html | 1 + functions_func_g.html | 1 + functions_func_h.html | 1 + functions_func_i.html | 1 + functions_func_k.html | 1 + functions_func_l.html | 1 + functions_func_m.html | 1 + functions_func_n.html | 1 + functions_func_o.html | 1 + functions_func_p.html | 1 + functions_func_r.html | 1 + functions_func_s.html | 1 + functions_func_t.html | 1 + functions_func_u.html | 1 + functions_func_w.html | 1 + functions_func_z.html | 1 + functions_func_~.html | 1 + functions_g.html | 1 + functions_h.html | 1 + functions_i.html | 1 + functions_k.html | 1 + functions_l.html | 1 + functions_m.html | 1 + functions_n.html | 1 + functions_o.html | 1 + functions_p.html | 1 + functions_r.html | 1 + functions_s.html | 1 + functions_t.html | 1 + functions_u.html | 1 + functions_vars.html | 1 + functions_w.html | 1 + functions_z.html | 1 + functions_~.html | 1 + hierarchy.html | 1 + index.html | 1 + namespacemembers.html | 1 + namespacemembers_func.html | 1 + namespaceraylib.html | 1 + namespaces.html | 1 + raylib-cpp-utils_8hpp_source.html | 1 + raylib-cpp_8hpp_source.html | 1 + raylib_8hpp_source.html | 1 + raymath_8hpp_source.html | 1 + search/all_10.js | 264 +- search/all_11.js | 56 +- search/all_12.js | 20 +- search/all_13.js | 8 +- search/all_14.js | 6 +- search/all_15.js | 2 +- search/all_16.js | 14 +- search/all_2.js | 29 +- search/all_3.js | 33 +- search/all_4.js | 14 +- search/all_5.js | 20 +- search/all_6.js | 294 +-- search/all_7.js | 4 +- search/all_8.js | 48 +- search/all_9.js | 2 +- search/all_a.js | 42 +- search/all_b.js | 30 +- search/all_c.js | 4 +- search/all_d.js | 42 +- search/all_e.js | 10 +- search/all_f.js | 32 +- search/classes_0.js | 4 +- search/classes_1.js | 2 +- search/classes_2.js | 6 +- search/classes_3.js | 2 +- search/classes_4.js | 2 +- search/classes_5.js | 2 +- search/classes_6.js | 14 +- search/classes_7.js | 10 +- search/classes_8.js | 4 +- search/classes_9.js | 8 +- search/classes_a.js | 8 +- search/classes_b.js | 4 +- search/functions_0.js | 22 +- search/functions_1.js | 6 +- search/functions_10.js | 260 +- search/functions_11.js | 50 +- search/functions_12.js | 20 +- search/functions_13.js | 6 +- search/functions_14.js | 2 +- search/functions_15.js | 14 +- search/functions_2.js | 50 +- search/functions_3.js | 41 +- search/functions_4.js | 14 +- search/functions_5.js | 16 +- search/functions_6.js | 292 +-- search/functions_7.js | 4 +- search/functions_8.js | 48 +- search/functions_9.js | 2 +- search/functions_a.js | 42 +- search/functions_b.js | 22 +- search/functions_c.js | 4 +- search/functions_d.js | 42 +- search/functions_e.js | 10 +- search/functions_f.js | 24 +- search/namespaces_0.js | 2 +- search/pages_0.js | 2 +- search/variables_0.js | 2 +- search/variables_1.js | 4 +- search/variables_2.js | 2 +- search/variables_3.js | 2 +- 220 files changed, 3595 insertions(+), 1838 deletions(-) create mode 100644 doxygen-awesome.css diff --git a/_audio_device_8hpp_source.html b/_audio_device_8hpp_source.html index 4d754a28..a753b363 100644 --- a/_audio_device_8hpp_source.html +++ b/_audio_device_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_audio_stream_8hpp_source.html b/_audio_stream_8hpp_source.html index 8c4b321f..0080354d 100644 --- a/_audio_stream_8hpp_source.html +++ b/_audio_stream_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_bounding_box_8hpp_source.html b/_bounding_box_8hpp_source.html index dce944ec..f1c6cc5b 100644 --- a/_bounding_box_8hpp_source.html +++ b/_bounding_box_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_camera2_d_8hpp_source.html b/_camera2_d_8hpp_source.html index 0ec32da7..3f81d1c5 100644 --- a/_camera2_d_8hpp_source.html +++ b/_camera2_d_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_camera3_d_8hpp_source.html b/_camera3_d_8hpp_source.html index d226015e..f113a8d8 100644 --- a/_camera3_d_8hpp_source.html +++ b/_camera3_d_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_color_8hpp_source.html b/_color_8hpp_source.html index 2b06540c..90e87c23 100644 --- a/_color_8hpp_source.html +++ b/_color_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_font_8hpp_source.html b/_font_8hpp_source.html index 118e42d3..d3b8a7cb 100644 --- a/_font_8hpp_source.html +++ b/_font_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_functions_8hpp_source.html b/_functions_8hpp_source.html index 415cd5e5..df946d0e 100644 --- a/_functions_8hpp_source.html +++ b/_functions_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_gamepad_8hpp_source.html b/_gamepad_8hpp_source.html index 030e09af..c5ac9177 100644 --- a/_gamepad_8hpp_source.html +++ b/_gamepad_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_image_8hpp_source.html b/_image_8hpp_source.html index 6e272a78..d7268c36 100644 --- a/_image_8hpp_source.html +++ b/_image_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_material_8hpp_source.html b/_material_8hpp_source.html index 7c8bdf65..5dad2729 100644 --- a/_material_8hpp_source.html +++ b/_material_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_matrix_8hpp_source.html b/_matrix_8hpp_source.html index b5e04d97..85a393fd 100644 --- a/_matrix_8hpp_source.html +++ b/_matrix_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_mesh_8hpp_source.html b/_mesh_8hpp_source.html index dafb340f..f25c7dec 100644 --- a/_mesh_8hpp_source.html +++ b/_mesh_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_model_8hpp_source.html b/_model_8hpp_source.html index 208dbda5..97508c59 100644 --- a/_model_8hpp_source.html +++ b/_model_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_model_animation_8hpp_source.html b/_model_animation_8hpp_source.html index bca132af..c4058fd4 100644 --- a/_model_animation_8hpp_source.html +++ b/_model_animation_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_mouse_8hpp_source.html b/_mouse_8hpp_source.html index 9c0a9f83..438a3715 100644 --- a/_mouse_8hpp_source.html +++ b/_mouse_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_music_8hpp_source.html b/_music_8hpp_source.html index 8d66c963..d31a349e 100644 --- a/_music_8hpp_source.html +++ b/_music_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_ray_8hpp_source.html b/_ray_8hpp_source.html index c2789b12..e3c06221 100644 --- a/_ray_8hpp_source.html +++ b/_ray_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_ray_collision_8hpp_source.html b/_ray_collision_8hpp_source.html index 06fb7d8b..9bccd847 100644 --- a/_ray_collision_8hpp_source.html +++ b/_ray_collision_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_raylib_exception_8hpp_source.html b/_raylib_exception_8hpp_source.html index 000b0db0..867258d9 100644 --- a/_raylib_exception_8hpp_source.html +++ b/_raylib_exception_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_rectangle_8hpp_source.html b/_rectangle_8hpp_source.html index 2c8368f3..c12c51e3 100644 --- a/_rectangle_8hpp_source.html +++ b/_rectangle_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_render_texture_8hpp_source.html b/_render_texture_8hpp_source.html index 66aa678c..73240ce0 100644 --- a/_render_texture_8hpp_source.html +++ b/_render_texture_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_shader_8hpp_source.html b/_shader_8hpp_source.html index 544df2a0..27e2f11f 100644 --- a/_shader_8hpp_source.html +++ b/_shader_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_sound_8hpp_source.html b/_sound_8hpp_source.html index da9e5f27..df2c0f88 100644 --- a/_sound_8hpp_source.html +++ b/_sound_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_text_8hpp_source.html b/_text_8hpp_source.html index 73ae7b28..2de85556 100644 --- a/_text_8hpp_source.html +++ b/_text_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_texture_8hpp_source.html b/_texture_8hpp_source.html index 19cbe8c2..e3b730cb 100644 --- a/_texture_8hpp_source.html +++ b/_texture_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_texture_unmanaged_8hpp_source.html b/_texture_unmanaged_8hpp_source.html index 80cac4c1..24b0be3d 100644 --- a/_texture_unmanaged_8hpp_source.html +++ b/_texture_unmanaged_8hpp_source.html @@ -13,6 +13,7 @@ +
    @@ -215,116 +216,80 @@
    231  ::DrawTextureRec(*this, sourceRec, position, tint);
    232  }
    233 
    -
    239  inline void Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad,
    -
    240  ::Color tint = {255, 255, 255, 255}) const {
    -
    241  ::DrawTextureQuad(*this, tiling, offset, quad, tint);
    +
    239  inline void Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    +
    240  float rotation = 0, ::Color tint = {255, 255, 255, 255}) const {
    +
    241  ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
    242  }
    243 
    -
    249  inline void Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    +
    249  inline void Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    250  float rotation = 0, ::Color tint = {255, 255, 255, 255}) const {
    -
    251  ::DrawTexturePro(*this, sourceRec, destRec, origin, rotation, tint);
    +
    251  ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
    252  }
    253 
    -
    259  inline void Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    -
    260  float rotation = 0, ::Color tint = {255, 255, 255, 255}) const {
    -
    261  ::DrawTextureNPatch(*this, nPatchInfo, destRec, origin, rotation, tint);
    -
    262  }
    -
    263 
    -
    269  inline void DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin = {0, 0},
    -
    270  float rotation = 0, float scale = 1, Color tint = {255, 255, 255, 255}) const {
    -
    271  ::DrawTextureTiled(*this, sourceRec, destRec, origin, rotation, scale, tint);
    -
    272  }
    -
    273 
    -
    279  inline void DrawPoly(::Vector2 center, ::Vector2 *points,
    -
    280  ::Vector2 *texcoords, int pointsCount,
    -
    281  ::Color tint = {255, 255, 255, 255}) const {
    -
    282  ::DrawTexturePoly(*this, center, points, texcoords, pointsCount, tint);
    -
    283  }
    -
    284 
    -
    290  inline void DrawBillboard(const ::Camera& camera,
    -
    291  ::Vector3 position, float size,
    -
    292  ::Color tint = {255, 255, 255, 255}) const {
    -
    293  ::DrawBillboard(camera, *this, position, size, tint);
    +
    259  inline void DrawBillboard(const ::Camera& camera,
    +
    260  ::Vector3 position, float size,
    +
    261  ::Color tint = {255, 255, 255, 255}) const {
    +
    262  ::DrawBillboard(camera, *this, position, size, tint);
    +
    263  }
    +
    264 
    +
    270  inline void DrawBillboard(const ::Camera& camera,
    +
    271  ::Rectangle source, ::Vector3 position, ::Vector2 size,
    +
    272  ::Color tint = {255, 255, 255, 255}) const {
    +
    273  DrawBillboardRec(camera, *this, source, position, size, tint);
    +
    274  }
    +
    275 
    +
    281  inline void DrawBillboard(const ::Camera& camera,
    +
    282  ::Rectangle source, Vector3 position,
    +
    283  ::Vector3 up, Vector2 size, Vector2 origin, float rotation = 0.0f,
    +
    284  ::Color tint = {255, 255, 255, 255}) const {
    +
    285  DrawBillboardPro(camera, *this, source, position, up, size, origin, rotation, tint);
    +
    286  }
    +
    287 
    +
    291  inline TextureUnmanaged& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
    +
    292  ::SetMaterialTexture(material, mapType, *this);
    +
    293  return *this;
    294  }
    295 
    -
    301  inline void DrawBillboard(const ::Camera& camera,
    -
    302  ::Rectangle source, ::Vector3 position, ::Vector2 size,
    -
    303  ::Color tint = {255, 255, 255, 255}) const {
    -
    304  DrawBillboardRec(camera, *this, source, position, size, tint);
    -
    305  }
    -
    306 
    -
    312  inline void DrawBillboard(const ::Camera& camera,
    -
    313  ::Rectangle source, Vector3 position,
    -
    314  ::Vector3 up, Vector2 size, Vector2 origin, float rotation = 0.0f,
    -
    315  ::Color tint = {255, 255, 255, 255}) const {
    -
    316  DrawBillboardPro(camera, *this, source, position, up, size, origin, rotation, tint);
    -
    317  }
    -
    318 
    -
    324  inline void DrawCube(::Vector3 position, float width, float height, float length,
    -
    325  ::Color color = {255, 255, 255, 255}) const {
    -
    326  ::DrawCubeTexture(*this, position, width, height, length, color);
    -
    327  }
    -
    328 
    -
    334  inline void DrawCube(::Vector3 position, ::Vector3 dimensions,
    -
    335  ::Color color = {255, 255, 255, 255}) const {
    -
    336  ::DrawCubeTexture(*this, position, dimensions.x, dimensions.y, dimensions.z, color);
    -
    337  }
    -
    338 
    -
    344  inline void DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length,
    -
    345  ::Color color = {255, 255, 255, 255}) const {
    -
    346  ::DrawCubeTextureRec(*this, source, position, width, height, length, color);
    -
    347  }
    -
    348 
    -
    354  inline void DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions,
    -
    355  ::Color color = {255, 255, 255, 255}) const {
    -
    356  ::DrawCubeTextureRec(*this, source, position, dimensions.x, dimensions.y, dimensions.z, color);
    -
    357  }
    -
    358 
    -
    362  inline TextureUnmanaged& SetMaterial(::Material *material, int mapType = MATERIAL_MAP_NORMAL) {
    -
    363  ::SetMaterialTexture(material, mapType, *this);
    -
    364  return *this;
    -
    365  }
    -
    366 
    -
    367  inline TextureUnmanaged& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
    -
    368  ::SetMaterialTexture((::Material*)(&material), mapType, *this);
    -
    369  return *this;
    -
    370  }
    -
    371 
    -
    375  inline TextureUnmanaged& SetShapes(const ::Rectangle& source) {
    -
    376  ::SetShapesTexture(*this, source);
    -
    377  return *this;
    -
    378  }
    -
    379 
    -
    383  inline TextureUnmanaged& SetShaderValue(const ::Shader& shader, int locIndex) {
    -
    384  ::SetShaderValueTexture(shader, locIndex, *this);
    -
    385  return *this;
    -
    386  }
    -
    387 
    -
    393  bool IsReady() const {
    -
    394  return id != 0;
    -
    395  }
    -
    396 
    -
    397  protected:
    -
    398  void set(const ::Texture& texture) {
    -
    399  id = texture.id;
    -
    400  width = texture.width;
    -
    401  height = texture.height;
    -
    402  mipmaps = texture.mipmaps;
    -
    403  format = texture.format;
    -
    404  }
    -
    405 };
    -
    406 
    -
    407 // Create the TextureUnmanaged aliases.
    -
    408 typedef TextureUnmanaged Texture2DUnmanaged;
    -
    409 typedef TextureUnmanaged TextureCubemapUnmanaged;
    -
    410 
    -
    411 } // namespace raylib
    -
    412 
    - - - -
    416 
    -
    417 #endif // RAYLIB_CPP_INCLUDE_TEXTUREUNMANAGED_HPP_
    +
    296  inline TextureUnmanaged& SetMaterial(const ::Material& material, int mapType = MATERIAL_MAP_NORMAL) {
    +
    297  ::SetMaterialTexture((::Material*)(&material), mapType, *this);
    +
    298  return *this;
    +
    299  }
    +
    300 
    +
    304  inline TextureUnmanaged& SetShapes(const ::Rectangle& source) {
    +
    305  ::SetShapesTexture(*this, source);
    +
    306  return *this;
    +
    307  }
    +
    308 
    +
    312  inline TextureUnmanaged& SetShaderValue(const ::Shader& shader, int locIndex) {
    +
    313  ::SetShaderValueTexture(shader, locIndex, *this);
    +
    314  return *this;
    +
    315  }
    +
    316 
    +
    322  bool IsReady() const {
    +
    323  return id != 0;
    +
    324  }
    +
    325 
    +
    326  protected:
    +
    327  void set(const ::Texture& texture) {
    +
    328  id = texture.id;
    +
    329  width = texture.width;
    +
    330  height = texture.height;
    +
    331  mipmaps = texture.mipmaps;
    +
    332  format = texture.format;
    +
    333  }
    +
    334 };
    +
    335 
    +
    336 // Create the TextureUnmanaged aliases.
    +
    337 typedef TextureUnmanaged Texture2DUnmanaged;
    +
    338 typedef TextureUnmanaged TextureCubemapUnmanaged;
    +
    339 
    +
    340 } // namespace raylib
    +
    341 
    + + + +
    345 
    +
    346 #endif // RAYLIB_CPP_INCLUDE_TEXTUREUNMANAGED_HPP_
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:17
    Material type (generic)
    Definition: Material.hpp:14
    @@ -332,43 +297,36 @@
    Rectangle type.
    Definition: Rectangle.hpp:12
    Texture type.
    Definition: Texture.hpp:14
    A Texture that is not managed by the C++ garbage collector.
    -
    void DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const
    Draw a billboard texture.
    +
    void DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) const
    Draw a billboard texture.
    TextureUnmanaged & SetFilter(int filterMode)
    Set texture scaling filter mode.
    TextureUnmanaged & Update(::Rectangle rec, const void *pixels)
    Update GPU texture rectangle with new data.
    void Load(const ::Image &image, int layoutType)
    Load cubemap from image, multiple image cubemap layouts supported.
    TextureUnmanaged & Update(const void *pixels)
    Update GPU texture with new data.
    inline ::Image GetData() const
    Get pixel data from GPU texture and return an Image.
    -
    TextureUnmanaged & SetShaderValue(const ::Shader &shader, int locIndex)
    Set shader uniform value for texture (sampler2d)
    -
    void DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) const
    Draw a textured polygon.
    +
    TextureUnmanaged & SetShaderValue(const ::Shader &shader, int locIndex)
    Set shader uniform value for texture (sampler2d)
    TextureUnmanaged(const ::Image &image, int layout)
    Load cubemap from image, multiple image cubemap layouts supported.
    -
    void DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
    Draw cube textured, with dimensions.
    -
    void Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
    Draws a texture (or part of it) that stretches or shrinks nicely.
    +
    void Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
    Draws a texture (or part of it) that stretches or shrinks nicely.
    TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)
    Move/Create a texture structure manually.
    -
    bool IsReady() const
    Determines whether or not the Texture has been loaded and is ready.
    +
    bool IsReady() const
    Determines whether or not the Texture has been loaded and is ready.
    void Load(const ::Image &image)
    Load texture from image data.
    -
    void Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
    Draw a part of a texture defined by a rectangle with 'pro' parameters.
    -
    void DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const
    Draw a billboard texture defined by source and rotation.
    +
    void Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) const
    Draw a part of a texture defined by a rectangle with 'pro' parameters.
    +
    void DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) const
    Draw a billboard texture defined by source and rotation.
    void Load(const std::string &fileName)
    Load texture from file into GPU memory (VRAM)
    void Draw(int posX=0, int posY=0, ::Color tint={255, 255, 255, 255}) const
    Draw a Texture2D.
    -
    TextureUnmanaged & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
    +
    TextureUnmanaged & SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)
    Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...)
    TextureUnmanaged & GenMipmaps()
    Generate GPU mipmaps for a texture.
    void Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) const
    Draw a part of a texture defined by a rectangle.
    inline ::Vector2 GetSize() const
    Retrieve the width and height of the texture.
    void Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) const
    Draw a Texture2D with position defined as Vector2.
    -
    void Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) const
    Draw texture quad with tiling and offset parameters.
    void Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const
    Draw a Texture2D with extended parameters.
    TextureUnmanaged()
    Default texture constructor.
    -
    void DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) const
    Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.
    TextureUnmanaged & SetWrap(int wrapMode)
    Set texture wrapping mode.
    -
    void DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) const
    Draw cube with a region of a texture, with dimensions.
    TextureUnmanaged(const std::string &fileName)
    Load texture from file into GPU memory (VRAM)
    void Unload()
    Unload texture from GPU memory (VRAM)
    -
    void DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
    Draw cube with a region of a texture.
    -
    void DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) const
    Draw cube textured.
    TextureUnmanaged(const ::Texture &texture)
    Creates a texture object based on the given Texture struct data.
    TextureUnmanaged(const ::Image &image)
    Creates a texture from the given Image.
    -
    TextureUnmanaged & SetShapes(const ::Rectangle &source)
    Set texture and rectangle to be used on shapes drawing.
    -
    void DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
    Draw a billboard texture defined by source.
    +
    TextureUnmanaged & SetShapes(const ::Rectangle &source)
    Set texture and rectangle to be used on shapes drawing.
    +
    void DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) const
    Draw a billboard texture defined by source.
    Vector2 type.
    Definition: Vector2.hpp:16
    Vector3 type.
    Definition: Vector3.hpp:16
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_touch_8hpp_source.html b/_touch_8hpp_source.html index 97b7ac3e..f82a902d 100644 --- a/_touch_8hpp_source.html +++ b/_touch_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_vector2_8hpp_source.html b/_vector2_8hpp_source.html index 3f12a3ea..6f0fc720 100644 --- a/_vector2_8hpp_source.html +++ b/_vector2_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_vector3_8hpp_source.html b/_vector3_8hpp_source.html index 552b6b64..f35b0ebc 100644 --- a/_vector3_8hpp_source.html +++ b/_vector3_8hpp_source.html @@ -13,6 +13,7 @@ +
    @@ -309,57 +310,48 @@
    296  ::DrawCubeWiresV(*this, size, color);
    297  }
    298 
    -
    299  inline void DrawCubeTexture(
    -
    300  const ::Texture2D& texture,
    -
    301  float width,
    -
    302  float height,
    -
    303  float length,
    -
    304  ::Color color) const {
    -
    305  ::DrawCubeTexture(texture, *this, width, height, length, color);
    -
    306  }
    -
    307 
    -
    308  inline void DrawSphere(float radius, ::Color color) const {
    -
    309  ::DrawSphere(*this, radius, color);
    -
    310  }
    -
    311 
    -
    312  inline void DrawSphere(float radius, int rings, int slices, ::Color color) const {
    -
    313  ::DrawSphereEx(*this, radius, rings, slices, color);
    +
    299  inline void DrawSphere(float radius, ::Color color) const {
    +
    300  ::DrawSphere(*this, radius, color);
    +
    301  }
    +
    302 
    +
    303  inline void DrawSphere(float radius, int rings, int slices, ::Color color) const {
    +
    304  ::DrawSphereEx(*this, radius, rings, slices, color);
    +
    305  }
    +
    306 
    +
    307  inline void DrawSphereWires(float radius, int rings, int slices, ::Color color) const {
    +
    308  ::DrawSphereWires(*this, radius, rings, slices, color);
    +
    309  }
    +
    310 
    +
    311  inline void DrawCylinder(float radiusTop, float radiusBottom, float height,
    +
    312  int slices, ::Color color) const {
    +
    313  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
    314  }
    315 
    -
    316  inline void DrawSphereWires(float radius, int rings, int slices, ::Color color) const {
    -
    317  ::DrawSphereWires(*this, radius, rings, slices, color);
    -
    318  }
    -
    319 
    -
    320  inline void DrawCylinder(float radiusTop, float radiusBottom, float height,
    -
    321  int slices, ::Color color) const {
    -
    322  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
    +
    316  inline void DrawCylinderWires(float radiusTop, float radiusBottom, float height,
    +
    317  int slices, ::Color color) const {
    +
    318  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
    +
    319  }
    +
    320 
    +
    321  inline void DrawPlane(const ::Vector2& size, ::Color color) const {
    +
    322  ::DrawPlane(*this, size, color);
    323  }
    324 
    -
    325  inline void DrawCylinderWires(float radiusTop, float radiusBottom, float height,
    -
    326  int slices, ::Color color) const {
    -
    327  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
    -
    328  }
    -
    329 
    -
    330  inline void DrawPlane(const ::Vector2& size, ::Color color) const {
    -
    331  ::DrawPlane(*this, size, color);
    -
    332  }
    -
    333 
    -
    337  inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
    -
    338  return CheckCollisionSpheres(*this, radius1, center2, radius2);
    -
    339  }
    +
    328  inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
    +
    329  return CheckCollisionSpheres(*this, radius1, center2, radius2);
    +
    330  }
    +
    331 
    +
    332  private:
    +
    333  void set(const ::Vector3& vec) {
    +
    334  x = vec.x;
    +
    335  y = vec.y;
    +
    336  z = vec.z;
    +
    337  }
    +
    338 };
    +
    339 } // namespace raylib
    340 
    -
    341  private:
    -
    342  void set(const ::Vector3& vec) {
    -
    343  x = vec.x;
    -
    344  y = vec.y;
    -
    345  z = vec.z;
    -
    346  }
    -
    347 };
    -
    348 } // namespace raylib
    -
    349 
    -
    350 using RVector3 = raylib::Vector3;
    -
    351 
    -
    352 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    +
    341 using RVector3 = raylib::Vector3;
    +
    342 
    +
    343 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    Vector3 type.
    Definition: Vector3.hpp:16
    Vector3 operator/(const ::Vector3 &vector3) const
    Divide vector by vector.
    Definition: Vector3.hpp:159
    @@ -370,7 +362,7 @@
    Vector3 operator+(const ::Vector3 &vector3)
    Add two vectors.
    Definition: Vector3.hpp:59
    Vector3 Negate()
    Negate provided vector (invert direction)
    Definition: Vector3.hpp:92
    Vector3 Add(const ::Vector3 &vector3)
    Add two vectors.
    Definition: Vector3.hpp:52
    -
    bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2)
    Detect collision between two spheres.
    Definition: Vector3.hpp:337
    +
    bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2)
    Detect collision between two spheres.
    Definition: Vector3.hpp:328
    Vector3 Scale(const float scaler) const
    Multiply vector by scalar.
    Definition: Vector3.hpp:129
    Vector3 operator-(const ::Vector3 &vector3)
    Subtract two vectors.
    Definition: Vector3.hpp:79
    float Length() const
    Calculate vector length.
    Definition: Vector3.hpp:202
    diff --git a/_vector4_8hpp_source.html b/_vector4_8hpp_source.html index 6d3e6ab8..0676df9a 100644 --- a/_vector4_8hpp_source.html +++ b/_vector4_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_vr_stereo_config_8hpp_source.html b/_vr_stereo_config_8hpp_source.html index a2a2afe1..a637c243 100644 --- a/_vr_stereo_config_8hpp_source.html +++ b/_vr_stereo_config_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_wave_8hpp_source.html b/_wave_8hpp_source.html index fef373b1..81687c22 100644 --- a/_wave_8hpp_source.html +++ b/_wave_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/_window_8hpp_source.html b/_window_8hpp_source.html index 19fd61ab..046b9b6a 100644 --- a/_window_8hpp_source.html +++ b/_window_8hpp_source.html @@ -13,6 +13,7 @@ +
    diff --git a/annotated.html b/annotated.html index d3e548a4..dd44a527 100644 --- a/annotated.html +++ b/annotated.html @@ -13,6 +13,7 @@ +
    diff --git a/classes.html b/classes.html index 0eec61c5..c43ff296 100644 --- a/classes.html +++ b/classes.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_audio_device-members.html b/classraylib_1_1_audio_device-members.html index 6c9c1b68..3610a44e 100644 --- a/classraylib_1_1_audio_device-members.html +++ b/classraylib_1_1_audio_device-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_audio_device.html b/classraylib_1_1_audio_device.html index 82fd193b..4c125533 100644 --- a/classraylib_1_1_audio_device.html +++ b/classraylib_1_1_audio_device.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_audio_stream-members.html b/classraylib_1_1_audio_stream-members.html index cd345f50..4a49a9e6 100644 --- a/classraylib_1_1_audio_stream-members.html +++ b/classraylib_1_1_audio_stream-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_audio_stream.html b/classraylib_1_1_audio_stream.html index 332ca6e7..5e15b724 100644 --- a/classraylib_1_1_audio_stream.html +++ b/classraylib_1_1_audio_stream.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_bounding_box-members.html b/classraylib_1_1_bounding_box-members.html index c2c1c5f0..a30a7781 100644 --- a/classraylib_1_1_bounding_box-members.html +++ b/classraylib_1_1_bounding_box-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_bounding_box.html b/classraylib_1_1_bounding_box.html index dede034f..cc3f34ee 100644 --- a/classraylib_1_1_bounding_box.html +++ b/classraylib_1_1_bounding_box.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_camera2_d-members.html b/classraylib_1_1_camera2_d-members.html index 4d0979a5..bd02d732 100644 --- a/classraylib_1_1_camera2_d-members.html +++ b/classraylib_1_1_camera2_d-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_camera2_d.html b/classraylib_1_1_camera2_d.html index a66b2593..93b3d6f4 100644 --- a/classraylib_1_1_camera2_d.html +++ b/classraylib_1_1_camera2_d.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_camera3_d-members.html b/classraylib_1_1_camera3_d-members.html index 38d60af6..95316ab2 100644 --- a/classraylib_1_1_camera3_d-members.html +++ b/classraylib_1_1_camera3_d-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_camera3_d.html b/classraylib_1_1_camera3_d.html index 4e1dedd1..37a747c5 100644 --- a/classraylib_1_1_camera3_d.html +++ b/classraylib_1_1_camera3_d.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_color-members.html b/classraylib_1_1_color-members.html index ef7ad47c..9c204de7 100644 --- a/classraylib_1_1_color-members.html +++ b/classraylib_1_1_color-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_color.html b/classraylib_1_1_color.html index 6fef08e1..99ec4ea1 100644 --- a/classraylib_1_1_color.html +++ b/classraylib_1_1_color.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_font-members.html b/classraylib_1_1_font-members.html index 90d1c5dd..d94befd9 100644 --- a/classraylib_1_1_font-members.html +++ b/classraylib_1_1_font-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_font.html b/classraylib_1_1_font.html index 07f44c0f..aa62a821 100644 --- a/classraylib_1_1_font.html +++ b/classraylib_1_1_font.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_gamepad-members.html b/classraylib_1_1_gamepad-members.html index 26cc4478..3fdecf92 100644 --- a/classraylib_1_1_gamepad-members.html +++ b/classraylib_1_1_gamepad-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_gamepad.html b/classraylib_1_1_gamepad.html index feeffbb6..1363f7bc 100644 --- a/classraylib_1_1_gamepad.html +++ b/classraylib_1_1_gamepad.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_image-members.html b/classraylib_1_1_image-members.html index 43e6a8d6..f7717a9e 100644 --- a/classraylib_1_1_image-members.html +++ b/classraylib_1_1_image-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_image.html b/classraylib_1_1_image.html index ffb17018..9fcca649 100644 --- a/classraylib_1_1_image.html +++ b/classraylib_1_1_image.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_material-members.html b/classraylib_1_1_material-members.html index 7febfb04..73587300 100644 --- a/classraylib_1_1_material-members.html +++ b/classraylib_1_1_material-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_material.html b/classraylib_1_1_material.html index 3bcc482f..af566e48 100644 --- a/classraylib_1_1_material.html +++ b/classraylib_1_1_material.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_matrix-members.html b/classraylib_1_1_matrix-members.html index 4d536ea1..c47d0b51 100644 --- a/classraylib_1_1_matrix-members.html +++ b/classraylib_1_1_matrix-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_matrix.html b/classraylib_1_1_matrix.html index 70cf491f..97483056 100644 --- a/classraylib_1_1_matrix.html +++ b/classraylib_1_1_matrix.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_mesh-members.html b/classraylib_1_1_mesh-members.html index e193ba5a..d1b98989 100644 --- a/classraylib_1_1_mesh-members.html +++ b/classraylib_1_1_mesh-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_mesh.html b/classraylib_1_1_mesh.html index 9a0fb280..9c9d3661 100644 --- a/classraylib_1_1_mesh.html +++ b/classraylib_1_1_mesh.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_model-members.html b/classraylib_1_1_model-members.html index ecb52bc6..18d1475f 100644 --- a/classraylib_1_1_model-members.html +++ b/classraylib_1_1_model-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_model.html b/classraylib_1_1_model.html index 77cbffca..fc32f0a8 100644 --- a/classraylib_1_1_model.html +++ b/classraylib_1_1_model.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_model_animation-members.html b/classraylib_1_1_model_animation-members.html index e76f2f48..bdf4e7f7 100644 --- a/classraylib_1_1_model_animation-members.html +++ b/classraylib_1_1_model_animation-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_model_animation.html b/classraylib_1_1_model_animation.html index 79ffa354..2d097323 100644 --- a/classraylib_1_1_model_animation.html +++ b/classraylib_1_1_model_animation.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_mouse-members.html b/classraylib_1_1_mouse-members.html index 18027d82..5d10140b 100644 --- a/classraylib_1_1_mouse-members.html +++ b/classraylib_1_1_mouse-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_mouse.html b/classraylib_1_1_mouse.html index 946b7de1..bc28652d 100644 --- a/classraylib_1_1_mouse.html +++ b/classraylib_1_1_mouse.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_music-members.html b/classraylib_1_1_music-members.html index e095f271..29ce2366 100644 --- a/classraylib_1_1_music-members.html +++ b/classraylib_1_1_music-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_music.html b/classraylib_1_1_music.html index afd9e309..90e7df5a 100644 --- a/classraylib_1_1_music.html +++ b/classraylib_1_1_music.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_ray-members.html b/classraylib_1_1_ray-members.html index 77aab81e..203b2046 100644 --- a/classraylib_1_1_ray-members.html +++ b/classraylib_1_1_ray-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_ray.html b/classraylib_1_1_ray.html index 09e6b58a..f25a9e4e 100644 --- a/classraylib_1_1_ray.html +++ b/classraylib_1_1_ray.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_ray_collision-members.html b/classraylib_1_1_ray_collision-members.html index bd2dcb12..b020a36d 100644 --- a/classraylib_1_1_ray_collision-members.html +++ b/classraylib_1_1_ray_collision-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_ray_collision.html b/classraylib_1_1_ray_collision.html index 80f2f055..f5b8a7e6 100644 --- a/classraylib_1_1_ray_collision.html +++ b/classraylib_1_1_ray_collision.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_raylib_exception-members.html b/classraylib_1_1_raylib_exception-members.html index cc2008c7..f91adbb6 100644 --- a/classraylib_1_1_raylib_exception-members.html +++ b/classraylib_1_1_raylib_exception-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_raylib_exception.html b/classraylib_1_1_raylib_exception.html index 40a2373b..a1a27697 100644 --- a/classraylib_1_1_raylib_exception.html +++ b/classraylib_1_1_raylib_exception.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_rectangle-members.html b/classraylib_1_1_rectangle-members.html index 69480ecc..45229549 100644 --- a/classraylib_1_1_rectangle-members.html +++ b/classraylib_1_1_rectangle-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_rectangle.html b/classraylib_1_1_rectangle.html index 9d3d004d..c5dafe98 100644 --- a/classraylib_1_1_rectangle.html +++ b/classraylib_1_1_rectangle.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_render_texture-members.html b/classraylib_1_1_render_texture-members.html index 330b6e2f..5aa498e0 100644 --- a/classraylib_1_1_render_texture-members.html +++ b/classraylib_1_1_render_texture-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_render_texture.html b/classraylib_1_1_render_texture.html index 08343f3b..2dfd1d18 100644 --- a/classraylib_1_1_render_texture.html +++ b/classraylib_1_1_render_texture.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_shader-members.html b/classraylib_1_1_shader-members.html index 5bdb4b68..3bd8f9c9 100644 --- a/classraylib_1_1_shader-members.html +++ b/classraylib_1_1_shader-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_shader.html b/classraylib_1_1_shader.html index 5cd6eb52..6b29c44c 100644 --- a/classraylib_1_1_shader.html +++ b/classraylib_1_1_shader.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_sound-members.html b/classraylib_1_1_sound-members.html index 6fe635da..c5db2fec 100644 --- a/classraylib_1_1_sound-members.html +++ b/classraylib_1_1_sound-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_sound.html b/classraylib_1_1_sound.html index 8089d6e6..21fd1faa 100644 --- a/classraylib_1_1_sound.html +++ b/classraylib_1_1_sound.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_text-members.html b/classraylib_1_1_text-members.html index 80acfa06..2b42716e 100644 --- a/classraylib_1_1_text-members.html +++ b/classraylib_1_1_text-members.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_text.html b/classraylib_1_1_text.html index 8ea01261..50d256c9 100644 --- a/classraylib_1_1_text.html +++ b/classraylib_1_1_text.html @@ -13,6 +13,7 @@ +
    diff --git a/classraylib_1_1_texture-members.html b/classraylib_1_1_texture-members.html index d836e39c..f9b015aa 100644 --- a/classraylib_1_1_texture-members.html +++ b/classraylib_1_1_texture-members.html @@ -13,6 +13,7 @@ +
    @@ -78,65 +79,58 @@ Draw(::Vector2 position, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline Draw(::Vector2 position, float rotation, float scale=1.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline Draw(::Rectangle sourceRec, ::Vector2 position={0, 0}, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - Draw(::Vector2 tiling, ::Vector2 offset, ::Rectangle quad, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawCube(::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawCube(::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawCube(::Rectangle source, ::Vector3 position, float width, float height, float length, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawCube(::Rectangle source, ::Vector3 position, ::Vector3 dimensions, ::Color color={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawPoly(::Vector2 center, ::Vector2 *points, ::Vector2 *texcoords, int pointsCount, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - DrawTiled(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, float scale=1, Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline - GenMipmaps()raylib::TextureUnmanagedinline - GetData() constraylib::TextureUnmanagedinline - GetFormat() constraylib::TextureUnmanagedinline - GetHeight() constraylib::TextureUnmanagedinline - GetId() constraylib::TextureUnmanagedinline - GetMipmaps() constraylib::TextureUnmanagedinline - GetSize() constraylib::TextureUnmanagedinline - GetWidth() constraylib::TextureUnmanagedinline - IsReady() constraylib::TextureUnmanagedinline - Load(const ::Image &image)raylib::TextureUnmanagedinline - Load(const ::Image &image, int layoutType)raylib::TextureUnmanagedinline - Load(const std::string &fileName)raylib::TextureUnmanagedinline - operator Image()raylib::TextureUnmanagedinline - operator=(const Texture &)=deleteraylib::Texture - operator=(Texture &&other) noexceptraylib::Textureinline - operator=(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline - set(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinlineprotected - SetFilter(int filterMode)raylib::TextureUnmanagedinline - SetFormat(int value)raylib::TextureUnmanagedinline - SetHeight(int value)raylib::TextureUnmanagedinline - SetId(unsigned int value)raylib::TextureUnmanagedinline - SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::TextureUnmanagedinline - SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline - SetMipmaps(int value)raylib::TextureUnmanagedinline - SetShaderValue(const ::Shader &shader, int locIndex)raylib::TextureUnmanagedinline - SetShapes(const ::Rectangle &source)raylib::TextureUnmanagedinline - SetWidth(int value)raylib::TextureUnmanagedinline - SetWrap(int wrapMode)raylib::TextureUnmanagedinline - Texture(const Texture &)=deleteraylib::Texture - Texture(Texture &&other)raylib::Textureinline - TextureUnmanaged()raylib::Textureinline - TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::Textureinline - TextureUnmanaged(const ::Texture &texture)raylib::Textureinline - TextureUnmanaged(const ::Image &image)raylib::Textureinline - TextureUnmanaged(const ::Image &image, int layout)raylib::Textureinline - TextureUnmanaged(const std::string &fileName)raylib::Textureinline - TextureUnmanaged(::Texture &&other) (defined in raylib::Texture)raylib::Textureinline - raylib::TextureUnmanaged::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::TextureUnmanagedinline - raylib::TextureUnmanaged::TextureUnmanaged(const ::Texture &texture)raylib::TextureUnmanagedinline - raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image)raylib::TextureUnmanagedinline - raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image, int layout)raylib::TextureUnmanagedinline - raylib::TextureUnmanaged::TextureUnmanaged(const std::string &fileName)raylib::TextureUnmanagedinline - TextureUnmanaged(::Texture &&other) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline - Unload()raylib::TextureUnmanagedinline - Update(const void *pixels)raylib::TextureUnmanagedinline - Update(::Rectangle rec, const void *pixels)raylib::TextureUnmanagedinline - ~Texture()raylib::Textureinline + Draw(::Rectangle sourceRec, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline + Draw(::NPatchInfo nPatchInfo, ::Rectangle destRec, ::Vector2 origin={0, 0}, float rotation=0, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline + DrawBillboard(const ::Camera &camera, ::Vector3 position, float size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline + DrawBillboard(const ::Camera &camera, ::Rectangle source, ::Vector3 position, ::Vector2 size, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline + DrawBillboard(const ::Camera &camera, ::Rectangle source, Vector3 position, ::Vector3 up, Vector2 size, Vector2 origin, float rotation=0.0f, ::Color tint={255, 255, 255, 255}) constraylib::TextureUnmanagedinline + GenMipmaps()raylib::TextureUnmanagedinline + GetData() constraylib::TextureUnmanagedinline + GetFormat() constraylib::TextureUnmanagedinline + GetHeight() constraylib::TextureUnmanagedinline + GetId() constraylib::TextureUnmanagedinline + GetMipmaps() constraylib::TextureUnmanagedinline + GetSize() constraylib::TextureUnmanagedinline + GetWidth() constraylib::TextureUnmanagedinline + IsReady() constraylib::TextureUnmanagedinline + Load(const ::Image &image)raylib::TextureUnmanagedinline + Load(const ::Image &image, int layoutType)raylib::TextureUnmanagedinline + Load(const std::string &fileName)raylib::TextureUnmanagedinline + operator Image()raylib::TextureUnmanagedinline + operator=(const Texture &)=deleteraylib::Texture + operator=(Texture &&other) noexceptraylib::Textureinline + operator=(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline + set(const ::Texture &texture) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinlineprotected + SetFilter(int filterMode)raylib::TextureUnmanagedinline + SetFormat(int value)raylib::TextureUnmanagedinline + SetHeight(int value)raylib::TextureUnmanagedinline + SetId(unsigned int value)raylib::TextureUnmanagedinline + SetMaterial(::Material *material, int mapType=MATERIAL_MAP_NORMAL)raylib::TextureUnmanagedinline + SetMaterial(const ::Material &material, int mapType=MATERIAL_MAP_NORMAL) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline + SetMipmaps(int value)raylib::TextureUnmanagedinline + SetShaderValue(const ::Shader &shader, int locIndex)raylib::TextureUnmanagedinline + SetShapes(const ::Rectangle &source)raylib::TextureUnmanagedinline + SetWidth(int value)raylib::TextureUnmanagedinline + SetWrap(int wrapMode)raylib::TextureUnmanagedinline + Texture(const Texture &)=deleteraylib::Texture + Texture(Texture &&other)raylib::Textureinline + TextureUnmanaged()raylib::Textureinline + TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::Textureinline + TextureUnmanaged(const ::Texture &texture)raylib::Textureinline + TextureUnmanaged(const ::Image &image)raylib::Textureinline + TextureUnmanaged(const ::Image &image, int layout)raylib::Textureinline + TextureUnmanaged(const std::string &fileName)raylib::Textureinline + TextureUnmanaged(::Texture &&other) (defined in raylib::Texture)raylib::Textureinline + raylib::TextureUnmanaged::TextureUnmanaged(unsigned int id, int width, int height, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8)raylib::TextureUnmanagedinline + raylib::TextureUnmanaged::TextureUnmanaged(const ::Texture &texture)raylib::TextureUnmanagedinline + raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image)raylib::TextureUnmanagedinline + raylib::TextureUnmanaged::TextureUnmanaged(const ::Image &image, int layout)raylib::TextureUnmanagedinline + raylib::TextureUnmanaged::TextureUnmanaged(const std::string &fileName)raylib::TextureUnmanagedinline + TextureUnmanaged(::Texture &&other) (defined in raylib::TextureUnmanaged)raylib::TextureUnmanagedinline + Unload()raylib::TextureUnmanagedinline + Update(const void *pixels)raylib::TextureUnmanagedinline + Update(::Rectangle rec, const void *pixels)raylib::TextureUnmanagedinline + ~Texture()raylib::Textureinline
    diff --git a/_music_8hpp_source.html b/_music_8hpp_source.html index 3d873c99..03772501 100644 --- a/_music_8hpp_source.html +++ b/_music_8hpp_source.html @@ -118,11 +118,11 @@
    60  Unload();
    61  }
    62 
    -
    63  GETTERSETTER(::AudioStream, Stream, stream)
    -
    64  GETTERSETTER(unsigned int, FrameCount, frameCount)
    +
    63  GETTER(::AudioStream, Stream, stream)
    +
    64  GETTER(unsigned int, FrameCount, frameCount)
    65  GETTERSETTER(bool, Looping, looping)
    -
    66  GETTERSETTER(int, CtxType, ctxType)
    -
    67  GETTERSETTER(void*, CtxData, ctxData)
    +
    66  GETTER(int, CtxType, ctxType)
    +
    67  GETTER(void*, CtxData, ctxData)
    68 
    69  Music& operator=(const ::Music& music) {
    70  set(music);
    @@ -148,64 +148,64 @@
    90  return *this;
    91  }
    92 
    -
    96  inline void Unload() {
    +
    96  void Unload() {
    97  ::UnloadMusicStream(*this);
    98  }
    99 
    -
    103  inline Music& Play() {
    +
    103  Music& Play() {
    104  ::PlayMusicStream(*this);
    105  return *this;
    106  }
    107 
    -
    111  inline Music& Update() {
    +
    112  ::UpdateMusicStream(*this);
    113  return *this;
    114  }
    115 
    -
    119  inline Music& Stop() {
    +
    119  Music& Stop() {
    120  ::StopMusicStream(*this);
    121  return *this;
    122  }
    123 
    -
    127  inline Music& Pause() {
    +
    128  ::PauseMusicStream(*this);
    129  return *this;
    130  }
    131 
    -
    135  inline Music& Resume() {
    +
    136  ::ResumeMusicStream(*this);
    137  return *this;
    138  }
    139 
    -
    143  inline Music& Seek(float position) {
    +
    143  Music& Seek(float position) {
    144  SeekMusicStream(*this, position);
    145  return *this;
    146  }
    147 
    -
    151  inline bool IsPlaying() const {
    +
    151  bool IsPlaying() const {
    152  return ::IsMusicStreamPlaying(*this);
    153  }
    154 
    -
    158  inline Music& SetVolume(float volume) {
    +
    158  Music& SetVolume(float volume) {
    159  ::SetMusicVolume(*this, volume);
    160  return *this;
    161  }
    162 
    -
    166  inline Music& SetPitch(float pitch) {
    +
    166  Music& SetPitch(float pitch) {
    167  ::SetMusicPitch(*this, pitch);
    168  return *this;
    169  }
    170 
    -
    174  inline Music& SetPan(float pan = 0.5f) {
    +
    174  Music& SetPan(float pan = 0.5f) {
    175  ::SetMusicPan(*this, pan);
    176  return *this;
    177  }
    178 
    -
    182  inline float GetTimeLength() const {
    +
    182  float GetTimeLength() const {
    183  return ::GetMusicTimeLength(*this);
    184  }
    185 
    -
    189  inline float GetTimePlayed() const {
    +
    189  float GetTimePlayed() const {
    190  return ::GetMusicTimePlayed(*this);
    191  }
    192 
    @@ -223,11 +223,11 @@
    214  }
    215  }
    216 
    -
    222  inline bool IsReady() const {
    +
    222  bool IsReady() const {
    223  return ::IsMusicReady(*this);
    224  }
    225 
    -
    226  private:
    +
    226  protected:
    227  void set(const ::Music& music) {
    228  stream = music.stream;
    229  frameCount = music.frameCount;
    diff --git a/_ray_8hpp_source.html b/_ray_8hpp_source.html index e3c06221..426c401a 100644 --- a/_ray_8hpp_source.html +++ b/_ray_8hpp_source.html @@ -103,40 +103,40 @@
    32  GETTERSETTER(::Vector3, Position, position)
    33  GETTERSETTER(::Vector3, Direction, direction)
    34 
    -
    38  inline void Draw(::Color color) const {
    +
    38  void Draw(::Color color) const {
    39  DrawRay(*this, color);
    40  }
    41 
    -
    45  inline RayCollision GetCollision(::Vector3 center, float radius) const {
    +
    45  RayCollision GetCollision(::Vector3 center, float radius) const {
    46  return ::GetRayCollisionSphere(*this, center, radius);
    47  }
    48 
    -
    52  inline RayCollision GetCollision(const ::BoundingBox& box) const {
    +
    52  RayCollision GetCollision(const ::BoundingBox& box) const {
    53  return ::GetRayCollisionBox(*this, box);
    54  }
    55 
    -
    59  inline RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
    +
    59  RayCollision GetCollision(const ::Mesh& mesh, const ::Matrix& transform) const {
    60  return ::GetRayCollisionMesh(*this, mesh, transform);
    61  }
    62 
    -
    66  inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
    +
    66  RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3) const {
    67  return ::GetRayCollisionTriangle(*this, p1, p2, p3);
    68  }
    69 
    -
    73  inline RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const {
    +
    73  RayCollision GetCollision(::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4) const {
    74  return ::GetRayCollisionQuad(*this, p1, p2, p3, p4);
    75  }
    76 
    -
    80  inline static Ray GetMouse(::Vector2 mousePosition, const ::Camera& camera) {
    +
    80  static Ray GetMouse(::Vector2 mousePosition, const ::Camera& camera) {
    81  return ::GetMouseRay(mousePosition, camera);
    82  }
    83 
    -
    87  inline static Ray GetMouse(const ::Camera& camera) {
    +
    87  static Ray GetMouse(const ::Camera& camera) {
    88  return ::GetMouseRay(::GetMousePosition(), camera);
    89  }
    90 
    -
    91  private:
    -
    92  inline void set(const ::Ray& ray) {
    +
    91  protected:
    +
    92  void set(const ::Ray& ray) {
    93  position = ray.position;
    94  direction = ray.direction;
    95  }
    @@ -157,8 +157,8 @@
    static Ray GetMouse(const ::Camera &camera)
    Get a ray trace from mouse position.
    Definition: Ray.hpp:87
    RayCollision GetCollision(const ::Mesh &mesh, const ::Matrix &transform) const
    Get collision information between ray and mesh.
    Definition: Ray.hpp:59
    RayCollision GetCollision(const ::BoundingBox &box) const
    Detect collision between ray and box.
    Definition: Ray.hpp:52
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    +
    Vector2 type.
    Definition: Vector2.hpp:18
    +
    Vector3 type.
    Definition: Vector3.hpp:18
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_ray_collision_8hpp_source.html b/_ray_collision_8hpp_source.html index 9bccd847..c3a7c5fd 100644 --- a/_ray_collision_8hpp_source.html +++ b/_ray_collision_8hpp_source.html @@ -120,7 +120,7 @@
    64  GETTERSETTER(::Vector3, Position, point)
    65  GETTERSETTER(::Vector3, Normal, normal)
    66 
    -
    67  private:
    +
    67  protected:
    68  void set(const ::RayCollision& ray) {
    69  hit = ray.hit;
    70  distance = ray.distance;
    @@ -139,7 +139,7 @@
    RayCollision(const ::Ray &ray, const ::BoundingBox &box)
    Get collision info between ray and bounding box.
    RayCollision(const ::Ray &ray, ::Vector3 p1, ::Vector3 p2, ::Vector3 p3, ::Vector3 p4)
    Get collision info between ray and quad.
    RayCollision(const ::Ray &ray, ::Vector3 center, float radius)
    Get collision info between ray and sphere.
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    +
    Vector3 type.
    Definition: Vector3.hpp:18
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_rectangle_8hpp_source.html b/_rectangle_8hpp_source.html index c12c51e3..d5614710 100644 --- a/_rectangle_8hpp_source.html +++ b/_rectangle_8hpp_source.html @@ -105,7 +105,7 @@
    34  return *this;
    35  }
    36 
    -
    37  inline ::Vector4 ToVector4() {
    +
    37  ::Vector4 ToVector4() {
    38  return {x, y, width, height};
    39  }
    40 
    @@ -113,117 +113,129 @@
    42  return {x, y, width, height};
    43  }
    44 
    -
    48  inline void Draw(::Color color) const {
    +
    48  void Draw(::Color color) const {
    49  ::DrawRectangleRec(*this, color);
    50  }
    51 
    -
    52  inline void Draw(::Vector2 origin, float rotation, ::Color color) const {
    +
    52  void Draw(::Vector2 origin, float rotation, ::Color color) const {
    53  ::DrawRectanglePro(*this, origin, rotation, color);
    54  }
    55 
    -
    56  inline void DrawGradientV(::Color color1, ::Color color2) const {
    +
    56  void DrawGradientV(::Color color1, ::Color color2) const {
    57  ::DrawRectangleGradientV(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    58  static_cast<int>(height), color1, color2);
    59  }
    60 
    -
    61  inline void DrawGradientH(::Color color1, ::Color color2) const {
    +
    61  void DrawGradientH(::Color color1, ::Color color2) const {
    62  ::DrawRectangleGradientH(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    63  static_cast<int>(height), color1, color2);
    64  }
    65 
    -
    66  inline void DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) const {
    +
    66  void DrawGradient(::Color col1, ::Color col2, ::Color col3, ::Color col4) const {
    67  ::DrawRectangleGradientEx(*this, col1, col2, col3, col4);
    68  }
    69 
    -
    70  inline void DrawLines(::Color color) const {
    +
    70  void DrawLines(::Color color) const {
    71  ::DrawRectangleLines(static_cast<int>(x), static_cast<int>(y), static_cast<int>(width),
    72  static_cast<int>(height), color);
    73  }
    74 
    -
    75  inline void DrawLines(::Color color, float lineThick) const {
    +
    75  void DrawLines(::Color color, float lineThick) const {
    76  ::DrawRectangleLinesEx(*this, lineThick, color);
    77  }
    78 
    -
    79  inline void DrawRounded(float roundness, int segments, ::Color color) const {
    +
    79  void DrawRounded(float roundness, int segments, ::Color color) const {
    80  ::DrawRectangleRounded(*this, roundness, segments, color);
    81  }
    82 
    -
    83  inline void DrawRoundedLines(float roundness, int segments,
    -
    84  float lineThick, ::Color color) const {
    -
    85  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
    -
    86  }
    -
    87 
    -
    91  inline bool CheckCollision(::Rectangle rec2) const {
    -
    92  return ::CheckCollisionRecs(*this, rec2);
    -
    93  }
    -
    94 
    -
    98  inline ::Rectangle GetCollision(::Rectangle rec2) const {
    -
    99  return ::GetCollisionRec(*this, rec2);
    -
    100  }
    -
    101 
    -
    105  inline bool CheckCollision(::Vector2 point) const {
    -
    106  return ::CheckCollisionPointRec(point, *this);
    -
    107  }
    -
    108 
    -
    112  inline bool CheckCollision(::Vector2 center, float radius) {
    -
    113  return ::CheckCollisionCircleRec(center, radius, *this);
    -
    114  }
    -
    115 
    -
    116  inline Vector2 GetSize() {
    -
    117  return {width, height};
    -
    118  }
    -
    119 
    -
    120  inline Rectangle& SetSize(float newWidth, float newHeight) {
    -
    121  width = newWidth;
    -
    122  height = newHeight;
    -
    123  return *this;
    -
    124  }
    -
    125 
    -
    126  inline Rectangle& SetSize(const ::Vector2& size) {
    -
    127  return SetSize(size.x, size.y);
    -
    128  }
    -
    129 
    -
    130  inline Rectangle& SetShapesTexture(const ::Texture2D& texture) {
    -
    131  ::SetShapesTexture(texture, *this);
    -
    132  return *this;
    -
    133  }
    -
    134 
    -
    135  inline Vector2 GetPosition() {
    -
    136  return {x, y};
    -
    137  }
    -
    138 
    -
    139  inline Rectangle& SetPosition(float newX, float newY) {
    -
    140  x = newX;
    -
    141  y = newY;
    -
    142  return *this;
    -
    143  }
    -
    144 
    -
    145  inline Rectangle& SetPosition(const ::Vector2& position) {
    -
    146  return SetPosition(position.x, position.y);
    -
    147  }
    -
    148 
    -
    149  private:
    -
    150  void set(const ::Rectangle& rect) {
    -
    151  x = rect.x;
    -
    152  y = rect.y;
    -
    153  width = rect.width;
    -
    154  height = rect.height;
    +
    83  void DrawRoundedLines(float roundness, int segments, ::Color color) const {
    +
    84  #if RAYLIB_VERSION_MAJOR == 5 && RAYLIB_VERSION_MINOR == 0
    +
    85  ::DrawRectangleRoundedLines(*this, roundness, segments, 1.0f, color);
    +
    86  #else
    +
    87  ::DrawRectangleRoundedLines(*this, roundness, segments, color);
    +
    88  #endif
    +
    89  }
    +
    90 
    +
    91  void DrawRoundedLines(float roundness, int segments,
    +
    92  float lineThick, ::Color color) const {
    +
    93  #if RAYLIB_VERSION_MAJOR == 5 && RAYLIB_VERSION_MINOR == 0
    +
    94  ::DrawRectangleRoundedLines(*this, roundness, segments, lineThick, color);
    +
    95  #else
    +
    96  DrawRectangleRoundedLinesEx(*this, roundness, segments, lineThick, color);
    +
    97  #endif
    +
    98  }
    +
    99 
    +
    103  bool CheckCollision(::Rectangle rec2) const {
    +
    104  return ::CheckCollisionRecs(*this, rec2);
    +
    105  }
    +
    106 
    + +
    111  return ::GetCollisionRec(*this, rec2);
    +
    112  }
    +
    113 
    +
    117  bool CheckCollision(::Vector2 point) const {
    +
    118  return ::CheckCollisionPointRec(point, *this);
    +
    119  }
    +
    120 
    +
    124  bool CheckCollision(::Vector2 center, float radius) const {
    +
    125  return ::CheckCollisionCircleRec(center, radius, *this);
    +
    126  }
    +
    127 
    +
    128  Vector2 GetSize() const {
    +
    129  return {width, height};
    +
    130  }
    +
    131 
    +
    132  Rectangle& SetSize(float newWidth, float newHeight) {
    +
    133  width = newWidth;
    +
    134  height = newHeight;
    +
    135  return *this;
    +
    136  }
    +
    137 
    +
    138  Rectangle& SetSize(const ::Vector2& size) {
    +
    139  return SetSize(size.x, size.y);
    +
    140  }
    +
    141 
    +
    142  Rectangle& SetShapesTexture(const ::Texture2D& texture) {
    +
    143  ::SetShapesTexture(texture, *this);
    +
    144  return *this;
    +
    145  }
    +
    146 
    +
    147  Vector2 GetPosition() const {
    +
    148  return {x, y};
    +
    149  }
    +
    150 
    +
    151  Rectangle& SetPosition(float newX, float newY) {
    +
    152  x = newX;
    +
    153  y = newY;
    +
    154  return *this;
    155  }
    -
    156 };
    -
    157 } // namespace raylib
    -
    158 
    - +
    156 
    +
    157  Rectangle& SetPosition(const ::Vector2& position) {
    +
    158  return SetPosition(position.x, position.y);
    +
    159  }
    160 
    -
    161 #endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    +
    161  protected:
    +
    162  void set(const ::Rectangle& rect) {
    +
    163  x = rect.x;
    +
    164  y = rect.y;
    +
    165  width = rect.width;
    +
    166  height = rect.height;
    +
    167  }
    +
    168 };
    +
    169 } // namespace raylib
    +
    170 
    + +
    172 
    +
    173 #endif // RAYLIB_CPP_INCLUDE_RECTANGLE_HPP_
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    Rectangle type.
    Definition: Rectangle.hpp:12
    -
    bool CheckCollision(::Rectangle rec2) const
    Check collision between two rectangles.
    Definition: Rectangle.hpp:91
    -
    inline ::Rectangle GetCollision(::Rectangle rec2) const
    Get collision rectangle for two rectangles collision.
    Definition: Rectangle.hpp:98
    +
    ::Rectangle GetCollision(::Rectangle rec2) const
    Get collision rectangle for two rectangles collision.
    Definition: Rectangle.hpp:110
    +
    bool CheckCollision(::Rectangle rec2) const
    Check collision between two rectangles.
    Definition: Rectangle.hpp:103
    void Draw(::Color color) const
    Draw a color-filled rectangle.
    Definition: Rectangle.hpp:48
    -
    bool CheckCollision(::Vector2 center, float radius)
    Check collision between circle and rectangle.
    Definition: Rectangle.hpp:112
    -
    bool CheckCollision(::Vector2 point) const
    Check if point is inside rectangle.
    Definition: Rectangle.hpp:105
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    Vector4 type.
    Definition: Vector4.hpp:17
    +
    bool CheckCollision(::Vector2 center, float radius) const
    Check collision between circle and rectangle.
    Definition: Rectangle.hpp:124
    +
    bool CheckCollision(::Vector2 point) const
    Check if point is inside rectangle.
    Definition: Rectangle.hpp:117
    +
    Vector2 type.
    Definition: Vector2.hpp:18
    +
    Vector4 type.
    Definition: Vector4.hpp:19
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_render_texture_8hpp_source.html b/_render_texture_8hpp_source.html index d2b0de2a..0fb4146a 100644 --- a/_render_texture_8hpp_source.html +++ b/_render_texture_8hpp_source.html @@ -108,22 +108,22 @@
    43  other.depth = {};
    44  }
    45 
    -
    46  GETTERSETTER(unsigned int, Id, id)
    +
    46  GETTER(unsigned int, Id, id)
    47 
    48 
    - +
    52  return texture;
    53  }
    54 
    -
    55  inline void SetTexture(const ::Texture& newTexture) {
    +
    55  void SetTexture(const ::Texture& newTexture) {
    56  texture = newTexture;
    57  }
    58 
    - +
    63  return depth;
    64  }
    65 
    -
    66  inline void SetDepth(const ::Texture& newDepth) {
    +
    66  void SetDepth(const ::Texture& newDepth) {
    67  depth = newDepth;
    68  }
    69 
    @@ -153,16 +153,16 @@
    93  Unload();
    94  }
    95 
    -
    96  inline void Unload() {
    +
    96  void Unload() {
    97  UnloadRenderTexture(*this);
    98  }
    99 
    - +
    104  ::BeginTextureMode(*this);
    105  return *this;
    106  }
    107 
    -
    111  inline RenderTexture& EndMode() {
    +
    112  ::EndTextureMode();
    113  return *this;
    114  }
    @@ -171,24 +171,26 @@
    120  return ::LoadRenderTexture(width, height);
    121  }
    122 
    -
    126  inline bool IsReady() const {
    +
    126  bool IsReady() const {
    127  return ::IsRenderTextureReady(*this);
    128  }
    129 
    -
    130  private:
    +
    130  protected:
    131  void set(const ::RenderTexture& renderTexture) {
    132  id = renderTexture.id;
    133  texture = renderTexture.texture;
    134  depth = renderTexture.depth;
    135  }
    136 };
    -
    137 typedef RenderTexture RenderTexture2D;
    -
    138 } // namespace raylib
    +
    137 
    +
    138 using RenderTexture2D = RenderTexture;
    139 
    - - -
    142 
    -
    143 #endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    +
    140 } // namespace raylib
    +
    141 
    + + +
    144 
    +
    145 #endif // RAYLIB_CPP_INCLUDE_RENDERTEXTURE_HPP_
    RenderTexture type, for texture rendering.
    TextureUnmanaged GetTexture()
    Get the color buffer attachment texture.
    RenderTexture & EndMode()
    Ends drawing to render texture.
    @@ -198,7 +200,7 @@
    RenderTexture()
    Default constructor to build an empty RenderTexture.
    static RenderTexture Load(int width, int height)
    Load texture for rendering (framebuffer)
    RenderTexture(int width, int height)
    Load texture for rendering (framebuffer)
    -
    A Texture that is not managed by the C++ garbage collector.
    +
    A Texture that is not managed by C++ RAII.
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_shader_8hpp_source.html b/_shader_8hpp_source.html index 27e2f11f..68bcc2b7 100644 --- a/_shader_8hpp_source.html +++ b/_shader_8hpp_source.html @@ -111,111 +111,119 @@
    45  return ::LoadShader(vsFileName.c_str(), fsFileName.c_str());
    46  }
    47 
    -
    53  static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
    -
    54  return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
    -
    55  }
    -
    56 
    -
    57  GETTERSETTER(unsigned int, Id, id)
    -
    58  GETTERSETTER(int*, Locs, locs)
    -
    59 
    -
    60  Shader& operator=(const ::Shader& shader) {
    -
    61  set(shader);
    -
    62  return *this;
    +
    48  static ::Shader Load(const char* vsFileName, const char* fsFileName) {
    +
    49  return ::LoadShader(vsFileName, fsFileName);
    +
    50  }
    +
    51 
    +
    57  static ::Shader LoadFromMemory(const std::string& vsCode, const std::string& fsCode) {
    +
    58  return ::LoadShaderFromMemory(vsCode.c_str(), fsCode.c_str());
    +
    59  }
    +
    60 
    +
    61  static ::Shader LoadFromMemory(const char* vsCode, const char* fsCode) {
    +
    62  return ::LoadShaderFromMemory(vsCode, fsCode);
    63  }
    64 
    -
    65  Shader& operator=(const Shader&) = delete;
    -
    66 
    -
    67  Shader& operator=(Shader&& other) noexcept {
    -
    68  if (this == &other) {
    -
    69  return *this;
    -
    70  }
    -
    71 
    -
    72  Unload();
    -
    73  set(other);
    +
    65  GETTER(unsigned int, Id, id)
    +
    66  GETTER(int*, Locs, locs)
    +
    67 
    +
    68  Shader& operator=(const ::Shader& shader) {
    +
    69  set(shader);
    +
    70  return *this;
    +
    71  }
    +
    72 
    +
    73  Shader& operator=(const Shader&) = delete;
    74 
    -
    75  other.id = 0;
    -
    76  other.locs = nullptr;
    -
    77 
    -
    78  return *this;
    -
    79  }
    -
    80 
    -
    84  ~Shader() {
    -
    85  Unload();
    -
    86  }
    -
    87 
    -
    91  void Unload() {
    -
    92  if (locs != nullptr) {
    -
    93  ::UnloadShader(*this);
    -
    94  }
    -
    95  }
    -
    96 
    -
    100  inline Shader& BeginMode() {
    -
    101  ::BeginShaderMode(*this);
    -
    102  return *this;
    +
    75  Shader& operator=(Shader&& other) noexcept {
    +
    76  if (this == &other) {
    +
    77  return *this;
    +
    78  }
    +
    79 
    +
    80  Unload();
    +
    81  set(other);
    +
    82 
    +
    83  other.id = 0;
    +
    84  other.locs = nullptr;
    +
    85 
    +
    86  return *this;
    +
    87  }
    +
    88 
    +
    92  ~Shader() {
    +
    93  Unload();
    +
    94  }
    +
    95 
    +
    99  void Unload() {
    +
    100  if (locs != nullptr) {
    +
    101  ::UnloadShader(*this);
    +
    102  }
    103  }
    104 
    -
    108  inline Shader& EndMode() {
    -
    109  ::EndShaderMode();
    + +
    109  ::BeginShaderMode(*this);
    110  return *this;
    111  }
    112 
    -
    118  inline int GetLocation(const std::string& uniformName) const {
    -
    119  return ::GetShaderLocation(*this, uniformName.c_str());
    -
    120  }
    -
    121 
    -
    127  inline int GetLocationAttrib(const std::string& attribName) const {
    -
    128  return ::GetShaderLocationAttrib(*this, attribName.c_str());
    -
    129  }
    -
    130 
    -
    136  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
    -
    137  ::SetShaderValue(*this, uniformLoc, value, uniformType);
    -
    138  return *this;
    -
    139  }
    -
    140 
    -
    146  inline Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
    -
    147  ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
    -
    148  return *this;
    -
    149  }
    -
    150 
    -
    156  inline Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
    -
    157  ::SetShaderValueMatrix(*this, uniformLoc, mat);
    -
    158  return *this;
    -
    159  }
    -
    160 
    -
    166  inline Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
    -
    167  ::SetShaderValueTexture(*this, uniformLoc, texture);
    -
    168  return *this;
    -
    169  }
    -
    170 
    -
    174  bool IsReady() const {
    -
    175  return id != 0 && locs != nullptr;
    -
    176  }
    -
    177 
    -
    178  private:
    -
    179  void set(const ::Shader& shader) {
    -
    180  id = shader.id;
    -
    181  locs = shader.locs;
    -
    182  }
    -
    183 };
    -
    184 } // namespace raylib
    + +
    117  ::EndShaderMode();
    +
    118  return *this;
    +
    119  }
    +
    120 
    +
    126  int GetLocation(const std::string& uniformName) const {
    +
    127  return ::GetShaderLocation(*this, uniformName.c_str());
    +
    128  }
    +
    129 
    +
    135  int GetLocationAttrib(const std::string& attribName) const {
    +
    136  return ::GetShaderLocationAttrib(*this, attribName.c_str());
    +
    137  }
    +
    138 
    +
    144  Shader& SetValue(int uniformLoc, const void* value, int uniformType) {
    +
    145  ::SetShaderValue(*this, uniformLoc, value, uniformType);
    +
    146  return *this;
    +
    147  }
    +
    148 
    +
    154  Shader& SetValue(int uniformLoc, const void* value, int uniformType, int count) {
    +
    155  ::SetShaderValueV(*this, uniformLoc, value, uniformType, count);
    +
    156  return *this;
    +
    157  }
    +
    158 
    +
    164  Shader& SetValue(int uniformLoc, const ::Matrix& mat) {
    +
    165  ::SetShaderValueMatrix(*this, uniformLoc, mat);
    +
    166  return *this;
    +
    167  }
    +
    168 
    +
    174  Shader& SetValue(int uniformLoc, const ::Texture2D& texture) {
    +
    175  ::SetShaderValueTexture(*this, uniformLoc, texture);
    +
    176  return *this;
    +
    177  }
    +
    178 
    +
    182  bool IsReady() const {
    +
    183  return id != 0 && locs != nullptr;
    +
    184  }
    185 
    -
    186 using RShader = raylib::Shader;
    -
    187 
    -
    188 #endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
    +
    186  protected:
    +
    187  void set(const ::Shader& shader) {
    +
    188  id = shader.id;
    +
    189  locs = shader.locs;
    +
    190  }
    +
    191 };
    +
    192 } // namespace raylib
    +
    193 
    +
    194 using RShader = raylib::Shader;
    +
    195 
    +
    196 #endif // RAYLIB_CPP_INCLUDE_SHADER_HPP_
    Shader type (generic)
    Definition: Shader.hpp:14
    -
    Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
    Set shader uniform value vector.
    Definition: Shader.hpp:146
    -
    Shader & EndMode()
    End custom shader drawing (use default shader).
    Definition: Shader.hpp:108
    -
    void Unload()
    Unload shader from GPU memory (VRAM)
    Definition: Shader.hpp:91
    -
    ~Shader()
    Unload shader from GPU memory (VRAM)
    Definition: Shader.hpp:84
    -
    Shader & BeginMode()
    Begin custom shader drawing.
    Definition: Shader.hpp:100
    +
    Shader & SetValue(int uniformLoc, const void *value, int uniformType, int count)
    Set shader uniform value vector.
    Definition: Shader.hpp:154
    +
    Shader & EndMode()
    End custom shader drawing (use default shader).
    Definition: Shader.hpp:116
    +
    void Unload()
    Unload shader from GPU memory (VRAM)
    Definition: Shader.hpp:99
    +
    ~Shader()
    Unload shader from GPU memory (VRAM)
    Definition: Shader.hpp:92
    +
    Shader & BeginMode()
    Begin custom shader drawing.
    Definition: Shader.hpp:108
    ::Shader Load(const std::string &vsFileName, const std::string &fsFileName)
    Load shader from files and bind default locations.
    Definition: Shader.hpp:44
    -
    Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
    Set shader uniform value for texture.
    Definition: Shader.hpp:166
    -
    ::Shader LoadFromMemory(const std::string &vsCode, const std::string &fsCode)
    Load a shader from memory.
    Definition: Shader.hpp:53
    -
    int GetLocation(const std::string &uniformName) const
    Get shader uniform location.
    Definition: Shader.hpp:118
    -
    int GetLocationAttrib(const std::string &attribName) const
    Get shader attribute location.
    Definition: Shader.hpp:127
    -
    bool IsReady() const
    Retrieves whether or not the shader is ready.
    Definition: Shader.hpp:174
    -
    Shader & SetValue(int uniformLoc, const ::Matrix &mat)
    Set shader uniform value (matrix 4x4)
    Definition: Shader.hpp:156
    -
    Shader & SetValue(int uniformLoc, const void *value, int uniformType)
    Set shader uniform value.
    Definition: Shader.hpp:136
    +
    Shader & SetValue(int uniformLoc, const ::Texture2D &texture)
    Set shader uniform value for texture.
    Definition: Shader.hpp:174
    +
    ::Shader LoadFromMemory(const std::string &vsCode, const std::string &fsCode)
    Load a shader from memory.
    Definition: Shader.hpp:57
    +
    int GetLocation(const std::string &uniformName) const
    Get shader uniform location.
    Definition: Shader.hpp:126
    +
    int GetLocationAttrib(const std::string &attribName) const
    Get shader attribute location.
    Definition: Shader.hpp:135
    +
    bool IsReady() const
    Retrieves whether or not the shader is ready.
    Definition: Shader.hpp:182
    +
    Shader & SetValue(int uniformLoc, const ::Matrix &mat)
    Set shader uniform value (matrix 4x4)
    Definition: Shader.hpp:164
    +
    Shader & SetValue(int uniformLoc, const void *value, int uniformType)
    Set shader uniform value.
    Definition: Shader.hpp:144
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_sound_8hpp_source.html b/_sound_8hpp_source.html index d3a1f06b..3c348a4c 100644 --- a/_sound_8hpp_source.html +++ b/_sound_8hpp_source.html @@ -115,8 +115,8 @@
    59  Unload();
    60  }
    61 
    -
    62  GETTERSETTER(unsigned int, FrameCount, frameCount)
    -
    63  GETTERSETTER(::AudioStream, Stream, stream)
    +
    62  GETTER(unsigned int, FrameCount, frameCount)
    +
    63  GETTER(::AudioStream, Stream, stream)
    64 
    65  Sound& operator=(Sound&& other) noexcept {
    66  if (this == &other) {
    @@ -131,17 +131,17 @@
    75  return *this;
    76  }
    77 
    -
    81  inline Sound& Update(const void *data, int samplesCount) {
    +
    81  Sound& Update(const void *data, int samplesCount) {
    82  ::UpdateSound(*this, data, samplesCount);
    83  return *this;
    84  }
    85 
    -
    89  inline Sound& Update(const void *data) {
    +
    89  Sound& Update(const void *data) {
    90  ::UpdateSound(*this, data, static_cast<int>(frameCount));
    91  return *this;
    92  }
    93 
    -
    97  inline void Unload() {
    +
    97  void Unload() {
    98  // Protect against calling UnloadSound() twice.
    99  if (frameCount != 0) {
    100  ::UnloadSound(*this);
    @@ -149,41 +149,41 @@
    102  }
    103  }
    104 
    -
    108  inline Sound& Play() {
    +
    108  Sound& Play() {
    109  ::PlaySound(*this);
    110  return *this;
    111  }
    112 
    -
    116  inline Sound& Stop() {
    +
    116  Sound& Stop() {
    117  ::StopSound(*this);
    118  return *this;
    119  }
    120 
    -
    124  inline Sound& Pause() {
    +
    125  ::PauseSound(*this);
    126  return *this;
    127  }
    128 
    -
    132  inline Sound& Resume() {
    +
    133  ::ResumeSound(*this);
    134  return *this;
    135  }
    136 
    -
    140  inline bool IsPlaying() const {
    +
    140  bool IsPlaying() const {
    141  return ::IsSoundPlaying(*this);
    142  }
    143 
    -
    147  inline Sound& SetVolume(float volume) {
    +
    147  Sound& SetVolume(float volume) {
    148  ::SetSoundVolume(*this, volume);
    149  return *this;
    150  }
    151 
    -
    155  inline Sound& SetPitch(float pitch) {
    +
    155  Sound& SetPitch(float pitch) {
    156  ::SetSoundPitch(*this, pitch);
    157  return *this;
    158  }
    159 
    -
    163  inline Sound& SetPan(float pan = 0.5f) {
    +
    163  Sound& SetPan(float pan = 0.5f) {
    164  ::SetSoundPan(*this, pan);
    165  return *this;
    166  }
    @@ -191,14 +191,14 @@
    173  void Load(const std::string& fileName) {
    174  set(::LoadSound(fileName.c_str()));
    175  if (!IsReady()) {
    -
    176  throw new RaylibException("Failed to load Sound from file");
    +
    176  throw RaylibException("Failed to load Sound from file");
    177  }
    178  }
    179 
    185  void Load(const ::Wave& wave) {
    186  set(::LoadSoundFromWave(wave));
    187  if (!IsReady()) {
    -
    188  throw new RaylibException("Failed to load Wave");
    +
    188  throw RaylibException("Failed to load Wave");
    189  }
    190  }
    191 
    @@ -206,7 +206,7 @@
    198  return ::IsSoundReady(*this);
    199  }
    200 
    -
    201  private:
    +
    201  protected:
    202  void set(const ::Sound& sound) {
    203  frameCount = sound.frameCount;
    204  stream = sound.stream;
    diff --git a/_text_8hpp_source.html b/_text_8hpp_source.html index c39bf255..4f6e0cfa 100644 --- a/_text_8hpp_source.html +++ b/_text_8hpp_source.html @@ -128,12 +128,12 @@
    90  GETTERSETTER(::Color, Color, color)
    91  GETTERSETTER(float, Spacing, spacing)
    92 
    -
    96  inline void Draw(const ::Vector2& position) const {
    -
    97  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    +
    96  void Draw(const ::Vector2& position) const {
    +
    97  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    98  }
    99 
    -
    103  inline void Draw(int posX, int posY) const {
    - +
    103  void Draw(int posX, int posY) const {
    +
    105  text.c_str(),
    106  { static_cast<float>(posX), static_cast<float>(posY) },
    107  fontSize,
    @@ -141,15 +141,15 @@
    109  color);
    110  }
    111 
    -
    117  inline void Draw(const ::Vector2& position, float rotation, const ::Vector2& origin = {0, 0}) const {
    -
    118  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    +
    117  void Draw(const ::Vector2& position, float rotation, const ::Vector2& origin = {0, 0}) const {
    +
    118  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    119  }
    120 
    -
    124  inline int Measure() {
    +
    124  int Measure() const {
    125  return ::MeasureText(text.c_str(), static_cast<int>(fontSize));
    126  }
    127 
    -
    131  inline Vector2 MeasureEx() {
    +
    131  Vector2 MeasureEx() const {
    132  return ::MeasureTextEx(font, text.c_str(), fontSize, spacing);
    133  }
    134 
    @@ -167,34 +167,34 @@
    146  return *this;
    147  }
    148 
    -
    154  static inline void Draw(
    +
    154  static void Draw(
    155  const std::string& text,
    156  const int posX,
    157  const int posY,
    158  const int fontSize,
    159  const ::Color& color) {
    -
    160  ::DrawText(text.c_str(), posX, posY, fontSize, color);
    +
    160  ::DrawText(text.c_str(), posX, posY, fontSize, color);
    161  }
    162 
    -
    168  static inline void Draw(
    +
    168  static void Draw(
    169  const std::string& text,
    170  const ::Vector2& pos,
    171  const int fontSize,
    172  const ::Color& color) {
    -
    173  ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
    +
    173  ::DrawText(text.c_str(), static_cast<int>(pos.x), static_cast<int>(pos.y), fontSize, color);
    174  }
    175 
    -
    181  static inline void Draw(
    +
    181  static void Draw(
    182  const ::Font& font,
    183  const std::string& text,
    184  const ::Vector2& position,
    185  const float fontSize,
    186  const float spacing,
    187  const ::Color& color) {
    -
    188  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    +
    188  ::DrawTextEx(font, text.c_str(), position, fontSize, spacing, color);
    189  }
    190 
    -
    196  static inline void Draw(
    +
    196  static void Draw(
    197  const ::Font& font,
    198  const std::string& text,
    199  const ::Vector2& position,
    @@ -203,7 +203,7 @@
    202  const float fontSize,
    203  const float spacing,
    204  const ::Color& color) {
    -
    205  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    +
    205  ::DrawTextPro(font, text.c_str(), position, origin, rotation, fontSize, spacing, color);
    206  }
    207 };
    208 } // namespace raylib
    @@ -215,26 +215,26 @@
    Font type, includes texture and charSet array data.
    Definition: Font.hpp:15
    Text Functions.
    Definition: Text.hpp:14
    float fontSize
    The size of the text.
    Definition: Text.hpp:24
    +
    Vector2 MeasureEx() const
    Measure string size for Font.
    Definition: Text.hpp:131
    Text(const ::Font &font, const std::string &text="", float fontSize=10, float spacing=0, const ::Color &color=WHITE)
    Initializes a new Text object with a custom font.
    Definition: Text.hpp:73
    +
    int Measure() const
    Measure string width for default font.
    Definition: Text.hpp:124
    static void Draw(const std::string &text, const ::Vector2 &pos, const int fontSize, const ::Color &color)
    Draw text using font and color, with position defined as Vector2.
    Definition: Text.hpp:168
    static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const float fontSize, const float spacing, const ::Color &color)
    Draw text using font, color, position, font size and spacing.
    Definition: Text.hpp:181
    float spacing
    The character spacing for the text.
    Definition: Text.hpp:39
    -
    int Measure()
    Measure string width for default font.
    Definition: Text.hpp:124
    ::Font font
    The internal raylib font to use for the text.
    Definition: Text.hpp:34
    Text(const std::string &text="", float fontSize=10, const ::Color &color=WHITE, const ::Font &font=::GetFontDefault(), float spacing=0)
    Initializes a new Text object.
    Definition: Text.hpp:50
    static void Draw(const std::string &text, const int posX, const int posY, const int fontSize, const ::Color &color)
    Draw text using font and color.
    Definition: Text.hpp:154
    -
    Vector2 MeasureEx()
    Measure string size for Font.
    Definition: Text.hpp:131
    ::Color color
    The color of the text.
    Definition: Text.hpp:29
    std::string text
    The internal text.
    Definition: Text.hpp:19
    static void Draw(const ::Font &font, const std::string &text, const ::Vector2 &position, const ::Vector2 &origin, const float rotation, const float fontSize, const float spacing, const ::Color &color)
    Draw text using font, color, position, origin, font size and spacing.
    Definition: Text.hpp:196
    void Draw(const ::Vector2 &position, float rotation, const ::Vector2 &origin={0, 0}) const
    Draw text using Font and pro parameters (rotation).
    Definition: Text.hpp:117
    void Draw(int posX, int posY) const
    Draw text with values in class.
    Definition: Text.hpp:103
    void Draw(const ::Vector2 &position) const
    Draw text with values in class.
    Definition: Text.hpp:96
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Vector2 type.
    Definition: Vector2.hpp:18
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    -
    static void DrawText(const std::string &text, int posX, int posY, int fontSize, ::Color color)
    Draw text (using default font)
    Definition: Functions.hpp:243
    -
    static void DrawTextPro(const Font &font, const std::string &text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:258
    -
    static void DrawTextEx(const Font &font, const std::string &text, Vector2 position, float fontSize, float spacing, ::Color tint)
    Draw text using font and additional parameters.
    Definition: Functions.hpp:250
    +
    static void DrawTextPro(const Font &font, const char *text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint)
    Draw text using Font and pro parameters (rotation)
    Definition: Functions.hpp:277
    +
    static void DrawText(const char *text, int posX, int posY, int fontSize, ::Color color)
    Draw text (using default font)
    Definition: Functions.hpp:243
    +
    static void DrawTextEx(const Font &font, char *text, Vector2 position, float fontSize, float spacing, ::Color tint)
    Draw text using font and additional parameters.
    Definition: Functions.hpp:261
    diff --git a/_touch_8hpp_source.html b/_touch_8hpp_source.html index f82a902d..0735c431 100644 --- a/_touch_8hpp_source.html +++ b/_touch_8hpp_source.html @@ -78,40 +78,39 @@
    4 #include "./raylib.hpp"
    5 
    6 namespace raylib {
    -
    10 class Touch {
    -
    11  public:
    -
    15  inline static int GetX() {
    -
    16  return ::GetTouchX();
    -
    17  }
    -
    18 
    -
    22  inline static int GetY() {
    -
    23  return ::GetTouchY();
    -
    24  }
    -
    25 
    -
    29  inline static Vector2 GetPosition(int index) {
    -
    30  return ::GetTouchPosition(index);
    -
    31  }
    -
    32 
    -
    36  inline static int GetPointId(int index) {
    -
    37  return ::GetTouchPointId(index);
    -
    38  }
    -
    39 
    -
    43  inline static int GetPointCount() {
    -
    44  return ::GetTouchPointCount();
    -
    45  }
    -
    46 };
    -
    47 } // namespace raylib
    -
    48 
    -
    49 using RTouch = raylib::Touch;
    -
    50 
    -
    51 #endif // RAYLIB_CPP_INCLUDE_TOUCH_HPP_
    -
    Input-related functions: touch.
    Definition: Touch.hpp:10
    -
    static Vector2 GetPosition(int index)
    Get touch position XY for a touch point index (relative to screen size)
    Definition: Touch.hpp:29
    -
    static int GetPointCount()
    Get number of touch points.
    Definition: Touch.hpp:43
    -
    static int GetPointId(int index)
    Get touch point identifier for given index.
    Definition: Touch.hpp:36
    -
    static int GetY()
    Get touch position Y for touch point 0 (relative to screen size)
    Definition: Touch.hpp:22
    -
    static int GetX()
    Get touch position X for touch point 0 (relative to screen size)
    Definition: Touch.hpp:15
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    10 namespace Touch {
    +
    14  [[maybe_unused]] RLCPPAPI inline int GetX() {
    +
    15  return ::GetTouchX();
    +
    16  }
    +
    17 
    +
    21  [[maybe_unused]] RLCPPAPI inline int GetY() {
    +
    22  return ::GetTouchY();
    +
    23  }
    +
    24 
    +
    28  [[maybe_unused]] RLCPPAPI inline Vector2 GetPosition(int index) {
    +
    29  return ::GetTouchPosition(index);
    +
    30  }
    +
    31 
    +
    35  [[maybe_unused]] RLCPPAPI inline int GetPointId(int index) {
    +
    36  return ::GetTouchPointId(index);
    +
    37  }
    +
    38 
    +
    42  [[maybe_unused]] RLCPPAPI inline int GetPointCount() {
    +
    43  return ::GetTouchPointCount();
    +
    44  }
    +
    45 } // namespace Touch
    +
    46 } // namespace raylib
    +
    47 
    +
    48 namespace RTouch = raylib::Touch;
    +
    49 
    +
    50 #endif // RAYLIB_CPP_INCLUDE_TOUCH_HPP_
    +
    Vector2 type.
    Definition: Vector2.hpp:18
    +
    Input-related functions: touch.
    Definition: Touch.hpp:10
    +
    RLCPPAPI int GetPointId(int index)
    Get touch point identifier for given index.
    Definition: Touch.hpp:35
    +
    RLCPPAPI int GetX()
    Get touch position X for touch point 0 (relative to screen size)
    Definition: Touch.hpp:14
    +
    RLCPPAPI int GetY()
    Get touch position Y for touch point 0 (relative to screen size)
    Definition: Touch.hpp:21
    +
    RLCPPAPI int GetPointCount()
    Get number of touch points.
    Definition: Touch.hpp:42
    +
    RLCPPAPI Vector2 GetPosition(int index)
    Get touch position XY for a touch point index (relative to screen size)
    Definition: Touch.hpp:28
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_vector2_8hpp_source.html b/_vector2_8hpp_source.html index 6f0fc720..a810eb3e 100644 --- a/_vector2_8hpp_source.html +++ b/_vector2_8hpp_source.html @@ -79,335 +79,336 @@
    5 #include <cmath>
    6 #endif
    7 
    -
    8 #include "./raylib.hpp"
    -
    9 #include "./raymath.hpp"
    -
    10 #include "./raylib-cpp-utils.hpp"
    -
    11 
    -
    12 namespace raylib {
    -
    16 class Vector2 : public ::Vector2 {
    -
    17  public:
    -
    18  Vector2(const ::Vector2& vec) : ::Vector2{vec.x, vec.y} {}
    -
    19 
    -
    20  Vector2(float x, float y) : ::Vector2{x, y} {}
    -
    21  Vector2(float x) : ::Vector2{x, 0} {}
    -
    22  Vector2() : ::Vector2{0, 0} {}
    -
    23 
    -
    24  GETTERSETTER(float, X, x)
    -
    25  GETTERSETTER(float, Y, y)
    -
    26 
    -
    30  Vector2& operator=(const ::Vector2& vector2) {
    -
    31  set(vector2);
    -
    32  return *this;
    -
    33  }
    -
    34 
    -
    38  bool operator==(const ::Vector2& other) {
    -
    39  return x == other.x
    -
    40  && y == other.y;
    -
    41  }
    -
    42 
    -
    46  bool operator!=(const ::Vector2& other) {
    -
    47  return !(*this == other);
    -
    48  }
    -
    49 
    -
    50 #ifndef RAYLIB_CPP_NO_MATH
    -
    54  inline Vector2 Add(const ::Vector2& vector2) const {
    -
    55  return Vector2Add(*this, vector2);
    -
    56  }
    -
    57 
    -
    61  inline Vector2 operator+(const ::Vector2& vector2) const {
    -
    62  return Vector2Add(*this, vector2);
    -
    63  }
    -
    64 
    -
    68  Vector2& operator+=(const ::Vector2& vector2) {
    -
    69  set(Vector2Add(*this, vector2));
    -
    70 
    -
    71  return *this;
    -
    72  }
    -
    73 
    -
    77  inline Vector2 Subtract(const ::Vector2& vector2) const {
    -
    78  return Vector2Subtract(*this, vector2);
    -
    79  }
    +
    8 #include <string>
    +
    9 
    +
    10 #include "./raylib.hpp"
    +
    11 #include "./raymath.hpp"
    +
    12 #include "./raylib-cpp-utils.hpp"
    +
    13 
    +
    14 namespace raylib {
    +
    18 class Vector2 : public ::Vector2 {
    +
    19  public:
    +
    20  Vector2(const ::Vector2& vec) : ::Vector2{vec.x, vec.y} {}
    +
    21 
    +
    22  Vector2(float x, float y) : ::Vector2{x, y} {}
    +
    23  Vector2(float x) : ::Vector2{x, 0} {}
    +
    24  Vector2() : ::Vector2{0, 0} {}
    +
    25 
    +
    26  GETTERSETTER(float, X, x)
    +
    27  GETTERSETTER(float, Y, y)
    +
    28 
    +
    32  Vector2& operator=(const ::Vector2& vector2) {
    +
    33  set(vector2);
    +
    34  return *this;
    +
    35  }
    +
    36 
    +
    40  bool operator==(const ::Vector2& other) const {
    +
    41  return x == other.x
    +
    42  && y == other.y;
    +
    43  }
    +
    44 
    +
    48  bool operator!=(const ::Vector2& other) const {
    +
    49  return !(*this == other);
    +
    50  }
    +
    51 
    +
    52  std::string ToString() const {
    +
    53  return TextFormat("Vector2(%f, %f)", x, y);
    +
    54  }
    +
    55 
    +
    56  operator std::string() const {
    +
    57  return ToString();
    +
    58  }
    +
    59 
    +
    60 #ifndef RAYLIB_CPP_NO_MATH
    +
    64  Vector2 Add(const ::Vector2& vector2) const {
    +
    65  return Vector2Add(*this, vector2);
    +
    66  }
    +
    67 
    +
    71  Vector2 operator+(const ::Vector2& vector2) const {
    +
    72  return Vector2Add(*this, vector2);
    +
    73  }
    +
    74 
    +
    78  Vector2& operator+=(const ::Vector2& vector2) {
    +
    79  set(Vector2Add(*this, vector2));
    80 
    -
    84  inline Vector2 operator-(const ::Vector2& vector2) const {
    -
    85  return Vector2Subtract(*this, vector2);
    -
    86  }
    -
    87 
    -
    91  Vector2& operator-=(const ::Vector2& vector2) {
    -
    92  set(Vector2Subtract(*this, vector2));
    -
    93 
    -
    94  return *this;
    -
    95  }
    -
    96 
    -
    100  inline Vector2 Negate() const {
    -
    101  return Vector2Negate(*this);
    -
    102  }
    +
    81  return *this;
    +
    82  }
    +
    83 
    +
    87  Vector2 Subtract(const ::Vector2& vector2) const {
    +
    88  return Vector2Subtract(*this, vector2);
    +
    89  }
    +
    90 
    +
    94  Vector2 operator-(const ::Vector2& vector2) const {
    +
    95  return Vector2Subtract(*this, vector2);
    +
    96  }
    +
    97 
    +
    101  Vector2& operator-=(const ::Vector2& vector2) {
    +
    102  set(Vector2Subtract(*this, vector2));
    103 
    -
    107  inline Vector2 operator-() const {
    -
    108  return Vector2Negate(*this);
    -
    109  }
    -
    110 
    -
    114  inline Vector2 Multiply(const ::Vector2& vector2) const {
    -
    115  return Vector2Multiply(*this, vector2);
    -
    116  }
    -
    117 
    -
    121  inline Vector2 operator*(const ::Vector2& vector2) const {
    -
    122  return Vector2Multiply(*this, vector2);
    -
    123  }
    -
    124 
    -
    128  Vector2& operator*=(const ::Vector2& vector2) {
    -
    129  set(Vector2Multiply(*this, vector2));
    -
    130 
    -
    131  return *this;
    -
    132  }
    -
    133 
    -
    137  inline Vector2 Scale(const float scale) const {
    -
    138  return Vector2Scale(*this, scale);
    -
    139  }
    +
    104  return *this;
    +
    105  }
    +
    106 
    +
    110  Vector2 Negate() const {
    +
    111  return Vector2Negate(*this);
    +
    112  }
    +
    113 
    +
    117  Vector2 operator-() const {
    +
    118  return Vector2Negate(*this);
    +
    119  }
    +
    120 
    +
    124  Vector2 Multiply(const ::Vector2& vector2) const {
    +
    125  return Vector2Multiply(*this, vector2);
    +
    126  }
    +
    127 
    +
    131  Vector2 operator*(const ::Vector2& vector2) const {
    +
    132  return Vector2Multiply(*this, vector2);
    +
    133  }
    +
    134 
    +
    138  Vector2& operator*=(const ::Vector2& vector2) {
    +
    139  set(Vector2Multiply(*this, vector2));
    140 
    -
    144  inline Vector2 operator*(const float scale) const {
    -
    145  return Vector2Scale(*this, scale);
    -
    146  }
    -
    147 
    -
    151  Vector2& operator*=(const float scale) {
    -
    152  set(Vector2Scale(*this, scale));
    -
    153 
    -
    154  return *this;
    -
    155  }
    -
    156 
    -
    160  inline Vector2 Divide(const ::Vector2& vector2) const {
    -
    161  return Vector2Divide(*this, vector2);
    -
    162  }
    +
    141  return *this;
    +
    142  }
    +
    143 
    +
    147  Vector2 Scale(const float scale) const {
    +
    148  return Vector2Scale(*this, scale);
    +
    149  }
    +
    150 
    +
    154  Vector2 operator*(const float scale) const {
    +
    155  return Vector2Scale(*this, scale);
    +
    156  }
    +
    157 
    +
    161  Vector2& operator*=(const float scale) {
    +
    162  set(Vector2Scale(*this, scale));
    163 
    -
    167  inline Vector2 operator/(const ::Vector2& vector2) const {
    -
    168  return Vector2Divide(*this, vector2);
    -
    169  }
    -
    170 
    -
    174  Vector2& operator/=(const ::Vector2& vector2) {
    -
    175  set(Vector2Divide(*this, vector2));
    -
    176 
    -
    177  return *this;
    -
    178  }
    -
    179 
    -
    183  inline Vector2 Divide(const float div) const {
    -
    184  return ::Vector2{x / div, y / div};
    -
    185  }
    +
    164  return *this;
    +
    165  }
    +
    166 
    +
    170  Vector2 Divide(const ::Vector2& vector2) const {
    +
    171  return Vector2Divide(*this, vector2);
    +
    172  }
    +
    173 
    +
    177  Vector2 operator/(const ::Vector2& vector2) const {
    +
    178  return Vector2Divide(*this, vector2);
    +
    179  }
    +
    180 
    +
    184  Vector2& operator/=(const ::Vector2& vector2) {
    +
    185  set(Vector2Divide(*this, vector2));
    186 
    -
    190  inline Vector2 operator/(const float div) const {
    -
    191  return Divide(div);
    -
    192  }
    -
    193 
    -
    197  Vector2& operator/=(const float div) {
    -
    198  this->x /= div;
    -
    199  this->y /= div;
    -
    200 
    -
    201  return *this;
    +
    187  return *this;
    +
    188  }
    +
    189 
    +
    193  Vector2 Divide(const float div) const {
    +
    194  return ::Vector2{x / div, y / div};
    +
    195  }
    +
    196 
    +
    200  Vector2 operator/(const float div) const {
    +
    201  return Divide(div);
    202  }
    203 
    -
    207  inline Vector2 Normalize() const {
    -
    208  return Vector2Normalize(*this);
    -
    209  }
    +
    207  Vector2& operator/=(const float div) {
    +
    208  this->x /= div;
    +
    209  this->y /= div;
    210 
    -
    214  inline Vector2 Transform(::Matrix mat) {
    -
    215  return ::Vector2Transform(*this, mat);
    -
    216  }
    -
    217 
    -
    221  inline Vector2 Lerp(const ::Vector2& vector2, float amount) const {
    -
    222  return Vector2Lerp(*this, vector2, amount);
    -
    223  }
    -
    224 
    -
    228  inline Vector2 Reflect(const ::Vector2& normal) const {
    -
    229  return Vector2Reflect(*this, normal);
    -
    230  }
    -
    231 
    -
    235  inline Vector2 Rotate(float degrees) const {
    -
    236  return Vector2Rotate(*this, degrees);
    -
    237  }
    -
    238 
    -
    242  inline Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
    -
    243  return Vector2MoveTowards(*this, target, maxDistance);
    -
    244  }
    -
    245 
    -
    249  inline Vector2 Invert() {
    -
    250  return ::Vector2Invert(*this);
    -
    251  }
    -
    252 
    -
    256  inline Vector2 Clamp(::Vector2 min, ::Vector2 max) {
    -
    257  return ::Vector2Clamp(*this, min, max);
    -
    258  }
    -
    259 
    -
    263  inline Vector2 Clamp(float min, float max) {
    -
    264  return ::Vector2ClampValue(*this, min, max);
    -
    265  }
    -
    266 
    -
    270  inline int Equals(::Vector2 q) {
    -
    271  return ::Vector2Equals(*this, q);
    -
    272  }
    -
    273 
    -
    277  inline float Length() const {
    -
    278  return Vector2Length(*this);
    -
    279  }
    -
    280 
    -
    284  inline float LengthSqr() const {
    -
    285  return Vector2LengthSqr(*this);
    -
    286  }
    -
    287 
    -
    291  inline float DotProduct(const ::Vector2& vector2) const {
    -
    292  return Vector2DotProduct(*this, vector2);
    -
    293  }
    -
    294 
    -
    298  inline float Distance(const ::Vector2& vector2) const {
    -
    299  return Vector2Distance(*this, vector2);
    -
    300  }
    -
    301 
    -
    305  inline float DistanceSqr(::Vector2 v2) {
    -
    306  return ::Vector2DistanceSqr(*this, v2);
    -
    307  }
    -
    308 
    -
    312  inline float Angle(const ::Vector2& vector2) const {
    -
    313  return Vector2Angle(*this, vector2);
    -
    314  }
    -
    315 
    -
    319  static inline Vector2 Zero() {
    -
    320  return Vector2Zero();
    -
    321  }
    -
    322 
    -
    326  static inline Vector2 One() {
    -
    327  return Vector2One();
    -
    328  }
    -
    329 #endif
    -
    330 
    -
    331  inline void DrawPixel(::Color color = {0, 0, 0, 255}) const {
    -
    332  ::DrawPixelV(*this, color);
    -
    333  }
    -
    334 
    -
    335  inline void DrawLine(::Vector2 endPos, ::Color color = {0, 0, 0, 255}) const {
    -
    336  ::DrawLineV(*this, endPos, color);
    -
    337  }
    -
    338 
    -
    339  inline void DrawLine(::Vector2 endPos, float thick, ::Color color = {0, 0, 0, 255}) const {
    -
    340  ::DrawLineEx(*this, endPos, thick, color);
    -
    341  }
    -
    342 
    -
    343  inline void DrawLineBezier(::Vector2 endPos, float thick, ::Color color = {0, 0, 0, 255}) const {
    -
    344  ::DrawLineBezier(*this, endPos, thick, color);
    -
    345  }
    -
    346 
    -
    350  inline void DrawLineBezierQuad(
    -
    351  ::Vector2 endPos,
    -
    352  ::Vector2 controlPos,
    -
    353  float thick,
    -
    354  ::Color color = {0, 0, 0, 255}) const {
    -
    355  ::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
    -
    356  }
    -
    357 
    -
    361  inline void DrawCircle(float radius, ::Color color = {0, 0, 0, 255}) const {
    -
    362  ::DrawCircleV(*this, radius, color);
    -
    363  }
    -
    364 
    -
    365  inline void DrawRectangle(::Vector2 size, ::Color color = {0, 0, 0, 255}) const {
    -
    366  ::DrawRectangleV(*this, size, color);
    -
    367  }
    -
    368 
    -
    369  inline void DrawPoly(int sides, float radius, float rotation, ::Color color = {0, 0, 0, 255}) const {
    -
    370  ::DrawPoly(*this, sides, radius, rotation, color);
    -
    371  }
    -
    372 
    -
    376  inline bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
    -
    377  return ::CheckCollisionCircles(*this, radius1, center2, radius2);
    -
    378  }
    -
    379 
    -
    383  inline bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
    -
    384  return ::CheckCollisionCircleRec(*this, radius, rec);
    -
    385  }
    -
    386 
    -
    390  inline bool CheckCollision(::Rectangle rec) const {
    -
    391  return ::CheckCollisionPointRec(*this, rec);
    -
    392  }
    -
    393 
    -
    397  inline bool CheckCollision(::Vector2 center, float radius) const {
    -
    398  return ::CheckCollisionPointCircle(*this, center, radius);
    -
    399  }
    -
    400 
    -
    404  inline bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
    -
    405  return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
    -
    406  }
    -
    407 
    -
    411  inline bool CheckCollisionLines(
    -
    412  ::Vector2 endPos1,
    -
    413  ::Vector2 startPos2, ::Vector2 endPos2,
    -
    414  ::Vector2 *collisionPoint) const {
    -
    415  return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
    -
    416  }
    -
    417 
    -
    421  inline bool CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold = 1) {
    -
    422  return ::CheckCollisionPointLine(*this, p1, p2, threshold);
    -
    423  }
    -
    424 
    -
    425  private:
    -
    426  void set(const ::Vector2& vec) {
    -
    427  x = vec.x;
    -
    428  y = vec.y;
    -
    429  }
    -
    430 };
    -
    431 
    -
    432 } // namespace raylib
    -
    433 
    -
    434 using RVector2 = raylib::Vector2;
    -
    435 
    -
    436 #endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    +
    211  return *this;
    +
    212  }
    +
    213 
    +
    217  Vector2 Normalize() const {
    +
    218  return Vector2Normalize(*this);
    +
    219  }
    +
    220 
    +
    224  Vector2 Transform(::Matrix mat) const {
    +
    225  return ::Vector2Transform(*this, mat);
    +
    226  }
    +
    227 
    +
    231  Vector2 Lerp(const ::Vector2& vector2, float amount) const {
    +
    232  return Vector2Lerp(*this, vector2, amount);
    +
    233  }
    +
    234 
    +
    238  Vector2 Reflect(const ::Vector2& normal) const {
    +
    239  return Vector2Reflect(*this, normal);
    +
    240  }
    +
    241 
    +
    245  Vector2 Rotate(float angle) const {
    +
    246  return Vector2Rotate(*this, angle);
    +
    247  }
    +
    248 
    +
    252  Vector2 MoveTowards(const ::Vector2& target, float maxDistance) const {
    +
    253  return Vector2MoveTowards(*this, target, maxDistance);
    +
    254  }
    +
    255 
    +
    259  Vector2 Invert() const {
    +
    260  return ::Vector2Invert(*this);
    +
    261  }
    +
    262 
    +
    266  Vector2 Clamp(::Vector2 min, ::Vector2 max) const {
    +
    267  return ::Vector2Clamp(*this, min, max);
    +
    268  }
    +
    269 
    +
    273  Vector2 Clamp(float min, float max) const {
    +
    274  return ::Vector2ClampValue(*this, min, max);
    +
    275  }
    +
    276 
    +
    280  int Equals(::Vector2 q) const {
    +
    281  return ::Vector2Equals(*this, q);
    +
    282  }
    +
    283 
    +
    287  float Length() const {
    +
    288  return Vector2Length(*this);
    +
    289  }
    +
    290 
    +
    294  float LengthSqr() const {
    +
    295  return Vector2LengthSqr(*this);
    +
    296  }
    +
    297 
    +
    301  float DotProduct(const ::Vector2& vector2) const {
    +
    302  return Vector2DotProduct(*this, vector2);
    +
    303  }
    +
    304 
    +
    308  float Distance(const ::Vector2& vector2) const {
    +
    309  return Vector2Distance(*this, vector2);
    +
    310  }
    +
    311 
    +
    315  float DistanceSqr(::Vector2 v2) const {
    +
    316  return ::Vector2DistanceSqr(*this, v2);
    +
    317  }
    +
    318 
    +
    322  float Angle(const ::Vector2& vector2) const {
    +
    323  return Vector2Angle(*this, vector2);
    +
    324  }
    +
    325 
    +
    329  static Vector2 Zero() {
    +
    330  return Vector2Zero();
    +
    331  }
    +
    332 
    +
    336  static Vector2 One() {
    +
    337  return Vector2One();
    +
    338  }
    +
    339 #endif
    +
    340 
    +
    341  void DrawPixel(::Color color = {0, 0, 0, 255}) const {
    +
    342  ::DrawPixelV(*this, color);
    +
    343  }
    +
    344 
    +
    345  void DrawLine(::Vector2 endPos, ::Color color = {0, 0, 0, 255}) const {
    +
    346  ::DrawLineV(*this, endPos, color);
    +
    347  }
    +
    348 
    +
    349  void DrawLine(::Vector2 endPos, float thick, ::Color color = {0, 0, 0, 255}) const {
    +
    350  ::DrawLineEx(*this, endPos, thick, color);
    +
    351  }
    +
    352 
    +
    353  void DrawLineBezier(::Vector2 endPos, float thick, ::Color color = {0, 0, 0, 255}) const {
    +
    354  ::DrawLineBezier(*this, endPos, thick, color);
    +
    355  }
    +
    356 
    +
    360  void DrawCircle(float radius, ::Color color = {0, 0, 0, 255}) const {
    +
    361  ::DrawCircleV(*this, radius, color);
    +
    362  }
    +
    363 
    +
    364  void DrawRectangle(::Vector2 size, ::Color color = {0, 0, 0, 255}) const {
    +
    365  ::DrawRectangleV(*this, size, color);
    +
    366  }
    +
    367 
    +
    368  void DrawPoly(int sides, float radius, float rotation, ::Color color = {0, 0, 0, 255}) const {
    +
    369  ::DrawPoly(*this, sides, radius, rotation, color);
    +
    370  }
    +
    371 
    +
    375  bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const {
    +
    376  return ::CheckCollisionCircles(*this, radius1, center2, radius2);
    +
    377  }
    +
    378 
    +
    382  bool CheckCollisionCircle(float radius, ::Rectangle rec) const {
    +
    383  return ::CheckCollisionCircleRec(*this, radius, rec);
    +
    384  }
    +
    385 
    +
    389  bool CheckCollision(::Rectangle rec) const {
    +
    390  return ::CheckCollisionPointRec(*this, rec);
    +
    391  }
    +
    392 
    +
    396  bool CheckCollision(::Vector2 center, float radius) const {
    +
    397  return ::CheckCollisionPointCircle(*this, center, radius);
    +
    398  }
    +
    399 
    +
    403  bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const {
    +
    404  return ::CheckCollisionPointTriangle(*this, p1, p2, p3);
    +
    405  }
    +
    406 
    + +
    411  ::Vector2 endPos1,
    +
    412  ::Vector2 startPos2, ::Vector2 endPos2,
    +
    413  ::Vector2 *collisionPoint) const {
    +
    414  return ::CheckCollisionLines(*this, endPos1, startPos2, endPos2, collisionPoint);
    +
    415  }
    +
    416 
    +
    420  bool CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold = 1) const {
    +
    421  return ::CheckCollisionPointLine(*this, p1, p2, threshold);
    +
    422  }
    +
    423 
    +
    424  protected:
    +
    425  void set(const ::Vector2& vec) {
    +
    426  x = vec.x;
    +
    427  y = vec.y;
    +
    428  }
    +
    429 };
    +
    430 
    +
    431 } // namespace raylib
    +
    432 
    +
    433 using RVector2 = raylib::Vector2;
    +
    434 
    +
    435 #endif // RAYLIB_CPP_INCLUDE_VECTOR2_HPP_
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    Matrix type (OpenGL style 4x4 - right handed, column major)
    Definition: Matrix.hpp:16
    Rectangle type.
    Definition: Rectangle.hpp:12
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    -
    int Equals(::Vector2 q)
    Check whether two given vectors are almost equal.
    Definition: Vector2.hpp:270
    -
    bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
    Check if point is inside a triangle.
    Definition: Vector2.hpp:404
    -
    Vector2 MoveTowards(const ::Vector2 &target, float maxDistance) const
    Move Vector towards target.
    Definition: Vector2.hpp:242
    -
    bool CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold=1)
    Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels...
    Definition: Vector2.hpp:421
    -
    Vector2 Subtract(const ::Vector2 &vector2) const
    Subtract two vectors (v1 - v2)
    Definition: Vector2.hpp:77
    -
    Vector2 operator*(const float scale) const
    Scale vector (multiply by value)
    Definition: Vector2.hpp:144
    -
    bool CheckCollision(::Rectangle rec) const
    Check if point is inside rectangle.
    Definition: Vector2.hpp:390
    -
    Vector2 & operator*=(const float scale)
    Scale vector (multiply by value)
    Definition: Vector2.hpp:151
    -
    Vector2 Lerp(const ::Vector2 &vector2, float amount) const
    Calculate linear interpolation between two vectors.
    Definition: Vector2.hpp:221
    -
    Vector2 Invert()
    Invert the given vector.
    Definition: Vector2.hpp:249
    -
    float Length() const
    Calculate vector length.
    Definition: Vector2.hpp:277
    -
    float DotProduct(const ::Vector2 &vector2) const
    Calculate two vectors dot product.
    Definition: Vector2.hpp:291
    -
    Vector2 Rotate(float degrees) const
    Rotate Vector by float in Degrees.
    Definition: Vector2.hpp:235
    -
    float LengthSqr() const
    Calculate vector square length.
    Definition: Vector2.hpp:284
    -
    Vector2 Clamp(::Vector2 min, ::Vector2 max)
    Clamp the components of the vector between.
    Definition: Vector2.hpp:256
    -
    Vector2 & operator*=(const ::Vector2 &vector2)
    Multiply vector by vector.
    Definition: Vector2.hpp:128
    -
    Vector2 & operator-=(const ::Vector2 &vector2)
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:91
    -
    float Distance(const ::Vector2 &vector2) const
    Calculate distance between two vectors.
    Definition: Vector2.hpp:298
    -
    Vector2 Clamp(float min, float max)
    // Clamp the magnitude of the vector between two min and max values
    Definition: Vector2.hpp:263
    -
    bool CheckCollision(::Vector2 center, float radius) const
    Check if point is inside circle.
    Definition: Vector2.hpp:397
    -
    Vector2 Divide(const ::Vector2 &vector2) const
    Divide vector by vector.
    Definition: Vector2.hpp:160
    -
    bool CheckCollisionCircle(float radius, ::Rectangle rec) const
    Check collision between circle and rectangle.
    Definition: Vector2.hpp:383
    -
    static Vector2 Zero()
    Vector with components value 0.0f.
    Definition: Vector2.hpp:319
    -
    void DrawCircle(float radius, ::Color color={0, 0, 0, 255}) const
    Draw a color-filled circle (Vector version)
    Definition: Vector2.hpp:361
    -
    bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const
    Check collision between two circles.
    Definition: Vector2.hpp:376
    -
    Vector2 Reflect(const ::Vector2 &normal) const
    Calculate reflected vector to normal.
    Definition: Vector2.hpp:228
    -
    Vector2 & operator/=(const float div)
    Divide vector by value.
    Definition: Vector2.hpp:197
    -
    Vector2 Multiply(const ::Vector2 &vector2) const
    Multiply vector by vector.
    Definition: Vector2.hpp:114
    -
    Vector2 operator+(const ::Vector2 &vector2) const
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:61
    -
    Vector2 operator/(const ::Vector2 &vector2) const
    Divide vector by vector.
    Definition: Vector2.hpp:167
    -
    bool operator==(const ::Vector2 &other)
    Determine whether or not the vectors are equal.
    Definition: Vector2.hpp:38
    -
    Vector2 & operator/=(const ::Vector2 &vector2)
    Divide vector by vector.
    Definition: Vector2.hpp:174
    -
    Vector2 Negate() const
    Negate vector.
    Definition: Vector2.hpp:100
    -
    Vector2 Scale(const float scale) const
    Scale vector (multiply by value)
    Definition: Vector2.hpp:137
    -
    Vector2 Add(const ::Vector2 &vector2) const
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:54
    -
    Vector2 operator*(const ::Vector2 &vector2) const
    Multiply vector by vector.
    Definition: Vector2.hpp:121
    -
    Vector2 operator/(const float div) const
    Divide vector by value.
    Definition: Vector2.hpp:190
    -
    Vector2 & operator+=(const ::Vector2 &vector2)
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:68
    -
    bool CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
    Check the collision between two lines defined by two points each, returns collision point by referenc...
    Definition: Vector2.hpp:411
    -
    static Vector2 One()
    Vector with components value 1.0f.
    Definition: Vector2.hpp:326
    -
    float DistanceSqr(::Vector2 v2)
    Calculate square distance between two vectors.
    Definition: Vector2.hpp:305
    -
    bool operator!=(const ::Vector2 &other)
    Determines if the vectors are not equal.
    Definition: Vector2.hpp:46
    -
    Vector2 Normalize() const
    Normalize provided vector.
    Definition: Vector2.hpp:207
    -
    Vector2 operator-() const
    Negate vector.
    Definition: Vector2.hpp:107
    -
    Vector2 operator-(const ::Vector2 &vector2) const
    Subtract two vectors (v1 - v2)
    Definition: Vector2.hpp:84
    -
    float Angle(const ::Vector2 &vector2) const
    Calculate angle from two vectors in X-axis.
    Definition: Vector2.hpp:312
    -
    void DrawLineBezierQuad(::Vector2 endPos, ::Vector2 controlPos, float thick, ::Color color={0, 0, 0, 255}) const
    Draw line using quadratic bezier curves with a control point.
    Definition: Vector2.hpp:350
    -
    Vector2 Transform(::Matrix mat)
    Transforms a Vector2 by a given Matrix.
    Definition: Vector2.hpp:214
    -
    Vector2 Divide(const float div) const
    Divide vector by value.
    Definition: Vector2.hpp:183
    +
    Vector2 type.
    Definition: Vector2.hpp:18
    +
    bool operator==(const ::Vector2 &other) const
    Determine whether or not the vectors are equal.
    Definition: Vector2.hpp:40
    +
    bool CheckCollision(::Vector2 p1, ::Vector2 p2, ::Vector2 p3) const
    Check if point is inside a triangle.
    Definition: Vector2.hpp:403
    +
    Vector2 MoveTowards(const ::Vector2 &target, float maxDistance) const
    Move Vector towards target.
    Definition: Vector2.hpp:252
    +
    Vector2 Subtract(const ::Vector2 &vector2) const
    Subtract two vectors (v1 - v2)
    Definition: Vector2.hpp:87
    +
    Vector2 Clamp(::Vector2 min, ::Vector2 max) const
    Clamp the components of the vector between.
    Definition: Vector2.hpp:266
    +
    Vector2 operator*(const float scale) const
    Scale vector (multiply by value)
    Definition: Vector2.hpp:154
    +
    bool CheckCollision(::Rectangle rec) const
    Check if point is inside rectangle.
    Definition: Vector2.hpp:389
    +
    Vector2 & operator*=(const float scale)
    Scale vector (multiply by value)
    Definition: Vector2.hpp:161
    +
    bool operator!=(const ::Vector2 &other) const
    Determines if the vectors are not equal.
    Definition: Vector2.hpp:48
    +
    Vector2 Lerp(const ::Vector2 &vector2, float amount) const
    Calculate linear interpolation between two vectors.
    Definition: Vector2.hpp:231
    +
    float Length() const
    Calculate vector length.
    Definition: Vector2.hpp:287
    +
    float DotProduct(const ::Vector2 &vector2) const
    Calculate two vectors dot product.
    Definition: Vector2.hpp:301
    +
    float LengthSqr() const
    Calculate vector square length.
    Definition: Vector2.hpp:294
    +
    Vector2 & operator*=(const ::Vector2 &vector2)
    Multiply vector by vector.
    Definition: Vector2.hpp:138
    +
    float DistanceSqr(::Vector2 v2) const
    Calculate square distance between two vectors.
    Definition: Vector2.hpp:315
    +
    Vector2 & operator-=(const ::Vector2 &vector2)
    Subtract two vectors (v1 - v2)
    Definition: Vector2.hpp:101
    +
    float Distance(const ::Vector2 &vector2) const
    Calculate distance between two vectors.
    Definition: Vector2.hpp:308
    +
    Vector2 Clamp(float min, float max) const
    // Clamp the magnitude of the vector between two min and max values
    Definition: Vector2.hpp:273
    +
    bool CheckCollision(::Vector2 center, float radius) const
    Check if point is inside circle.
    Definition: Vector2.hpp:396
    +
    Vector2 Divide(const ::Vector2 &vector2) const
    Divide vector by vector.
    Definition: Vector2.hpp:170
    +
    bool CheckCollisionCircle(float radius, ::Rectangle rec) const
    Check collision between circle and rectangle.
    Definition: Vector2.hpp:382
    +
    static Vector2 Zero()
    Vector with components value 0.0f.
    Definition: Vector2.hpp:329
    +
    void DrawCircle(float radius, ::Color color={0, 0, 0, 255}) const
    Draw a color-filled circle (Vector version)
    Definition: Vector2.hpp:360
    +
    bool CheckCollisionCircle(float radius1, ::Vector2 center2, float radius2) const
    Check collision between two circles.
    Definition: Vector2.hpp:375
    +
    Vector2 Reflect(const ::Vector2 &normal) const
    Calculate reflected vector to normal.
    Definition: Vector2.hpp:238
    +
    Vector2 & operator/=(const float div)
    Divide vector by value.
    Definition: Vector2.hpp:207
    +
    Vector2 Multiply(const ::Vector2 &vector2) const
    Multiply vector by vector.
    Definition: Vector2.hpp:124
    +
    Vector2 operator+(const ::Vector2 &vector2) const
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:71
    +
    Vector2 operator/(const ::Vector2 &vector2) const
    Divide vector by vector.
    Definition: Vector2.hpp:177
    +
    Vector2 & operator/=(const ::Vector2 &vector2)
    Divide vector by vector.
    Definition: Vector2.hpp:184
    +
    Vector2 Negate() const
    Negate vector.
    Definition: Vector2.hpp:110
    +
    Vector2 Scale(const float scale) const
    Scale vector (multiply by value)
    Definition: Vector2.hpp:147
    +
    Vector2 Add(const ::Vector2 &vector2) const
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:64
    +
    Vector2 operator*(const ::Vector2 &vector2) const
    Multiply vector by vector.
    Definition: Vector2.hpp:131
    +
    Vector2 operator/(const float div) const
    Divide vector by value.
    Definition: Vector2.hpp:200
    +
    Vector2 Invert() const
    Invert the given vector.
    Definition: Vector2.hpp:259
    +
    Vector2 & operator+=(const ::Vector2 &vector2)
    Add two vectors (v1 + v2)
    Definition: Vector2.hpp:78
    +
    Vector2 Rotate(float angle) const
    Rotate Vector by float in radians.
    Definition: Vector2.hpp:245
    +
    bool CheckCollisionPointLine(::Vector2 p1, ::Vector2 p2, int threshold=1) const
    Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels...
    Definition: Vector2.hpp:420
    +
    Vector2 Transform(::Matrix mat) const
    Transforms a Vector2 by a given Matrix.
    Definition: Vector2.hpp:224
    +
    bool CheckCollisionLines(::Vector2 endPos1, ::Vector2 startPos2, ::Vector2 endPos2, ::Vector2 *collisionPoint) const
    Check the collision between two lines defined by two points each, returns collision point by referenc...
    Definition: Vector2.hpp:410
    +
    static Vector2 One()
    Vector with components value 1.0f.
    Definition: Vector2.hpp:336
    +
    int Equals(::Vector2 q) const
    Check whether two given vectors are almost equal.
    Definition: Vector2.hpp:280
    +
    Vector2 Normalize() const
    Normalize provided vector.
    Definition: Vector2.hpp:217
    +
    Vector2 operator-() const
    Negate vector.
    Definition: Vector2.hpp:117
    +
    Vector2 operator-(const ::Vector2 &vector2) const
    Subtract two vectors (v1 - v2)
    Definition: Vector2.hpp:94
    +
    float Angle(const ::Vector2 &vector2) const
    Calculate angle from two vectors in X-axis.
    Definition: Vector2.hpp:322
    +
    Vector2 Divide(const float div) const
    Divide vector by value.
    Definition: Vector2.hpp:193
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_vector3_8hpp_source.html b/_vector3_8hpp_source.html index f35b0ebc..ef537c2c 100644 --- a/_vector3_8hpp_source.html +++ b/_vector3_8hpp_source.html @@ -79,301 +79,324 @@
    5 #include <cmath>
    6 #endif
    7 
    -
    8 #include "./raylib.hpp"
    -
    9 #include "./raymath.hpp"
    -
    10 #include "./raylib-cpp-utils.hpp"
    -
    11 
    -
    12 namespace raylib {
    -
    16 class Vector3 : public ::Vector3 {
    -
    17  public:
    -
    18  Vector3(const ::Vector3& vec) : ::Vector3{vec.x, vec.y, vec.z} {}
    -
    19 
    -
    20  Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
    -
    21  Vector3(float x, float y) : ::Vector3{x, y, 0} {}
    -
    22  Vector3(float x) : ::Vector3{x, 0, 0} {}
    -
    23  Vector3() {}
    -
    24 
    -
    25  Vector3(::Color color) {
    -
    26  set(ColorToHSV(color));
    -
    27  }
    -
    28 
    -
    29  GETTERSETTER(float, X, x)
    -
    30  GETTERSETTER(float, Y, y)
    -
    31  GETTERSETTER(float, Z, z)
    -
    32 
    -
    33  Vector3& operator=(const ::Vector3& vector3) {
    -
    34  set(vector3);
    -
    35  return *this;
    -
    36  }
    -
    37 
    -
    38  bool operator==(const ::Vector3& other) {
    -
    39  return x == other.x
    -
    40  && y == other.y
    -
    41  && z == other.z;
    -
    42  }
    -
    43 
    -
    44  bool operator!=(const ::Vector3& other) {
    -
    45  return !(*this == other);
    -
    46  }
    -
    47 
    -
    48 #ifndef RAYLIB_CPP_NO_MATH
    -
    52  inline Vector3 Add(const ::Vector3& vector3) {
    -
    53  return Vector3Add(*this, vector3);
    -
    54  }
    -
    55 
    -
    59  inline Vector3 operator+(const ::Vector3& vector3) {
    -
    60  return Vector3Add(*this, vector3);
    -
    61  }
    -
    62 
    -
    63  Vector3& operator+=(const ::Vector3& vector3) {
    -
    64  set(Vector3Add(*this, vector3));
    +
    8 #include <string>
    +
    9 
    +
    10 #include "./raylib.hpp"
    +
    11 #include "./raymath.hpp"
    +
    12 #include "./raylib-cpp-utils.hpp"
    +
    13 
    +
    14 namespace raylib {
    +
    18 class Vector3 : public ::Vector3 {
    +
    19  public:
    +
    20  Vector3(const ::Vector3& vec) : ::Vector3{vec.x, vec.y, vec.z} {}
    +
    21 
    +
    22  Vector3(float x, float y, float z) : ::Vector3{x, y, z} {}
    +
    23  Vector3(float x, float y) : ::Vector3{x, y, 0} {}
    +
    24  Vector3(float x) : ::Vector3{x, 0, 0} {}
    +
    25  Vector3() {}
    +
    26 
    +
    27  Vector3(::Color color) {
    +
    28  set(ColorToHSV(color));
    +
    29  }
    +
    30 
    +
    31  GETTERSETTER(float, X, x)
    +
    32  GETTERSETTER(float, Y, y)
    +
    33  GETTERSETTER(float, Z, z)
    +
    34 
    +
    35  Vector3& operator=(const ::Vector3& vector3) {
    +
    36  set(vector3);
    +
    37  return *this;
    +
    38  }
    +
    39 
    +
    40  bool operator==(const ::Vector3& other) const {
    +
    41  return x == other.x
    +
    42  && y == other.y
    +
    43  && z == other.z;
    +
    44  }
    +
    45 
    +
    46  bool operator!=(const ::Vector3& other) const {
    +
    47  return !(*this == other);
    +
    48  }
    +
    49 
    +
    50  std::string ToString() const {
    +
    51  return TextFormat("Vector3(%f, %f, %f)", x, y, z);
    +
    52  }
    +
    53 
    +
    54  operator std::string() const {
    +
    55  return ToString();
    +
    56  }
    +
    57 
    +
    58 #ifndef RAYLIB_CPP_NO_MATH
    +
    62  Vector3 Add(const ::Vector3& vector3) const {
    +
    63  return Vector3Add(*this, vector3);
    +
    64  }
    65 
    -
    66  return *this;
    -
    67  }
    -
    68 
    -
    72  inline Vector3 Subtract(const ::Vector3& vector3) {
    -
    73  return Vector3Subtract(*this, vector3);
    -
    74  }
    +
    69  Vector3 operator+(const ::Vector3& vector3) const {
    +
    70  return Vector3Add(*this, vector3);
    +
    71  }
    +
    72 
    +
    73  Vector3& operator+=(const ::Vector3& vector3) {
    +
    74  set(Vector3Add(*this, vector3));
    75 
    -
    79  inline Vector3 operator-(const ::Vector3& vector3) {
    -
    80  return Vector3Subtract(*this, vector3);
    -
    81  }
    -
    82 
    -
    83  Vector3& operator-=(const ::Vector3& vector3) {
    -
    84  set(Vector3Subtract(*this, vector3));
    +
    76  return *this;
    +
    77  }
    +
    78 
    +
    82  Vector3 Subtract(const ::Vector3& vector3) const {
    +
    83  return Vector3Subtract(*this, vector3);
    +
    84  }
    85 
    -
    86  return *this;
    -
    87  }
    -
    88 
    -
    92  inline Vector3 Negate() {
    -
    93  return Vector3Negate(*this);
    -
    94  }
    +
    89  Vector3 operator-(const ::Vector3& vector3) const {
    +
    90  return Vector3Subtract(*this, vector3);
    +
    91  }
    +
    92 
    +
    93  Vector3& operator-=(const ::Vector3& vector3) {
    +
    94  set(Vector3Subtract(*this, vector3));
    95 
    -
    99  inline Vector3 operator-() {
    -
    100  return Vector3Negate(*this);
    -
    101  }
    -
    102 
    -
    106  inline Vector3 Multiply(const ::Vector3& vector3) const {
    -
    107  return Vector3Multiply(*this, vector3);
    -
    108  }
    -
    109 
    -
    113  inline Vector3 operator*(const ::Vector3& vector3) const {
    -
    114  return Vector3Multiply(*this, vector3);
    -
    115  }
    -
    116 
    -
    120  Vector3& operator*=(const ::Vector3& vector3) {
    -
    121  set(Vector3Multiply(*this, vector3));
    -
    122 
    -
    123  return *this;
    -
    124  }
    -
    125 
    -
    129  inline Vector3 Scale(const float scaler) const {
    -
    130  return Vector3Scale(*this, scaler);
    -
    131  }
    +
    96  return *this;
    +
    97  }
    +
    98 
    +
    102  Vector3 Negate() const {
    +
    103  return Vector3Negate(*this);
    +
    104  }
    +
    105 
    +
    109  Vector3 operator-() const {
    +
    110  return Vector3Negate(*this);
    +
    111  }
    +
    112 
    +
    116  Vector3 Multiply(const ::Vector3& vector3) const {
    +
    117  return Vector3Multiply(*this, vector3);
    +
    118  }
    +
    119 
    +
    123  Vector3 operator*(const ::Vector3& vector3) const {
    +
    124  return Vector3Multiply(*this, vector3);
    +
    125  }
    +
    126 
    +
    130  Vector3& operator*=(const ::Vector3& vector3) {
    +
    131  set(Vector3Multiply(*this, vector3));
    132 
    -
    136  inline Vector3 operator*(const float scaler) const {
    -
    137  return Vector3Scale(*this, scaler);
    -
    138  }
    -
    139 
    -
    143  Vector3& operator*=(const float scaler) {
    -
    144  set(Vector3Scale(*this, scaler));
    -
    145 
    -
    146  return *this;
    -
    147  }
    -
    148 
    -
    152  inline Vector3 Divide(const ::Vector3& vector3) const {
    -
    153  return Vector3Divide(*this, vector3);
    -
    154  }
    +
    133  return *this;
    +
    134  }
    +
    135 
    +
    139  Vector3 Scale(const float scaler) const {
    +
    140  return Vector3Scale(*this, scaler);
    +
    141  }
    +
    142 
    +
    146  Vector3 operator*(const float scaler) const {
    +
    147  return Vector3Scale(*this, scaler);
    +
    148  }
    +
    149 
    +
    153  Vector3& operator*=(const float scaler) {
    +
    154  set(Vector3Scale(*this, scaler));
    155 
    -
    159  inline Vector3 operator/(const ::Vector3& vector3) const {
    -
    160  return Vector3Divide(*this, vector3);
    -
    161  }
    -
    162 
    -
    166  Vector3& operator/=(const ::Vector3& vector3) {
    -
    167  x /= vector3.x;
    -
    168  y /= vector3.y;
    -
    169  z /= vector3.z;
    -
    170 
    -
    171  return *this;
    -
    172  }
    -
    173 
    -
    177  inline Vector3 Divide(const float div) const {
    -
    178  return ::Vector3{x / div, y / div, z / div};
    -
    179  }
    +
    156  return *this;
    +
    157  }
    +
    158 
    +
    162  Vector3 Divide(const ::Vector3& vector3) const {
    +
    163  return Vector3Divide(*this, vector3);
    +
    164  }
    +
    165 
    +
    169  Vector3 operator/(const ::Vector3& vector3) const {
    +
    170  return Vector3Divide(*this, vector3);
    +
    171  }
    +
    172 
    +
    176  Vector3& operator/=(const ::Vector3& vector3) {
    +
    177  x /= vector3.x;
    +
    178  y /= vector3.y;
    +
    179  z /= vector3.z;
    180 
    -
    184  inline Vector3 operator/(const float div) const {
    -
    185  return Divide(div);
    -
    186  }
    -
    187 
    -
    191  Vector3& operator/=(const float div) {
    -
    192  x /= div;
    -
    193  y /= div;
    -
    194  z /= div;
    -
    195 
    -
    196  return *this;
    -
    197  }
    -
    198 
    -
    202  inline float Length() const {
    -
    203  return Vector3Length(*this);
    -
    204  }
    +
    181  return *this;
    +
    182  }
    +
    183 
    +
    187  Vector3 Divide(const float div) const {
    +
    188  return ::Vector3{x / div, y / div, z / div};
    +
    189  }
    +
    190 
    +
    194  Vector3 operator/(const float div) const {
    +
    195  return Divide(div);
    +
    196  }
    +
    197 
    +
    201  Vector3& operator/=(const float div) {
    +
    202  x /= div;
    +
    203  y /= div;
    +
    204  z /= div;
    205 
    -
    206  inline Vector3 Normalize() const {
    -
    207  return Vector3Normalize(*this);
    -
    208  }
    -
    209 
    -
    210  inline float DotProduct(const ::Vector3& vector3) {
    -
    211  return Vector3DotProduct(*this, vector3);
    -
    212  }
    -
    213 
    -
    214  inline float Distance(const ::Vector3& vector3) const {
    -
    215  return Vector3Distance(*this, vector3);
    -
    216  }
    -
    217 
    -
    218  inline Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
    -
    219  return Vector3Lerp(*this, vector3, amount);
    -
    220  }
    -
    221 
    -
    222  inline Vector3 CrossProduct(const ::Vector3& vector3) const {
    -
    223  return Vector3CrossProduct(*this, vector3);
    -
    224  }
    -
    225 
    -
    226  inline Vector3 Perpendicular() const {
    -
    227  return Vector3Perpendicular(*this);
    -
    228  }
    -
    229 
    -
    230  inline void OrthoNormalize(::Vector3* vector3) {
    -
    231  Vector3OrthoNormalize(this, vector3);
    -
    232  }
    -
    233 
    -
    234  inline Vector3 Transform(const ::Matrix& matrix) const {
    -
    235  return Vector3Transform(*this, matrix);
    -
    236  }
    -
    237 
    -
    238  inline Vector3 RotateByQuaternion(const ::Quaternion& quaternion) {
    -
    239  return Vector3RotateByQuaternion(*this, quaternion);
    -
    240  }
    -
    241 
    -
    242  inline Vector3 Reflect(const ::Vector3& normal) const {
    -
    243  return Vector3Reflect(*this, normal);
    -
    244  }
    -
    245 
    -
    246  inline Vector3 Min(const ::Vector3& vector3) {
    -
    247  return Vector3Min(*this, vector3);
    -
    248  }
    -
    249 
    -
    250  inline Vector3 Max(const ::Vector3& vector3) {
    -
    251  return Vector3Max(*this, vector3);
    -
    252  }
    -
    253 
    -
    254  inline Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) {
    -
    255  return Vector3Barycenter(*this, a, b, c);
    -
    256  }
    -
    257 
    -
    258  static inline Vector3 Zero() {
    -
    259  return Vector3Zero();
    -
    260  }
    -
    261 
    -
    262  static inline Vector3 One() {
    -
    263  return Vector3One();
    -
    264  }
    -
    265 #endif
    +
    206  return *this;
    +
    207  }
    +
    208 
    +
    212  float Length() const {
    +
    213  return Vector3Length(*this);
    +
    214  }
    +
    215 
    +
    219  float LengthSqr() const {
    +
    220  return Vector3LengthSqr(*this);
    +
    221  }
    +
    222 
    +
    223  Vector3 Normalize() const {
    +
    224  return Vector3Normalize(*this);
    +
    225  }
    +
    226 
    +
    227  float DotProduct(const ::Vector3& vector3) const {
    +
    228  return Vector3DotProduct(*this, vector3);
    +
    229  }
    +
    230 
    +
    231  float Distance(const ::Vector3& vector3) const {
    +
    232  return Vector3Distance(*this, vector3);
    +
    233  }
    +
    234 
    +
    235  Vector3 Lerp(const ::Vector3& vector3, const float amount) const {
    +
    236  return Vector3Lerp(*this, vector3, amount);
    +
    237  }
    +
    238 
    +
    239  Vector3 CrossProduct(const ::Vector3& vector3) const {
    +
    240  return Vector3CrossProduct(*this, vector3);
    +
    241  }
    +
    242 
    +
    243  Vector3 Perpendicular() const {
    +
    244  return Vector3Perpendicular(*this);
    +
    245  }
    +
    246 
    +
    247  Vector3 Project(const ::Vector3& vector3) const {
    +
    248  return Vector3Project(*this, vector3);
    +
    249  }
    +
    250 
    +
    251  Vector3 Reject(const ::Vector3& vector3) const {
    +
    252  return Vector3Reject(*this, vector3);
    +
    253  }
    +
    254 
    +
    255  void OrthoNormalize(::Vector3* vector3) {
    +
    256  Vector3OrthoNormalize(this, vector3);
    +
    257  }
    +
    258 
    +
    259  Vector3 Transform(const ::Matrix& matrix) const {
    +
    260  return Vector3Transform(*this, matrix);
    +
    261  }
    +
    262 
    +
    263  Vector3 RotateByQuaternion(const ::Quaternion& quaternion) const {
    +
    264  return Vector3RotateByQuaternion(*this, quaternion);
    +
    265  }
    266 
    -
    267  inline void DrawLine3D(const ::Vector3& endPos, ::Color color) const {
    -
    268  ::DrawLine3D(*this, endPos, color);
    +
    267  Vector3 Reflect(const ::Vector3& normal) const {
    +
    268  return Vector3Reflect(*this, normal);
    269  }
    270 
    -
    271  inline void DrawPoint3D(::Color color) const {
    -
    272  ::DrawPoint3D(*this, color);
    +
    271  Vector3 Min(const ::Vector3& vector3) const {
    +
    272  return Vector3Min(*this, vector3);
    273  }
    274 
    -
    275  inline void DrawCircle3D(
    -
    276  float radius,
    -
    277  const ::Vector3& rotationAxis,
    -
    278  float rotationAngle,
    -
    279  Color color) const {
    -
    280  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
    +
    275  Vector3 Max(const ::Vector3& vector3) const {
    +
    276  return Vector3Max(*this, vector3);
    +
    277  }
    +
    278 
    +
    279  Vector3 Barycenter(const ::Vector3& a, const ::Vector3& b, const ::Vector3& c) const {
    +
    280  return Vector3Barycenter(*this, a, b, c);
    281  }
    282 
    -
    283  inline void DrawCube(float width, float height, float length, ::Color color) const {
    -
    284  ::DrawCube(*this, width, height, length, color);
    +
    283  static Vector3 Zero() {
    +
    284  return Vector3Zero();
    285  }
    286 
    -
    287  inline void DrawCube(const ::Vector3& size, ::Color color) const {
    -
    288  ::DrawCubeV(*this, size, color);
    +
    287  static Vector3 One() {
    +
    288  return Vector3One();
    289  }
    -
    290 
    -
    291  inline void DrawCubeWires(float width, float height, float length, ::Color color) const {
    -
    292  ::DrawCubeWires(*this, width, height, length, color);
    -
    293  }
    -
    294 
    -
    295  inline void DrawCubeWires(const ::Vector3& size, ::Color color) const {
    -
    296  ::DrawCubeWiresV(*this, size, color);
    -
    297  }
    -
    298 
    -
    299  inline void DrawSphere(float radius, ::Color color) const {
    -
    300  ::DrawSphere(*this, radius, color);
    -
    301  }
    -
    302 
    -
    303  inline void DrawSphere(float radius, int rings, int slices, ::Color color) const {
    -
    304  ::DrawSphereEx(*this, radius, rings, slices, color);
    -
    305  }
    -
    306 
    -
    307  inline void DrawSphereWires(float radius, int rings, int slices, ::Color color) const {
    -
    308  ::DrawSphereWires(*this, radius, rings, slices, color);
    -
    309  }
    -
    310 
    -
    311  inline void DrawCylinder(float radiusTop, float radiusBottom, float height,
    -
    312  int slices, ::Color color) const {
    -
    313  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
    +
    290 #endif
    +
    291 
    +
    292  void DrawLine3D(const ::Vector3& endPos, ::Color color) const {
    +
    293  ::DrawLine3D(*this, endPos, color);
    +
    294  }
    +
    295 
    +
    296  void DrawPoint3D(::Color color) const {
    +
    297  ::DrawPoint3D(*this, color);
    +
    298  }
    +
    299 
    +
    300  void DrawCircle3D(
    +
    301  float radius,
    +
    302  const ::Vector3& rotationAxis,
    +
    303  float rotationAngle,
    +
    304  Color color) const {
    +
    305  ::DrawCircle3D(*this, radius, rotationAxis, rotationAngle, color);
    +
    306  }
    +
    307 
    +
    308  void DrawCube(float width, float height, float length, ::Color color) const {
    +
    309  ::DrawCube(*this, width, height, length, color);
    +
    310  }
    +
    311 
    +
    312  void DrawCube(const ::Vector3& size, ::Color color) const {
    +
    313  ::DrawCubeV(*this, size, color);
    314  }
    315 
    -
    316  inline void DrawCylinderWires(float radiusTop, float radiusBottom, float height,
    -
    317  int slices, ::Color color) const {
    -
    318  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
    -
    319  }
    -
    320 
    -
    321  inline void DrawPlane(const ::Vector2& size, ::Color color) const {
    -
    322  ::DrawPlane(*this, size, color);
    -
    323  }
    -
    324 
    -
    328  inline bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) {
    -
    329  return CheckCollisionSpheres(*this, radius1, center2, radius2);
    +
    316  void DrawCubeWires(float width, float height, float length, ::Color color) const {
    +
    317  ::DrawCubeWires(*this, width, height, length, color);
    +
    318  }
    +
    319 
    +
    320  void DrawCubeWires(const ::Vector3& size, ::Color color) const {
    +
    321  ::DrawCubeWiresV(*this, size, color);
    +
    322  }
    +
    323 
    +
    324  void DrawSphere(float radius, ::Color color) const {
    +
    325  ::DrawSphere(*this, radius, color);
    +
    326  }
    +
    327 
    +
    328  void DrawSphere(float radius, int rings, int slices, ::Color color) const {
    +
    329  ::DrawSphereEx(*this, radius, rings, slices, color);
    330  }
    331 
    -
    332  private:
    -
    333  void set(const ::Vector3& vec) {
    -
    334  x = vec.x;
    -
    335  y = vec.y;
    -
    336  z = vec.z;
    -
    337  }
    -
    338 };
    -
    339 } // namespace raylib
    +
    332  void DrawSphereWires(float radius, int rings, int slices, ::Color color) const {
    +
    333  ::DrawSphereWires(*this, radius, rings, slices, color);
    +
    334  }
    +
    335 
    +
    336  void DrawCylinder(float radiusTop, float radiusBottom, float height,
    +
    337  int slices, ::Color color) const {
    +
    338  ::DrawCylinder(*this, radiusTop, radiusBottom, height, slices, color);
    +
    339  }
    340 
    -
    341 using RVector3 = raylib::Vector3;
    -
    342 
    -
    343 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    +
    341  void DrawCylinderWires(float radiusTop, float radiusBottom, float height,
    +
    342  int slices, ::Color color) const {
    +
    343  ::DrawCylinderWires(*this, radiusTop, radiusBottom, height, slices, color);
    +
    344  }
    +
    345 
    +
    346  void DrawPlane(const ::Vector2& size, ::Color color) const {
    +
    347  ::DrawPlane(*this, size, color);
    +
    348  }
    +
    349 
    +
    353  bool CheckCollision(float radius1, const ::Vector3& center2, float radius2) const {
    +
    354  return CheckCollisionSpheres(*this, radius1, center2, radius2);
    +
    355  }
    +
    356 
    +
    357  protected:
    +
    358  void set(const ::Vector3& vec) {
    +
    359  x = vec.x;
    +
    360  y = vec.y;
    +
    361  z = vec.z;
    +
    362  }
    +
    363 };
    +
    364 } // namespace raylib
    +
    365 
    +
    366 using RVector3 = raylib::Vector3;
    +
    367 
    +
    368 #endif // RAYLIB_CPP_INCLUDE_VECTOR3_HPP_
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    Vector3 operator/(const ::Vector3 &vector3) const
    Divide vector by vector.
    Definition: Vector3.hpp:159
    -
    Vector3 operator*(const ::Vector3 &vector3) const
    Multiply vector by vector.
    Definition: Vector3.hpp:113
    -
    Vector3 & operator/=(const ::Vector3 &vector3)
    Divide vector by vector.
    Definition: Vector3.hpp:166
    -
    Vector3 & operator*=(const ::Vector3 &vector3)
    Multiply vector by vector.
    Definition: Vector3.hpp:120
    -
    Vector3 operator/(const float div) const
    Divide a vector by a value.
    Definition: Vector3.hpp:184
    -
    Vector3 operator+(const ::Vector3 &vector3)
    Add two vectors.
    Definition: Vector3.hpp:59
    -
    Vector3 Negate()
    Negate provided vector (invert direction)
    Definition: Vector3.hpp:92
    -
    Vector3 Add(const ::Vector3 &vector3)
    Add two vectors.
    Definition: Vector3.hpp:52
    -
    bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2)
    Detect collision between two spheres.
    Definition: Vector3.hpp:328
    -
    Vector3 Scale(const float scaler) const
    Multiply vector by scalar.
    Definition: Vector3.hpp:129
    -
    Vector3 operator-(const ::Vector3 &vector3)
    Subtract two vectors.
    Definition: Vector3.hpp:79
    -
    float Length() const
    Calculate vector length.
    Definition: Vector3.hpp:202
    -
    Vector3 Divide(const ::Vector3 &vector3) const
    Divide vector by vector.
    Definition: Vector3.hpp:152
    -
    Vector3 operator-()
    Negate provided vector (invert direction)
    Definition: Vector3.hpp:99
    -
    Vector3 Divide(const float div) const
    Divide a vector by a value.
    Definition: Vector3.hpp:177
    -
    Vector3 & operator/=(const float div)
    Divide a vector by a value.
    Definition: Vector3.hpp:191
    -
    Vector3 & operator*=(const float scaler)
    Multiply vector by scalar.
    Definition: Vector3.hpp:143
    -
    Vector3 Multiply(const ::Vector3 &vector3) const
    Multiply vector by vector.
    Definition: Vector3.hpp:106
    -
    Vector3 Subtract(const ::Vector3 &vector3)
    Subtract two vectors.
    Definition: Vector3.hpp:72
    -
    Vector3 operator*(const float scaler) const
    Multiply vector by scalar.
    Definition: Vector3.hpp:136
    +
    Vector3 type.
    Definition: Vector3.hpp:18
    +
    Vector3 operator/(const ::Vector3 &vector3) const
    Divide vector by vector.
    Definition: Vector3.hpp:169
    +
    Vector3 Negate() const
    Negate provided vector (invert direction)
    Definition: Vector3.hpp:102
    +
    Vector3 operator-() const
    Negate provided vector (invert direction)
    Definition: Vector3.hpp:109
    +
    Vector3 operator*(const ::Vector3 &vector3) const
    Multiply vector by vector.
    Definition: Vector3.hpp:123
    +
    Vector3 & operator/=(const ::Vector3 &vector3)
    Divide vector by vector.
    Definition: Vector3.hpp:176
    +
    Vector3 & operator*=(const ::Vector3 &vector3)
    Multiply vector by vector.
    Definition: Vector3.hpp:130
    +
    Vector3 operator/(const float div) const
    Divide a vector by a value.
    Definition: Vector3.hpp:194
    +
    float LengthSqr() const
    Calculate vector square length.
    Definition: Vector3.hpp:219
    +
    Vector3 operator+(const ::Vector3 &vector3) const
    Add two vectors.
    Definition: Vector3.hpp:69
    +
    Vector3 Add(const ::Vector3 &vector3) const
    Add two vectors.
    Definition: Vector3.hpp:62
    +
    Vector3 Scale(const float scaler) const
    Multiply vector by scalar.
    Definition: Vector3.hpp:139
    +
    float Length() const
    Calculate vector length.
    Definition: Vector3.hpp:212
    +
    Vector3 Divide(const ::Vector3 &vector3) const
    Divide vector by vector.
    Definition: Vector3.hpp:162
    +
    Vector3 Divide(const float div) const
    Divide a vector by a value.
    Definition: Vector3.hpp:187
    +
    Vector3 Subtract(const ::Vector3 &vector3) const
    Subtract two vectors.
    Definition: Vector3.hpp:82
    +
    Vector3 & operator/=(const float div)
    Divide a vector by a value.
    Definition: Vector3.hpp:201
    +
    Vector3 & operator*=(const float scaler)
    Multiply vector by scalar.
    Definition: Vector3.hpp:153
    +
    Vector3 Multiply(const ::Vector3 &vector3) const
    Multiply vector by vector.
    Definition: Vector3.hpp:116
    +
    Vector3 operator-(const ::Vector3 &vector3) const
    Subtract two vectors.
    Definition: Vector3.hpp:89
    +
    bool CheckCollision(float radius1, const ::Vector3 &center2, float radius2) const
    Detect collision between two spheres.
    Definition: Vector3.hpp:353
    +
    Vector3 operator*(const float scaler) const
    Multiply vector by scalar.
    Definition: Vector3.hpp:146
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_vector4_8hpp_source.html b/_vector4_8hpp_source.html index 0676df9a..5b13d7cf 100644 --- a/_vector4_8hpp_source.html +++ b/_vector4_8hpp_source.html @@ -80,167 +80,178 @@
    6 #include <utility>
    7 #endif
    8 
    -
    9 #include "./raylib.hpp"
    -
    10 #include "./raymath.hpp"
    -
    11 #include "./raylib-cpp-utils.hpp"
    -
    12 
    -
    13 namespace raylib {
    -
    17 class Vector4 : public ::Vector4 {
    -
    18  public:
    -
    19  Vector4(const ::Vector4& vec) : ::Vector4{vec.x, vec.y, vec.z, vec.w} {}
    -
    20 
    -
    21  Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
    -
    22  Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
    -
    23  Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
    -
    24  Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
    -
    25  Vector4() : ::Vector4{0, 0, 0, 0} {}
    -
    26  Vector4(::Rectangle rectangle) : ::Vector4{rectangle.x, rectangle.y, rectangle.width, rectangle.height} {}
    -
    27 
    -
    28  Vector4(::Color color) {
    -
    29  set(ColorNormalize(color));
    -
    30  }
    -
    31 
    -
    32  GETTERSETTER(float, X, x)
    -
    33  GETTERSETTER(float, Y, y)
    -
    34  GETTERSETTER(float, Z, z)
    -
    35  GETTERSETTER(float, W, w)
    -
    36 
    -
    37  Vector4& operator=(const ::Vector4& vector4) {
    -
    38  set(vector4);
    -
    39  return *this;
    -
    40  }
    -
    41 
    -
    42  bool operator==(const ::Vector4& other) {
    -
    43  return x == other.x
    -
    44  && y == other.y
    -
    45  && z == other.z
    -
    46  && w == other.w;
    -
    47  }
    -
    48 
    -
    49  bool operator!=(const ::Vector4& other) {
    -
    50  return !(*this == other);
    -
    51  }
    -
    52 
    -
    53  inline ::Rectangle ToRectangle() {
    -
    54  return {x, y, z, w};
    -
    55  }
    -
    56 
    -
    57  operator ::Rectangle() const {
    -
    58  return {x, y, z, w};
    -
    59  }
    -
    60 
    -
    61 #ifndef RAYLIB_CPP_NO_MATH
    -
    62  inline Vector4 Multiply(const ::Vector4& vector4) const {
    -
    63  return QuaternionMultiply(*this, vector4);
    -
    64  }
    -
    65 
    -
    66  inline Vector4 operator*(const ::Vector4& vector4) const {
    -
    67  return QuaternionMultiply(*this, vector4);
    -
    68  }
    -
    69 
    -
    70  inline Vector4 Lerp(const ::Vector4& vector4, float amount) const {
    -
    71  return QuaternionLerp(*this, vector4, amount);
    -
    72  }
    -
    73 
    -
    74  inline Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
    -
    75  return QuaternionNlerp(*this, vector4, amount);
    -
    76  }
    -
    77 
    -
    78  inline Vector4 Slerp(const ::Vector4& vector4, float amount) const {
    -
    79  return QuaternionSlerp(*this, vector4, amount);
    -
    80  }
    -
    81 
    -
    82  inline Matrix ToMatrix() const {
    -
    83  return QuaternionToMatrix(*this);
    -
    84  }
    -
    85 
    -
    86  inline float Length() const {
    -
    87  return QuaternionLength(*this);
    -
    88  }
    -
    89 
    -
    90  inline Vector4 Normalize() const {
    -
    91  return QuaternionNormalize(*this);
    -
    92  }
    -
    93 
    -
    94  inline Vector4 Invert() const {
    -
    95  return QuaternionInvert(*this);
    -
    96  }
    -
    97 
    -
    98  inline void ToAxisAngle(::Vector3 *outAxis, float *outAngle) {
    -
    99  QuaternionToAxisAngle(*this, outAxis, outAngle);
    -
    100  }
    -
    101 
    -
    105  std::pair<Vector3, float> ToAxisAngle() {
    -
    106  Vector3 outAxis;
    -
    107  float outAngle;
    -
    108  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
    -
    109 
    -
    110  return std::pair<Vector3, float>(outAxis, outAngle);
    -
    111  }
    -
    112 
    -
    113  inline Vector4 Transform(const ::Matrix& matrix) {
    -
    114  return ::QuaternionTransform(*this, matrix);
    -
    115  }
    -
    116 
    -
    117  static inline Vector4 Identity() {
    -
    118  return ::QuaternionIdentity();
    -
    119  }
    -
    120 
    -
    121  static inline Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
    -
    122  return ::QuaternionFromVector3ToVector3(from , to);
    -
    123  }
    -
    124 
    -
    125  static inline Vector4 FromMatrix(const ::Matrix& matrix) {
    -
    126  return ::QuaternionFromMatrix(matrix);
    -
    127  }
    -
    128 
    -
    129  static inline Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
    -
    130  return ::QuaternionFromAxisAngle(axis, angle);
    -
    131  }
    -
    132 
    -
    133  static inline Vector4 FromEuler(const float yaw, const float pitch, const float roll) {
    -
    134  return ::QuaternionFromEuler(yaw, pitch, roll);
    -
    135  }
    -
    136 
    -
    137  static inline Vector4 FromEuler(const ::Vector3& vector3) {
    -
    138  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
    -
    139  }
    -
    140 
    -
    141  inline Vector3 ToEuler() {
    -
    142  return ::QuaternionToEuler(*this);
    -
    143  }
    -
    144 #endif
    -
    145 
    -
    146  inline Color ColorFromNormalized() const {
    -
    147  return ::ColorFromNormalized(*this);
    -
    148  }
    -
    149 
    -
    150  operator Color() {
    -
    151  return ColorFromNormalized();
    -
    152  }
    -
    153 
    -
    154  private:
    -
    155  void set(const ::Vector4& vec4) {
    -
    156  x = vec4.x;
    -
    157  y = vec4.y;
    -
    158  z = vec4.z;
    -
    159  w = vec4.w;
    -
    160  }
    -
    161 };
    -
    162 
    -
    163 // Alias the Vector4 as Quaternion.
    -
    164 typedef Vector4 Quaternion;
    -
    165 } // namespace raylib
    -
    166 
    -
    167 using RVector4 = raylib::Vector4;
    - -
    169 
    -
    170 #endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    +
    9 #include <string>
    +
    10 
    +
    11 #include "./raylib.hpp"
    +
    12 #include "./raymath.hpp"
    +
    13 #include "./raylib-cpp-utils.hpp"
    +
    14 
    +
    15 namespace raylib {
    +
    19 class Vector4 : public ::Vector4 {
    +
    20  public:
    +
    21  Vector4(const ::Vector4& vec) : ::Vector4{vec.x, vec.y, vec.z, vec.w} {}
    +
    22 
    +
    23  Vector4(float x, float y, float z, float w) : ::Vector4{x, y, z, w} {}
    +
    24  Vector4(float x, float y, float z) : ::Vector4{x, y, z, 0} {}
    +
    25  Vector4(float x, float y) : ::Vector4{x, y, 0, 0} {}
    +
    26  Vector4(float x) : ::Vector4{x, 0, 0, 0} {}
    +
    27  Vector4() : ::Vector4{0, 0, 0, 0} {}
    +
    28  Vector4(::Rectangle rectangle) : ::Vector4{rectangle.x, rectangle.y, rectangle.width, rectangle.height} {}
    +
    29 
    +
    30  Vector4(::Color color) {
    +
    31  set(ColorNormalize(color));
    +
    32  }
    +
    33 
    +
    34  GETTERSETTER(float, X, x)
    +
    35  GETTERSETTER(float, Y, y)
    +
    36  GETTERSETTER(float, Z, z)
    +
    37  GETTERSETTER(float, W, w)
    +
    38 
    +
    39  Vector4& operator=(const ::Vector4& vector4) {
    +
    40  set(vector4);
    +
    41  return *this;
    +
    42  }
    +
    43 
    +
    44  bool operator==(const ::Vector4& other) const {
    +
    45  return x == other.x
    +
    46  && y == other.y
    +
    47  && z == other.z
    +
    48  && w == other.w;
    +
    49  }
    +
    50 
    +
    51  bool operator!=(const ::Vector4& other) const {
    +
    52  return !(*this == other);
    +
    53  }
    +
    54 
    +
    55  ::Rectangle ToRectangle() const {
    +
    56  return {x, y, z, w};
    +
    57  }
    +
    58 
    +
    59  operator ::Rectangle() const {
    +
    60  return {x, y, z, w};
    +
    61  }
    +
    62 
    +
    63  std::string ToString() const {
    +
    64  return TextFormat("Vector4(%f, %f, %f, %f)", x, y, z, w);
    +
    65  }
    +
    66 
    +
    67  operator std::string() const {
    +
    68  return ToString();
    +
    69  }
    +
    70 
    +
    71 #ifndef RAYLIB_CPP_NO_MATH
    +
    72  Vector4 Multiply(const ::Vector4& vector4) const {
    +
    73  return QuaternionMultiply(*this, vector4);
    +
    74  }
    +
    75 
    +
    76  Vector4 operator*(const ::Vector4& vector4) const {
    +
    77  return QuaternionMultiply(*this, vector4);
    +
    78  }
    +
    79 
    +
    80  Vector4 Lerp(const ::Vector4& vector4, float amount) const {
    +
    81  return QuaternionLerp(*this, vector4, amount);
    +
    82  }
    +
    83 
    +
    84  Vector4 Nlerp(const ::Vector4& vector4, float amount) const {
    +
    85  return QuaternionNlerp(*this, vector4, amount);
    +
    86  }
    +
    87 
    +
    88  Vector4 Slerp(const ::Vector4& vector4, float amount) const {
    +
    89  return QuaternionSlerp(*this, vector4, amount);
    +
    90  }
    +
    91 
    +
    92  Matrix ToMatrix() const {
    +
    93  return QuaternionToMatrix(*this);
    +
    94  }
    +
    95 
    +
    96  float Length() const {
    +
    97  return QuaternionLength(*this);
    +
    98  }
    +
    99 
    +
    100  Vector4 Normalize() const {
    +
    101  return QuaternionNormalize(*this);
    +
    102  }
    +
    103 
    +
    104  Vector4 Invert() const {
    +
    105  return QuaternionInvert(*this);
    +
    106  }
    +
    107 
    +
    108  void ToAxisAngle(::Vector3 *outAxis, float *outAngle) const {
    +
    109  QuaternionToAxisAngle(*this, outAxis, outAngle);
    +
    110  }
    +
    111 
    +
    115  std::pair<Vector3, float> ToAxisAngle() const {
    +
    116  Vector3 outAxis;
    +
    117  float outAngle;
    +
    118  QuaternionToAxisAngle(*this, &outAxis, &outAngle);
    +
    119 
    +
    120  return std::pair<Vector3, float>(outAxis, outAngle);
    +
    121  }
    +
    122 
    +
    123  Vector4 Transform(const ::Matrix& matrix) const {
    +
    124  return ::QuaternionTransform(*this, matrix);
    +
    125  }
    +
    126 
    +
    127  static Vector4 Identity() {
    +
    128  return ::QuaternionIdentity();
    +
    129  }
    +
    130 
    +
    131  static Vector4 FromVector3ToVector3(const ::Vector3& from , const ::Vector3& to) {
    +
    132  return ::QuaternionFromVector3ToVector3(from , to);
    +
    133  }
    +
    134 
    +
    135  static Vector4 FromMatrix(const ::Matrix& matrix) {
    +
    136  return ::QuaternionFromMatrix(matrix);
    +
    137  }
    +
    138 
    +
    139  static Vector4 FromAxisAngle(const ::Vector3& axis, const float angle) {
    +
    140  return ::QuaternionFromAxisAngle(axis, angle);
    +
    141  }
    +
    142 
    +
    143  static Vector4 FromEuler(const float pitch, const float yaw, const float roll) {
    +
    144  return ::QuaternionFromEuler(pitch, yaw, roll);
    +
    145  }
    +
    146 
    +
    147  static Vector4 FromEuler(const ::Vector3& vector3) {
    +
    148  return ::QuaternionFromEuler(vector3.x, vector3.y, vector3.z);
    +
    149  }
    +
    150 
    +
    151  Vector3 ToEuler() const {
    +
    152  return ::QuaternionToEuler(*this);
    +
    153  }
    +
    154 #endif
    +
    155 
    +
    156  Color ColorFromNormalized() const {
    +
    157  return ::ColorFromNormalized(*this);
    +
    158  }
    +
    159 
    +
    160  operator Color() const {
    +
    161  return ColorFromNormalized();
    +
    162  }
    +
    163 
    +
    164  protected:
    +
    165  void set(const ::Vector4& vec4) {
    +
    166  x = vec4.x;
    +
    167  y = vec4.y;
    +
    168  z = vec4.z;
    +
    169  w = vec4.w;
    +
    170  }
    +
    171 };
    +
    172 
    +
    173 // Alias the Vector4 as Quaternion.
    +
    174 using Quaternion = Vector4;
    +
    175 
    +
    176 } // namespace raylib
    +
    177 
    +
    178 using RVector4 = raylib::Vector4;
    + +
    180 
    +
    181 #endif // RAYLIB_CPP_INCLUDE_VECTOR4_HPP_
    Color type, RGBA (32bit)
    Definition: Color.hpp:14
    Rectangle type.
    Definition: Rectangle.hpp:12
    -
    Vector3 type.
    Definition: Vector3.hpp:16
    -
    Vector4 type.
    Definition: Vector4.hpp:17
    -
    std::pair< Vector3, float > ToAxisAngle()
    Get the rotation angle and axis for a given quaternion.
    Definition: Vector4.hpp:105
    +
    Vector3 type.
    Definition: Vector3.hpp:18
    +
    Vector4 type.
    Definition: Vector4.hpp:19
    +
    std::pair< Vector3, float > ToAxisAngle() const
    Get the rotation angle and axis for a given quaternion.
    Definition: Vector4.hpp:115
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    diff --git a/_vr_stereo_config_8hpp_source.html b/_vr_stereo_config_8hpp_source.html index a637c243..7402ddc5 100644 --- a/_vr_stereo_config_8hpp_source.html +++ b/_vr_stereo_config_8hpp_source.html @@ -85,7 +85,7 @@
    14  Load(info);
    15  }
    16 
    -
    20  inline void Load(const ::VrDeviceInfo& info) {
    +
    20  void Load(const ::VrDeviceInfo& info) {
    21  set(LoadVrStereoConfig(info));
    22  }
    23 
    @@ -93,21 +93,21 @@
    28  Unload();
    29  }
    30 
    - +
    35  ::BeginVrStereoMode(*this);
    36  return *this;
    37  }
    38 
    -
    42  inline VrStereoConfig& EndMode() {
    +
    43  ::EndVrStereoMode();
    44  return *this;
    45  }
    46 
    -
    50  inline void Unload() {
    +
    50  void Unload() {
    51  ::UnloadVrStereoConfig(*this);
    52  }
    53 
    -
    54  private:
    +
    54  protected:
    55  void set(const ::VrStereoConfig& config) {
    56  projection[0] = config.projection[0];
    57  projection[1] = config.projection[1];
    diff --git a/_wave_8hpp_source.html b/_wave_8hpp_source.html index e387c0fd..749209f1 100644 --- a/_wave_8hpp_source.html +++ b/_wave_8hpp_source.html @@ -106,7 +106,7 @@
    45  }
    46 
    47  Wave(const Wave& other) {
    -
    48  set(other.Copy());
    +
    48  set(other.Copy());
    49  }
    50 
    51  Wave(Wave&& other) {
    @@ -123,11 +123,11 @@
    65  Unload();
    66  }
    67 
    -
    68  GETTERSETTER(unsigned int, FrameCount, frameCount)
    -
    69  GETTERSETTER(unsigned int, SampleRate, sampleRate)
    -
    70  GETTERSETTER(unsigned int, SampleSize, sampleSize)
    -
    71  GETTERSETTER(unsigned int, Channels, channels)
    -
    72  GETTERSETTER(void *, Data, data)
    +
    68  GETTER(unsigned int, FrameCount, frameCount)
    +
    69  GETTER(unsigned int, SampleRate, sampleRate)
    +
    70  GETTER(unsigned int, SampleSize, sampleSize)
    +
    71  GETTER(unsigned int, Channels, channels)
    +
    72  GETTER(void *, Data, data)
    73 
    74  Wave& operator=(const ::Wave& wave) {
    75  set(wave);
    @@ -140,7 +140,7 @@
    82  }
    83 
    84  Unload();
    -
    85  set(other.Copy());
    +
    85  set(other.Copy());
    86 
    87  return *this;
    88  }
    @@ -162,34 +162,34 @@
    104  return *this;
    105  }
    106 
    -
    110  inline ::Wave Copy() const {
    +
    110  ::Wave Copy() const {
    111  return ::WaveCopy(*this);
    112  }
    113 
    -
    117  inline Wave& Crop(int initSample, int finalSample) {
    +
    117  Wave& Crop(int initSample, int finalSample) {
    118  ::WaveCrop(this, initSample, finalSample);
    119  return *this;
    120  }
    121 
    -
    125  inline Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
    +
    125  Wave& Format(int SampleRate, int SampleSize, int Channels = 2) {
    126  ::WaveFormat(this, SampleRate, SampleSize, Channels);
    127  return *this;
    128  }
    129 
    -
    133  inline float* LoadSamples() {
    +
    133  float* LoadSamples() {
    134  return ::LoadWaveSamples(*this);
    135  }
    136 
    -
    140  inline static void UnloadSamples(float *samples) {
    +
    140  static void UnloadSamples(float *samples) {
    141  ::UnloadWaveSamples(samples);
    142  }
    143 
    -
    147  inline bool Export(const std::string& fileName) {
    +
    147  bool Export(const std::string& fileName) {
    148  // TODO(RobLoach): Throw exception on error.
    149  return ::ExportWave(*this, fileName.c_str());
    150  }
    151 
    -
    155  inline bool ExportAsCode(const std::string& fileName) {
    +
    155  bool ExportAsCode(const std::string& fileName) {
    156  // TODO(RobLoach): Throw exception on error.
    157  return ::ExportWaveAsCode(*this, fileName.c_str());
    158  }
    @@ -202,12 +202,12 @@
    168  }
    169  }
    170 
    -
    174  inline ::Sound LoadSound() {
    +
    175  return ::LoadSoundFromWave(*this);
    176  }
    177 
    -
    181  inline operator ::Sound() {
    -
    182  return LoadSound();
    +
    181  operator ::Sound() {
    +
    182  return LoadSound();
    183  }
    184 
    190  void Load(const std::string& fileName) {
    @@ -224,11 +224,11 @@
    206  }
    207  }
    208 
    -
    214  inline bool IsReady() const {
    +
    214  bool IsReady() const {
    215  return ::IsWaveReady(*this);
    216  }
    217 
    -
    218  private:
    +
    218  protected:
    219  void set(const ::Wave& wave) {
    220  frameCount = wave.frameCount;
    221  sampleRate = wave.sampleRate;
    @@ -244,16 +244,17 @@
    231 
    232 #endif // RAYLIB_CPP_INCLUDE_WAVE_HPP_
    Exception used for most raylib-related exceptions.
    +
    Wave/Sound management functions.
    Definition: Sound.hpp:19
    Wave type, defines audio wave data.
    Definition: Wave.hpp:14
    Wave & Crop(int initSample, int finalSample)
    Crop a wave to defined samples range.
    Definition: Wave.hpp:117
    -
    inline ::Wave Copy() const
    Copy a wave to a new wave.
    Definition: Wave.hpp:110
    void Load(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load wave from memory buffer, fileType refers to extension: i.e.
    Definition: Wave.hpp:202
    Wave(const std::string &fileType, const unsigned char *fileData, int dataSize)
    Load wave from memory buffer, fileType refers to extension: i.e.
    Definition: Wave.hpp:43
    +
    ::Wave Copy() const
    Copy a wave to a new wave.
    Definition: Wave.hpp:110
    bool ExportAsCode(const std::string &fileName)
    Export wave sample data to code (.h), returns true on success.
    Definition: Wave.hpp:155
    +
    ::Sound LoadSound()
    Load sound from wave data.
    Definition: Wave.hpp:174
    Wave & Format(int SampleRate, int SampleSize, int Channels=2)
    Convert wave data to desired format.
    Definition: Wave.hpp:125
    ~Wave()
    Unload wave data.
    Definition: Wave.hpp:64
    void Unload()
    Unload wave data.
    Definition: Wave.hpp:163
    -
    inline ::Sound LoadSound()
    Load sound from wave data.
    Definition: Wave.hpp:174
    bool IsReady() const
    Retrieve whether or not the Wave data has been loaded.
    Definition: Wave.hpp:214
    bool Export(const std::string &fileName)
    Export wave data to file, returns true on success.
    Definition: Wave.hpp:147
    float * LoadSamples()
    Load samples data from wave as a floats array.
    Definition: Wave.hpp:133
    diff --git a/_window_8hpp_source.html b/_window_8hpp_source.html index d7eb7631..ac803221 100644 --- a/_window_8hpp_source.html +++ b/_window_8hpp_source.html @@ -96,7 +96,7 @@
    46  Close();
    47  }
    48 
    -
    62  inline void Init(int width = 800, int height = 450, const std::string& title = "raylib", unsigned int flags = 0) {
    +
    62  void Init(int width = 800, int height = 450, const std::string& title = "raylib", unsigned int flags = 0) {
    63  if (flags != 0) {
    64  ::SetConfigFlags(flags);
    65  }
    @@ -106,283 +106,307 @@
    69  }
    70  }
    71 
    -
    75  inline bool ShouldClose() const {
    +
    75  bool ShouldClose() const {
    76  return ::WindowShouldClose();
    77  }
    78 
    -
    82  inline void Close() {
    -
    83  if (::IsWindowReady()) {
    -
    84  ::CloseWindow();
    -
    85  }
    -
    86  }
    -
    87 
    -
    91  inline bool IsCursorOnScreen() const {
    -
    92  return ::IsCursorOnScreen();
    +
    82  void SetExitKey(int key) {
    +
    83  ::SetExitKey(key);
    +
    84  }
    +
    85 
    +
    89  void Close() {
    +
    90  if (::IsWindowReady()) {
    +
    91  ::CloseWindow();
    +
    92  }
    93  }
    94 
    -
    98  inline bool IsFullscreen() const {
    -
    99  return ::IsWindowFullscreen();
    +
    98  bool IsCursorOnScreen() const {
    +
    99  return ::IsCursorOnScreen();
    100  }
    101 
    -
    105  inline bool IsHidden() const {
    -
    106  return ::IsWindowHidden();
    +
    105  bool IsFullscreen() const {
    +
    106  return ::IsWindowFullscreen();
    107  }
    108 
    -
    112  inline bool IsMinimized() const {
    -
    113  return ::IsWindowMinimized();
    +
    112  bool IsHidden() const {
    +
    113  return ::IsWindowHidden();
    114  }
    115 
    -
    119  inline bool IsMaximized() const {
    -
    120  return ::IsWindowMaximized();
    +
    119  bool IsMinimized() const {
    +
    120  return ::IsWindowMinimized();
    121  }
    122 
    -
    126  inline bool IsFocused() const {
    -
    127  return ::IsWindowFocused();
    +
    126  bool IsMaximized() const {
    +
    127  return ::IsWindowMaximized();
    128  }
    129 
    -
    133  inline bool IsResized() const {
    -
    134  return ::IsWindowResized();
    +
    133  bool IsFocused() const {
    +
    134  return ::IsWindowFocused();
    135  }
    136 
    -
    140  inline bool IsState(unsigned int flag) const {
    -
    141  return ::IsWindowState(flag);
    +
    140  bool IsResized() const {
    +
    141  return ::IsWindowResized();
    142  }
    143 
    -
    147  inline Window& SetState(unsigned int flag) {
    -
    148  ::SetWindowState(flag);
    -
    149  return *this;
    -
    150  }
    -
    151 
    -
    155  inline Window& ClearState(unsigned int flag) {
    -
    156  ::ClearWindowState(flag);
    -
    157  return *this;
    -
    158  }
    -
    159 
    -
    163  inline Window& ClearBackground(const ::Color& color = BLACK) {
    -
    164  ::ClearBackground(color);
    -
    165  return *this;
    -
    166  }
    -
    167 
    - - -
    173  return *this;
    -
    174  }
    -
    175 
    -
    179  inline Window& SetFullscreen(bool fullscreen) {
    -
    180  if (fullscreen) {
    -
    181  if (!IsFullscreen()) {
    - -
    183  }
    -
    184  } else {
    -
    185  if (IsFullscreen()) {
    - -
    187  }
    -
    188  }
    -
    189 
    -
    190  return *this;
    -
    191  }
    -
    192 
    -
    196  inline Window& Maximize() {
    -
    197  ::MaximizeWindow();
    -
    198  return *this;
    -
    199  }
    -
    200 
    -
    204  inline Window& Minimize() {
    -
    205  ::MinimizeWindow();
    -
    206  return *this;
    -
    207  }
    -
    208 
    -
    212  inline Window& Restore() {
    -
    213  ::RestoreWindow();
    -
    214  return *this;
    -
    215  }
    -
    216 
    -
    220  inline Window& SetIcon(const ::Image& image) {
    -
    221  ::SetWindowIcon(image);
    -
    222  return *this;
    -
    223  }
    -
    224 
    -
    228  inline Window& SetTitle(const std::string& title) {
    -
    229  ::SetWindowTitle(title.c_str());
    -
    230  return *this;
    -
    231  }
    -
    232 
    -
    236  inline Window& SetPosition(int x, int y) {
    -
    237  ::SetWindowPosition(x, y);
    -
    238  return *this;
    -
    239  }
    -
    240 
    -
    244  inline Window& SetPosition(const ::Vector2& position) {
    -
    245  return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
    +
    147  bool IsState(unsigned int flag) const {
    +
    148  return ::IsWindowState(flag);
    +
    149  }
    +
    150 
    +
    154  Window& SetState(unsigned int flag) {
    +
    155  ::SetWindowState(flag);
    +
    156  return *this;
    +
    157  }
    +
    158 
    +
    162  Window& ClearState(unsigned int flag) {
    +
    163  ::ClearWindowState(flag);
    +
    164  return *this;
    +
    165  }
    +
    166 
    +
    170  Window& ClearBackground(const ::Color& color = BLACK) {
    +
    171  ::ClearBackground(color);
    +
    172  return *this;
    +
    173  }
    +
    174 
    + + +
    180  return *this;
    +
    181  }
    +
    182 
    +
    186  Window& SetFullscreen(bool fullscreen) {
    +
    187  if (fullscreen) {
    +
    188  if (!IsFullscreen()) {
    + +
    190  }
    +
    191  } else {
    +
    192  if (IsFullscreen()) {
    + +
    194  }
    +
    195  }
    +
    196 
    +
    197  return *this;
    +
    198  }
    +
    199 
    + +
    204  ::ToggleBorderlessWindowed();
    +
    205  return *this;
    +
    206  }
    +
    207 
    + +
    212  ::MaximizeWindow();
    +
    213  return *this;
    +
    214  }
    +
    215 
    + +
    220  ::MinimizeWindow();
    +
    221  return *this;
    +
    222  }
    +
    223 
    + +
    228  ::RestoreWindow();
    +
    229  return *this;
    +
    230  }
    +
    231 
    +
    235  Window& SetIcon(const ::Image& image) {
    +
    236  ::SetWindowIcon(image);
    +
    237  return *this;
    +
    238  }
    +
    239 
    +
    243  Window& SetIcons(Image* images, int count) {
    +
    244  ::SetWindowIcons(images, count);
    +
    245  return *this;
    246  }
    247 
    -
    251  inline Window& SetMonitor(int monitor) {
    -
    252  ::SetWindowMonitor(monitor);
    +
    251  Window& SetTitle(const std::string& title) {
    +
    252  ::SetWindowTitle(title.c_str());
    253  return *this;
    254  }
    255 
    -
    259  inline Window& SetMinSize(int width, int height) {
    -
    260  ::SetWindowMinSize(width, height);
    +
    259  Window& SetPosition(int x, int y) {
    +
    260  ::SetWindowPosition(x, y);
    261  return *this;
    262  }
    263 
    -
    267  inline Window& SetMinSize(const ::Vector2& size) {
    -
    268  ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
    -
    269  return *this;
    -
    270  }
    -
    271 
    -
    275  inline Window& SetSize(int width, int height) {
    -
    276  ::SetWindowSize(width, height);
    -
    277  return *this;
    -
    278  }
    -
    279 
    -
    283  inline Window& SetOpacity(float opacity) {
    -
    284  ::SetWindowOpacity(opacity);
    -
    285  return *this;
    -
    286  }
    -
    287 
    -
    291  inline Window& SetSize(const ::Vector2& size) {
    -
    292  return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
    +
    267  Window& SetPosition(const ::Vector2& position) {
    +
    268  return SetPosition(static_cast<int>(position.x), static_cast<int>(position.y));
    +
    269  }
    +
    270 
    +
    274  Window& SetMonitor(int monitor) {
    +
    275  ::SetWindowMonitor(monitor);
    +
    276  return *this;
    +
    277  }
    +
    278 
    +
    282  Window& SetMinSize(int width, int height) {
    +
    283  ::SetWindowMinSize(width, height);
    +
    284  return *this;
    +
    285  }
    +
    286 
    +
    290  Window& SetMinSize(const ::Vector2& size) {
    +
    291  ::SetWindowMinSize(static_cast<int>(size.x), static_cast<int>(size.y));
    +
    292  return *this;
    293  }
    294 
    -
    298  inline Vector2 GetSize() const {
    -
    299  return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
    -
    300  }
    -
    301 
    -
    305  inline void* GetHandle() const {
    -
    306  return ::GetWindowHandle();
    -
    307  }
    -
    308 
    -
    312  inline Window& BeginDrawing() {
    -
    313  ::BeginDrawing();
    -
    314  return *this;
    -
    315  }
    -
    316 
    -
    320  inline Window& EndDrawing() {
    -
    321  ::EndDrawing();
    -
    322  return *this;
    -
    323  }
    -
    324 
    -
    328  inline int GetWidth() const {
    -
    329  return ::GetScreenWidth();
    -
    330  }
    -
    331 
    -
    335  inline int GetHeight() const {
    -
    336  return ::GetScreenHeight();
    -
    337  }
    -
    338 
    -
    342  inline int GetRenderWidth() const {
    -
    343  return ::GetRenderWidth();
    -
    344  }
    -
    345 
    -
    349  inline int GetRenderHeight() const {
    -
    350  return ::GetRenderHeight();
    -
    351  }
    -
    352 
    -
    356  inline Vector2 GetPosition() const {
    -
    357  return ::GetWindowPosition();
    -
    358  }
    -
    359 
    -
    363  inline Vector2 GetScaleDPI() const {
    -
    364  return ::GetWindowScaleDPI();
    -
    365  }
    -
    366 
    -
    370  inline void SetClipboardText(const std::string& text) {
    -
    371  ::SetClipboardText(text.c_str());
    -
    372  }
    -
    373 
    -
    377  inline const std::string GetClipboardText() {
    -
    378  return ::GetClipboardText();
    -
    379  }
    -
    380 
    -
    384  inline Window& SetTargetFPS(int fps) {
    -
    385  ::SetTargetFPS(fps);
    -
    386  return *this;
    -
    387  }
    -
    388 
    -
    392  inline int GetFPS() const {
    -
    393  return ::GetFPS();
    -
    394  }
    -
    395 
    -
    399  inline void DrawFPS(int posX = 10, int posY = 10) const {
    -
    400  ::DrawFPS(posX, posY);
    -
    401  }
    -
    402 
    -
    406  inline float GetFrameTime() const {
    -
    407  return ::GetFrameTime();
    -
    408  }
    -
    409 
    -
    413  inline double GetTime() const {
    -
    414  return ::GetTime();
    -
    415  }
    -
    416 
    -
    420  inline static bool IsReady() {
    -
    421  return ::IsWindowReady();
    -
    422  }
    -
    423 
    -
    431  inline void SetConfigFlags(unsigned int flags) {
    -
    432  ::SetConfigFlags(flags);
    -
    433  }
    -
    434 };
    -
    435 } // namespace raylib
    -
    436 
    -
    437 using RWindow = raylib::Window;
    -
    438 
    -
    439 #endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    +
    298  Window& SetSize(int width, int height) {
    +
    299  ::SetWindowSize(width, height);
    +
    300  return *this;
    +
    301  }
    +
    302 
    +
    306  Window& SetOpacity(float opacity) {
    +
    307  ::SetWindowOpacity(opacity);
    +
    308  return *this;
    +
    309  }
    +
    310 
    + +
    315  ::SetWindowFocused();
    +
    316  return *this;
    +
    317  }
    +
    318 
    +
    322  Window& SetSize(const ::Vector2& size) {
    +
    323  return SetSize(static_cast<int>(size.x), static_cast<int>(size.y));
    +
    324  }
    +
    325 
    +
    329  Vector2 GetSize() const {
    +
    330  return {static_cast<float>(GetWidth()), static_cast<float>(GetHeight())};
    +
    331  }
    +
    332 
    +
    336  void* GetHandle() const {
    +
    337  return ::GetWindowHandle();
    +
    338  }
    +
    339 
    + +
    344  ::BeginDrawing();
    +
    345  return *this;
    +
    346  }
    +
    347 
    + +
    352  ::EndDrawing();
    +
    353  return *this;
    +
    354  }
    +
    355 
    +
    359  int GetWidth() const {
    +
    360  return ::GetScreenWidth();
    +
    361  }
    +
    362 
    +
    366  int GetHeight() const {
    +
    367  return ::GetScreenHeight();
    +
    368  }
    +
    369 
    +
    373  int GetRenderWidth() const {
    +
    374  return ::GetRenderWidth();
    +
    375  }
    +
    376 
    +
    380  int GetRenderHeight() const {
    +
    381  return ::GetRenderHeight();
    +
    382  }
    +
    383 
    + +
    388  return ::GetWindowPosition();
    +
    389  }
    +
    390 
    + +
    395  return ::GetWindowScaleDPI();
    +
    396  }
    +
    397 
    +
    401  void SetClipboardText(const std::string& text) {
    +
    402  ::SetClipboardText(text.c_str());
    +
    403  }
    +
    404 
    +
    408  const std::string GetClipboardText() {
    +
    409  return ::GetClipboardText();
    +
    410  }
    +
    411 
    +
    415  Window& SetTargetFPS(int fps) {
    +
    416  ::SetTargetFPS(fps);
    +
    417  return *this;
    +
    418  }
    +
    419 
    +
    423  int GetFPS() const {
    +
    424  return ::GetFPS();
    +
    425  }
    +
    426 
    +
    430  void DrawFPS(int posX = 10, int posY = 10) const {
    +
    431  ::DrawFPS(posX, posY);
    +
    432  }
    +
    433 
    +
    437  float GetFrameTime() const {
    +
    438  return ::GetFrameTime();
    +
    439  }
    +
    440 
    +
    444  double GetTime() const {
    +
    445  return ::GetTime();
    +
    446  }
    +
    447 
    +
    451  static bool IsReady() {
    +
    452  return ::IsWindowReady();
    +
    453  }
    +
    454 
    +
    462  void SetConfigFlags(unsigned int flags) {
    +
    463  ::SetConfigFlags(flags);
    +
    464  }
    +
    465 };
    +
    466 } // namespace raylib
    +
    467 
    +
    468 using RWindow = raylib::Window;
    +
    469 
    +
    470 #endif // RAYLIB_CPP_INCLUDE_WINDOW_HPP_
    +
    Image type, bpp always RGBA (32bit)
    Definition: Image.hpp:17
    Exception used for most raylib-related exceptions.
    -
    Vector2 type.
    Definition: Vector2.hpp:16
    +
    Vector2 type.
    Definition: Vector2.hpp:18
    Window and Graphics Device Functions.
    Definition: Window.hpp:14
    -
    int GetHeight() const
    Get current screen height.
    Definition: Window.hpp:335
    -
    int GetRenderWidth() const
    Get current render width (it considers HiDPI)
    Definition: Window.hpp:342
    -
    void * GetHandle() const
    Get native window handle.
    Definition: Window.hpp:305
    -
    int GetRenderHeight() const
    Get current render height (it considers HiDPI)
    Definition: Window.hpp:349
    -
    Window & Minimize()
    Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:204
    -
    Window & SetTargetFPS(int fps)
    Set target FPS (maximum)
    Definition: Window.hpp:384
    -
    int GetWidth() const
    Get current screen width.
    Definition: Window.hpp:328
    -
    Window & SetTitle(const std::string &title)
    Set title for window.
    Definition: Window.hpp:228
    -
    Window & ClearState(unsigned int flag)
    Clear window configuration state flags.
    Definition: Window.hpp:155
    -
    Vector2 GetScaleDPI() const
    Get window scale DPI factor.
    Definition: Window.hpp:363
    -
    Vector2 GetPosition() const
    Get window position XY on monitor.
    Definition: Window.hpp:356
    -
    Window & EndDrawing()
    End canvas drawing and swap buffers (double buffering)
    Definition: Window.hpp:320
    -
    Window & ToggleFullscreen()
    Toggle window state: fullscreen/windowed.
    Definition: Window.hpp:171
    -
    Window & SetIcon(const ::Image &image)
    Set icon for window.
    Definition: Window.hpp:220
    -
    Window & SetSize(const ::Vector2 &size)
    Set window dimensions.
    Definition: Window.hpp:291
    -
    bool IsFullscreen() const
    Check if window is currently fullscreen.
    Definition: Window.hpp:98
    -
    void SetConfigFlags(unsigned int flags)
    Sets the configuration flags for raylib.
    Definition: Window.hpp:431
    -
    void Close()
    Close window and unload OpenGL context.
    Definition: Window.hpp:82
    -
    bool IsState(unsigned int flag) const
    Check if one specific window flag is enabled.
    Definition: Window.hpp:140
    +
    int GetHeight() const
    Get current screen height.
    Definition: Window.hpp:366
    +
    int GetRenderWidth() const
    Get current render width (it considers HiDPI)
    Definition: Window.hpp:373
    +
    void * GetHandle() const
    Get native window handle.
    Definition: Window.hpp:336
    +
    int GetRenderHeight() const
    Get current render height (it considers HiDPI)
    Definition: Window.hpp:380
    +
    Window & Minimize()
    Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:219
    +
    Window & SetTargetFPS(int fps)
    Set target FPS (maximum)
    Definition: Window.hpp:415
    +
    int GetWidth() const
    Get current screen width.
    Definition: Window.hpp:359
    +
    Window & SetTitle(const std::string &title)
    Set title for window.
    Definition: Window.hpp:251
    +
    Window & ClearState(unsigned int flag)
    Clear window configuration state flags.
    Definition: Window.hpp:162
    +
    Vector2 GetScaleDPI() const
    Get window scale DPI factor.
    Definition: Window.hpp:394
    +
    Vector2 GetPosition() const
    Get window position XY on monitor.
    Definition: Window.hpp:387
    +
    Window & EndDrawing()
    End canvas drawing and swap buffers (double buffering)
    Definition: Window.hpp:351
    +
    Window & ToggleFullscreen()
    Toggle window state: fullscreen/windowed.
    Definition: Window.hpp:178
    +
    Window & SetIcon(const ::Image &image)
    Set icon for window.
    Definition: Window.hpp:235
    +
    Window & SetSize(const ::Vector2 &size)
    Set window dimensions.
    Definition: Window.hpp:322
    +
    Window & SetIcons(Image *images, int count)
    Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)
    Definition: Window.hpp:243
    +
    bool IsFullscreen() const
    Check if window is currently fullscreen.
    Definition: Window.hpp:105
    +
    void SetConfigFlags(unsigned int flags)
    Sets the configuration flags for raylib.
    Definition: Window.hpp:462
    +
    void Close()
    Close window and unload OpenGL context.
    Definition: Window.hpp:89
    +
    bool IsState(unsigned int flag) const
    Check if one specific window flag is enabled.
    Definition: Window.hpp:147
    bool ShouldClose() const
    Check if KEY_ESCAPE pressed or Close icon pressed.
    Definition: Window.hpp:75
    ~Window()
    Close window and unload OpenGL context.
    Definition: Window.hpp:45
    -
    double GetTime() const
    Returns elapsed time in seconds since InitWindow()
    Definition: Window.hpp:413
    -
    Window & SetPosition(int x, int y)
    Set window position on screen.
    Definition: Window.hpp:236
    -
    Window & SetMonitor(int monitor)
    Set monitor for the current window.
    Definition: Window.hpp:251
    -
    Window & ClearBackground(const ::Color &color=BLACK)
    Clear window with given color.
    Definition: Window.hpp:163
    -
    Window & SetPosition(const ::Vector2 &position)
    Set window position on screen.
    Definition: Window.hpp:244
    -
    int GetFPS() const
    Returns current FPS.
    Definition: Window.hpp:392
    -
    Window & BeginDrawing()
    Setup canvas (framebuffer) to start drawing.
    Definition: Window.hpp:312
    -
    Window & SetState(unsigned int flag)
    Set window configuration state using flags.
    Definition: Window.hpp:147
    -
    void DrawFPS(int posX=10, int posY=10) const
    Draw current FPS.
    Definition: Window.hpp:399
    -
    Window & Restore()
    Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
    Definition: Window.hpp:212
    -
    const std::string GetClipboardText()
    Get clipboard text content.
    Definition: Window.hpp:377
    -
    static bool IsReady()
    Check if window has been initialized successfully.
    Definition: Window.hpp:420
    -
    Window & SetSize(int width, int height)
    Set window dimensions.
    Definition: Window.hpp:275
    +
    double GetTime() const
    Returns elapsed time in seconds since InitWindow()
    Definition: Window.hpp:444
    +
    Window & SetPosition(int x, int y)
    Set window position on screen.
    Definition: Window.hpp:259
    +
    Window & SetMonitor(int monitor)
    Set monitor for the current window.
    Definition: Window.hpp:274
    +
    Window & ClearBackground(const ::Color &color=BLACK)
    Clear window with given color.
    Definition: Window.hpp:170
    +
    Window & SetPosition(const ::Vector2 &position)
    Set window position on screen.
    Definition: Window.hpp:267
    +
    int GetFPS() const
    Returns current FPS.
    Definition: Window.hpp:423
    +
    void SetExitKey(int key)
    Set a custom key to exit program (default is ESC)
    Definition: Window.hpp:82
    +
    Window & BeginDrawing()
    Setup canvas (framebuffer) to start drawing.
    Definition: Window.hpp:343
    +
    Window & SetState(unsigned int flag)
    Set window configuration state using flags.
    Definition: Window.hpp:154
    +
    void DrawFPS(int posX=10, int posY=10) const
    Draw current FPS.
    Definition: Window.hpp:430
    +
    Window & Restore()
    Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
    Definition: Window.hpp:227
    +
    Window & SetFocused()
    Set window focused (only PLATFORM_DESKTOP)
    Definition: Window.hpp:314
    +
    const std::string GetClipboardText()
    Get clipboard text content.
    Definition: Window.hpp:408
    +
    static bool IsReady()
    Check if window has been initialized successfully.
    Definition: Window.hpp:451
    +
    Window & SetSize(int width, int height)
    Set window dimensions.
    Definition: Window.hpp:298
    Window(int width, int height, const std::string &title="raylib", unsigned int flags=0)
    Initialize window and OpenGL context.
    Definition: Window.hpp:38
    -
    float GetFrameTime() const
    Returns time in seconds for last frame drawn.
    Definition: Window.hpp:406
    -
    bool IsCursorOnScreen() const
    Check if cursor is on the current screen.
    Definition: Window.hpp:91
    -
    Vector2 GetSize() const
    Get the screen's width and height.
    Definition: Window.hpp:298
    -
    bool IsHidden() const
    Check if window is currently hidden.
    Definition: Window.hpp:105
    -
    bool IsResized() const
    Check if window has been resized last frame.
    Definition: Window.hpp:133
    -
    Window & SetMinSize(int width, int height)
    Set window minimum dimensions.
    Definition: Window.hpp:259
    +
    float GetFrameTime() const
    Returns time in seconds for last frame drawn.
    Definition: Window.hpp:437
    +
    bool IsCursorOnScreen() const
    Check if cursor is on the current screen.
    Definition: Window.hpp:98
    +
    Vector2 GetSize() const
    Get the screen's width and height.
    Definition: Window.hpp:329
    +
    bool IsHidden() const
    Check if window is currently hidden.
    Definition: Window.hpp:112
    +
    bool IsResized() const
    Check if window has been resized last frame.
    Definition: Window.hpp:140
    +
    Window & SetMinSize(int width, int height)
    Set window minimum dimensions.
    Definition: Window.hpp:282
    Window()
    Build a Window object, but defer the initialization.
    Definition: Window.hpp:21
    void Init(int width=800, int height=450, const std::string &title="raylib", unsigned int flags=0)
    Initializes the window.
    Definition: Window.hpp:62
    -
    Window & SetMinSize(const ::Vector2 &size)
    Set window minimum dimensions.
    Definition: Window.hpp:267
    -
    Window & SetOpacity(float opacity)
    Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
    Definition: Window.hpp:283
    -
    bool IsFocused() const
    Check if window is currently focused.
    Definition: Window.hpp:126
    -
    bool IsMaximized() const
    Check if window is currently minimized.
    Definition: Window.hpp:119
    -
    Window & SetFullscreen(bool fullscreen)
    Set whether or not the application should be fullscreen.
    Definition: Window.hpp:179
    -
    Window & Maximize()
    Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:196
    -
    bool IsMinimized() const
    Check if window is currently minimized.
    Definition: Window.hpp:112
    -
    void SetClipboardText(const std::string &text)
    Set clipboard text content.
    Definition: Window.hpp:370
    +
    Window & ToggleBorderless()
    Toggle window state: borderless/windowed.
    Definition: Window.hpp:203
    +
    Window & SetMinSize(const ::Vector2 &size)
    Set window minimum dimensions.
    Definition: Window.hpp:290
    +
    Window & SetOpacity(float opacity)
    Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
    Definition: Window.hpp:306
    +
    bool IsFocused() const
    Check if window is currently focused.
    Definition: Window.hpp:133
    +
    bool IsMaximized() const
    Check if window is currently minimized.
    Definition: Window.hpp:126
    +
    Window & SetFullscreen(bool fullscreen)
    Set whether or not the application should be fullscreen.
    Definition: Window.hpp:186
    +
    Window & Maximize()
    Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
    Definition: Window.hpp:211
    +
    bool IsMinimized() const
    Check if window is currently minimized.
    Definition: Window.hpp:119
    +
    void SetClipboardText(const std::string &text)
    Set clipboard text content.
    Definition: Window.hpp:401
    All raylib-cpp classes and functions appear in the raylib namespace.
    Definition: AudioDevice.hpp:8
    static void SetWindowTitle(const std::string &title)
    Set title for window.
    Definition: Functions.hpp:31
    static void InitWindow(int width, int height, const std::string &title="raylib")
    Initialize window and OpenGL context.
    Definition: Functions.hpp:24
    diff --git a/annotated.html b/annotated.html index dd44a527..199f2cec 100644 --- a/annotated.html +++ b/annotated.html @@ -73,31 +73,31 @@  NraylibAll raylib-cpp classes and functions appear in the raylib namespace  CAudioDeviceAudio device management functions  CAudioStreamAudioStream management functions - CBoundingBoxBounding box type - CCamera2DCamera2D type, defines a 2d camera - CCamera3DCamera type, defines a camera position/orientation in 3d space - CColorColor type, RGBA (32bit) - CFontFont type, includes texture and charSet array data - CGamepadInput-related functions: gamepads - CImageImage type, bpp always RGBA (32bit) - CMaterialMaterial type (generic) - CMatrixMatrix type (OpenGL style 4x4 - right handed, column major) - CMeshVertex data definning a mesh - CModelModel type - CModelAnimationModel animation - CMouseInput-related functions: mouse - CMusicMusic stream type (audio file streaming from memory) - CRayRay type (useful for raycast) - CRayCollisionRaycast hit information - CRaylibExceptionException used for most raylib-related exceptions - CRectangleRectangle type - CRenderTextureRenderTexture type, for texture rendering - CShaderShader type (generic) - CSoundWave/Sound management functions - CTextText Functions - CTextureTexture type - CTextureUnmanagedA Texture that is not managed by the C++ garbage collector - CTouchInput-related functions: touch + CAutomationEventListAutomationEventList management functions + CBoundingBoxBounding box type + CCamera2DCamera2D type, defines a 2d camera + CCamera3DCamera type, defines a camera position/orientation in 3d space + CColorColor type, RGBA (32bit) + CFontFont type, includes texture and charSet array data + CGamepadInput-related functions: gamepads + CImageImage type, bpp always RGBA (32bit) + CMaterialMaterial type (generic) + CMatrixMatrix type (OpenGL style 4x4 - right handed, column major) + CMeshVertex data defining a mesh + CMeshUnmanagedVertex data defining a mesh, not managed by C++ RAII + CModelModel type + CModelAnimationModel animation + CMusicMusic stream type (audio file streaming from memory) + CRayRay type (useful for raycast) + CRayCollisionRaycast hit information + CRaylibExceptionException used for most raylib-related exceptions + CRectangleRectangle type + CRenderTextureRenderTexture type, for texture rendering + CShaderShader type (generic) + CSoundWave/Sound management functions + CTextText Functions + CTextureTexture type + CTextureUnmanagedA Texture that is not managed by C++ RAII  CVector2Vector2 type  CVector3Vector3 type  CVector4Vector4 type diff --git a/classes.html b/classes.html index c43ff296..f4ab0851 100644 --- a/classes.html +++ b/classes.html @@ -72,7 +72,7 @@
    A
    -
    AudioDevice (raylib)
    AudioStream (raylib)
    +
    AudioDevice (raylib)
    AudioStream (raylib)
    AutomationEventList (raylib)
    B
    BoundingBox (raylib)
    @@ -90,7 +90,7 @@
    Image (raylib)
    M
    -
    Material (raylib)
    Matrix (raylib)
    Mesh (raylib)
    Model (raylib)
    ModelAnimation (raylib)
    Mouse (raylib)
    Music (raylib)
    +
    Material (raylib)
    Matrix (raylib)
    Mesh (raylib)
    MeshUnmanaged (raylib)
    Model (raylib)
    ModelAnimation (raylib)
    Music (raylib)
    R
    Ray (raylib)
    RayCollision (raylib)
    RaylibException (raylib)
    Rectangle (raylib)
    RenderTexture (raylib)
    @@ -99,7 +99,7 @@
    Shader (raylib)
    Sound (raylib)
    T
    -
    Text (raylib)
    Texture (raylib)
    TextureUnmanaged (raylib)
    Touch (raylib)
    +
    Text (raylib)
    Texture (raylib)
    TextureUnmanaged (raylib)
    V
    Vector2 (raylib)
    Vector3 (raylib)
    Vector4 (raylib)
    VrStereoConfig (raylib)
    diff --git a/classraylib_1_1_audio_stream-members.html b/classraylib_1_1_audio_stream-members.html index 4a49a9e6..e0f533ca 100644 --- a/classraylib_1_1_audio_stream-members.html +++ b/classraylib_1_1_audio_stream-members.html @@ -89,7 +89,7 @@ GetSampleSize() constraylib::AudioStreaminline IsPlaying() constraylib::AudioStreaminline IsProcessed() constraylib::AudioStreaminline - IsReady()raylib::AudioStreaminline + IsReady() constraylib::AudioStreaminline Load(unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)raylib::AudioStreaminline operator=(const ::AudioStream &stream) (defined in raylib::AudioStream)raylib::AudioStreaminline operator=(const AudioStream &)=delete (defined in raylib::AudioStream)raylib::AudioStream @@ -97,15 +97,11 @@ Pause()raylib::AudioStreaminline Play()raylib::AudioStreaminline Resume()raylib::AudioStreaminline - SetBuffer(rAudioBuffer *value)raylib::AudioStreaminline + set(const ::AudioStream &stream) (defined in raylib::AudioStream)raylib::AudioStreaminlineprotected SetBufferSizeDefault(int size)raylib::AudioStreaminlinestatic SetCallback(::AudioCallback callback)raylib::AudioStreaminline - SetChannels(unsigned int value)raylib::AudioStreaminline - SetPan(float pan=0.5f)raylib::AudioStreaminline - SetPitch(float pitch)raylib::AudioStreaminline - SetProcessor(rAudioProcessor *value)raylib::AudioStreaminline - SetSampleRate(unsigned int value)raylib::AudioStreaminline - SetSampleSize(unsigned int value)raylib::AudioStreaminline + SetPan(float pan=0.5f)raylib::AudioStreaminline + SetPitch(float pitch)raylib::AudioStreaminline SetVolume(float volume=1.0f)raylib::AudioStreaminline Stop()raylib::AudioStreaminline Unload()raylib::AudioStreaminline diff --git a/classraylib_1_1_audio_stream.html b/classraylib_1_1_audio_stream.html index 5e15b724..c518851a 100644 --- a/classraylib_1_1_audio_stream.html +++ b/classraylib_1_1_audio_stream.html @@ -71,6 +71,7 @@
    raylib::AudioStream Class Reference
    @@ -128,10 +129,10 @@ bool IsProcessed () const  Check if any audio stream buffers requires refill.
      - -bool IsReady () - Retrieve whether or not the audio stream is ready.
    -  + +bool IsReady () const + Retrieve whether or not the audio stream is ready.
    +  void Load (unsigned int SampleRate, unsigned int SampleSize, unsigned int Channels=2)  Load audio stream (to stream raw audio pcm data) More...
      @@ -156,16 +157,10 @@ AudioStreamResume ()  Resume audio stream.
      -void SetBuffer (rAudioBuffer *value) - Sets the buffer value for the object. More...
    void SetCallback (::AudioCallback callback)  Audio thread callback to request new data.
      -void SetChannels (unsigned int value) - Sets the channels value for the object. More...
    AudioStreamSetPan (float pan=0.5f)  Set pan for audio stream (0.5 is centered)
    @@ -174,15 +169,6 @@ AudioStreamSetPitch (float pitch)  Set pitch for audio stream (1.0 is base level)
      -void SetProcessor (rAudioProcessor *value) - Sets the processor value for the object. More...
    -  -void SetSampleRate (unsigned int value) - Sets the sampleRate value for the object. More...
    -  -void SetSampleSize (unsigned int value) - Sets the sampleSize value for the object. More...
    AudioStreamSetVolume (float volume=1.0f)  Set volume for audio stream (1.0 is max level)
    @@ -206,6 +192,12 @@ static void SetBufferSizeDefault (int size)  Default size for new audio streams.
      + + + +

    +Protected Member Functions

    +void set (const ::AudioStream &stream)
     

    Detailed Description

    AudioStream management functions.

    @@ -262,7 +254,7 @@

    Definition at line 31 of file AudioStream.hpp.

    -

    References Load().

    +

    References Load().

    @@ -465,192 +457,12 @@

    Definition at line 206 of file AudioStream.hpp.

    +

    Definition at line 208 of file AudioStream.hpp.

    -

    References IsReady(), and Unload().

    +

    References IsReady(), and Unload().

    Referenced by AudioStream().

    -

    -
    - -

    ◆ SetBuffer()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::AudioStream::SetBuffer (rAudioBuffer * value)
    -
    -inline
    -
    - -

    Sets the buffer value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set buffer to.
    -
    -
    - -

    Definition at line 51 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ SetChannels()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::AudioStream::SetChannels (unsigned int value)
    -
    -inline
    -
    - -

    Sets the channels value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set channels to.
    -
    -
    - -

    Definition at line 55 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ SetProcessor()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::AudioStream::SetProcessor (rAudioProcessor * value)
    -
    -inline
    -
    - -

    Sets the processor value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set processor to.
    -
    -
    - -

    Definition at line 52 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ SetSampleRate()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::AudioStream::SetSampleRate (unsigned int value)
    -
    -inline
    -
    - -

    Sets the sampleRate value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set sampleRate to.
    -
    -
    - -

    Definition at line 53 of file AudioStream.hpp.

    - -
    -
    - -

    ◆ SetSampleSize()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::AudioStream::SetSampleSize (unsigned int value)
    -
    -inline
    -
    - -

    Sets the sampleSize value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set sampleSize to.
    -
    -
    - -

    Definition at line 54 of file AudioStream.hpp.

    -
    diff --git a/classraylib_1_1_automation_event_list-members.html b/classraylib_1_1_automation_event_list-members.html new file mode 100644 index 00000000..43c5e286 --- /dev/null +++ b/classraylib_1_1_automation_event_list-members.html @@ -0,0 +1,106 @@ + + + + + + + +raylib-cpp: Member List + + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    +
    +
    raylib::AutomationEventList Member List
    +
    +
    + +

    This is the complete list of members for raylib::AutomationEventList, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + +
    AutomationEventList(const ::AutomationEventList &automationEventList) (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    AutomationEventList()raylib::AutomationEventListinline
    AutomationEventList(const char *fileName)raylib::AutomationEventListinline
    AutomationEventList(const AutomationEventList &)=delete (defined in raylib::AutomationEventList)raylib::AutomationEventList
    AutomationEventList(AutomationEventList &&other) (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    Export(const char *fileName) (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    GetCapacity() constraylib::AutomationEventListinline
    GetCount() constraylib::AutomationEventListinline
    GetEvents() constraylib::AutomationEventListinline
    IsReady() (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    Load(const char *fileName)raylib::AutomationEventListinline
    operator=(const ::AutomationEventList &other) (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    operator=(const AutomationEventList &)=delete (defined in raylib::AutomationEventList)raylib::AutomationEventList
    operator=(AutomationEventList &&other) noexcept (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    Play(int index) (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    Set() (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    set(const ::AutomationEventList &other) (defined in raylib::AutomationEventList)raylib::AutomationEventListinlineprotected
    SetBaseFrame(int frame) (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    StartRecording() (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    StopRecording() (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    Unload()raylib::AutomationEventListinline
    ~AutomationEventList() (defined in raylib::AutomationEventList)raylib::AutomationEventListinline
    + + + + diff --git a/classraylib_1_1_automation_event_list.html b/classraylib_1_1_automation_event_list.html new file mode 100644 index 00000000..f21f5f44 --- /dev/null +++ b/classraylib_1_1_automation_event_list.html @@ -0,0 +1,334 @@ + + + + + + + +raylib-cpp: raylib::AutomationEventList Class Reference + + + + + + + + + + +
    +
    + + + + + + + +
    +
    raylib-cpp +
    +
    C++ object-oriented wrapper library for raylib.
    +
    +
    + + + + + + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    raylib::AutomationEventList Class Reference
    +
    +
    + +

    AutomationEventList management functions. + More...

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

    AutomationEventList ()
     Load an empty automation events list.
     
    AutomationEventList (AutomationEventList &&other)
     
    AutomationEventList (const ::AutomationEventList &automationEventList)
     
    AutomationEventList (const AutomationEventList &)=delete
     
     AutomationEventList (const char *fileName)
     Load automation events list from file. More...
     
    +bool Export (const char *fileName)
     
    unsigned int GetCapacity () const
     Retrieves the capacity value for the object. More...
     
    unsigned int GetCount () const
     Retrieves the count value for the object. More...
     
    AutomationEvent * GetEvents () const
     Retrieves the events value for the object. More...
     
    +bool IsReady ()
     
    void Load (const char *fileName)
     Load audio stream (to stream raw audio pcm data) More...
     
    +AutomationEventListoperator= (AutomationEventList &&other) noexcept
     
    +AutomationEventListoperator= (const ::AutomationEventList &other)
     
    +AutomationEventListoperator= (const AutomationEventList &)=delete
     
    +void Play (int index)
     
    +void Set ()
     
    +void SetBaseFrame (int frame)
     
    +void StartRecording ()
     
    +void StopRecording ()
     
    +void Unload ()
     Update audio stream buffers with data.
     
    + + + +

    +Protected Member Functions

    +void set (const ::AutomationEventList &other)
     
    +

    Detailed Description

    +

    AutomationEventList management functions.

    + +

    Definition at line 12 of file AutomationEventList.hpp.

    +

    Constructor & Destructor Documentation

    + +

    ◆ AutomationEventList()

    + +
    +
    + + + + + +
    + + + + + + + + +
    raylib::AutomationEventList::AutomationEventList (const char * fileName)
    +
    +inline
    +
    + +

    Load automation events list from file.

    +
    Parameters
    + + +
    fileNameThe file path to load the automation events list from.
    +
    +
    + +

    Definition at line 30 of file AutomationEventList.hpp.

    + +

    References Load().

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ GetCapacity()

    + +
    +
    + + + + + +
    + + + + + + + +
    unsigned int raylib::AutomationEventList::GetCapacity () const
    +
    +inline
    +
    + +

    Retrieves the capacity value for the object.

    +
    Returns
    The capacity value of the object.
    + +

    Definition at line 48 of file AutomationEventList.hpp.

    + +
    +
    + +

    ◆ GetCount()

    + +
    +
    + + + + + +
    + + + + + + + +
    unsigned int raylib::AutomationEventList::GetCount () const
    +
    +inline
    +
    + +

    Retrieves the count value for the object.

    +
    Returns
    The count value of the object.
    + +

    Definition at line 49 of file AutomationEventList.hpp.

    + +
    +
    + +

    ◆ GetEvents()

    + +
    +
    + + + + + +
    + + + + + + + +
    AutomationEvent* raylib::AutomationEventList::GetEvents () const
    +
    +inline
    +
    + +

    Retrieves the events value for the object.

    +
    Returns
    The events value of the object.
    + +

    Definition at line 50 of file AutomationEventList.hpp.

    + +
    +
    + +

    ◆ Load()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void raylib::AutomationEventList::Load (const char * fileName)
    +
    +inline
    +
    + +

    Load audio stream (to stream raw audio pcm data)

    +
    Exceptions
    + + +
    raylib::RaylibExceptionThrows if the AutomationEventList failed to load.
    +
    +
    + +

    Definition at line 79 of file AutomationEventList.hpp.

    + +

    References Unload().

    + +

    Referenced by AutomationEventList().

    + +
    +
    +
    + + + + diff --git a/classraylib_1_1_bounding_box-members.html b/classraylib_1_1_bounding_box-members.html index a30a7781..e6270045 100644 --- a/classraylib_1_1_bounding_box-members.html +++ b/classraylib_1_1_bounding_box-members.html @@ -87,6 +87,8 @@ GetMax() constraylib::BoundingBoxinline GetMin() constraylib::BoundingBoxinline operator=(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinline + set(const ::BoundingBox &box) (defined in raylib::BoundingBox)raylib::BoundingBoxinlineprotected + set(const ::Vector3 &_min, const ::Vector3 &_max) (defined in raylib::BoundingBox)raylib::BoundingBoxinlineprotected SetMax(::Vector3 value)raylib::BoundingBoxinline SetMin(::Vector3 value)raylib::BoundingBoxinline
    diff --git a/classraylib_1_1_bounding_box.html b/classraylib_1_1_bounding_box.html index cc3f34ee..1cb7bcb1 100644 --- a/classraylib_1_1_bounding_box.html +++ b/classraylib_1_1_bounding_box.html @@ -70,6 +70,7 @@
    raylib::BoundingBox Class Reference
    @@ -129,6 +130,15 @@ void SetMin (::Vector3 value)  Sets the min value for the object. More...
      + + + + + +

    +Protected Member Functions

    +void set (const ::BoundingBox &box)
     
    +void set (const ::Vector3 &_min, const ::Vector3 &_max)
     

    Detailed Description

    Bounding box type.

    diff --git a/classraylib_1_1_camera2_d-members.html b/classraylib_1_1_camera2_d-members.html index bd02d732..1d9188f0 100644 --- a/classraylib_1_1_camera2_d-members.html +++ b/classraylib_1_1_camera2_d-members.html @@ -88,10 +88,11 @@ GetWorldToScreen(::Vector2 position) constraylib::Camera2Dinline GetZoom() constraylib::Camera2Dinline operator=(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinline - SetOffset(::Vector2 value)raylib::Camera2Dinline - SetRotation(float value)raylib::Camera2Dinline - SetTarget(::Vector2 value)raylib::Camera2Dinline - SetZoom(float value)raylib::Camera2Dinline + set(const ::Camera2D &camera) (defined in raylib::Camera2D)raylib::Camera2Dinlineprotected + SetOffset(::Vector2 value)raylib::Camera2Dinline + SetRotation(float value)raylib::Camera2Dinline + SetTarget(::Vector2 value)raylib::Camera2Dinline + SetZoom(float value)raylib::Camera2Dinline
    @@ -395,7 +429,7 @@

    Returns
    The g value of the object.
    -

    Definition at line 97 of file Color.hpp.

    +

    Definition at line 105 of file Color.hpp.

    @@ -425,7 +459,7 @@

    Returns
    The r value of the object.
    -

    Definition at line 96 of file Color.hpp.

    +

    Definition at line 104 of file Color.hpp.

    @@ -461,7 +495,7 @@

    Definition at line 99 of file Color.hpp.

    +

    Definition at line 107 of file Color.hpp.

    @@ -497,7 +531,7 @@

    Definition at line 98 of file Color.hpp.

    +

    Definition at line 106 of file Color.hpp.

    @@ -533,7 +567,7 @@

    Definition at line 97 of file Color.hpp.

    +

    Definition at line 105 of file Color.hpp.

    @@ -569,7 +603,7 @@

    Definition at line 96 of file Color.hpp.

    +

    Definition at line 104 of file Color.hpp.

    diff --git a/classraylib_1_1_font-members.html b/classraylib_1_1_font-members.html index d94befd9..3f45611f 100644 --- a/classraylib_1_1_font-members.html +++ b/classraylib_1_1_font-members.html @@ -75,45 +75,46 @@

    This is the complete list of members for raylib::Font, including all inherited members.

    - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + +
    DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
    DrawText(const char *text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
    DrawText(const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
    DrawText(const char *text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
    DrawText(const std::string &text, int posX, int posY, float fontSize, float spacing, ::Color tint=WHITE) constraylib::Fontinline
    DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const (defined in raylib::Font)raylib::Fontinline
    DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) constraylib::Fontinline
    DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) constraylib::Fontinline
    Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) (defined in raylib::Font)raylib::Fontinline
    Font()raylib::Fontinline
    Font(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
    Font(const std::string &fileName)raylib::Fontinline
    Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
    Font(const ::Image &image, ::Color key, int firstChar)raylib::Fontinline
    Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
    Font(const Font &)=delete (defined in raylib::Font)raylib::Font
    Font(Font &&other) (defined in raylib::Font)raylib::Fontinline
    GetBaseSize() constraylib::Fontinline
    GetGlyphCount() constraylib::Fontinline
    GetGlyphIndex(int character) constraylib::Fontinline
    GetGlyphPadding() constraylib::Fontinline
    GetGlyphs() constraylib::Fontinline
    GetRecs() constraylib::Fontinline
    GetTexture()raylib::Fontinline
    ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
    IsReady()raylib::Fontinline
    DrawText(const char *text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const (defined in raylib::Font)raylib::Fontinline
    DrawText(const std::string &text, ::Vector2 position, ::Vector2 origin, float rotation, float fontSize, float spacing, ::Color tint=WHITE) const (defined in raylib::Font)raylib::Fontinline
    DrawText(int codepoint, ::Vector2 position, float fontSize, ::Color tint={ 255, 255, 255, 255 }) constraylib::Fontinline
    DrawText(const int *codepoints, int count, ::Vector2 position, float fontSize, float spacing, ::Color tint={ 255, 255, 255, 255 }) constraylib::Fontinline
    Font(int baseSize, int glyphCount, int glyphPadding, ::Texture2D texture, ::Rectangle *recs=nullptr, ::GlyphInfo *glyphs=nullptr) (defined in raylib::Font)raylib::Fontinline
    Font()raylib::Fontinline
    Font(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
    Font(const std::string &fileName)raylib::Fontinline
    Font(const std::string &fileName, int fontSize, int *fontChars=0, int charCount=0)raylib::Fontinline
    Font(const ::Image &image, ::Color key, int firstChar)raylib::Fontinline
    Font(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount)raylib::Fontinline
    Font(const Font &)=delete (defined in raylib::Font)raylib::Font
    Font(Font &&other) (defined in raylib::Font)raylib::Fontinline
    GetBaseSize() constraylib::Fontinline
    GetGlyphCount() constraylib::Fontinline
    GetGlyphIndex(int character) constraylib::Fontinline
    GetGlyphPadding() constraylib::Fontinline
    GetGlyphs() constraylib::Fontinline
    GetRecs() constraylib::Fontinline
    GetTexture()raylib::Fontinline
    ImageText(const char *text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
    ImageText(const std::string &text, float fontSize, float spacing, ::Color tint) constraylib::Fontinline
    IsReady() constraylib::Fontinline
    Load(const std::string &fileName)raylib::Fontinline
    Load(const std::string &fileName, int fontSize, int *fontChars, int charCount)raylib::Fontinline
    Load(const ::Image &image, ::Color key, int firstChar) (defined in raylib::Font)raylib::Fontinline
    Load(const std::string &fileType, const unsigned char *fileData, int dataSize, int fontSize, int *fontChars, int charsCount) (defined in raylib::Font)raylib::Fontinline
    MeasureText(const std::string &text, float fontSize, float spacing) constraylib::Fontinline
    operator=(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
    operator=(const Font &)=delete (defined in raylib::Font)raylib::Font
    operator=(Font &&other) noexcept (defined in raylib::Font)raylib::Fontinline
    SetBaseSize(int value)raylib::Fontinline
    SetGlyphCount(int value)raylib::Fontinline
    SetGlyphPadding(int value)raylib::Fontinline
    SetGlyphs(::GlyphInfo *value)raylib::Fontinline
    SetRecs(::Rectangle *value)raylib::Fontinline
    SetTexture(const ::Texture &newTexture)raylib::Fontinline
    Unload() (defined in raylib::Font)raylib::Fontinline
    ~Font() (defined in raylib::Font)raylib::Fontinline
    MeasureText(const char *text, float fontSize, float spacing) constraylib::Fontinline
    MeasureText(const std::string &text, float fontSize, float spacing) constraylib::Fontinline
    operator=(const ::Font &font) (defined in raylib::Font)raylib::Fontinline
    operator=(const Font &)=delete (defined in raylib::Font)raylib::Font
    operator=(Font &&other) noexcept (defined in raylib::Font)raylib::Fontinline
    set(const ::Font &font) (defined in raylib::Font)raylib::Fontinlineprotected
    SetTexture(const ::Texture &newTexture)raylib::Fontinline
    Unload() (defined in raylib::Font)raylib::Fontinline
    ~Font() (defined in raylib::Font)raylib::Fontinline
    raylib::Gamepad Class Reference
    @@ -157,6 +158,12 @@ int number   + + + +

    +Protected Member Functions

    +void set (int gamepadNumber)
     

    Detailed Description

    Input-related functions: gamepads.

    diff --git a/classraylib_1_1_image-members.html b/classraylib_1_1_image-members.html index f7717a9e..871ab9a2 100644 --- a/classraylib_1_1_image-members.html +++ b/classraylib_1_1_image-members.html @@ -89,7 +89,7 @@ ColorInvert()raylib::Imageinline ColorReplace(::Color color, ::Color replace)raylib::Imageinline ColorTint(::Color color={255, 255, 255, 255})raylib::Imageinline - Copy() constraylib::Imageinline + Copy() constraylib::Imageinline Crop(::Rectangle crop)raylib::Imageinline Crop(int newWidth, int newHeight)raylib::Imageinline Crop(::Vector2 size)raylib::Imageinline @@ -106,15 +106,19 @@ DrawRectangle(Vector2 position, Vector2 size, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline DrawRectangle(::Rectangle rec, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline DrawRectangleLines(::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline - DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline - DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + DrawText(const char *text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + DrawText(const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + DrawText(const std::string &text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + DrawText(const char *text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline DrawText(const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline - Export(const std::string &fileName) constraylib::Imageinline - ExportAsCode(const std::string &fileName) constraylib::Imageinline + DrawText(const ::Font &font, const char *text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + Export(const std::string &fileName) constraylib::Imageinline + ExportAsCode(const std::string &fileName) constraylib::Imageinline + ExportToMemory(const char *fileType, int *fileSize)raylib::Imageinline FlipHorizontal()raylib::Imageinline FlipVertical()raylib::Imageinline Format(int newFormat)raylib::Imageinline - FromImage(::Rectangle rec) constraylib::Imageinline + FromImage(::Rectangle rec) constraylib::Imageinline GetAlphaBorder(float threshold) constraylib::Imageinline GetColor(int x=0, int y=0) constraylib::Imageinline GetColor(::Vector2 position) constraylib::Imageinline @@ -124,48 +128,46 @@ GetMipmaps() constraylib::Imageinline GetPixelDataSize(int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)raylib::Imageinlinestatic GetPixelDataSize() constraylib::Imageinline - GetSize() constraylib::Imageinline + GetSize() constraylib::Imageinline GetWidth() constraylib::Imageinline - GradientH(int width, int height, ::Color left, ::Color right)raylib::Imageinlinestatic + GradientLinear(int width, int height, int direction, ::Color start, ::Color end)raylib::Imageinlinestatic GradientRadial(int width, int height, float density, ::Color inner, ::Color outer)raylib::Imageinlinestatic - GradientV(int width, int height, ::Color top, ::Color bottom)raylib::Imageinlinestatic - Image(void *data=nullptr, int width=0, int height=0, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) (defined in raylib::Image)raylib::Imageinline - Image(const ::Image &image) (defined in raylib::Image)raylib::Imageinline - Image(const std::string &fileName)raylib::Imageinline - Image(const std::string &fileName, int width, int height, int format, int headerSize=0)raylib::Imageinline - Image(const std::string &fileName, int *frames)raylib::Imageinline - Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline - Image(const ::Texture2D &texture)raylib::Imageinline - Image(int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline - Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline - Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline - Image(const Image &other) (defined in raylib::Image)raylib::Imageinline - Image(Image &&other) (defined in raylib::Image)raylib::Imageinline - IsReady() constraylib::Imageinline - Load(const std::string &fileName)raylib::Imageinline - Load(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline - Load(const std::string &fileName, int *frames)raylib::Imageinline - Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline - Load(const ::Texture2D &texture)raylib::Imageinline - LoadColors() constraylib::Imageinline - LoadFromScreen()raylib::Imageinlinestatic - LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline - LoadTexture() constraylib::Imageinline - Mipmaps()raylib::Imageinline - operator::Texture2D()raylib::Imageinline - operator=(const ::Image &image) (defined in raylib::Image)raylib::Imageinline - operator=(const Image &other) (defined in raylib::Image)raylib::Imageinline - operator=(Image &&other) noexcept (defined in raylib::Image)raylib::Imageinline - Resize(int newWidth, int newHeight)raylib::Imageinline - ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline - ResizeNN(int newWidth, int newHeight)raylib::Imageinline + Image(void *data=nullptr, int width=0, int height=0, int mipmaps=1, int format=PIXELFORMAT_UNCOMPRESSED_R8G8B8A8) (defined in raylib::Image)raylib::Imageinline + Image(const ::Image &image) (defined in raylib::Image)raylib::Imageinline + Image(const std::string &fileName)raylib::Imageinline + Image(const std::string &fileName, int width, int height, int format, int headerSize=0)raylib::Imageinline + Image(const std::string &fileName, int *frames)raylib::Imageinline + Image(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline + Image(const ::Texture2D &texture)raylib::Imageinline + Image(int width, int height, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + Image(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + Image(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinline + Image(const Image &other) (defined in raylib::Image)raylib::Imageinline + Image(Image &&other) (defined in raylib::Image)raylib::Imageinline + IsReady() constraylib::Imageinline + Load(const std::string &fileName)raylib::Imageinline + Load(const std::string &fileName, int width, int height, int format, int headerSize)raylib::Imageinline + Load(const std::string &fileName, int *frames)raylib::Imageinline + Load(const std::string &fileType, const unsigned char *fileData, int dataSize)raylib::Imageinline + Load(const ::Texture2D &texture)raylib::Imageinline + LoadColors() constraylib::Imageinline + LoadFromScreen()raylib::Imageinlinestatic + LoadPalette(int maxPaletteSize, int *colorsCount) constraylib::Imageinline + LoadTexture() constraylib::Imageinline + Mipmaps()raylib::Imageinline + operator::Texture2D()raylib::Imageinline + operator=(const ::Image &image) (defined in raylib::Image)raylib::Imageinline + operator=(const Image &other) (defined in raylib::Image)raylib::Imageinline + operator=(Image &&other) noexcept (defined in raylib::Image)raylib::Imageinline + Resize(int newWidth, int newHeight)raylib::Imageinline + ResizeCanvas(int newWidth, int newHeight, int offsetX=0, int offsetY=0, ::Color color={255, 255, 255, 255})raylib::Imageinline + ResizeNN(int newWidth, int newHeight)raylib::Imageinline + Rotate(int degrees)raylib::Imageinline RotateCCW()raylib::Imageinline RotateCW()raylib::Imageinline - SetData(void *value)raylib::Imageinline - SetFormat(int value)raylib::Imageinline - SetHeight(int value)raylib::Imageinline - SetMipmaps(int value)raylib::Imageinline - SetWidth(int value)raylib::Imageinline + set(const ::Image &image) (defined in raylib::Image)raylib::Imageinlineprotected + SetHeight(int height, int offsetX=0, int offsetY=0, ::Color fill={255, 255, 255, 255})raylib::Imageinline + SetWidth(int width, int offsetX=0, int offsetY=0, ::Color fill={255, 255, 255, 255})raylib::Imageinline Text(const std::string &text, int fontSize, ::Color color={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic Text(const ::Font &font, const std::string &text, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) (defined in raylib::Image)raylib::Imageinlinestatic ToPOT(::Color fillColor)raylib::Imageinline diff --git a/classraylib_1_1_image.html b/classraylib_1_1_image.html index 02dd855f..23173752 100644 --- a/classraylib_1_1_image.html +++ b/classraylib_1_1_image.html @@ -71,6 +71,7 @@
    raylib::Image Class Reference
    @@ -160,10 +161,10 @@ ImageColorTint (::Color color={255, 255, 255, 255})  Modify image color: tint.
      - -inline ::Image Copy () const - Create an image duplicate (useful for transformations)
    -  + +::Image Copy () const + Create an image duplicate (useful for transformations)
    ImageCrop (::Rectangle crop)  Crop an image to area defined by a rectangle.
    @@ -218,9 +219,18 @@ void DrawRectangleLines (::Rectangle rec, int thick=1, ::Color color={255, 255, 255, 255})   + +void DrawText (const ::Font &font, const char *text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255}) +  void DrawText (const ::Font &font, const std::string &text, ::Vector2 position, float fontSize, float spacing, ::Color tint={255, 255, 255, 255})   + +void DrawText (const char *text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255}) +  + +void DrawText (const char *text, int x, int y, int fontSize, ::Color color={255, 255, 255, 255}) +  void DrawText (const std::string &text, ::Vector2 position, int fontSize, ::Color color={255, 255, 255, 255})   @@ -233,6 +243,10 @@ void ExportAsCode (const std::string &fileName) const  Export image as code file defining an array of bytes, returns true on success. More...
      + +unsigned char * ExportToMemory (const char *fileType, int *fileSize) + Export image to memory buffer.
    ImageFlipHorizontal ()  Flip image horizontally.
    @@ -245,10 +259,10 @@ ImageFormat (int newFormat)  Convert image data to desired format.
      - -inline ::Image FromImage (::Rectangle rec) const - Create an image from another image piece.
    -  + +::Image FromImage (::Rectangle rec) const + Create an image from another image piece.
    Rectangle GetAlphaBorder (float threshold) const  Get image alpha border rectangle. More...
      @@ -275,10 +289,10 @@ int GetPixelDataSize () const  Returns the pixel data size based on the current image. More...
      - -inline ::Vector2 GetSize () const - Retrieve the width and height of the image.
    -  + +::Vector2 GetSize () const + Retrieve the width and height of the image.
    +  int GetWidth () const  Retrieves the width value for the object. More...
      @@ -300,18 +314,18 @@ void Load (const std::string &fileType, const unsigned char *fileData, int dataSize)  Load image from memory buffer, fileType refers to extension: i.e. More...
      - -inline ::ColorLoadColors () const - Load color data from image as a Color array (RGBA - 32bit)
    -  - -inline ::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const - Load colors palette from image as a Color array (RGBA - 32bit)
    -  - -inline ::Texture2D LoadTexture () const - Load texture from image data.
    -  + +::ColorLoadColors () const + Load color data from image as a Color array (RGBA - 32bit)
    +  + +::ColorLoadPalette (int maxPaletteSize, int *colorsCount) const + Load colors palette from image as a Color array (RGBA - 32bit)
    +  + +::Texture2D LoadTexture () const + Load texture from image data.
    ImageMipmaps ()  Generate all mipmap levels for a provided image.
    @@ -340,6 +354,10 @@ ImageResizeNN (int newWidth, int newHeight)  Resize and image to new size using Nearest-Neighbor scaling algorithm.
      + +ImageRotate (int degrees) + Rotate image by input angle in degrees (-359 to 359)
    ImageRotateCCW ()  Rotate image counter-clockwise 90deg.
    @@ -348,21 +366,12 @@ ImageRotateCW ()  Rotate image clockwise 90deg.
      -void SetData (void *value) - Sets the data value for the object. More...
    -  -void SetFormat (int value) - Sets the format value for the object. More...
    -  -void SetHeight (int value) - Sets the height value for the object. More...
    -  -void SetMipmaps (int value) - Sets the mipmaps value for the object. More...
    -  -void SetWidth (int value) - Sets the width value for the object. More...
    -  +void SetHeight (int height, int offsetX=0, int offsetY=0, ::Color fill={255, 255, 255, 255}) + Set the height of the image canvas. More...
    +  +void SetWidth (int width, int offsetX=0, int offsetY=0, ::Color fill={255, 255, 255, 255}) + Set the width of the image canvas. More...
    ImageToPOT (::Color fillColor)  Convert image to POT (power-of-two)
    @@ -397,18 +406,14 @@ static int GetPixelDataSize (int width, int height, int format=PIXELFORMAT_UNCOMPRESSED_R32G32B32A32)  Get pixel data size in bytes for certain format.
      - -::Image GradientH (int width, int height, ::Color left, ::Color right) - Generate image: horizontal gradient.
    -  + +::Image GradientLinear (int width, int height, int direction, ::Color start, ::Color end) + Generate image: linear gradient.
    ::Image GradientRadial (int width, int height, float density, ::Color inner, ::Color outer)  Generate image: radial gradient.
      - -::Image GradientV (int width, int height, ::Color top, ::Color bottom) - Generate image: vertical gradient.
    ::Image LoadFromScreen ()  Get pixel data from screen buffer and return an Image (screenshot)
    @@ -423,6 +428,12 @@ ::Image WhiteNoise (int width, int height, float factor)  Generate image: white noise.
      + + + +

    +Protected Member Functions

    +void set (const ::Image &image)
     

    Detailed Description

    Image type, bpp always RGBA (32bit)

    @@ -465,7 +476,7 @@

    Definition at line 38 of file Image.hpp.

    -

    References Load().

    +

    References Load().

    @@ -532,7 +543,7 @@

    Definition at line 49 of file Image.hpp.

    -

    References Load().

    +

    References Load().

    @@ -581,7 +592,7 @@

    Definition at line 60 of file Image.hpp.

    -

    References Load().

    +

    References Load().

    @@ -635,7 +646,7 @@

    Definition at line 69 of file Image.hpp.

    -

    References Load().

    +

    References Load().

    @@ -673,7 +684,7 @@

    Definition at line 78 of file Image.hpp.

    -

    References Load().

    +

    References Load().

    @@ -721,7 +732,7 @@

    Definition at line 173 of file Image.hpp.

    +

    Definition at line 166 of file Image.hpp.

    @@ -757,7 +768,7 @@

    Definition at line 542 of file Image.hpp.

    +

    Definition at line 568 of file Image.hpp.

    @@ -793,7 +804,7 @@

    Definition at line 532 of file Image.hpp.

    +

    Definition at line 558 of file Image.hpp.

    @@ -829,7 +840,7 @@

    Definition at line 302 of file Image.hpp.

    +

    Definition at line 295 of file Image.hpp.

    References raylib::ExportImage().

    @@ -905,7 +916,7 @@

    Definition at line 560 of file Image.hpp.

    +

    Definition at line 586 of file Image.hpp.

    @@ -1055,7 +1066,7 @@

    Returns
    The pixel data size of the image.
    -

    Definition at line 716 of file Image.hpp.

    +

    Definition at line 762 of file Image.hpp.

    @@ -1115,9 +1126,9 @@

    Image has been loaded.

    Returns
    True or false depending on whether the Image has been loaded.
    -

    Definition at line 725 of file Image.hpp.

    +

    Definition at line 771 of file Image.hpp.

    -

    Referenced by Load().

    +

    Referenced by Load().

    @@ -1154,9 +1165,9 @@

    See also
    ::LoadImageFromTexture()
    -

    Definition at line 280 of file Image.hpp.

    +

    Definition at line 273 of file Image.hpp.

    -

    References IsReady().

    +

    References IsReady().

    @@ -1193,9 +1204,9 @@

    See also
    LoadImage()
    -

    Definition at line 221 of file Image.hpp.

    +

    Definition at line 214 of file Image.hpp.

    -

    References IsReady(), and raylib::LoadImage().

    +

    References IsReady(), and raylib::LoadImage().

    Referenced by Image().

    @@ -1244,9 +1255,9 @@

    See also
    LoadImageAnim()
    -

    Definition at line 249 of file Image.hpp.

    +

    Definition at line 242 of file Image.hpp.

    -

    References IsReady(), and raylib::LoadImageAnim().

    +

    References IsReady(), and raylib::LoadImageAnim().

    @@ -1311,9 +1322,9 @@

    See also
    LoadImageRaw()
    -

    Definition at line 235 of file Image.hpp.

    +

    Definition at line 228 of file Image.hpp.

    -

    References IsReady(), and raylib::LoadImageRaw().

    +

    References IsReady(), and raylib::LoadImageRaw().

    @@ -1367,9 +1378,9 @@

    See also
    LoadImageFromMemory()
    -

    Definition at line 263 of file Image.hpp.

    +

    Definition at line 256 of file Image.hpp.

    -

    References IsReady(), and raylib::LoadImageFromMemory().

    +

    References IsReady(), and raylib::LoadImageFromMemory().

    @@ -1397,16 +1408,16 @@

    Loads a texture from the image data.

    -
    See also
    LoadTexture()
    +
    See also
    LoadTexture()
    -

    Definition at line 700 of file Image.hpp.

    +

    Definition at line 746 of file Image.hpp.

    -

    References LoadTexture().

    +

    References LoadTexture().

    - -

    ◆ SetData()

    + +

    ◆ SetHeight()

    - -

    ◆ SetFormat()

    - -
    -
    - - - - - -
    - - - + + - + + + + + + -
    void raylib::Image::SetFormat ( int value)offsetY = 0,
    ::Color fill = {255, 255, 255, 255} 
    -
    -inline
    -
    - -

    Sets the format value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set format to.
    -
    -
    - -

    Definition at line 323 of file Image.hpp.

    - -
    -
    - -

    ◆ SetHeight()

    - -
    -
    - - - @@ -1501,20 +1462,15 @@

    -

    Sets the height value for the object.

    -
    Parameters
    -

    - - - - - + +
    void raylib::Image::SetHeight (int value) )
    - -
    valueThe value of which to set height to.
    - - +

    Set the height of the image canvas.

    +
    See also
    ResizeCanvas
    -

    Definition at line 321 of file Image.hpp.

    +

    Definition at line 339 of file Image.hpp.

    - -

    ◆ SetMipmaps()

    + +

    ◆ SetWidth()

    - -

    ◆ SetWidth()

    - -
    -
    - - - @@ -1573,15 +1515,10 @@

    -

    Sets the width value for the object.

    -
    Parameters
    -

    - - - + + - + + + + + + + + + + +
    void raylib::Image::SetWidth ( int value)offsetY = 0,
    ::Color fill = {255, 255, 255, 255} 
    )
    - -
    valueThe value of which to set width to.
    - - +

    Set the width of the image canvas.

    +
    See also
    ResizeCanvas
    -

    Definition at line 320 of file Image.hpp.

    +

    Definition at line 330 of file Image.hpp.

    diff --git a/classraylib_1_1_material-members.html b/classraylib_1_1_material-members.html index 774b52ea..2677017e 100644 --- a/classraylib_1_1_material-members.html +++ b/classraylib_1_1_material-members.html @@ -79,7 +79,7 @@ DrawMesh(const ::Mesh &mesh, ::Matrix *transforms, int instances) constraylib::Materialinline GetMaps() constraylib::Materialinline GetShader() constraylib::Materialinline - IsReady()raylib::Materialinline + IsReady() constraylib::Materialinline Load(const std::string &fileName)raylib::Materialinlinestatic Material(const ::Material &material) (defined in raylib::Material)raylib::Materialinline Material()raylib::Materialinline @@ -88,11 +88,12 @@ operator=(const ::Material &material) (defined in raylib::Material)raylib::Materialinline operator=(const Material &)=delete (defined in raylib::Material)raylib::Material operator=(Material &&other) noexcept (defined in raylib::Material)raylib::Materialinline - SetMaps(::MaterialMap *value)raylib::Materialinline - SetShader(::Shader value)raylib::Materialinline - SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline - Unload()raylib::Materialinline - ~Material() (defined in raylib::Material)raylib::Materialinline + set(const ::Material &material) (defined in raylib::Material)raylib::Materialinlineprotected + SetMaps(::MaterialMap *value)raylib::Materialinline + SetShader(::Shader value)raylib::Materialinline + SetTexture(int mapType, const ::Texture2D &texture)raylib::Materialinline + Unload()raylib::Materialinline + ~Material() (defined in raylib::Material)raylib::Materialinline
    @@ -271,7 +314,7 @@

    Returns
    The boneCount value of the object.
    -

    Definition at line 71 of file Model.hpp.

    +

    Definition at line 80 of file Model.hpp.

    @@ -301,7 +344,7 @@

    Returns
    The bones value of the object.
    -

    Definition at line 72 of file Model.hpp.

    +

    Definition at line 81 of file Model.hpp.

    @@ -331,7 +374,7 @@

    Returns
    The materialCount value of the object.
    -

    Definition at line 67 of file Model.hpp.

    +

    Definition at line 76 of file Model.hpp.

    @@ -361,7 +404,7 @@

    Returns
    The materials value of the object.
    -

    Definition at line 69 of file Model.hpp.

    +

    Definition at line 78 of file Model.hpp.

  • @@ -391,7 +434,7 @@

    Returns
    The meshCount value of the object.
    -

    Definition at line 66 of file Model.hpp.

    +

    Definition at line 75 of file Model.hpp.

    @@ -421,7 +464,7 @@

    Returns
    The meshes value of the object.
    -

    Definition at line 68 of file Model.hpp.

    +

    Definition at line 77 of file Model.hpp.

    @@ -451,7 +494,7 @@

    Returns
    The meshMaterial value of the object.
    -

    Definition at line 70 of file Model.hpp.

    +

    Definition at line 79 of file Model.hpp.

    @@ -481,7 +524,7 @@

    Returns
    The transform value of the object.
    -

    Definition at line 65 of file Model.hpp.

    +

    Definition at line 74 of file Model.hpp.

    @@ -509,7 +552,7 @@

    -

    Loads a Model from the given Mesh.

    +

    Loads a Model from the given Mesh.

    Exceptions
    @@ -517,9 +560,9 @@

    Definition at line 216 of file Model.hpp.

    +

    Definition at line 225 of file Model.hpp.

    -

    References IsReady().

    +

    References IsReady().

    @@ -555,9 +598,9 @@

    Definition at line 204 of file Model.hpp.

    +

    Definition at line 213 of file Model.hpp.

    -

    References IsReady().

    +

    References IsReady().

    @@ -593,7 +636,7 @@

    Definition at line 73 of file Model.hpp.

    +

    Definition at line 82 of file Model.hpp.

    @@ -629,7 +672,7 @@

    Definition at line 71 of file Model.hpp.

    +

    Definition at line 80 of file Model.hpp.

    @@ -665,7 +708,7 @@

    Definition at line 72 of file Model.hpp.

    +

    Definition at line 81 of file Model.hpp.

    @@ -701,7 +744,7 @@

    Definition at line 67 of file Model.hpp.

    +

    Definition at line 76 of file Model.hpp.

    @@ -737,7 +780,7 @@

    Definition at line 69 of file Model.hpp.

    +

    Definition at line 78 of file Model.hpp.

    @@ -773,7 +816,7 @@

    Definition at line 66 of file Model.hpp.

    +

    Definition at line 75 of file Model.hpp.

    @@ -809,7 +852,7 @@

    Definition at line 68 of file Model.hpp.

    +

    Definition at line 77 of file Model.hpp.

    @@ -845,7 +888,7 @@

    Definition at line 70 of file Model.hpp.

    +

    Definition at line 79 of file Model.hpp.

    @@ -881,7 +924,7 @@

    Definition at line 65 of file Model.hpp.

    +

    Definition at line 74 of file Model.hpp.

    diff --git a/classraylib_1_1_model_animation-members.html b/classraylib_1_1_model_animation-members.html index bdf4e7f7..60307099 100644 --- a/classraylib_1_1_model_animation-members.html +++ b/classraylib_1_1_model_animation-members.html @@ -87,13 +87,14 @@

    - - - - - - - + + + + + + + +
    raylib::RaylibExceptionThrows if failed to load the Modal.
    operator=(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    operator=(const ModelAnimation &)=delete (defined in raylib::ModelAnimation)raylib::ModelAnimation
    operator=(ModelAnimation &&other) noexcept (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    SetBoneCount(int value)raylib::ModelAnimationinline
    SetBones(::BoneInfo *value)raylib::ModelAnimationinline
    SetFrameCount(int value)raylib::ModelAnimationinline
    SetFramePoses(::Transform **value)raylib::ModelAnimationinline
    Unload()raylib::ModelAnimationinline
    Update(const ::Model &model, int frame)raylib::ModelAnimationinline
    ~ModelAnimation() (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    set(const ::ModelAnimation &model) (defined in raylib::ModelAnimation)raylib::ModelAnimationinlineprotected
    SetBoneCount(int value)raylib::ModelAnimationinline
    SetBones(::BoneInfo *value)raylib::ModelAnimationinline
    SetFrameCount(int value)raylib::ModelAnimationinline
    SetFramePoses(::Transform **value)raylib::ModelAnimationinline
    Unload()raylib::ModelAnimationinline
    Update(const ::Model &model, int frame)raylib::ModelAnimationinline
    ~ModelAnimation() (defined in raylib::ModelAnimation)raylib::ModelAnimationinline
    -

    Definition at line 57 of file Shader.hpp.

    +

    Definition at line 65 of file Shader.hpp.

    @@ -231,7 +238,7 @@

    See also
    GetShaderLocation()
    -

    Definition at line 118 of file Shader.hpp.

    +

    Definition at line 126 of file Shader.hpp.

    @@ -262,7 +269,7 @@

    See also
    GetShaderLocationAttrib()
    -

    Definition at line 127 of file Shader.hpp.

    +

    Definition at line 135 of file Shader.hpp.

    @@ -292,7 +299,7 @@

    Returns
    The locs value of the object.
    -

    Definition at line 58 of file Shader.hpp.

    +

    Definition at line 66 of file Shader.hpp.

    @@ -374,80 +381,8 @@

    See also
    ::LoadShaderFromMemory
    -

    Definition at line 53 of file Shader.hpp.

    - - - - -

    ◆ SetId()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Shader::SetId (unsigned int value)
    -
    -inline
    -
    - -

    Sets the id value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set id to.
    -
    -
    -

    Definition at line 57 of file Shader.hpp.

    -
    -
    - -

    ◆ SetLocs()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void raylib::Shader::SetLocs (int * value)
    -
    -inline
    -
    - -

    Sets the locs value for the object.

    -
    Parameters
    - - -
    valueThe value of which to set locs to.
    -
    -
    - -

    Definition at line 58 of file Shader.hpp.

    -
    @@ -487,7 +422,7 @@

    See also
    SetShaderValueMatrix()
    -

    Definition at line 156 of file Shader.hpp.

    +

    Definition at line 164 of file Shader.hpp.

    @@ -528,7 +463,7 @@

    See also
    SetShaderValueTexture()
    -

    Definition at line 166 of file Shader.hpp.

    +

    Definition at line 174 of file Shader.hpp.

    @@ -575,7 +510,7 @@

    See also
    SetShaderValue()
    -

    Definition at line 136 of file Shader.hpp.

    +

    Definition at line 144 of file Shader.hpp.

    @@ -628,7 +563,7 @@

    See also
    SetShaderValueV()
    -

    Definition at line 146 of file Shader.hpp.

    +

    Definition at line 154 of file Shader.hpp.

    diff --git a/classraylib_1_1_sound-members.html b/classraylib_1_1_sound-members.html index c250d29d..2baa8a09 100644 --- a/classraylib_1_1_sound-members.html +++ b/classraylib_1_1_sound-members.html @@ -86,22 +86,21 @@ Pause()raylib::Soundinline Play()raylib::Soundinline Resume()raylib::Soundinline - SetFrameCount(unsigned int value)raylib::Soundinline + set(const ::Sound &sound) (defined in raylib::Sound)raylib::Soundinlineprotected SetPan(float pan=0.5f)raylib::Soundinline SetPitch(float pitch)raylib::Soundinline - SetStream(::AudioStream value)raylib::Soundinline - SetVolume(float volume)raylib::Soundinline - Sound(const Sound &)=delete (defined in raylib::Sound)raylib::Sound - Sound() (defined in raylib::Sound)raylib::Soundinline - Sound(::AudioStream stream, unsigned int frameCount) (defined in raylib::Sound)raylib::Soundinline - Sound(Sound &&other) (defined in raylib::Sound)raylib::Soundinline - Sound(const std::string &fileName)raylib::Soundinline - Sound(const ::Wave &wave)raylib::Soundinline - Stop()raylib::Soundinline - Unload()raylib::Soundinline - Update(const void *data, int samplesCount)raylib::Soundinline - Update(const void *data)raylib::Soundinline - ~Sound() (defined in raylib::Sound)raylib::Soundinline + SetVolume(float volume)raylib::Soundinline + Sound(const Sound &)=delete (defined in raylib::Sound)raylib::Sound + Sound() (defined in raylib::Sound)raylib::Soundinline + Sound(::AudioStream stream, unsigned int frameCount) (defined in raylib::Sound)raylib::Soundinline + Sound(Sound &&other) (defined in raylib::Sound)raylib::Soundinline + Sound(const std::string &fileName)raylib::Soundinline + Sound(const ::Wave &wave)raylib::Soundinline + Stop()raylib::Soundinline + Unload()raylib::Soundinline + Update(const void *data, int samplesCount)raylib::Soundinline + Update(const void *data)raylib::Soundinline + ~Sound() (defined in raylib::Sound)raylib::Soundinline