TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Dot 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::color4f color
float size = 0
float _pad_size_to_pos = 0
 std430 aligns vec2 to 8 bytes: pos must start at offset 72, not 68.
float pos [2] = { 0, 0 }
 Float so positions far from origin or under a pan/zoom transform don't wrap.

Member Data Documentation

◆ transform0

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

◆ transform1

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

◆ clipMin

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

◆ clipMax

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

◆ color

tachyon::color4f tachyon::Dot::color

◆ size

float tachyon::Dot::size = 0

◆ _pad_size_to_pos

float tachyon::Dot::_pad_size_to_pos = 0

std430 aligns vec2 to 8 bytes: pos must start at offset 72, not 68.

◆ pos

float tachyon::Dot::pos[2] = { 0, 0 }

Float so positions far from origin or under a pan/zoom transform don't wrap.

The shader applies transform0/1 to both size and position.


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