Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
@@ -17,6 +17,8 @@
#include <OtherActiveImGuiBus.h>
#include <DebugConsole.h>
#include <Atom/RPI.Public/ViewportContextBus.h>
namespace AZ
{
namespace LYIntegration
@@ -28,6 +30,8 @@ namespace AZ
class ImguiAtomSystemComponent final
: public AZ::Component
, public ImGui::OtherActiveImGuiRequestBus::Handler
// The Imgui Gem's ImGuiManager can handle this directly when engine is fully switched to Atom Renderer
, public AZ::RPI::ViewportContextNotificationBus::Handler
{
public:
AZ_COMPONENT(ImguiAtomSystemComponent, "{D423E075-D971-435A-A9C1-57C3B0623A9B}");
@@ -43,10 +47,14 @@ namespace AZ
void Activate() override;
void Deactivate() override;
private:
// OtherActiveImGuiRequestBus overrides ...
void RenderImGuiBuffers(const ImDrawData& drawData) override;
private:
// ViewportContextNotificationBus overrides...
void OnRenderTick() override;
DebugConsole m_debugConsole;
};
} // namespace LYIntegration