|
TachyonUI 1.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 |
| int16_t | colorIndex = 0 |
| color style overriding the background (gradients too); 0: none | |
| int16_t | _pad3 = 0 |
| uint32_t | styles [4] = { 0xFF000000u, 0, 0, 0 } |
| Up to four state styles mixed (StyleBlend): the GPU style index in the low 24 bits, its share (0 to 255, all of them adding up to 255) in the top 8; 0 when unused. | |
| 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::BoxPrimitive::transform0 = { 1, 0, 0 } |
| glsl_float4 tachyon::BoxPrimitive::transform1 = { 0, 1, 0 } |
| tachyon::int2 tachyon::BoxPrimitive::clipMin = { 0,0 } |
| tachyon::int2 tachyon::BoxPrimitive::clipMax = { 0,0 } |
| tachyon::int2 tachyon::BoxPrimitive::pos = { 0,0 } |
| tachyon::int2 tachyon::BoxPrimitive::size = { 0,0 } |
| tachyon::ImageIndex tachyon::BoxPrimitive::textureIndex = tachyon::ImageIndex::Invalid |
| int16_t tachyon::BoxPrimitive::colorIndex = 0 |
color style overriding the background (gradients too); 0: none
| int16_t tachyon::BoxPrimitive::_pad3 = 0 |
| uint32_t tachyon::BoxPrimitive::styles[4] = { 0xFF000000u, 0, 0, 0 } |
Up to four state styles mixed (StyleBlend): the GPU style index in the low 24 bits, its share (0 to 255, all of them adding up to 255) in the top 8; 0 when unused.
| int16_t tachyon::BoxPrimitive::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.