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

Class QueueFamilyIndices

code/18_vertex_input.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected