3#include "pixelbullet/core/event.h"
5#include "pixelbullet/application/application_internal.h"
6#include "pixelbullet/application/launch_gpu_defaults_internal.h"
7#include "pixelbullet/graphics/gpu_session.h"
22namespace pixelbullet::application_internal
26 bool runfiles_available =
false;
27 std::filesystem::path packaged_runtime_root;
33 std::function<void()> create_graphics_resource_cache;
38 std::function<void(
const std::function<
void(uint32_t)>&)> set_framebuffer_resize_callback;
39 std::function<void(
const std::string&)> set_window_icon;
40 std::function<void()> create_audio;
41 std::function<void()> create_layer_stack;
42 std::function<void()> clear_window_callbacks;
43 std::function<void()> clear_renderer;
45 std::function<void()> reset_graphics_resource_cache;
48enum class LayerInsertion
54enum class LaunchRunOutcome
70 bool cli_handled =
false;
77 const std::function<
void(uint32_t)>& framebuffer_resize_callback,
const RuntimeShellBindings& bindings);
79[[nodiscard]]
Layer* AttachLayer(
ApplicationState& state, std::unique_ptr<Layer> layer, LayerInsertion insertion);
80[[nodiscard]]
int MapLaunchRunOutcomeToExitCode(LaunchRunOutcome outcome)
noexcept;
Definition application_internal.h:20
Definition specification.h:61
Contains configuration options for both the game and the engine.
Definition specification.h:82
Definition graphics_config.h:19
Definition gpu_session.h:23
Definition window_config.h:11
Definition application_shell_internal.h:68
Definition application_shell_internal.h:62
Definition application_shell_internal.h:25
Definition application_shell_internal.h:31