MCPcopy Create free account
hub / github.com/Overv/VulkanTutorial / QueueFamilyIndices

Class QueueFamilyIndices

code/07_image_views.cpp:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48struct 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
57struct SwapChainSupportDetails {
58 VkSurfaceCapabilitiesKHR capabilities;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected