blob: 0a0b99930ce43a57c6969196c17e365e0a0c2dfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef INSTANCE_CONTEXT_HH_
#define INSTANCE_CONTEXT_HH_
#include <vulkan/utility/vk_dispatch_table.h>
namespace low_latency {
struct InstanceContext {
const VkInstance instance;
const VkuInstanceDispatchTable vtable;
public:
InstanceContext(const VkInstance& instance,
VkuInstanceDispatchTable&& vtable);
InstanceContext(const InstanceContext&) = delete;
InstanceContext(InstanceContext&&) = delete;
InstanceContext operator==(const InstanceContext&) = delete;
InstanceContext operator==(InstanceContext&&) = delete;
~InstanceContext();
};
}; // namespace low_latency
#endif
|