Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ProcedureModule.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph::editor
6{
7
8class ModuleAttachmentInfo;
9class MainThreadUpdateContext;
10
12{
13public:
14 std::string getName() const override = 0;
15
16 virtual void update(const MainThreadUpdateContext& ctx) = 0;
17
18 void onAttach(const ModuleAttachmentInfo& info) override = 0;
19 void onDetach() override = 0;
20};
21
22}// end namespace ph::editor
Definition AppModule.h:19
Definition MainThreadUpdateContext.h:11
Definition ModuleAttachmentInfo.h:15
Definition ProcedureModule.h:12
void onDetach() override=0
void onAttach(const ModuleAttachmentInfo &info) override=0
std::string getName() const override=0
virtual void update(const MainThreadUpdateContext &ctx)=0
Definition ph_editor.h:10