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