TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::NodeLists< T > Struct Template Reference

Internal: a list per node, all in one array, refilled each frame in the storage it has. More...

#include <gui_controls/gui_node_view_types.h>

Public Member Functions

size_t size () const
std::span< T > operator[] (size_t n)
std::span< const T > operator[] (size_t n) const

Public Attributes

std::vector< T > items
std::vector< uint32_t > first { 0 }
 node n's are items[first[n] .. first[n + 1])

Detailed Description

template<class T>
struct tachyon::NodeLists< T >

Internal: a list per node, all in one array, refilled each frame in the storage it has.

Member Function Documentation

◆ size()

template<class T>
size_t tachyon::NodeLists< T >::size ( ) const
inline

◆ operator[]() [1/2]

template<class T>
std::span< T > tachyon::NodeLists< T >::operator[] ( size_t n)
inline

◆ operator[]() [2/2]

template<class T>
std::span< const T > tachyon::NodeLists< T >::operator[] ( size_t n) const
inline

Member Data Documentation

◆ items

template<class T>
std::vector<T> tachyon::NodeLists< T >::items

◆ first

template<class T>
std::vector<uint32_t> tachyon::NodeLists< T >::first { 0 }

node n's are items[first[n] .. first[n + 1])


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