Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
AbstractDesignerObject.ipp
Go to the documentation of this file.
1#pragma once
2
4
5#include <Common/assertion.h>
6
7namespace ph::editor
8{
9
11-> const TEnumFlags<EObjectState>&
12{
13 return m_state;
14}
15
16inline auto AbstractDesignerObject::state()
17-> TEnumFlags<EObjectState>&
18{
19 return m_state;
20}
21
22inline uint64 AbstractDesignerObject::getSceneStorageIndex() const
23{
24 return m_sceneStorageIndex;
25}
26
27inline void AbstractDesignerObject::setSceneStorageIndex(const uint64 storageIndex)
28{
29 PH_ASSERT_NE(storageIndex, static_cast<uint64>(-1));
30 m_sceneStorageIndex = storageIndex;
31}
32
33}// end namespace ph::editor
const TEnumFlags< EObjectState > & getState() const
Definition AbstractDesignerObject.ipp:10
Definition ph_editor.h:10
EObjectState
Definition designer_fwd.h:17