diff options
Diffstat (limited to 'src/instance_context.hh')
| -rw-r--r-- | src/instance_context.hh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/instance_context.hh b/src/instance_context.hh new file mode 100644 index 0000000..0a0b999 --- /dev/null +++ b/src/instance_context.hh @@ -0,0 +1,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
\ No newline at end of file |
