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

A texture of the race engine, as 8-bit RGBA texels. More...

#include <enginetextures.h>

Collaboration diagram for coastline::EngineTexture:

Public Attributes

int width = 0
int height = 0
std::vector< std::uint8_t > rgba
unsigned version = 0

Detailed Description

A texture of the race engine, as 8-bit RGBA texels.

Member Data Documentation

◆ width

int coastline::EngineTexture::width = 0

The width in texels.

◆ height

int coastline::EngineTexture::height = 0

The height in texels.

◆ rgba

std::vector<std::uint8_t> coastline::EngineTexture::rgba

The texels, row by row from the top.

◆ version

unsigned coastline::EngineTexture::version = 0

Counts the loads of new texels into the texture.


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