Crafter.Graphics
C++ graphics library using Wayland and Vulkan.
 
Loading...
Searching...
No Matches
Crafter::VulkanDevice Class Referenceexport

Static Public Member Functions

static void CreateDevice ()
 Creates the vulkan device, this must be called before any use of vulkan.
 
static void CHECK_VK_RESULT (VkResult result)
 
static std::uint32_t GetMemoryType (std::uint32_t typeBits, VkMemoryPropertyFlags properties)
 

Static Public Attributes

static VkInstance instance = VK_NULL_HANDLE
 
static VkDebugUtilsMessengerEXT debugMessenger = VK_NULL_HANDLE
 
static VkPhysicalDevice physDevice = VK_NULL_HANDLE
 
static VkDevice device = VK_NULL_HANDLE
 
static std::uint32_t queueFamilyIndex = 0
 
static VkQueue queue = VK_NULL_HANDLE
 
static VkCommandPool commandPool = VK_NULL_HANDLE
 
static VkSwapchainKHR swapchain = VK_NULL_HANDLE
 
static PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXTProc
 
static PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHRProc
 
static PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHRProc
 
static VkPhysicalDeviceMemoryProperties memoryProperties
 
static VkFormat depthFormat = VK_FORMAT_UNDEFINED
 

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