Function gpa::utility::DiscoverVulkanLayer
Defined in File vulkan-layer.h
Function Documentation
-
void gpa::utility::DiscoverVulkanLayer(char const *layerPath, char const *layerName)
Adds the path for the desired vulkan layer.
Functionality is different per platform. Windows: This function will add the layerPath to the environment variable VK_LAYER_PATH if the variable is already present. Otherwise, the "path + .json" will be added to the registry in the HKEY_CURRENT_USER\Software\Khronos\Vulkan\ExplicitLayers key which is a default search location for the vulkan loader Linux: This function will add the layerPath to the environment variable VK_LAYER_PATH
- Parameters
layerpath -- [in] full path to the manifest
layerName -- [in] name of the .json manifest file