31 std::cout <<
"Instance Layers:" << std::endl;
32 if ( layerProperties.empty() )
34 std::cout <<
"Set the environment variable VK_LAYER_PATH to point to the location of your layers" << std::endl;
36 for (
auto const & lp : layerProperties )
38 std::cout << lp.layerName <<
":" << std::endl;
39 std::cout <<
"\tVersion: " << lp.implementationVersion << std::endl;
40 std::cout <<
"\tAPI Version: (" << ( lp.specVersion >> 22 ) <<
"." << ( ( lp.specVersion >> 12 ) & 0x03FF ) <<
"." << ( lp.specVersion & 0xFFF ) <<
")"
42 std::cout <<
"\tDescription: " << lp.description << std::endl;
53 catch ( std::exception & err )
55 std::cout <<
"std::runtexceptionime_error: " << err.
what() << std::endl;
void cout(vk::SurfaceCapabilitiesKHR const &surfaceCapabilities)
virtual const char * what() const VULKAN_HPP_NOEXCEPT
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceLayerProperties(uint32_t *pPropertyCount, vk::LayerProperties *pProperties, Dispatch const &d) VULKAN_HPP_NOEXCEPT