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

Pre-computed GPU style indices for a box that is mid-transition (or not). More...

#include <gui_controls/gui_transition_manager.h>

Public Attributes

uint32_t fromStyleIndex = 0
uint32_t toStyleIndex = 0
float blendT = 1.0f
 0 = fully "from", 1 = fully "to"

Detailed Description

Pre-computed GPU style indices for a box that is mid-transition (or not).

When not transitioning: fromStyleIndex == toStyleIndex and blendT == 1.0.

Member Data Documentation

◆ fromStyleIndex

uint32_t tachyon::TransitionState::fromStyleIndex = 0

◆ toStyleIndex

uint32_t tachyon::TransitionState::toStyleIndex = 0

◆ blendT

float tachyon::TransitionState::blendT = 1.0f

0 = fully "from", 1 = fully "to"


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