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

Method getFunction

src/SFML/Window/Win32/VulkanImplWin32.cpp:166–172  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

164
165////////////////////////////////////////////////////////////
166VulkanFunctionPointer VulkanImpl::getFunction(const char* name)
167{
168 if (!isAvailable(false))
169 return nullptr;
170
171 return reinterpret_cast<VulkanFunctionPointer>(GetProcAddress(wrapper.library, name));
172}
173
174
175////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

isAvailableFunction · 0.50

Tested by

no test coverage detected