Photon Editor Library
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
RealtimeRenderer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Render/Renderer/SceneRenderer.h
"
4
5
namespace
ph::editor::render
6
{
7
8
class
RealtimeRenderer
:
public
SceneRenderer
9
{
10
public
:
11
RealtimeRenderer
();
12
~RealtimeRenderer
()
override
;
13
14
void
setupGHI
(
GHIThreadCaller
& caller)
override
;
15
void
cleanupGHI
(
GHIThreadCaller
& caller)
override
;
16
void
update
(
const
RenderThreadUpdateContext
& ctx)
override
;
17
void
createGHICommands
(
GHIThreadCaller
& caller)
override
;
18
19
private
:
20
};
21
22
}
// end namespace ph::editor::render
SceneRenderer.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::RealtimeRenderer
Definition
RealtimeRenderer.h:9
ph::editor::render::RealtimeRenderer::update
void update(const RenderThreadUpdateContext &ctx) override
Definition
RealtimeRenderer.cpp:24
ph::editor::render::RealtimeRenderer::~RealtimeRenderer
~RealtimeRenderer() override
Definition
RealtimeRenderer.cpp:11
ph::editor::render::RealtimeRenderer::setupGHI
void setupGHI(GHIThreadCaller &caller) override
Definition
RealtimeRenderer.cpp:14
ph::editor::render::RealtimeRenderer::RealtimeRenderer
RealtimeRenderer()
Definition
RealtimeRenderer.cpp:6
ph::editor::render::RealtimeRenderer::createGHICommands
void createGHICommands(GHIThreadCaller &caller) override
Definition
RealtimeRenderer.cpp:29
ph::editor::render::RealtimeRenderer::cleanupGHI
void cleanupGHI(GHIThreadCaller &caller) override
Definition
RealtimeRenderer.cpp:19
ph::editor::render::SceneRenderer
Definition
SceneRenderer.h:11
ph::editor::render
Definition
DesignerObject.h:19
Source
Render
Renderer
RealtimeRenderer.h
Generated by
1.11.0