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