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

Class QueueFamilyIndices

code/26_texture_mapping.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected