umbra/projs/test-game/inc/GameModule.h
Curle a3e89b4e8f
Replace the renderer with a modern, module version. (#7)
* New Vulkan Renderer Module & Associated Fixups
2022-11-26 16:44:16 +00:00

34 lines
620 B
C++

#pragma once
#include <SDL_events.h>
#include "core/Module.h"
class GameModule : public ShadowEngine::Module {
SHObject_Base(GameModule)
std::string tets = "asdasd";
public:
void PreInit() override;
void Init() override;
void Update(int frame) override;
void PreRender() override;
void Recreate() override;
void OverlayRender() override;
void Render(VkCommandBuffer& commands, int frame) override;
void LateRender(VkCommandBuffer& commands, int frame) override;
void AfterFrameEnd() override;
void Destroy() override;
void Event(SDL_Event*) override;
};