logical device implementation wrapper around the VkDevice More...
#include <vk_driver.hpp>
Public Member Functions | |
| vk_driver (const vk_physical_driver &p_physical) | |
| construct a new logical device | |
| VkQueue | graphics_queue () const |
| returns the specified graphics queue from this logical device | |
| uint32_t | select_memory_type (uint32_t p_type_filter, VkMemoryPropertyFlags p_property_flag) |
| void | destroy () |
| VkFormat | depth_format () const |
| gives you the depth format from the logical device | |
| operator VkDevice () const | |
| allows to treat vk_driver as a VkDevice handle | |
| operator VkDevice () | |
| allows to treat vk_driver as a VkDevice handle | |
logical device implementation wrapper around the VkDevice
This class was a wrapper around VKDevice, that provided you with other API's to do with that particular logical device.
Logical devices are representation of virtual software ways to interact with the GPU through Vulkan specifications
TODO: Out-of-date. Using vulkan-cpp ::vk::device class to provide API's that allow you to do more queries on specific attributes the logical device gives you.
| atlas::vk::vk_driver::vk_driver | ( | const vk_physical_driver & | p_physical | ) |
construct a new logical device
| p_physical | is the physical device required for the creation of the logical device |
| VkFormat atlas::vk::vk_driver::depth_format | ( | ) | const |
gives you the depth format from the logical device
|
inline |
allows to treat vk_driver as a VkDevice handle
For vulkan API's that accept only taking in VKDevice, this simplifies the need to not have a getter API
|
inline |
allows to treat vk_driver as a VkDevice handle
For vulkan API's that accept only taking in VKDevice, this simplifies the need to not have a getter API
| uint32_t atlas::vk::vk_driver::select_memory_type | ( | uint32_t | p_type_filter, |
| VkMemoryPropertyFlags | p_property_flag | ||
| ) |