ULRE/example/Vulkan/VKFence.h
2019-04-19 19:58:01 +08:00

27 lines
379 B
C++

#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();
};//class Fence
VK_NAMESPACE_END
#endif//HGL_VULKAN_GRAPH_FENCE_INCLUDE