ULRE/inc/hgl/graph/vulkan/VKFence.h

29 lines
418 B
C
Raw Normal View History

2019-04-19 19:58:01 +08:00
#ifndef HGL_VULKAN_GRAPH_FENCE_INCLUDE
#define HGL_VULKAN_GRAPH_FENCE_INCLUDE
#include"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;}
2019-04-19 19:58:01 +08:00
};//class Fence
VK_NAMESPACE_END
#endif//HGL_VULKAN_GRAPH_FENCE_INCLUDE