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) |
T | 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)) |