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

Class QueueFamilyIndices

code/16_frames_in_flight.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected