SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::colors Namespace Reference

Predefined color constants for common use cases. More...

Variables

static constexpr Color kBlack = MakeColor(0x000000FF)
 Pure black color.
static constexpr Color kBlue = MakeColor(0x0000FFFF)
 Pure blue color.
static constexpr Color kCyan = MakeColor(0x00FFFFFF)
 Cyan color (green + blue).
static constexpr Color kGray = MakeColor(0x808080FF)
 Medium gray color (US spelling).
static constexpr Color kGreen = MakeColor(0x00FF00FF)
 Pure green color.
static constexpr Color kGrey = MakeColor(0x808080FF)
 Medium gray color (UK spelling).
static constexpr Color kMagenta = MakeColor(0xFF00FFFF)
 Magenta color (red + blue).
static constexpr Color kMaroon = MakeColor(0x800000FF)
 Dark red color.
static constexpr Color kNavy = MakeColor(0x000080FF)
 Dark blue color.
static constexpr Color kOlive = MakeColor(0x808000FF)
 Dark yellow-green color.
static constexpr Color kOrange = MakeColor(0xFFA500FF)
 Orange color.
static constexpr Color kPurple = MakeColor(0x800080FF)
 Dark magenta color.
static constexpr Color kRed = MakeColor(0xFF0000FF)
 Pure red color.
static constexpr Color kSilver = MakeColor(0xC0C0C0FF)
 Light gray color.
static constexpr Color kTeal = MakeColor(0x008080FF)
 Dark cyan color.
static constexpr Color kWhite = MakeColor(0xFFFFFFFF)
 Pure white color.
static constexpr Color kYellow = MakeColor(0xFFFF00FF)
 Yellow color (red + green).

Detailed Description

Predefined color constants for common use cases.

This namespace contains a collection of commonly used colors in RGBA format. All colors have full opacity (alpha = 255). Use these constants for convenience, but feel free to define custom colors as needed.

Variable Documentation

◆ kBlack

Color superdex::colors::kBlack = MakeColor(0x000000FF)
staticconstexpr

Pure black color.

Definition at line 101 of file color.h.

◆ kBlue

Color superdex::colors::kBlue = MakeColor(0x0000FFFF)
staticconstexpr

Pure blue color.

Definition at line 105 of file color.h.

◆ kCyan

Color superdex::colors::kCyan = MakeColor(0x00FFFFFF)
staticconstexpr

Cyan color (green + blue).

Definition at line 107 of file color.h.

◆ kGray

Color superdex::colors::kGray = MakeColor(0x808080FF)
staticconstexpr

Medium gray color (US spelling).

Definition at line 110 of file color.h.

◆ kGreen

Color superdex::colors::kGreen = MakeColor(0x00FF00FF)
staticconstexpr

Pure green color.

Definition at line 104 of file color.h.

◆ kGrey

Color superdex::colors::kGrey = MakeColor(0x808080FF)
staticconstexpr

Medium gray color (UK spelling).

Definition at line 111 of file color.h.

◆ kMagenta

Color superdex::colors::kMagenta = MakeColor(0xFF00FFFF)
staticconstexpr

Magenta color (red + blue).

Definition at line 108 of file color.h.

◆ kMaroon

Color superdex::colors::kMaroon = MakeColor(0x800000FF)
staticconstexpr

Dark red color.

Definition at line 112 of file color.h.

◆ kNavy

Color superdex::colors::kNavy = MakeColor(0x000080FF)
staticconstexpr

Dark blue color.

Definition at line 116 of file color.h.

◆ kOlive

Color superdex::colors::kOlive = MakeColor(0x808000FF)
staticconstexpr

Dark yellow-green color.

Definition at line 113 of file color.h.

◆ kOrange

Color superdex::colors::kOrange = MakeColor(0xFFA500FF)
staticconstexpr

Orange color.

Definition at line 117 of file color.h.

◆ kPurple

Color superdex::colors::kPurple = MakeColor(0x800080FF)
staticconstexpr

Dark magenta color.

Definition at line 114 of file color.h.

◆ kRed

Color superdex::colors::kRed = MakeColor(0xFF0000FF)
staticconstexpr

Pure red color.

Definition at line 103 of file color.h.

◆ kSilver

Color superdex::colors::kSilver = MakeColor(0xC0C0C0FF)
staticconstexpr

Light gray color.

Definition at line 109 of file color.h.

◆ kTeal

Color superdex::colors::kTeal = MakeColor(0x008080FF)
staticconstexpr

Dark cyan color.

Definition at line 115 of file color.h.

◆ kWhite

Color superdex::colors::kWhite = MakeColor(0xFFFFFFFF)
staticconstexpr

Pure white color.

Definition at line 102 of file color.h.

◆ kYellow

Color superdex::colors::kYellow = MakeColor(0xFFFF00FF)
staticconstexpr

Yellow color (red + green).

Definition at line 106 of file color.h.