Restore Editor viewport icon rendering (#879)

This introduces an EditorViewportIconDisplayInterface that will eventually be used to outright remove CIconManager, it provides a simple interface for loading 2D image assets and rendering them on-screen. It also introduces AtomBridge::PerViewportDynamicDraw for getting a dynamic draw instance on a per-viewport basis
This commit is contained in:
Nicholas Van Sickle
2021-05-26 16:36:54 -07:00
committed by GitHub
parent dc0f1ff0b1
commit d1863c6c5b
25 changed files with 1050 additions and 24 deletions
@@ -33,6 +33,7 @@ namespace AZ
{
// forward declares
class AtomDebugDisplayViewportInterface;
class PerViewportDynamicDrawManager;
class AtomBridgeSystemComponent
: public Component
@@ -82,6 +83,7 @@ namespace AZ
RPI::ViewPtr m_view = nullptr;
AZStd::unordered_map<AzFramework::ViewportId, AZStd::shared_ptr<AtomDebugDisplayViewportInterface> > m_activeViewportsList;
AZStd::unique_ptr<PerViewportDynamicDrawManager> m_dynamicDrawManager;
};
}
} // namespace AZ