Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
SceneRenderer.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <Utility/INoCopyAndMove.h>
6
7namespace ph::editor::render
8{
9
11{
12public:
13 void setupGHI(GHIThreadCaller& caller) override = 0;
14 void cleanupGHI(GHIThreadCaller& caller) override = 0;
15 void update(const RenderThreadUpdateContext& ctx) override = 0;
16 void createGHICommands(GHIThreadCaller& caller) override = 0;
17
18 EProcessOrder getProcessOrder() const override;
19 bool isDynamic() const override;
20};
21
26
27inline bool SceneRenderer::isDynamic() const
28{
29 return true;
30}
31
32}// end namespace ph::editor::render
Thin wrapper for GHI thread interactions from another thread. Mainly to hide unrelated GHI interface ...
Definition GHIThreadCaller.h:16
Definition RenderThreadUpdateContext.h:11
Definition IDynamicSceneResource.h:20
Definition SceneRenderer.h:11
bool isDynamic() const override
Definition SceneRenderer.h:27
EProcessOrder getProcessOrder() const override
Definition SceneRenderer.h:22
void setupGHI(GHIThreadCaller &caller) override=0
void createGHICommands(GHIThreadCaller &caller) override=0
void cleanupGHI(GHIThreadCaller &caller) override=0
void update(const RenderThreadUpdateContext &ctx) override=0
Definition DesignerObject.h:19
EProcessOrder
Definition IDynamicSceneResource.h:11