Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ISceneResource.h
Go to the documentation of this file.
1#pragma once
2
3namespace ph::editor { class GHIThreadCaller; }
4
5namespace ph::editor::render
6{
7
9{
10public:
12 virtual ~ISceneResource();
13
14 virtual void setupGHI(GHIThreadCaller& caller) = 0;
15 virtual void cleanupGHI(GHIThreadCaller& caller) = 0;
16
17 virtual bool isDynamic() const;
18};
19
20inline bool ISceneResource::isDynamic() const
21{
22 return false;
23}
24
25}// 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 ISceneResource.h:9
virtual bool isDynamic() const
Definition ISceneResource.h:20
virtual void cleanupGHI(GHIThreadCaller &caller)=0
virtual void setupGHI(GHIThreadCaller &caller)=0
Definition DesignerObject.h:19
Definition ph_editor.h:10