libcruft-vk/fence.hpp
2016-02-24 11:11:41 +11:00

17 lines
437 B
C++

#ifndef __VK_FENCE_HPP
#define __VK_FENCE_HPP
#include "./object.hpp"
namespace vk {
struct fence : owned<fence,device> {
bool is_ready (const device &dev);
static void reset (const device&, fence *first, fence *last);
static void wait (const device&, fence *first, fence *last, uint64_t timeout);
static void wait_all (const device&, fence *first, fence *last, uint64_t timeout);
};
}
#endif