MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / volkGenLoadLoader

Function volkGenLoadLoader

Source/ThirdParty/volk/volk.cpp:194–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194static void volkGenLoadLoader(void* context, PFN_vkVoidFunction (*load)(void*, const char*))
195{
196 /* VOLK_GENERATE_LOAD_LOADER */
197#if defined(VK_VERSION_1_0)
198 vkCreateInstance = (PFN_vkCreateInstance)load(context, "vkCreateInstance");
199 vkEnumerateInstanceExtensionProperties = (PFN_vkEnumerateInstanceExtensionProperties)load(context, "vkEnumerateInstanceExtensionProperties");
200 vkEnumerateInstanceLayerProperties = (PFN_vkEnumerateInstanceLayerProperties)load(context, "vkEnumerateInstanceLayerProperties");
201#endif /* defined(VK_VERSION_1_0) */
202#if defined(VK_VERSION_1_1)
203 vkEnumerateInstanceVersion = (PFN_vkEnumerateInstanceVersion)load(context, "vkEnumerateInstanceVersion");
204#endif /* defined(VK_VERSION_1_1) */
205 /* VOLK_GENERATE_LOAD_LOADER */
206}
207
208static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, const char*))
209{

Callers 3

volkInitializeFunction · 0.85
volkInitializeCustomFunction · 0.85
volkFinalizeFunction · 0.85

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected