7#include "../vector_span.hpp"
8#include "../geometry/module.hpp"
9#include "../image/module.hpp"
10#include <vulkan/vulkan.hpp>
13namespace hi::inline
v1::pipeline_alpha {
18struct alignas(16) vertex {
36 static vk::VertexInputBindingDescription inputBindingDescription()
38 return {0,
sizeof(
vertex), vk::VertexInputRate::eVertex};
44 {0, 0, vk::Format::eR32G32B32A32Sfloat, offsetof(vertex, position)},
45 {1, 0, vk::Format::eR32G32B32A32Sfloat, offsetof(vertex, clipping_rectangle)},
46 {2, 0, vk::Format::eR32Sfloat, offsetof(vertex, alpha)},
DOXYGEN BUG.
Definition algorithm.hpp:13
Definition pipeline_alpha_vertex.hpp:18
float alpha
The alpha value of the resulting pixels inside the quad.
Definition pipeline_alpha_vertex.hpp:29
sfloat_rgba32 clipping_rectangle
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window,...
Definition pipeline_alpha_vertex.hpp:25
sfloat_rgba32 position
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.
Definition pipeline_alpha_vertex.hpp:21
4 x float32 pixel format.
Definition sfloat_rgba32.hpp:22