SpiecsEngine
 
Loading...
Searching...
No Matches

◆ isComplete()

bool Spices::QueueHelper::isComplete ( ) const
inline

Whether all queues that we need is valid.

Whether graphicqueue is supported by device.

Whether presentqueue is supported by device.

Whether transferqueu is supported by device.

Whether computequeue is supported by device.

Definition at line 43 of file VulkanDevice.h.

44 {
45 return
46
50 graphicqueuefamily.has_value() &&
51
55 presentqueuefamily.has_value() &&
56
60 transferqueuefamily.has_value() &&
61
65 computequeuefamily.has_value() ;
66 }
std::optional< uint32_t > graphicqueuefamily
The graphic queue's in used identify.
std::optional< uint32_t > presentqueuefamily
The present queue's in used identify.
std::optional< uint32_t > transferqueuefamily
The transfer queue's in used identify.
std::optional< uint32_t > computequeuefamily
The compute queue's in used identify.