MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / getPlatform

Method getPlatform

generator/VulkanHppGenerator.cpp:12433–12442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12431}
12432
12433std::string VulkanHppGenerator::getPlatform( std::string const & title ) const
12434{
12435 if ( !containsByName( m_features, title ) )
12436 {
12437 auto extensionIt = findByName( m_extensions, title );
12438 assert( extensionIt != m_extensions.end() );
12439 return extensionIt->platform;
12440 }
12441 return "";
12442}
12443
12444std::pair<std::string, std::string> VulkanHppGenerator::getPoolTypeAndName( std::string const & type ) const
12445{

Callers

nothing calls this directly

Calls 2

containsByNameFunction · 0.85
findByNameFunction · 0.85

Tested by

no test coverage detected