NarcEngine 0.1.1
C++ Vulkan game engine
 
Loading...
Searching...
No Matches
narc_engine::DeviceHandler Class Reference

Public Member Functions

 DeviceHandler (const Window *window, const EngineInstance *instance, const EngineDebugLogger *debugLogger)
 
const VkDevice & getDevice () const
 
const VkPhysicalDevice & getPhysicalDevice () const
 
const VkPhysicalDeviceProperties & getPhysicalDeviceProperties () const
 
void createSwapChain (VkSwapchainCreateInfoKHR &createInfo, VkSwapchainKHR *swapchain) const
 
void createCommandPool (VkCommandPool *commandPool, VkCommandPoolCreateInfo poolInfo) const
 
VkImageView createImageView (VkImage image, VkFormat format, VkImageAspectFlags aspectFlags) const
 
void waitDeviceIdle () const
 
void waitGraphicsQueueIdle () const
 
VkResult submitGraphicsQueue (uint32_t submitCount, const VkSubmitInfo *submitInfo, VkFence fence) const
 
VkResult presentKHR (const VkPresentInfoKHR *presentInfo) const
 
uint32_t findMemoryType (uint32_t typeFilter, VkMemoryPropertyFlags properties) const
 
VkFormat findDepthFormat () const
 
VkFormat findSupportedFormat (const std::vector< VkFormat > &candidates, VkImageTiling tiling, VkFormatFeatureFlags features) const
 

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