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