All Classes Files Functions Variables Typedefs Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
Color< T, A > Struct Template Reference

Inherits ColorImpl< T, A >.

Public Types

using type = T
 

Public Member Functions

bool operator== (Color< T, A > other)
 
bool operator!= (Color< T, A > other)
 
T & operator[] (std::size_t index)
 
operator[] (std::size_t index) const
 

Static Public Attributes

static constexpr bool alpha = A
 
static constexpr int size = (A ? 4 * sizeof(T) : 3 * sizeof(T))