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

Class QueueFamilyIndices

code/31_compute_shader.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected