Photon Editor Library
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ghi_fwd.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
EditorCore/Storage/fwd.h
"
4
#include "
EditorCore/Storage/TWeakHandle.h
"
5
6
#include <Common/primitive_type.h>
7
8
#include <variant>
9
10
namespace
ph::editor::ghi
11
{
12
16
class
TextureObject
17
{};
18
19
class
VertexStorageObject
20
{};
21
22
class
IndexStorageObject
23
{};
24
25
class
MeshObject
26
{};
27
28
class
ShaderObject
29
{};
30
31
class
ShaderProgramObject
32
{};
33
34
class
FramebufferObject
35
{};
36
37
class
MemoryObject
38
{};
40
41
// Handle types
42
using
TextureHandle
=
TWeakHandle<TextureObject, uint32, uint32>
;
43
using
VertexStorageHandle
=
TWeakHandle<VertexStorageObject, uint32, uint32>
;
44
using
IndexStorageHandle
=
TWeakHandle<IndexStorageObject, uint32, uint32>
;
45
using
MeshHandle
=
TWeakHandle<MeshObject, uint32, uint32>
;
46
using
ShaderHandle
=
TWeakHandle<ShaderObject, uint32, uint32>
;
47
using
ShaderProgramHandle
=
TWeakHandle<ShaderProgramObject, uint32, uint32>
;
48
using
FramebufferHandle
=
TWeakHandle<FramebufferObject, uint32, uint32>
;
49
using
MemoryHandle
=
TWeakHandle<MemoryObject, uint32, uint32>
;
50
51
// Native handle types
52
using
TextureNativeHandle
= std::variant<
53
std::monostate,
54
uint64>;
55
56
// Basic info types
57
class
SampleStateInfo
;
58
class
TextureFormatInfo
;
59
class
FramebufferFormatInfo
;
60
class
ShaderSetInfo
;
61
class
VertexAttributeLocatorInfo
;
62
class
VertexGroupFormatInfo
;
63
class
MeshVertexLayoutInfo
;
64
class
DeviceCapabilityInfo
;
65
66
// Description info types
67
class
TextureDesc
;
68
class
FramebufferDesc
;
69
70
}
// end namespace ph::editor::ghi
fwd.h
TWeakHandle.h
ph::editor::TWeakHandle< TextureObject, uint32, uint32 >
ph::editor::ghi::DeviceCapabilityInfo
Definition
ghi_infos.h:88
ph::editor::ghi::FramebufferDesc
Definition
ghi_infos.h:124
ph::editor::ghi::FramebufferFormatInfo
Definition
ghi_infos.h:32
ph::editor::ghi::FramebufferObject
Definition
ghi_fwd.h:35
ph::editor::ghi::IndexStorageObject
Definition
ghi_fwd.h:23
ph::editor::ghi::MemoryObject
Definition
ghi_fwd.h:38
ph::editor::ghi::MeshObject
Definition
ghi_fwd.h:26
ph::editor::ghi::MeshVertexLayoutInfo
Definition
Mesh.h:19
ph::editor::ghi::SampleStateInfo
Definition
ghi_infos.h:17
ph::editor::ghi::ShaderObject
Definition
ghi_fwd.h:29
ph::editor::ghi::ShaderProgramObject
Definition
ghi_fwd.h:32
ph::editor::ghi::ShaderSetInfo
Definition
ghi_infos.h:46
ph::editor::ghi::TextureDesc
Definition
ghi_infos.h:101
ph::editor::ghi::TextureFormatInfo
Definition
ghi_infos.h:24
ph::editor::ghi::TextureObject
Definition
ghi_fwd.h:17
ph::editor::ghi::VertexAttributeLocatorInfo
Definition
ghi_infos.h:54
ph::editor::ghi::VertexGroupFormatInfo
Definition
ghi_infos.h:78
ph::editor::ghi::VertexStorageObject
Definition
ghi_fwd.h:20
ph::editor::ghi
Definition
PlatformDisplay.h:13
ph::editor::ghi::TextureNativeHandle
std::variant< std::monostate, uint64 > TextureNativeHandle
Definition
ghi_fwd.h:52
Source
RenderCore
ghi_fwd.h
Generated by
1.11.0