move VK source files to up-level folder
This commit is contained in:
28
inc/hgl/graph/VKFence.h
Normal file
28
inc/hgl/graph/VKFence.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef HGL_VULKAN_GRAPH_FENCE_INCLUDE
|
||||
#define HGL_VULKAN_GRAPH_FENCE_INCLUDE
|
||||
|
||||
#include<hgl/graph/VK.h>
|
||||
VK_NAMESPACE_BEGIN
|
||||
class Fence
|
||||
{
|
||||
VkDevice device;
|
||||
VkFence fence;
|
||||
|
||||
private:
|
||||
|
||||
friend class Device;
|
||||
|
||||
Fence(VkDevice d,VkFence f)
|
||||
{
|
||||
device=d;
|
||||
fence=f;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
~Fence();
|
||||
|
||||
operator VkFence(){return fence;}
|
||||
};//class Fence
|
||||
VK_NAMESPACE_END
|
||||
#endif//HGL_VULKAN_GRAPH_FENCE_INCLUDE
|
Reference in New Issue
Block a user