|
| Context (const Context &other)=delete |
|
| Context (Context &&other) noexcept |
|
Context & | operator= (const Context &other)=delete |
|
Context & | operator= (Context &&other) noexcept |
|
const vk::Instance & | getInstance () const |
|
const vk::PhysicalDevice & | getPhysicalDevice () const |
|
const vk::Device & | getDevice () const |
|
const FeatureManager & | getFeatureManager () const |
|
const QueueManager & | getQueueManager () const |
|
const vma::Allocator & | getAllocator () const |
|
|
static Context | create (const char *applicationName, uint32_t applicationVersion, const std::vector< vk::QueueFlagBits > &queueFlags, const Features &features, const std::vector< const char * > &instanceExtensions={}) |
|
|
| Context (vk::Instance instance, vk::PhysicalDevice physicalDevice, vk::Device device, FeatureManager &&featureManager, QueueManager &&queueManager, vma::Allocator &&allocator) noexcept |
|
|
vk::Instance | m_Instance |
|
vk::PhysicalDevice | m_PhysicalDevice |
|
vk::Device | m_Device |
|
FeatureManager | m_FeatureManager |
|
QueueManager | m_QueueManager |
|
vma::Allocator | m_Allocator |
|
◆ 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
-
instance | Vulkan-Instance |
physicalDevice | Vulkan-PhysicalDevice |
device | Vulkan-Device |
The documentation for this class was generated from the following files: