HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::gfx_pipeline_override::vertex Struct Reference

#include <hikogui/GFX/gfx_pipeline_override_vulkan_intf.hpp>

Public Member Functions

 vertex (sfloat_rgba32 position, sfloat_rgba32 clipping_rectangle, sfloat_rgba16 color, sfloat_rgba16 blend_factor) noexcept

Static Public Member Functions

static vk::VertexInputBindingDescription inputBindingDescription ()
static std::vector< vk::VertexInputAttributeDescription > inputAttributeDescriptions ()

Data Fields

sfloat_rgba32 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
 The color value of the resulting pixels inside the quad.
sfloat_rgba16 blend_factor
 The blend-factor value of the resulting pixels inside the quad.

Detailed Description

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

Field Documentation

◆ blend_factor

sfloat_rgba16 hi::v1::gfx_pipeline_override::vertex::blend_factor

The blend-factor value of the resulting pixels inside the quad.

◆ clipping_rectangle

sfloat_rgba32 hi::v1::gfx_pipeline_override::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 hi::v1::gfx_pipeline_override::vertex::color

The color value of the resulting pixels inside the quad.

◆ position

sfloat_rgba32 hi::v1::gfx_pipeline_override::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: