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

Class QueueFamilyIndices

code/29_mipmapping.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70struct QueueFamilyIndices {
71 std::optional<uint32_t> graphicsFamily;
72 std::optional<uint32_t> presentFamily;
73
74 bool isComplete() {
75 return graphicsFamily.has_value() && presentFamily.has_value();
76 }
77};
78
79struct SwapChainSupportDetails {
80 VkSurfaceCapabilitiesKHR capabilities;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected