|
HikoGUI
A low latency retained GUI
|
#include <TTauri/GUI/PipelineFlat_Vertex.hpp>
Public Member Functions | |
| tt_force_inline | Vertex (vec position, aarect clippingRectangle, vec color) noexcept |
Static Public Member Functions | |
| static vk::VertexInputBindingDescription | inputBindingDescription () |
| static std::vector< vk::VertexInputAttributeDescription > | inputAttributeDescriptions () |
Data Fields | |
| R32G32B32SFloat | position |
| The pixel-coordinates where the origin is located relative to the bottom-left corner of the window. | |
| R32G32B32A32SFloat | clippingRectangle |
| The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels. | |
| R16G16B16A16SFloat | color |
| transparency of the image. | |
A vertex defining a rectangle on a window. The vertex shader will convert window pixel-coordinates to normalized projection-coordinates.
| R32G32B32A32SFloat tt::PipelineFlat::Vertex::clippingRectangle |
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels.
| R16G16B16A16SFloat tt::PipelineFlat::Vertex::color |
transparency of the image.
| R32G32B32SFloat tt::PipelineFlat::Vertex::position |
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.