| 55 | } |
| 56 | |
| 57 | struct QueueFamilyIndices { |
| 58 | std::optional<uint32_t> graphicsFamily; |
| 59 | std::optional<uint32_t> presentFamily; |
| 60 | |
| 61 | bool isComplete() { |
| 62 | return graphicsFamily.has_value() && presentFamily.has_value(); |
| 63 | } |
| 64 | }; |
| 65 | |
| 66 | struct SwapChainSupportDetails { |
| 67 | VkSurfaceCapabilitiesKHR capabilities; |
nothing calls this directly
no outgoing calls
no test coverage detected