CanvasLib
Loading...
Searching...
No Matches
canv::Color Class Reference

Utility Color class operating uint8(0..255) values. More...

#include <Color.hpp>

Public Member Functions

 Color ()=default
 by default creates black transparent color
 
 Color (const glm::vec4 &glmColor)
 
 Color (uint8_t, uint8_t, uint8_t, uint8_t a=std::numeric_limits< uint8_t >::max()) noexcept
 creates color using 0.255 values
 
 operator glm::vec4 () const
 

Public Attributes

uint8_t R { 0 }
 
uint8_t G { 0 }
 
uint8_t B { 0 }
 
uint8_t A { 0 }
 

Detailed Description

Utility Color class operating uint8(0..255) values.


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