ui rendering works now
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#include "MinimalEngine.h"
|
||||
#include "RenderHierarchy.h"
|
||||
#include "Graphics/RenderPass/UIPass.h"
|
||||
#include "Graphics/RenderPass/TextPass.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
@@ -12,9 +14,12 @@ class System
|
||||
public:
|
||||
System();
|
||||
virtual ~System();
|
||||
void update();
|
||||
UIPassData getUIPassData();
|
||||
TextPassData getTextPassData();
|
||||
private:
|
||||
PPanel rootPanel;
|
||||
Array<RenderHierarchyUpdate*> updates;
|
||||
RenderHierarchy hierarchy;
|
||||
};
|
||||
DEFINE_REF(System)
|
||||
} // namespace UI
|
||||
|
||||
Reference in New Issue
Block a user