|
HikoGUI
A low latency retained GUI
|
#include <TTauri/GUI/PipelineBox_Vertex.hpp>
Public Member Functions | |
| Vertex (vec position, vec cornerCoordinate, vec backgroundColor, float borderSize, vec borderColor, vec cornerShapes, 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. | |
| R32G32B32A32SFloat | cornerCoordinate |
| Double 2D coordinates inside the quad, used to determine the distance from the sides and corner inside the fragment shader. | |
| R16G16B16A16SFloat | backgroundColor |
| background color of the box. | |
| R16G16B16A16SFloat | borderColor |
| border color of the box. | |
| R16G16B16A16SFloat | cornerShapes |
| Shape of each corner, negative values are cut corners, positive values are rounded corners. | |
| float | borderSize |
A vertex defining a rectangle on a window. The vertex shader will convert window pixel-coordinates to normalized projection-coordinates.
| R16G16B16A16SFloat tt::PipelineBox::Vertex::backgroundColor |
background color of the box.
| R16G16B16A16SFloat tt::PipelineBox::Vertex::borderColor |
border color of the box.
| R32G32B32A32SFloat tt::PipelineBox::Vertex::clippingRectangle |
The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels.
| R32G32B32A32SFloat tt::PipelineBox::Vertex::cornerCoordinate |
Double 2D coordinates inside the quad, used to determine the distance from the sides and corner inside the fragment shader.
| R16G16B16A16SFloat tt::PipelineBox::Vertex::cornerShapes |
Shape of each corner, negative values are cut corners, positive values are rounded corners.
| R32G32B32SFloat tt::PipelineBox::Vertex::position |
The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.