vulkan-specific implementation that is the backend of the graphics contextd More...
#include <vk_context.hpp>
Public Member Functions | |
| vk_context (const std::string &p_tag) | |
Public Member Functions inherited from atlas::graphics_context | |
| void | destroy () |
| explicit cleanup of the graphics API context | |
Static Public Member Functions | |
| static void | submit_resource_free (std::function< void()> &&p_resource) |
| used for providing a way to submit all vulkan metaobjects before the destruction of the vulkan logical device | |
| static PFN_vkSetDebugUtilsObjectNameEXT | get_debug_object_name () |
| returns function pointer to allow for setting debug object name | |
| static VkInstance | handler () |
| Gives you direct access to the vulkan instance. | |
| static vk_physical_driver | physical_driver () |
| direct access to the vulkan physical device | |
| static vk_driver | driver_context () |
| direct access to the vulkan logical device | |
vulkan-specific implementation that is the backend of the graphics contextd
|
overrideprivatevirtual |
Implements atlas::graphics_context.
|
inlinestatic |
returns function pointer to allow for setting debug object name
This allows for utilizing vkSetDebugUtilsObjectNameEXT during debug builds
This allows for setting up object names that is useful to the programmer when a validation layer error message occurs unexpectedly
|
static |
used for providing a way to submit all vulkan metaobjects before the destruction of the vulkan logical device
Per vulkan specification, it is required to have all object handles created with the logical device to be destroyed before the logical device itself gets destroyed during post cleanup
This function was a means to ensure that the destruction of those vulkan child objects are handled in that order correctly