2
3
4
5
9#include "Slate/Imgui/ImguiUtils.h"
14
15
22
23
26 ImGui_ImplVulkan_RemoveTexture(
reinterpret_cast<VkDescriptorSet>(TriangleID));
27 ImGui_ImplVulkan_RemoveTexture(
reinterpret_cast<VkDescriptorSet>(MeshletID));
32
33
34
40
41
42
43
45 const std::string& panelName,
50
51
55
56
57
61
62
66
67
73
74
75
76
80
81
87
88
92
93
97
98
#define BIND_EVENT_FN(x)
Bind Event.
#define SPICES_PROFILE_ZONEN(...)
#define SPICES_PROFILE_ZONE
EventDispatcher(Event &event)
Constructor Function.
This Class store a Specific Event type first and Dispatch a event handle function to it.
This Class is the basic Event Class. Inherit from it and create specific event class.
FrameInfo Class. This class defines the FrameInfo data.
ImguiSlate(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function. Init with Slate's name.
This Class defines the basic behaves of specific slate. When we add an new Slate, we need inherit fro...
float m_Width
The slate width.
float m_Height
The slate height.
bool OnSlateResized(SlateResizeEvent &event)
Event Dispatcher target. Registry on Slate(Viewport) Resized.
ImguiVirtualGeometryVisualizer(const std::string &panelName, FrameInfo &frameInfo)
Constructor Function.
virtual void OnRender() override
This interface is called On SlateRenderer Render.
void QueryID()
Query ID from RendererResourcePool.
VirtualGeometryBufferID m_BufferID
The instance of GBufferID.
virtual ~ImguiVirtualGeometryVisualizer() override=default
Destructor Function.
virtual void OnEvent(Event &event) override
This interface is called On Global Event Function Pointer is called.
virtual void OnUpdate(TimeStep &ts) override
This interface is called On SlateSystem Update.
const uint32_t & GetHeight() const
Get New Viewport Height.
const uint32_t & GetWidth() const
Get New Viewport Width.
This Class is inherited from Event Class. Called by Viewport Resize.
This Class handles our engine time step during frames. Global Unique.
void Free() const
Free in used DescriptorSet used by GBuffer Visualizer.
The VirtualGeometryBufferID Texture's ImTextureID.