TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::AtlasLocation Struct Reference

Where a handle's texels are in the atlas. More...

#include <gui_core/style/gui_gradient_manager.h>

Public Attributes

uint16_t col = 0
 starting column within the row (0..page.width-1)
uint16_t row = 0
 row index within the page (0..page.height-1)
uint16_t width = 0
 number of columns (1..page.width)
uint8_t page = 0
 logical page index (0..PageCount()-1)

Detailed Description

Where a handle's texels are in the atlas.

Member Data Documentation

◆ col

uint16_t tachyon::AtlasLocation::col = 0

starting column within the row (0..page.width-1)

◆ row

uint16_t tachyon::AtlasLocation::row = 0

row index within the page (0..page.height-1)

◆ width

uint16_t tachyon::AtlasLocation::width = 0

number of columns (1..page.width)

◆ page

uint8_t tachyon::AtlasLocation::page = 0

logical page index (0..PageCount()-1)


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