3#ifdef BUILDSYSTEM_ENABLE_IMGUI_SUPPORT
5# include <Core/ResourceManager/ResourceHandle.h>
6# include <Foundation/Math/Rect.h>
7# include <GameEngine/GameEngineDLL.h>
8# include <Imgui/imgui.h>
9# include <RendererCore/Meshes/MeshBufferResource.h>
10# include <RendererCore/Pipeline/Extractor.h>
11# include <RendererCore/Pipeline/RenderData.h>
12# include <RendererCore/Pipeline/Renderer.h>
17struct alignas(16) plImguiVertex
19 PL_DECLARE_POD_TYPE();
28 PL_DECLARE_POD_TYPE();
31 plUInt16 m_uiTextureID;
32 plUInt16 m_uiVertexCount;
35class PL_GAMEENGINE_DLL plImguiRenderData :
public plRenderData
37 PL_ADD_DYNAMIC_REFLECTION(plImguiRenderData,
plRenderData);
45class PL_GAMEENGINE_DLL plImguiExtractor :
public plExtractor
47 PL_ADD_DYNAMIC_REFLECTION(plImguiExtractor,
plExtractor);
50 plImguiExtractor(
const char* szName =
"ImguiExtractor");
58class PL_GAMEENGINE_DLL plImguiRenderer :
public plRenderer
60 PL_ADD_DYNAMIC_REFLECTION(plImguiRenderer,
plRenderer);
61 PL_DISALLOW_COPY_AND_ASSIGN(plImguiRenderer);
69 virtual void RenderBatch(
75 static constexpr plUInt32 s_uiVertexBufferSize = 10000;
76 static constexpr plUInt32 s_uiIndexBufferSize = s_uiVertexBufferSize * 2;
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
A 8bit per channel unsigned normalized (values interpreted as 0-1) color storage format that represen...
Definition Color8UNorm.h:61
Definition DynamicArray.h:81
Definition RendererFoundationDLL.h:418
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition RenderDataBatch.h:6
Base class for all render data. Render data must contain all information that is needed to render the...
Definition RenderData.h:14
Definition RenderPipelinePass.h:26
This is the base class for types that handle rendering of different object types.
Definition Renderer.h:9
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
Encapsulates a view on the given world through the given camera and rendered with the specified Rende...
Definition View.h:21
Definition Declarations.h:51
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
Definition MeshBufferResource.h:24