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
3
#include "
App/Module/AppModule.h
"
4
5
namespace
ph::editor
6
{
7
8
class
ModuleAttachmentInfo;
9
class
MainThreadUpdateContext;
10
11
class
ProcedureModule
:
public
AppModule
12
{
13
public
:
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
AppModule.h
ph::editor::AppModule
Definition
AppModule.h:19
ph::editor::MainThreadUpdateContext
Definition
MainThreadUpdateContext.h:11
ph::editor::ModuleAttachmentInfo
Definition
ModuleAttachmentInfo.h:15
ph::editor::ProcedureModule
Definition
ProcedureModule.h:12
ph::editor::ProcedureModule::onDetach
void onDetach() override=0
ph::editor::ProcedureModule::onAttach
void onAttach(const ModuleAttachmentInfo &info) override=0
ph::editor::ProcedureModule::getName
std::string getName() const override=0
ph::editor::ProcedureModule::update
virtual void update(const MainThreadUpdateContext &ctx)=0
ph::editor
Definition
ph_editor.h:10
Source
App
Module
ProcedureModule.h
Generated by
1.11.0