Vookoo
|
#include <vku_framework.hpp>
Public Member Functions | |
Framework (const std::string &name) | |
void | dumpCaps (std::ostream &os) const |
const vk::Instance | instance () const |
Get the Vulkan instance. | |
const vk::Device | device () const |
Get the Vulkan device. | |
const vk::Queue | graphicsQueue () const |
Get the queue used to submit graphics jobs. | |
const vk::Queue | computeQueue () const |
Get the queue used to submit compute jobs. | |
const vk::PhysicalDevice & | physicalDevice () const |
Get the physical device. | |
const vk::PipelineCache | pipelineCache () const |
Get the default pipeline cache (you can use your own if you like). | |
const vk::DescriptorPool | descriptorPool () const |
Get the default descriptor pool (you can use your own if you like). | |
uint32_t | graphicsQueueFamilyIndex () const |
Get the family index for the graphics queues. | |
uint32_t | computeQueueFamilyIndex () const |
Get the family index for the compute queues. | |
const vk::PhysicalDeviceMemoryProperties & | memprops () const |
~Framework () | |
Clean up the framework satisfying the Vulkan verification layers. | |
Framework & | operator= (Framework &&rhs)=default |
bool | ok () const |
Returns true if the Framework has been built correctly. | |
This class provides an optional interface to the vulkan instance, devices and queues. It is not used by any of the other classes directly and so can be safely ignored if Vookoo is embedded in an engine. See https://vulkan-tutorial.com for details of many operations here.