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

The byte offsets and dimensions of an indexed model texture or numbered paint layer. More...

#include <decalcar.h>

Collaboration diagram for coastline::DecalTexture:

Public Attributes

std::size_t texels = 0
std::size_t palette = 0
int width = 0
int height = 0

Detailed Description

The byte offsets and dimensions of an indexed model texture or numbered paint layer.

Member Data Documentation

◆ texels

std::size_t coastline::DecalTexture::texels = 0

The offset of the 4-bit texels.

◆ palette

std::size_t coastline::DecalTexture::palette = 0

The offset of the 16 colours, each a big-endian RGBA5551 half.

◆ width

int coastline::DecalTexture::width = 0

The width in texels.

◆ height

int coastline::DecalTexture::height = 0

The height in texels.


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