coastline 0.0.4
Loading...
Searching...
No Matches
coastline::FlatVertex Struct Reference

A corner of a flat quad: its place in the space of the flat draws, its texels, and its colour. More...

#include <scenerenderer.h>

Collaboration diagram for coastline::FlatVertex:

Public Attributes

float x = 0.0f
float y = 0.0f
float u = 0.0f
float v = 0.0f
std::array< std::uint8_t, 4 > color {255, 255, 255, 255}
float z = 0.0f

Detailed Description

A corner of a flat quad: its place in the space of the flat draws, its texels, and its colour.

Member Data Documentation

◆ x

float coastline::FlatVertex::x = 0.0f

The left to right place.

◆ y

float coastline::FlatVertex::y = 0.0f

The top to bottom place.

◆ u

float coastline::FlatVertex::u = 0.0f

The texel across, from 0 to 1.

◆ v

float coastline::FlatVertex::v = 0.0f

The texel down, from 0 to 1.

◆ color

std::array<std::uint8_t, 4> coastline::FlatVertex::color {255, 255, 255, 255}

The colour, R, G, B, and A.

◆ z

float coastline::FlatVertex::z = 0.0f

The back to front place.


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