|
HikoGUI
A low latency retained GUI
|
#include <TTauri/GUI/PipelineSDF_Vertex.hpp>
Public Member Functions | |
| Vertex (vec position, aarect clippingRectangle, vec textureCoord, 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 |
| Clipping rectangle. (x,y)=bottom-left, (z,w)=top-right. | |
| R32G32B32SFloat | textureCoord |
| The x, y (relative to bottom-left) coordinate inside the texture-atlas, z is used as an index in the texture-atlas array. | |
| R16G16B16A16SFloat | color |
| The color of the glyph. | |
A vertex defining a rectangle on a window. The vertex shader will convert window pixel-coordinates to normalized projection-coordinates.
| R32G32B32A32SFloat tt::PipelineSDF::Vertex::clippingRectangle |
Clipping rectangle. (x,y)=bottom-left, (z,w)=top-right.
| R16G16B16A16SFloat tt::PipelineSDF::Vertex::color |
The color of the glyph.
| R32G32B32SFloat tt::PipelineSDF::Vertex::position |
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.
| R32G32B32SFloat tt::PipelineSDF::Vertex::textureCoord |
The x, y (relative to bottom-left) coordinate inside the texture-atlas, z is used as an index in the texture-atlas array.