7#include "gfx_surface_delegate.hpp"
8#include "../geometry/axis_aligned_rectangle.hpp"
9#include <vulkan/vulkan.hpp>
13namespace hi::inline
v1 {
25 build_for_new_device(VmaAllocator allocator, vk::Instance instance, vk::Device device, vk::Queue graphics_queue)
noexcept = 0;
48 uint32_t swapchain_index,
49 vk::Rect2D render_area,
51 vk::Semaphore finish)
noexcept = 0;
DOXYGEN BUG.
Definition algorithm.hpp:15
Definition gfx_surface_delegate.hpp:9
Definition gfx_surface_delegate_vulkan.hpp:15
virtual void draw(uint32_t swapchain_index, vk::Rect2D render_area, vk::Semaphore start, vk::Semaphore finish) noexcept=0
Draw using vulkan API.
virtual void build_for_new_device(VmaAllocator allocator, vk::Instance instance, vk::Device device, vk::Queue graphics_queue) noexcept=0
The vulkan device has been initialized.
virtual void build_for_new_swapchain(std::vector< vk::ImageView > const &views, vk::Extent2D size, vk::SurfaceFormatKHR format) noexcept=0
The swap-chain has been build.