HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
pipeline_image_texture_map.hpp
1// Copyright Take Vos 2019, 2021.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../image/module.hpp"
8#include <vma/vk_mem_alloc.h>
9#include <vulkan/vulkan.hpp>
10
11namespace hi::inline v1 {
12class gfx_device_vulkan;
13
14namespace pipeline_image {
15
17 vk::Image image;
18 VmaAllocation allocation = {};
19 vk::ImageView view;
21 vk::ImageLayout layout = vk::ImageLayout::eUndefined;
22
23 void transitionLayout(const gfx_device_vulkan &device, vk::Format format, vk::ImageLayout nextLayout);
24};
25
26} // namespace pipeline_image
27} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm.hpp:13
Definition gfx_device_vulkan.hpp:21
Definition pipeline_image_texture_map.hpp:16
A non-owning 2D pixel-based image.
Definition pixmap_span.hpp:31