MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetVulkanContentDir

Function GetVulkanContentDir

vkconfig_core/path.cpp:479–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479static const std::string GetVulkanContentDir() {
480 const std::string TABLE[] = {
481 "/Config", // ENVIRONMENT_WIN32
482 "/share/vulkan/config" // ENVIRONMENT_UNIX
483 };
484 static_assert(std::size(TABLE) == ENVIRONMENT_COUNT);
485
486 return ::GetVulkanDir() + TABLE[VKC_ENV];
487}
488
489static const std::string GetVulkanProfilesDir() {
490 const std::string TABLE[] = {

Callers 1

PathMethod · 0.85

Calls 1

GetVulkanDirFunction · 0.85

Tested by

no test coverage detected