#include <Application.h>
Definition at line 43 of file Application.h.
◆ Application()
| hellfire::Application::Application |
( |
int |
width = 800, |
|
|
int |
height = 600, |
|
|
std::string |
title = "hellfire Application" |
|
) |
| |
|
explicit |
◆ ~Application()
| hellfire::Application::~Application |
( |
| ) |
|
|
override |
◆ call_plugins()
template<typename Func >
| void hellfire::Application::call_plugins |
( |
Func && |
func | ) |
|
|
inlineprivate |
◆ call_plugins_until_consumed()
template<typename Func >
| bool hellfire::Application::call_plugins_until_consumed |
( |
Func && |
func | ) |
|
|
inlineprivate |
◆ create_minimal_fallback_shader()
| uint32_t hellfire::Application::create_minimal_fallback_shader |
( |
| ) |
|
◆ ensure_fallback_shader()
| Shader * hellfire::Application::ensure_fallback_shader |
( |
| ) |
|
◆ get_window_info()
| AppInfo & hellfire::Application::get_window_info |
( |
| ) |
|
|
inline |
◆ handle_cursor_warping()
| void hellfire::Application::handle_cursor_warping |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
|
protected |
◆ handle_first_mouse_movement()
| bool hellfire::Application::handle_first_mouse_movement |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
protected |
◆ initialize()
| void hellfire::Application::initialize |
( |
| ) |
|
◆ on_key_down()
| void hellfire::Application::on_key_down |
( |
int |
key | ) |
|
|
overrideprotectedvirtual |
◆ on_key_up()
| void hellfire::Application::on_key_up |
( |
int |
key | ) |
|
|
overrideprotectedvirtual |
◆ on_mouse_button()
| void hellfire::Application::on_mouse_button |
( |
int |
button, |
|
|
bool |
pressed |
|
) |
| |
|
overrideprotectedvirtual |
◆ on_mouse_move()
| void hellfire::Application::on_mouse_move |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
overrideprotectedvirtual |
◆ on_render()
| void hellfire::Application::on_render |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ on_window_minimize()
| void hellfire::Application::on_window_minimize |
( |
bool |
minimized | ) |
|
|
overrideprotectedvirtual |
◆ on_window_resize()
| void hellfire::Application::on_window_resize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
overrideprotectedvirtual |
◆ register_plugin()
| void hellfire::Application::register_plugin |
( |
std::unique_ptr< IApplicationPlugin > |
plugin | ) |
|
|
inline |
Method for registering plugins.
Definition at line 61 of file Application.h.
◆ request_exit()
| void hellfire::Application::request_exit |
( |
| ) |
|
◆ run()
| void hellfire::Application::run |
( |
| ) |
|
◆ set_exit_condition()
| void hellfire::Application::set_exit_condition |
( |
std::function< bool()> |
condition | ) |
|
◆ should_exit()
| bool hellfire::Application::should_exit |
( |
| ) |
const |
◆ exit_condition_
| std::function<bool()> hellfire::Application::exit_condition_ |
|
private |
◆ input_manager_
| std::unique_ptr<InputManager> hellfire::Application::input_manager_ |
|
private |
◆ plugins_
◆ shader_manager_
◆ shader_registry_
◆ should_exit_
| bool hellfire::Application::should_exit_ = false |
|
private |
◆ window_
| std::unique_ptr<IWindow> hellfire::Application::window_ |
|
private |
◆ window_info_
| AppInfo hellfire::Application::window_info_ |
|
private |
The documentation for this class was generated from the following files: