Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
imgui_impl_ogre2.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OGRE/OgreWindow.h>
4 #include <OGRE/OgreRoot.h>
5 #include <OGRE/OgreTextureGpu.h>
6 #include <OGRE/OgreVector4.h>
7 #include <OGRE/OgreRenderPassDescriptor.h>
8 
9 #include <OGRE/RenderSystems/Direct3D11/OgreD3D11RenderSystem.h>
10 #include <OGRE/RenderSystems/GL3Plus/OgreGL3PlusRenderSystem.h>
11 #include <OGRE/RenderSystems/Vulkan/OgreVulkanRenderSystem.h>
12 
14 {
15  DirectX11,
17  Vulkan,
19 };
20 
21 /*class BlamOgreImGuiRenderSystem
22 {
23 protected:
24  BlamOgreRenderSystemType render_system_type = BlamOgreRenderSystemType::Unspecified;
25 
26 public:
27  BlamOgreRenderSystemType GetRenderSystemType();
28 };
29 
30 class OgreImGuiRenderSystem_DX11 : public Ogre::D3D11RenderSystem, public BlamOgreImGuiRenderSystem
31 {
32 public:
33  OgreImGuiRenderSystem_DX11();
34 
35  void beginRenderPassDescriptor(Ogre::RenderPassDescriptor* desc, Ogre::TextureGpu* anyTarget, Ogre::uint8 mipLevel, const Ogre::Vector4* viewportSizes,
36  const Ogre::Vector4* scissors, Ogre::uint32 numViewports, bool overlaysEnabled, bool warnIfRtvWasFlushed) override;
37 };
38 
39 class OgreImGuiRenderSystem_GL3Plus : public Ogre::GL3PlusRenderSystem, public BlamOgreImGuiRenderSystem
40 {
41 
42 };
43 
44 class OgreImGuiRenderSystem_Vulkan : public Ogre::VulkanRenderSystem, public BlamOgreImGuiRenderSystem
45 {
46 
47 };*/
48 
49 
BlamOgreRenderSystemType
BlamOgreRenderSystemType
Definition: imgui_impl_ogre2.h:13
ImGui_ImplOgre2_NewFrame
void ImGui_ImplOgre2_NewFrame()
Definition: imgui_impl_ogre2.cpp:112
BlamOgreRenderSystemType::DirectX11
@ DirectX11
render_system_type
BlamOgreRenderSystemType render_system_type
Definition: imgui_impl_ogre2.cpp:18
Blam::Logger::LogEvent
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
imgui_impl_opengl3.h
ImGui_ImplOgre2_Shutdown
void ImGui_ImplOgre2_Shutdown()
Definition: imgui_impl_ogre2.cpp:133
imgui_impl_sdl.h
logger.h
ImGui_ImplDX11_NewFrame
void ImGui_ImplDX11_NewFrame()
Definition: imgui_impl_dx11.cpp:540
BlamRendering::OGRE::GetGraphicsSystem
BLAM Demo::GraphicsSystem * GetGraphicsSystem()
Definition: ogre.cpp:343
imgui.h
ImGui_ImplDX11_Shutdown
void ImGui_ImplDX11_Shutdown()
Definition: imgui_impl_dx11.cpp:532
imgui_impl_vulkan.h
imgui_impl_dx11.h
ImGui_ImplSDL2_InitForD3D
bool ImGui_ImplSDL2_InitForD3D(SDL_Window *window)
Definition: imgui_impl_sdl.cpp:212
ImGui_ImplOgre2_Init
bool ImGui_ImplOgre2_Init()
Definition: imgui_impl_ogre2.cpp:20
BlamTagFieldType::Unspecified
@ Unspecified
Indicates that the field's type is not specified. Fields with this type should be considered invalid.
ImGui_ImplOpenGL3_Shutdown
void ImGui_ImplOpenGL3_Shutdown()
Definition: imgui_impl_opengl3.cpp:233
ImGui_ImplOpenGL3_Init
bool ImGui_ImplOpenGL3_Init(const char *glsl_version)
Definition: imgui_impl_opengl3.cpp:153
ImGui_ImplOgre2_NewFrame
void ImGui_ImplOgre2_NewFrame()
Definition: imgui_impl_ogre2.cpp:112
rendering.h
ImGui_ImplOgre2_GetRenderSystem
BlamOgreRenderSystemType ImGui_ImplOgre2_GetRenderSystem()
Definition: imgui_impl_ogre2.cpp:154
ImGui_ImplOgre2_Shutdown
void ImGui_ImplOgre2_Shutdown()
Definition: imgui_impl_ogre2.cpp:133
ImGui_ImplDX11_Init
bool ImGui_ImplDX11_Init(ID3D11Device *device, ID3D11DeviceContext *device_context)
Definition: imgui_impl_dx11.cpp:504
BlamOgreRenderSystemType::OpenGL3Plus
@ OpenGL3Plus
imgui_impl_ogre2.h
BlamOgreRenderSystemType::Unspecified
@ Unspecified
core.h
ImGui_ImplOgre2_GetRenderSystem
BlamOgreRenderSystemType ImGui_ImplOgre2_GetRenderSystem()
Definition: imgui_impl_ogre2.cpp:154
ImGui_ImplOpenGL3_NewFrame
void ImGui_ImplOpenGL3_NewFrame()
Definition: imgui_impl_opengl3.cpp:238
BlamOgreRenderSystemType::Vulkan
@ Vulkan
Demo::GraphicsSystem::getRoot
Ogre::Root * getRoot(void) const
Definition: GraphicsSystem.h:144
Blam::GetMainWindowHandle
BLAM SDL_Window * GetMainWindowHandle()
Retrieves the main window handle of the application, when using SDL.
Definition: main.cpp:729
ImGui_ImplOgre2_Init
bool ImGui_ImplOgre2_Init()
Definition: imgui_impl_ogre2.cpp:20