Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
NullContext.h
Go to the documentation of this file.
1#pragma once
2
7
8namespace ph::editor::ghi
9{
10
12{
13public:
14 ~NullContext() override = default;
15
16 NullGHI& getGHI() override
17 {
18 return m_ghi;
19 }
20
22 {
23 return m_objManager;
24 }
25
27 {
28 return m_memManager;
29 }
30
31private:
32 NullGHI m_ghi;
33 NullObjectManager m_objManager;
34 NullMemoryManager m_memManager;
35};
36
37}// end namespace ph::editor::ghi
Definition GraphicsContext.h:24
Definition NullContext.h:12
~NullContext() override=default
NullObjectManager & getObjectManager() override
Definition NullContext.h:21
NullMemoryManager & getMemoryManager() override
Definition NullContext.h:26
NullGHI & getGHI() override
Definition NullContext.h:16
Definition NullGHI.h:9
Definition NullMemoryManager.h:9
Definition NullObjectManager.h:9
Definition PlatformDisplay.h:13