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

#include <gui_core/gui_base_types.h>

Public Member Functions

int32_t & operator[] (int index)
const int32_t & operator[] (int index) const
bool operator== (const int4 &other) const
bool operator!= (const int4 &other) const
int4 operator- () const
int4 operator+ () const
int4 operator- (const int4 &other) const
int4 operator+ (const int4 &other) const
int4 & operator-= (const int4 &other)
int4 & operator+= (const int4 &other)

Public Attributes

int32_t x = 0
int32_t y = 0
int32_t z = 0
int32_t w = 0

Member Function Documentation

◆ operator[]() [1/2]

int32_t & tachyon::int4::operator[] ( int index)
inline

◆ operator[]() [2/2]

const int32_t & tachyon::int4::operator[] ( int index) const
inline

◆ operator==()

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

◆ operator!=()

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

◆ operator-() [1/2]

int4 tachyon::int4::operator- ( ) const
inline

◆ operator+() [1/2]

int4 tachyon::int4::operator+ ( ) const
inline

◆ operator-() [2/2]

int4 tachyon::int4::operator- ( const int4 & other) const
inline

◆ operator+() [2/2]

int4 tachyon::int4::operator+ ( const int4 & other) const
inline

◆ operator-=()

int4 & tachyon::int4::operator-= ( const int4 & other)
inline

◆ operator+=()

int4 & tachyon::int4::operator+= ( const int4 & other)
inline

Member Data Documentation

◆ x

int32_t tachyon::int4::x = 0

◆ y

int32_t tachyon::int4::y = 0

◆ z

int32_t tachyon::int4::z = 0

◆ w

int32_t tachyon::int4::w = 0

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