8#include "../numeric_array.hpp"
9#include "../aarect.hpp"
10#include "../color/sfloat_rgba16.hpp"
11#include "../color/sfloat_rgba32.hpp"
12#include "../color/sfloat_rgb32.hpp"
13#include <vulkan/vulkan.hpp>
16namespace tt::pipeline_flat {
37 static vk::VertexInputBindingDescription inputBindingDescription()
40 0,
sizeof(
vertex), vk::VertexInputRate::eVertex
47 { 0, 0, vk::Format::eR32G32B32Sfloat, offsetof(vertex,
position) },
49 { 3, 0, vk::Format::eR16G16B16A16Sfloat, offsetof(vertex,
color) }
This is a RGBA floating point color.
Definition color.hpp:39
Definition sfloat_rgb32.hpp:14
Definition sfloat_rgba16.hpp:17
Definition sfloat_rgba32.hpp:14
Definition pipeline_flat_vertex.hpp:21
sfloat_rgba16 color
transparency of the image.
Definition pipeline_flat_vertex.hpp:29
sfloat_rgba32 clippingRectangle
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window,...
Definition pipeline_flat_vertex.hpp:26
sfloat_rgb32 position
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.
Definition pipeline_flat_vertex.hpp:23