VkCV Framework  0.0.1
CV Vulkan framework
vkcv::Context Class Reference
Collaboration diagram for vkcv::Context:

Public Member Functions

 Context (const Context &other)=delete
 
 Context (Context &&other) noexcept
 
Contextoperator= (const Context &other)=delete
 
Contextoperator= (Context &&other) noexcept
 
const vk::Instance & getInstance () const
 
const vk::PhysicalDevice & getPhysicalDevice () const
 
const vk::Device & getDevice () const
 
const FeatureManagergetFeatureManager () const
 
const QueueManagergetQueueManager () const
 
const vma::Allocator & getAllocator () const
 

Static Public Member Functions

static Context create (const char *applicationName, uint32_t applicationVersion, const std::vector< vk::QueueFlagBits > &queueFlags, const Features &features, const std::vector< const char * > &instanceExtensions={})
 

Private Member Functions

 Context (vk::Instance instance, vk::PhysicalDevice physicalDevice, vk::Device device, FeatureManager &&featureManager, QueueManager &&queueManager, vma::Allocator &&allocator) noexcept
 

Private Attributes

vk::Instance m_Instance
 
vk::PhysicalDevice m_PhysicalDevice
 
vk::Device m_Device
 
FeatureManager m_FeatureManager
 
QueueManager m_QueueManager
 
vma::Allocator m_Allocator
 

Friends

class Core
 

Detailed Description

Constructor & Destructor Documentation

◆ Context()

vkcv::Context::Context ( vk::Instance  instance,
vk::PhysicalDevice  physicalDevice,
vk::Device  device,
FeatureManager &&  featureManager,
QueueManager &&  queueManager,
vma::Allocator &&  allocator 
)
privatenoexcept

Constructor of #Context requires an instance, a physicalDevice and a device.

Parameters
instanceVulkan-Instance
physicalDeviceVulkan-PhysicalDevice
deviceVulkan-Device

The documentation for this class was generated from the following files: