MCPcopy Create free account
hub / github.com/SaschaWillems/VulkanCapsViewer / initDeviceFeatures2

Method initDeviceFeatures2

vulkanDeviceInfoExtensions.cpp:1541–1546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1539}
1540
1541VkPhysicalDeviceFeatures2 VulkanDeviceInfoExtensions::initDeviceFeatures2(void *pNext) {
1542 VkPhysicalDeviceFeatures2 features2{};
1543 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR;
1544 features2.pNext = pNext;
1545 return features2;
1546}
1547
1548void VulkanDeviceInfoExtensions::pushFeature2(const char* extension, std::string name, bool supported) {
1549 features2.push_back(Feature2(name, supported, extension));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected