This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| std::ifstream is("input.dat"); | |
| is.seekg(0, std::ios_base::end); | |
| std::size_t size=is.tellg(); | |
| is.seekg(0, std::ios_base::beg); | |
| std::string s(size/sizeof(char), 0); | |
| is.read((char*) &s[0], size); | |
| is.close(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| VkResult queryVkExternalMemoryProperties( // | |
| VkPhysicalDevice physicalDevice, // | |
| VkFormat format, // | |
| VkImageType type, // | |
| VkImageTiling tiling, // | |
| VkImageUsageFlags usage, // | |
| VkImageCreateFlags flags, // | |
| VkExternalMemoryHandleTypeFlagBits handleType, // | |
| VkExternalMemoryProperties* externalMemoryProperties) |