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

#include <ttauri/GFX/pipeline_flat_vertex.hpp>

Public Member Functions

 vertex (aarectangle clippingRectangle, point3 position, tt::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 clipping_rectangle
 The position in pixels of the clipping rectangle relative to the bottom-left corner of the window, and extent in pixels.
 
sfloat_rgba16 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

◆ clipping_rectangle

sfloat_rgba32 tt::pipeline_flat::vertex::clipping_rectangle

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

◆ color

sfloat_rgba16 tt::pipeline_flat::vertex::color

transparency of the image.

◆ position

sfloat_rgb32 tt::pipeline_flat::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: