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
►
Designer
►
EditorCore
►
Platform
►
Procedure
▼
Render
►
Content
►
EditorDebug
►
Imgui
►
Mesh
►
Pass
►
Query
►
Renderer
►
Shader
►
View
IDynamicSceneResource.cpp
►
IDynamicSceneResource.h
ISceneResource.cpp
►
ISceneResource.h
►
RenderThread.cpp
►
RenderThread.h
►
RenderThreadCaller.h
►
RenderThreadUpdateContext.h
►
Scene.cpp
►
Scene.h
►
System.cpp
►
System.h
Texture2D.cpp
►
Texture2D.h
TextureResource.cpp
►
TextureResource.h
►
RenderCore
►
ThirdParty
►
editor_lib_config.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Concepts
Loading...
Searching...
No Matches
IDynamicSceneResource.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Render/ISceneResource.h
"
4
5
namespace
ph::editor
{
class
RenderThreadUpdateContext; }
6
7
namespace
ph::editor::render
8
{
9
10
enum class
EProcessOrder
11
{
12
PreProcess
= 0,
13
ViewContent
,
14
ViewRender
,
15
PostProcess
,
16
Overlay
17
};
10
enum class
EProcessOrder
{
…
};
18
19
class
IDynamicSceneResource
:
public
ISceneResource
20
{
21
public
:
22
IDynamicSceneResource
();
23
~IDynamicSceneResource
()
override
;
24
25
virtual
void
update
(
const
RenderThreadUpdateContext
& ctx) = 0;
26
virtual
void
createGHICommands
(
GHIThreadCaller
& caller) = 0;
27
virtual
EProcessOrder
getProcessOrder
()
const
;
28
29
void
setupGHI
(
GHIThreadCaller
& caller)
override
= 0;
30
void
cleanupGHI
(
GHIThreadCaller
& caller)
override
= 0;
31
bool
isDynamic
()
const override
;
32
};
19
class
IDynamicSceneResource
:
public
ISceneResource
{
…
};
33
34
inline
bool
IDynamicSceneResource::isDynamic
()
const
35
{
36
return
true
;
37
}
34
inline
bool
IDynamicSceneResource::isDynamic
()
const
{
…
}
38
39
inline
EProcessOrder
IDynamicSceneResource::getProcessOrder
()
const
40
{
41
return
EProcessOrder::ViewContent
;
42
}
39
inline
EProcessOrder
IDynamicSceneResource::getProcessOrder
()
const
{
…
}
43
44
}
// end namespace ph::editor::render
ISceneResource.h
ph::editor::GHIThreadCaller
Thin wrapper for GHI thread interactions from another thread. Mainly to hide unrelated GHI interface ...
Definition
GHIThreadCaller.h:16
ph::editor::RenderThreadUpdateContext
Definition
RenderThreadUpdateContext.h:11
ph::editor::render::IDynamicSceneResource
Definition
IDynamicSceneResource.h:20
ph::editor::render::IDynamicSceneResource::IDynamicSceneResource
IDynamicSceneResource()
ph::editor::render::IDynamicSceneResource::isDynamic
bool isDynamic() const override
Definition
IDynamicSceneResource.h:34
ph::editor::render::IDynamicSceneResource::~IDynamicSceneResource
~IDynamicSceneResource() override
ph::editor::render::IDynamicSceneResource::getProcessOrder
virtual EProcessOrder getProcessOrder() const
Definition
IDynamicSceneResource.h:39
ph::editor::render::IDynamicSceneResource::update
virtual void update(const RenderThreadUpdateContext &ctx)=0
ph::editor::render::IDynamicSceneResource::cleanupGHI
void cleanupGHI(GHIThreadCaller &caller) override=0
ph::editor::render::IDynamicSceneResource::createGHICommands
virtual void createGHICommands(GHIThreadCaller &caller)=0
ph::editor::render::IDynamicSceneResource::setupGHI
void setupGHI(GHIThreadCaller &caller) override=0
ph::editor::render::ISceneResource
Definition
ISceneResource.h:9
ph::editor::render
Definition
DesignerObject.h:19
ph::editor::render::EProcessOrder
EProcessOrder
Definition
IDynamicSceneResource.h:11
ph::editor::render::EProcessOrder::ViewContent
@ ViewContent
ph::editor::render::EProcessOrder::ViewRender
@ ViewRender
ph::editor::render::EProcessOrder::Overlay
@ Overlay
ph::editor::render::EProcessOrder::PostProcess
@ PostProcess
ph::editor::render::EProcessOrder::PreProcess
@ PreProcess
ph::editor
Definition
ph_editor.h:10
Source
Render
IDynamicSceneResource.h
Generated by
1.11.0