Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
GetTextureNativeHandle.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace ph::editor::ghi
7{
8
10{
11public:
13
14 bool performQuery(GraphicsContext& ctx) override;
15
17
18private:
19 TextureHandle m_handle;
20 TextureNativeHandle m_nHandle;
21};
22
25 , m_handle(handle)
26 , m_nHandle()
27{}
28
30{
31 return m_nHandle;
32}
33
34}// end namespace ph::editor::ghi
Definition TQueryPerformer.h:12
Definition GetTextureNativeHandle.h:10
bool performQuery(GraphicsContext &ctx) override
Definition GetTextureNativeHandle.cpp:8
TextureNativeHandle getNativeHandle() const
Definition GetTextureNativeHandle.h:29
GetTextureNativeHandle(TextureHandle handle)
Definition GetTextureNativeHandle.h:23
Definition GraphicsContext.h:24
Definition PlatformDisplay.h:13
std::variant< std::monostate, uint64 > TextureNativeHandle
Definition ghi_fwd.h:52