HikoGUI
A low latency retained GUI
|
#include <hikogui/GFX/gfx_pipeline_SDF_vulkan_intf.hpp>
Public Member Functions | |
vertex (point3 position, aarectangle clippingRectangle, point3 textureCoord, hi::color color) 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 |
Clipping rectangle. (x,y)=bottom-left, (z,w)=top-right. | |
sfloat_rgb32 | textureCoord |
The x, y (relative to bottom-left) coordinate inside the texture-atlas, z is used as an index in the texture-atlas array. | |
sfloat_rgba16 | 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.
sfloat_rgba32 hi::v1::gfx_pipeline_SDF::vertex::clippingRectangle |
Clipping rectangle. (x,y)=bottom-left, (z,w)=top-right.
sfloat_rgba16 hi::v1::gfx_pipeline_SDF::vertex::color |
The color of the glyph.
sfloat_rgb32 hi::v1::gfx_pipeline_SDF::vertex::position |
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.
sfloat_rgb32 hi::v1::gfx_pipeline_SDF::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.