add render command queue

This commit is contained in:
2025-11-22 09:13:48 +08:00
parent 69bdaaec2e
commit 36f886b189
19 changed files with 616 additions and 43 deletions

View File

@ -0,0 +1,28 @@
//
// 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