21 lines
401 B
C++
21 lines
401 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class ProfilerWidget : public wi::gui::Widget
|
|
{
|
|
void Render(const wi::Canvas& canvas, wi::graphics::CommandList cmd) const override;
|
|
};
|
|
|
|
class ProfilerWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create();
|
|
|
|
ProfilerWidget profilerWidget;
|
|
|
|
void Update(const wi::Canvas& canvas, float dt) override;
|
|
void ResizeLayout() override;
|
|
};
|