GL Studio Safety Critical Embedded C++ Runtime Library
GlsColor Struct Reference

#include <gls_color.h>

Public Attributes

GlsUChar r
 
GlsUChar g
 
GlsUChar b
 
GlsUChar a
 

Static Public Attributes

static const GlsUChar MAX_COMPONENT_VALUE = GLSUCHAR_MAX
 

Detailed Description

A 4 component RGBA color.

Member Data Documentation

GlsUChar GlsColor::a

Alpha 0-255 range

GlsUChar GlsColor::b

Blue, 0-255 range

GlsUChar GlsColor::g

Green 0-255 range

const GlsUChar GlsColor::MAX_COMPONENT_VALUE = GLSUCHAR_MAX
static

largest possible value for a color component

GlsUChar GlsColor::r

Red 0-255 range