|
| | first_person_window (std::size_t width=800, std::size_t height=600) |
| |
| virtual | ~first_person_window ()=default |
| |
| auto | width () const |
| |
| auto | height () const |
| |
| auto | camera_controller () -> auto & |
| |
| auto | camera_controller () const -> auto const & |
| |
| template<typename Event > |
| auto | render_loop (Event &&event) |
| |
| template<typename F > |
| auto | update (F &&f, std::chrono::duration< double > const &dt) |
| |
| auto | projection_matrix () const |
| |
| auto | view_matrix () const |
| |
| auto | on_resize (int w, int h) -> void override |
| |
| auto | on_key_pressed (gl::key k) -> void override |
| |
| auto | imgui_render_backend () const -> auto const & |
| |
| auto | imgui_render_backend () -> auto & |
| |
| | window (const std::string &title, size_t width, size_t height) |
| |
| | ~window () |
| |
| void | make_current () |
| |
| void | release () |
| |
| void | refresh () |
| |
| void | render_imgui () |
| |
| void | swap_buffers () |
| |
| void | check_events () |
| |
| void | on_key_pressed (key) override |
| |
| void | on_key_released (key) override |
| |
| void | on_button_pressed (button) override |
| |
| void | on_button_released (button) override |
| |
| void | on_wheel_up () override |
| |
| void | on_wheel_down () override |
| |
| void | on_wheel_left () override |
| |
| void | on_wheel_right () override |
| |
| void | on_cursor_moved (double, double) override |
| |
| void | on_resize (int, int) override |
| |
| auto | get () -> auto & |
| |
| auto | get () const -> auto const & |
| |
| auto | should_close () const |
| |
| auto | primary_screen_resolution () const |
| |
| template<typename F > |
| void | do_async (F &&f) |
| |
| void | notify_key_pressed (key k) |
| |
| void | notify_key_released (key k) |
| |
| void | notify_button_pressed (button b) |
| |
| void | notify_button_released (button b) |
| |
| void | notify_wheel_up () |
| |
| void | notify_wheel_down () |
| |
| void | notify_wheel_left () |
| |
| void | notify_wheel_right () |
| |
| void | notify_cursor_moved (double x, double y) |
| |
| void | notify_resize (int width, int height) |
| |
| void | notify_close () |
| |
| void | add_listener (window_listener &l) |
| |
| template<typename Event > |
| void | add_resize_event (Event &&event) |
| |
| template<typename Event > |
| void | add_key_pressed_event (Event &&event) |
| |
| template<typename Event > |
| void | add_key_released_event (Event &&event) |
| |
| template<typename Event > |
| void | add_button_pressed_event (Event &&event) |
| |
| template<typename Event > |
| void | add_button_released_event (Event &&event) |
| |
| template<typename Event > |
| void | add_cursor_moved_event (Event &&event) |
| |
| template<typename Event > |
| void | add_wheel_up_event (Event &&event) |
| |
| template<typename Event > |
| void | add_wheel_down_event (Event &&event) |
| |
| virtual void | on_cursor_moved (double, double) |
| |
| virtual void | on_resize (int, int) |
| |
| virtual void | on_close () |
| |
| virtual void | on_key_pressed (key) |
| |
| virtual void | on_key_released (key) |
| |
| virtual void | on_button_pressed (button) |
| |
| virtual void | on_button_released (button) |
| |
| virtual void | on_wheel_up () |
| |
| virtual void | on_wheel_down () |
| |
| virtual void | on_wheel_left () |
| |
| virtual void | on_wheel_right () |
| |