HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
pipeline_SDF_texture_map.hpp
1// Copyright Take Vos 2020.
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 "../pixel_map.hpp"
8#include "../rapid/sdf_r8.hpp"
9#include <vk_mem_alloc.h>
10#include <vulkan/vulkan.hpp>
11
12namespace tt {
13class gfx_device_vulkan;
14}
15
16namespace tt::pipeline_SDF {
17
19 vk::Image image;
20 VmaAllocation allocation = {};
21 vk::ImageView view;
23 vk::ImageLayout layout = vk::ImageLayout::eUndefined;
24
25 void transitionLayout(const gfx_device_vulkan &device, vk::Format format, vk::ImageLayout nextLayout);
26};
27
28}
Definition gfx_device_vulkan.hpp:23
A 2D canvas of pixels.
Definition pixel_map.hpp:101
Definition pipeline_SDF_texture_map.hpp:18