29 lines
504 B
C++
29 lines
504 B
C++
//
|
|
// Created by sfd on 25-11-21.
|
|
//
|
|
|
|
#ifndef DEMOLAYER_H
|
|
#define DEMOLAYER_H
|
|
#include "Prism/Core/Layer.h"
|
|
|
|
|
|
class DemoLayer : public Prism::Layer
|
|
{
|
|
public:
|
|
DemoLayer();
|
|
virtual ~DemoLayer();
|
|
|
|
virtual void OnAttach() override;
|
|
virtual void OnDetach() override;
|
|
virtual void OnUpdate() override;
|
|
virtual void OnImGuiRender() override;
|
|
virtual void OnEvent(Prism::Event& e) override;
|
|
|
|
private:
|
|
float m_ClearColor[4] = { 0.2f, 0.2f, 0.2f, 1.0f };
|
|
};
|
|
|
|
|
|
|
|
#endif //DEMOLAYER_H
|