| 49 | } |
| 50 | |
| 51 | struct QueueFamilyIndices { |
| 52 | std::optional<uint32_t> graphicsFamily; |
| 53 | std::optional<uint32_t> presentFamily; |
| 54 | |
| 55 | bool isComplete() { |
| 56 | return graphicsFamily.has_value() && presentFamily.has_value(); |
| 57 | } |
| 58 | }; |
| 59 | |
| 60 | struct SwapChainSupportDetails { |
| 61 | VkSurfaceCapabilitiesKHR capabilities; |
nothing calls this directly
no outgoing calls
no test coverage detected