MCPcopy Create free account
hub / github.com/SFML/SFML / getFunction

Function getFunction

src/SFML/Window/Vulkan.cpp:74–87  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

72
73////////////////////////////////////////////////////////////
74VulkanFunctionPointer getFunction([[maybe_unused]] const char* name)
75{
76 assert(name && "Name cannot be a null pointer");
77
78#if defined(SFML_VULKAN_IMPLEMENTATION_NOT_AVAILABLE)
79
80 return nullptr;
81
82#else
83
84 return priv::VulkanImpl::getFunction(name);
85
86#endif
87}
88
89
90////////////////////////////////////////////////////////////

Callers 8

Vulkan.test.cppFile · 0.85
CHECKED_IFFunction · 0.85
Context.test.cppFile · 0.85
getFunctionMethod · 0.85
loadExtensionsMethod · 0.85
getFunctionMethod · 0.85
initializeMethod · 0.85
getVulkanFunctionFunction · 0.85

Calls

no outgoing calls

Tested by 1

CHECKED_IFFunction · 0.68