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
►
GlfwPlatform
Platform.cpp
►
Platform.h
PlatformDisplay.cpp
►
PlatformDisplay.h
PlatformInput.cpp
►
PlatformInput.h
►
Procedure
►
Render
►
RenderCore
►
ThirdParty
►
editor_lib_config.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Concepts
Loading...
Searching...
No Matches
Platform.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <Utility/INoCopyAndMove.h>
4
#include <Common/primitive_type.h>
5
#include <Common/exceptions.h>
6
7
namespace
ph::editor
8
{
9
10
class
Editor;
11
class
PlatformInput;
12
class
PlatformDisplay;
13
14
class
PlatformException
:
public
RuntimeException
15
{
16
public
:
17
using
RuntimeException::RuntimeException;
18
};
14
class
PlatformException
:
public
RuntimeException {
…
};
19
26
class
Platform
:
private
INoCopyAndMove
27
{
28
public
:
29
explicit
Platform
(
Editor
& editor);
30
virtual
~Platform
();
31
32
virtual
void
update
(float64 deltaS) = 0;
33
virtual
const
PlatformInput
&
getInput
()
const
= 0;
34
virtual
const
PlatformDisplay
&
getDisplay
()
const
= 0;
35
36
Editor
&
getEditor
();
37
const
Editor
&
getEditor
()
const
;
38
39
private
:
40
Editor
& m_editor;
41
};
26
class
Platform
:
private
INoCopyAndMove {
…
};
42
43
inline
Editor
&
Platform::getEditor
()
44
{
45
return
m_editor;
46
}
43
inline
Editor
&
Platform::getEditor
() {
…
}
47
48
inline
const
Editor
&
Platform::getEditor
()
const
49
{
50
return
m_editor;
51
}
48
inline
const
Editor
&
Platform::getEditor
()
const
{
…
}
52
53
}
// end namespace ph::editor
ph::editor::Editor
Definition
Editor.h:45
ph::editor::PlatformDisplay
Platform display abstraction.
Definition
PlatformDisplay.h:23
ph::editor::PlatformException
Definition
Platform.h:15
ph::editor::Platform
Platform abstraction. An abstraction layer for the underlying hardware the application is running on....
Definition
Platform.h:27
ph::editor::Platform::update
virtual void update(float64 deltaS)=0
ph::editor::Platform::getEditor
Editor & getEditor()
Definition
Platform.h:43
ph::editor::Platform::Platform
Platform(Editor &editor)
Definition
Platform.cpp:6
ph::editor::Platform::getInput
virtual const PlatformInput & getInput() const =0
ph::editor::Platform::~Platform
virtual ~Platform()
ph::editor::Platform::getDisplay
virtual const PlatformDisplay & getDisplay() const =0
ph::editor::PlatformInput
Platform input abstraction.
Definition
PlatformInput.h:18
ph::editor
Definition
ph_editor.h:10
Source
Platform
Platform.h
Generated by
1.11.0