Skip to content

Class atlas::vk::vk_driver

ClassList > atlas > vk > vk_driver

vulkan implementation of extracting a logical device More...

  • #include <vk_driver.hpp>

Public Functions

Type Name
VkFormat depth_format () const
void destroy ()
VkQueue get_queue (const vk_queue_options & p_present_queue)
VkQueue graphics_queue () const
operator VkDevice () const
operator VkDevice ()
uint32_t select_memory_type (uint32_t p_type_filter, VkMemoryPropertyFlags p_property_flag)
vk_driver () = default
vk_driver (const vk_physical_driver & p_physical)
~vk_driver () = default

Detailed Description

TODO Implement a device manager for managing multiple available logical devices for potential of multi-viewport support

Public Functions Documentation

function depth_format

VkFormat atlas::vk::vk_driver::depth_format () const

function destroy

void atlas::vk::vk_driver::destroy () 

function get_queue

VkQueue atlas::vk::vk_driver::get_queue (
    const vk_queue_options & p_present_queue
) 

function graphics_queue

inline VkQueue atlas::vk::vk_driver::graphics_queue () const

function operator VkDevice [1/2]

inline atlas::vk::vk_driver::operator VkDevice () const

function operator VkDevice [2/2]

inline atlas::vk::vk_driver::operator VkDevice () 

function select_memory_type

uint32_t atlas::vk::vk_driver::select_memory_type (
    uint32_t p_type_filter,
    VkMemoryPropertyFlags p_property_flag
) 

Note:

Returns -1 if there are no flags available/compatible/valid


function vk_driver [1/2]

atlas::vk::vk_driver::vk_driver () = default

function vk_driver [2/2]

atlas::vk::vk_driver::vk_driver (
    const vk_physical_driver & p_physical
) 

function ~vk_driver

atlas::vk::vk_driver::~vk_driver () = default


The documentation for this class was generated from the following file TheAtlasEngine/atlas/drivers/vulkan-cpp/vk_driver.hpp