|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#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. | |
| glsl_float4 tachyon::Dot::transform0 = { 1, 0, 0 } |
| glsl_float4 tachyon::Dot::transform1 = { 0, 1, 0 } |
| tachyon::int2 tachyon::Dot::clipMin = { 0,0 } |
| tachyon::int2 tachyon::Dot::clipMax = { 0,0 } |
| tachyon::color4f tachyon::Dot::color |
| float tachyon::Dot::size = 0 |
| float tachyon::Dot::_pad_size_to_pos = 0 |
std430 aligns vec2 to 8 bytes: pos must start at offset 72, not 68.
| 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.