HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
GFX
pipeline_alpha_push_constants.hpp
1
// Copyright Take Vos 2022.
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 "../rapid/sfloat_rg32.hpp"
8
#include <vulkan/vulkan.hpp>
9
10
namespace
hi::inline
v1
::pipeline_alpha {
11
12
struct
push_constants
{
13
sfloat_rg32
windowExtent =
extent2
{0.0, 0.0};
14
sfloat_rg32
viewportScale =
scale2
{0.0, 0.0};
15
16
static
std::vector<vk::PushConstantRange>
pushConstantRanges()
17
{
18
return
{{vk::ShaderStageFlagBits::eVertex | vk::ShaderStageFlagBits::eFragment, 0,
sizeof
(
push_constants
)}};
19
}
20
};
21
22
}
// namespace hi::inline v1::pipeline_alpha
v1
DOXYGEN BUG.
Definition
algorithm.hpp:15
v1::geo::scale< 2 >
v1::geo::extent< 2 >
v1::push_constants
Definition
pipeline_alpha_push_constants.hpp:12
v1::sfloat_rg32
Definition
sfloat_rg32.hpp:16
std::vector
Generated on Mon Apr 22 2024 12:52:34 for HikoGUI by
1.10.0