MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / Dispatch

Method Dispatch

src/lib/Vulkan.cpp:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace OpenKneeboard::Vulkan {
10
11Dispatch::Dispatch(
12 VkInstance instance,
13 PFN_vkGetInstanceProcAddr getInstanceProcAddr) {
14#define IT(vkfun) \
15 this->vkfun = reinterpret_cast<PFN_vk##vkfun>( \
16 getInstanceProcAddr(instance, "vk" #vkfun));
17 OPENKNEEBOARD_VK_FUNCS
18#undef IT
19}
20
21std::optional<uint32_t> FindMemoryType(
22 Dispatch* vk,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected