|
HikoGUI
A low latency retained GUI
|
#include <ttauri/GFX/pipeline_image_vertex.hpp>
Public Member Functions | |
| vertex (point3 position, point3 atlasPosition, aarectangle clippingRectangle) noexcept | |
Static Public Member Functions | |
| static vk::VertexInputBindingDescription | inputBindingDescription () |
| static std::vector< vk::VertexInputAttributeDescription > | inputAttributeDescriptions () |
Data Fields | |
| sfloat_rgb32 | position |
| The pixel-coordinates where the origin is located relative to the bottom-left corner of the window. | |
| sfloat_rgba32 | clippingRectangle |
| The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels. | |
| sfloat_rgb32 | 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.
| sfloat_rgb32 tt::pipeline_image::vertex::atlasPosition |
The x, y coordinate inside the texture-atlas, z is used as an index in the texture-atlas array.
| sfloat_rgba32 tt::pipeline_image::vertex::clippingRectangle |
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels.
| sfloat_rgb32 tt::pipeline_image::vertex::position |
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.