HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
TTauri
GUI
PipelineImage_TextureMap.hpp
1
// Copyright 2019 Pokitec
2
// All rights reserved.
3
4
#pragma once
5
6
#include "TTauri/GUI/GUIDevice_forward.hpp"
7
#include "TTauri/Foundation/PixelMap.hpp"
8
#include "TTauri/Foundation/R16G16B16A16SFloat.hpp"
9
#include <vma/vk_mem_alloc.h>
10
#include <vulkan/vulkan.hpp>
11
12
namespace
tt::PipelineImage {
13
14
struct
TextureMap
{
15
vk::Image image;
16
VmaAllocation allocation = {};
17
vk::ImageView view;
18
tt::PixelMap<R16G16B16A16SFloat>
pixelMap;
19
vk::ImageLayout layout = vk::ImageLayout::eUndefined;
20
21
void
transitionLayout(
const
GUIDevice
&device, vk::Format format, vk::ImageLayout nextLayout);
22
};
23
24
}
tt::PixelMap
A 2D canvas of pixels.
Definition
PixelMap.hpp:83
tt::GUIDevice_vulkan
Definition
GUIDevice_vulkan.hpp:22
tt::PipelineImage::TextureMap
Definition
PipelineImage_TextureMap.hpp:14
Generated on Mon Apr 22 2024 12:53:56 for HikoGUI by
1.10.0