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

#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.
 

Detailed Description

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

Field Documentation

◆ atlasPosition

R32G32B32SFloat tt::PipelineImage::Vertex::atlasPosition

The x, y coordinate inside the texture-atlas, z is used as an index in the texture-atlas array.

◆ clippingRectangle

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.

◆ position

R32G32B32SFloat tt::PipelineImage::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: