| 39 | } |
| 40 | |
| 41 | struct QueueFamilyIndices { |
| 42 | std::optional<uint32_t> graphicsFamily; |
| 43 | std::optional<uint32_t> presentFamily; |
| 44 | |
| 45 | bool isComplete() { |
| 46 | return graphicsFamily.has_value() && presentFamily.has_value(); |
| 47 | } |
| 48 | }; |
| 49 | |
| 50 | class HelloTriangleApplication { |
| 51 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected