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

#include <gui_core/gui_base_types.h>

Public Member Functions

float & operator[] (int index)
const float & operator[] (int index) const
bool operator== (const color4f &other) const
bool operator!= (const color4f &other) const

Public Attributes

float r = 0
float g = 0
float b = 0
float a = 0

Detailed Description

Member Function Documentation

◆ operator[]() [1/2]

float & tachyon::color4f::operator[] ( int index)
inline

◆ operator[]() [2/2]

const float & tachyon::color4f::operator[] ( int index) const
inline

◆ operator==()

bool tachyon::color4f::operator== ( const color4f & other) const
inline

◆ operator!=()

bool tachyon::color4f::operator!= ( const color4f & other) const
inline

Member Data Documentation

◆ r

float tachyon::color4f::r = 0

◆ g

float tachyon::color4f::g = 0

◆ b

float tachyon::color4f::b = 0

◆ a

float tachyon::color4f::a = 0

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