SPARK
0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
ImGui.h
1
#pragma once
2
3
#include "spark/imgui/Export.h"
4
5
#include "spark/render/Backend.h"
6
#include "spark/render/GraphicsDevice.h"
7
#include "spark/render/RenderPass.h"
8
9
// ReSharper disable once IdentifierTypo : Type from GLFW
10
// ReSharper disable once CppInconsistentNaming
11
struct
GLFWwindow;
12
13
namespace
spark::imgui
14
{
22
SPARK_IMGUI_EXPORT
void
init(GLFWwindow* window, render::IRenderBackend& backend, render::IGraphicsDevice& device, render::IRenderPass& render_pass);
23
33
SPARK_IMGUI_EXPORT
void
* context();
34
38
SPARK_IMGUI_EXPORT
void
new_frame();
39
44
SPARK_IMGUI_EXPORT
void
render(
const
render::ICommandBuffer& command_buffer);
45
50
SPARK_IMGUI_EXPORT
void
shutdown(
const
render::IGraphicsDevice& backend);
51
}
sources
spark
imgui
include
spark
imgui
ImGui.h
Generated by
1.11.0