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

Class QueueFamilyIndices

code/22_descriptor_set_layout.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57struct QueueFamilyIndices {
58 std::optional<uint32_t> graphicsFamily;
59 std::optional<uint32_t> presentFamily;
60
61 bool isComplete() {
62 return graphicsFamily.has_value() && presentFamily.has_value();
63 }
64};
65
66struct SwapChainSupportDetails {
67 VkSurfaceCapabilitiesKHR capabilities;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected