diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-02-10 10:49:17 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-02-10 10:49:17 +1100 |
| commit | 77e2be172718878b38999efc247ce7571435fcc8 (patch) | |
| tree | 557344a614dd89ecec3ac5dbcd83dbcc1375bf55 /src/instance_context.hh | |
| parent | 5ab5046b643b04b9c31fd41cdfca39b9d5f6b99e (diff) | |
cleanup, wip
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 |
