2022-07-27 08:25:25 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <aurora/event.h>
|
|
|
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
union SDL_Event;
|
2022-08-02 13:37:56 -07:00
|
|
|
|
|
|
|
namespace wgpu {
|
|
|
|
class RenderPassEncoder;
|
|
|
|
} // namespace wgpu
|
2022-07-27 08:25:25 -07:00
|
|
|
|
|
|
|
namespace aurora::imgui {
|
|
|
|
void create_context() noexcept;
|
|
|
|
void initialize() noexcept;
|
|
|
|
void shutdown() noexcept;
|
|
|
|
|
|
|
|
void process_event(const SDL_Event& event) noexcept;
|
|
|
|
void new_frame(const AuroraWindowSize& size) noexcept;
|
2022-08-02 13:37:56 -07:00
|
|
|
void render(const wgpu::RenderPassEncoder& pass) noexcept;
|
2022-07-27 08:25:25 -07:00
|
|
|
} // namespace aurora::imgui
|