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

Class QueueFamilyIndices

code/27_depth_buffering.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected