Nebula
Loading...
Searching...
No Matches
imguirtplugin.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
10//------------------------------------------------------------------------------
12#include "imguirenderer.h"
13namespace Dynui
14{
16{
18public:
22 virtual ~ImguiRTPlugin();
23
25 virtual void OnRegister();
27 virtual void OnUnregister();
28
30 virtual void OnRenderFrameBatch(const Ptr<Frame::FrameBatch>& frameBatch);
31
33 virtual void OnWindowResized(IndexT windowId, SizeT width, SizeT height);
34
35private:
37};
38} // namespace Imgui
Definition imguirtplugin.h:16
virtual ~ImguiRTPlugin()
destructor
Definition imguirtplugin.cc:24
ImguiRTPlugin()
constructor
Definition imguirtplugin.cc:16
__DeclareClass(ImguiRTPlugin)
virtual void OnRenderFrameBatch(const Ptr< Frame::FrameBatch > &frameBatch)
called when rendering a frame batch
Definition imguirtplugin.cc:53
virtual void OnUnregister()
called when plugin is unregistered on the render-thread side
Definition imguirtplugin.cc:43
virtual void OnRegister()
called when plugin is registered on the render-thread side
Definition imguirtplugin.cc:33
Ptr< ImguiRenderer > renderer
Definition imguirtplugin.h:36
virtual void OnWindowResized(IndexT windowId, SizeT width, SizeT height)
called if the window size has changed
Definition imguirtplugin.cc:66
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Standard interface to add new functionality to the render thread.
Definition rtplugin.h:43
Imgui Profiler UI.
Definition imguiconsole.cc:277
int SizeT
Definition types.h:49
int IndexT
Definition types.h:48