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

#include <gui_core/graphics/gui_render_primitives.h>

Public Attributes

glsl_float4 transform0 = { 1, 0, 0 }
glsl_float4 transform1 = { 0, 1, 0 }
tachyon::int2 clipMin = { 0,0 }
tachyon::int2 clipMax = { 0,0 }
tachyon::float2 pos = { 0,0 }
tachyon::float2 size = { 0,0 }
tachyon::float2 uvMin = { 0,0 }
tachyon::float2 uvMax = { 0,0 }
float scale = 0
uint16_t bpp = 0
uint16_t mode = 0
tachyon::ImageIndex textureIndex = tachyon::ImageIndex::Invalid
int16_t textColorIndex = 0
int16_t shadowBlur = -1
 -1: the glyph itself; 0 and up: a text shadow blurred by this many 1/8 pixels

Member Data Documentation

◆ transform0

glsl_float4 tachyon::Glyph::transform0 = { 1, 0, 0 }

◆ transform1

glsl_float4 tachyon::Glyph::transform1 = { 0, 1, 0 }

◆ clipMin

tachyon::int2 tachyon::Glyph::clipMin = { 0,0 }

◆ clipMax

tachyon::int2 tachyon::Glyph::clipMax = { 0,0 }

◆ pos

tachyon::float2 tachyon::Glyph::pos = { 0,0 }

◆ size

tachyon::float2 tachyon::Glyph::size = { 0,0 }

◆ uvMin

tachyon::float2 tachyon::Glyph::uvMin = { 0,0 }

◆ uvMax

tachyon::float2 tachyon::Glyph::uvMax = { 0,0 }

◆ scale

float tachyon::Glyph::scale = 0

◆ bpp

uint16_t tachyon::Glyph::bpp = 0

◆ mode

uint16_t tachyon::Glyph::mode = 0

◆ textureIndex

tachyon::ImageIndex tachyon::Glyph::textureIndex = tachyon::ImageIndex::Invalid

◆ textColorIndex

int16_t tachyon::Glyph::textColorIndex = 0

◆ shadowBlur

int16_t tachyon::Glyph::shadowBlur = -1

-1: the glyph itself; 0 and up: a text shadow blurred by this many 1/8 pixels


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