|
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::int2 | pos = { 0,0 } |
| tachyon::int2 | size = { 0,0 } |
| tachyon::ImageIndex | textureIndex = tachyon::ImageIndex::Invalid |
| uint32_t | styleIndex = 0 |
| "from" state GPU style index | |
| int16_t | colorIndex = 0 |
| color style overriding the background (gradients too); 0: none | |
| int16_t | _pad3 = 0 |
| uint32_t | styleIndexTo = 0 |
| "to" state GPU style index | |
| float | blendT = 1.0f |
| 0 = fully "from", 1 = fully "to" | |
| uint32_t | _pad0 = 0 |
| int16_t | snappedPx [4] = { 0, 0, 0, 0 } |
| The box in window pixels, snapped relative to its parent (SnapToParent); { x0, y0, x1, y1 }, all zero = snap absolutely. | |
| glsl_float4 tachyon::Box::transform0 = { 1, 0, 0 } |
| glsl_float4 tachyon::Box::transform1 = { 0, 1, 0 } |
| tachyon::int2 tachyon::Box::clipMin = { 0,0 } |
| tachyon::int2 tachyon::Box::clipMax = { 0,0 } |
| tachyon::int2 tachyon::Box::pos = { 0,0 } |
| tachyon::int2 tachyon::Box::size = { 0,0 } |
| tachyon::ImageIndex tachyon::Box::textureIndex = tachyon::ImageIndex::Invalid |
| uint32_t tachyon::Box::styleIndex = 0 |
"from" state GPU style index
| int16_t tachyon::Box::colorIndex = 0 |
color style overriding the background (gradients too); 0: none
| int16_t tachyon::Box::_pad3 = 0 |
| uint32_t tachyon::Box::styleIndexTo = 0 |
"to" state GPU style index
| float tachyon::Box::blendT = 1.0f |
0 = fully "from", 1 = fully "to"
| uint32_t tachyon::Box::_pad0 = 0 |
| int16_t tachyon::Box::snappedPx[4] = { 0, 0, 0, 0 } |
The box in window pixels, snapped relative to its parent (SnapToParent); { x0, y0, x1, y1 }, all zero = snap absolutely.