| 61 | } |
| 62 | |
| 63 | struct QueueFamilyIndices { |
| 64 | std::optional<uint32_t> graphicsAndComputeFamily; |
| 65 | std::optional<uint32_t> presentFamily; |
| 66 | |
| 67 | bool isComplete() { |
| 68 | return graphicsAndComputeFamily.has_value() && presentFamily.has_value(); |
| 69 | } |
| 70 | }; |
| 71 | |
| 72 | struct SwapChainSupportDetails { |
| 73 | VkSurfaceCapabilitiesKHR capabilities; |
nothing calls this directly
no outgoing calls
no test coverage detected