removed GraphManager.h/.cpp
This commit is contained in:
parent
c3a5518b38
commit
75fb0dd672
@ -1,24 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include<hgl/graph/VK.h>
|
|
||||||
|
|
||||||
VK_NAMESPACE_BEGIN
|
|
||||||
|
|
||||||
class GraphManager
|
|
||||||
{
|
|
||||||
GPUDevice *device;
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
VkDevice GetVkDevice (); ///<取得Vulkan设备句柄
|
|
||||||
GPUDevice * GetDevice ()noexcept{return device;} ///<取得GPU设备指针
|
|
||||||
const GPUPhysicalDevice * GetPhysicalDevice ()const; ///<取得GPU物理设备指针
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
GraphManager(GPUDevice *dev){device=dev;}
|
|
||||||
virtual ~GraphManager()=default;
|
|
||||||
};//class GraphManager
|
|
||||||
|
|
||||||
VK_NAMESPACE_END
|
|
@ -1,14 +0,0 @@
|
|||||||
#include<hgl/graph/manager/GraphManager.h>
|
|
||||||
#include<hgl/graph/VKDevice.h>
|
|
||||||
|
|
||||||
VK_NAMESPACE_BEGIN
|
|
||||||
VkDevice GraphManager::GetVkDevice()
|
|
||||||
{
|
|
||||||
return device->GetDevice();
|
|
||||||
}
|
|
||||||
|
|
||||||
const GPUPhysicalDevice *GraphManager::GetPhysicalDevice()const
|
|
||||||
{
|
|
||||||
return device->GetPhysicalDevice();
|
|
||||||
}
|
|
||||||
VK_NAMESPACE_END
|
|
Loading…
x
Reference in New Issue
Block a user