HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Data Fields
tt::PipelineFlat::Vertex Struct Reference

#include <TTauri/GUI/PipelineFlat_Vertex.hpp>

Public Member Functions

tt_force_inline Vertex (vec position, aarect clippingRectangle, 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
 The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels.
 
R16G16B16A16SFloat color
 transparency of the image.
 

Detailed Description

A vertex defining a rectangle on a window. The vertex shader will convert window pixel-coordinates to normalized projection-coordinates.

Field Documentation

◆ clippingRectangle

R32G32B32A32SFloat tt::PipelineFlat::Vertex::clippingRectangle

The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels.

◆ color

R16G16B16A16SFloat tt::PipelineFlat::Vertex::color

transparency of the image.

◆ position

R32G32B32SFloat tt::PipelineFlat::Vertex::position

The pixel-coordinates where the origin is located relative to the bottom-left corner of the window.


The documentation for this struct was generated from the following file: