removed GraphManager.h/.cpp

This commit is contained in:
hyzboy 2024-11-09 00:09:29 +08:00
parent c3a5518b38
commit 75fb0dd672
2 changed files with 0 additions and 38 deletions

View File

@ -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

View File

@ -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