| 68 | } |
| 69 | |
| 70 | struct QueueFamilyIndices { |
| 71 | std::optional<uint32_t> graphicsFamily; |
| 72 | std::optional<uint32_t> presentFamily; |
| 73 | |
| 74 | bool isComplete() { |
| 75 | return graphicsFamily.has_value() && presentFamily.has_value(); |
| 76 | } |
| 77 | }; |
| 78 | |
| 79 | struct SwapChainSupportDetails { |
| 80 | VkSurfaceCapabilitiesKHR capabilities; |
nothing calls this directly
no outgoing calls
no test coverage detected