MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
mxvk::VulkanContext Struct Reference

Minimal Vulkan handles required by MXVK resource helpers. More...

#include <mxvk/include/mxvk/mxvk_context.hpp>

Public Attributes

VkCommandPool command_pool = VK_NULL_HANDLE
 Command pool used for transient upload command buffers.
VkDevice device = VK_NULL_HANDLE
 Logical device used to create and destroy resources.
VkQueue graphics_queue = VK_NULL_HANDLE
 Queue used for one-shot upload command submission.
VkPhysicalDevice physical_device = VK_NULL_HANDLE
 Physical device used for memory type queries.

Detailed Description

Minimal Vulkan handles required by MXVK resource helpers.

Buffer and image allocation require device and physical_device. Upload helpers also require graphics_queue and command_pool.

Definition at line 17 of file mxvk_context.hpp.

Member Data Documentation

◆ command_pool

VkCommandPool mxvk::VulkanContext::command_pool = VK_NULL_HANDLE

Command pool used for transient upload command buffers.

Definition at line 25 of file mxvk_context.hpp.

◆ device

VkDevice mxvk::VulkanContext::device = VK_NULL_HANDLE

Logical device used to create and destroy resources.

Definition at line 19 of file mxvk_context.hpp.

◆ graphics_queue

VkQueue mxvk::VulkanContext::graphics_queue = VK_NULL_HANDLE

Queue used for one-shot upload command submission.

Definition at line 23 of file mxvk_context.hpp.

◆ physical_device

VkPhysicalDevice mxvk::VulkanContext::physical_device = VK_NULL_HANDLE

Physical device used for memory type queries.

Definition at line 21 of file mxvk_context.hpp.


The documentation for this struct was generated from the following file: