8#include "../geometry/axis_aligned_rectangle.hpp"
9#include "../rapid/sfloat_rgba16.hpp"
10#include "../rapid/sfloat_rgba32.hpp"
11#include "../rapid/sfloat_rgb32.hpp"
12#include <vulkan/vulkan.hpp>
15namespace tt::pipeline_flat {
36 static vk::VertexInputBindingDescription inputBindingDescription()
39 0,
sizeof(
vertex), vk::VertexInputRate::eVertex
46 { 0, 0, vk::Format::eR32G32B32Sfloat, offsetof(vertex,
position) },
48 { 3, 0, vk::Format::eR16G16B16A16Sfloat, offsetof(vertex,
color) }
This is a RGBA floating point color.
Definition color.hpp:36
Class which represents an axis-aligned rectangle.
Definition axis_aligned_rectangle.hpp:20
Definition pipeline_flat_vertex.hpp:20
sfloat_rgba32 clipping_rectangle
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window,...
Definition pipeline_flat_vertex.hpp:25
sfloat_rgba16 color
transparency of the image.
Definition pipeline_flat_vertex.hpp:28
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:22
Definition sfloat_rgb32.hpp:12
Definition sfloat_rgba16.hpp:19
Definition sfloat_rgba32.hpp:15