Loading [MathJax]/extensions/tex2jax.js
Photon Editor Library
2.0.0-beta
A physically based renderer.
Toggle main menu visibility
Home
Components
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
w
Functions
a
c
g
i
n
p
s
t
Variables
Typedefs
Enumerations
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
f
i
l
p
t
Functions
Variables
Macros
f
i
p
▼
Photon Editor Library
Home
Components
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
Include
▼
Source
►
Api
▼
App
►
Event
►
HelpMenu
►
Misc
▼
Module
AppModule.cpp
►
AppModule.h
AudioModule.h
►
MainThreadRenderUpdateContext.h
►
MainThreadUpdateContext.h
►
ModuleAttachmentInfo.h
PhysicsModule.h
ProcedureModule.cpp
►
ProcedureModule.h
RenderModule.cpp
►
RenderModule.h
►
Application.cpp
►
Application.h
AppSettings.cpp
►
AppSettings.h
►
EditContext.h
►
Editor.cpp
►
Editor.h
Editor.ipp
►
EditorEventQueue.cpp
►
EditorEventQueue.h
►
Designer
►
EditorCore
►
Platform
►
Procedure
►
Render
►
RenderCore
►
ThirdParty
►
editor_lib_config.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Concepts
Loading...
Searching...
No Matches
RenderModule.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
App/Module/AppModule.h
"
4
5
#include <Math/TVector2.h>
6
7
namespace
ph::editor
8
{
9
10
class
ModuleAttachmentInfo;
11
class
MainThreadRenderUpdateContext;
12
class
RenderThreadCaller;
13
14
class
RenderModule
:
public
AppModule
15
{
16
public
:
17
std::string
getName
()
const override
= 0;
18
23
virtual
void
renderUpdate
(
const
MainThreadRenderUpdateContext
& ctx) = 0;
24
29
virtual
void
createRenderCommands
(
RenderThreadCaller
& caller) = 0;
30
37
virtual
void
createSetupRenderCommands
(
RenderThreadCaller
& caller);
38
virtual
void
createCleanupRenderCommands
(
RenderThreadCaller
& caller);
40
41
void
onAttach
(
const
ModuleAttachmentInfo
& info)
override
= 0;
42
void
onDetach
()
override
= 0;
43
};
14
class
RenderModule
:
public
AppModule
{
…
};
44
45
}
// end namespace ph::editor
AppModule.h
ph::editor::AppModule
Definition
AppModule.h:19
ph::editor::MainThreadRenderUpdateContext
Definition
MainThreadRenderUpdateContext.h:11
ph::editor::ModuleAttachmentInfo
Definition
ModuleAttachmentInfo.h:15
ph::editor::RenderModule
Definition
RenderModule.h:15
ph::editor::RenderModule::onAttach
void onAttach(const ModuleAttachmentInfo &info) override=0
ph::editor::RenderModule::getName
std::string getName() const override=0
ph::editor::RenderModule::createSetupRenderCommands
virtual void createSetupRenderCommands(RenderThreadCaller &caller)
Definition
RenderModule.cpp:6
ph::editor::RenderModule::onDetach
void onDetach() override=0
ph::editor::RenderModule::createCleanupRenderCommands
virtual void createCleanupRenderCommands(RenderThreadCaller &caller)
Definition
RenderModule.cpp:9
ph::editor::RenderModule::createRenderCommands
virtual void createRenderCommands(RenderThreadCaller &caller)=0
ph::editor::RenderModule::renderUpdate
virtual void renderUpdate(const MainThreadRenderUpdateContext &ctx)=0
ph::editor::RenderThreadCaller
Thin wrapper for render thread interactions from another thread. Mainly to hide unrelated render thre...
Definition
RenderThreadCaller.h:16
ph::editor
Definition
ph_editor.h:10
Source
App
Module
RenderModule.h
Generated by
1.11.0