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:
committed by
GitHub
parent
dc0f1ff0b1
commit
d1863c6c5b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user