78 const VkPhysicalDeviceFeatures& features );
83 const std::vector< float >& queuePriorities );
90 const std::vector< float >& queuePriorities,
91 const VkPhysicalDeviceFeatures& features );
97 operator bool()
const;
106 unsigned int queueFamily ( EQueueType queueType )
const;
109 unsigned int queueCount ( EQueueType queueType )
const;
PipelineCache & defaultPipelineCache() const
Retrieves default pipeline cache for this device.
CommandPool & defaultCmdPool(EQueueType queueType=Q_GRAPHICS) const
Retrieves default command allocation pool for this device and specified queue type.
Represents logical rendering device.
Definition: vppDevice.hpp:49
VkResult waitForIdle()
Waits until all operations performed by this device are finished.
Definition: vppPipelineCache.hpp:31
The VPP namespace.
Definition: main.hpp:1
Device()
Constructs null reference.
Allocates and manages the lifetime of command buffers.
Definition: vppCommandPool.hpp:36
VkDevice handle() const
Retrieves Vulkan handle for this device.
const PhysicalDevice & physical() const
Retrieves parent physical device for this logical device.
Represents physical rendering device.
Definition: vppPhysicalDevice.hpp:114
unsigned int queueCount(EQueueType queueType) const
Retrieves queue count within default queue family of specified type.
float queuePriority(unsigned int iQueue) const
Retrieves queue priority for specified queue index within default graphics queue family.
~Device()
Decreases reference count. Deletes the device object when count reaches zero.
unsigned int queueFamily(EQueueType queueType) const
Retrieves default queue family index for queues of specified type.