![]() |
Gorgon Game Engine
|
Go to the source code of this file.
Classes | |
| class | RGBA |
| This class represents a color information. More... | |
| class | RGBAf |
| Represents a four channel 32 bit float per channel color information. More... | |
Namespaces | |
| Gorgon | |
| Root namespace for Gorgon Game Engine. | |
| Gorgon::Graphics | |
| Contains generic 2D graphics related data structures and functions. | |
| Gorgon::Graphics::Color | |
| Contains commonly used colors identified by XKCD survey containing 140000 people. | |
Enumerations | |
| enum | ColorMode { Invalid, Automatic, RGB, BGR, Grayscale, Alpha, RGBA, BGRA, Grayscale_Alpha } |
| Color modes for images. More... | |
Functions | |
| RGBA | Blend (RGBA first, const RGBA &second) |
| Blends two colors together, you do not need to use namespace if calling on an RGBA object. More... | |
| RGBA | Blend (RGBA first, const RGBA &second, float alpha) |
| Blends two colors together, you do not need to use namespace if calling on an RGBA object. More... | |
| int | GetAlphaIndex (ColorMode mode) |
| Returns the index of alpha channel. If alpha channel does not exists, this function returns -1. More... | |
| unsigned long | GetChannelsPerPixel (ColorMode mode) |
| Returns bytes per pixel for the given color mode. More... | |
| bool | HasAlpha (ColorMode mode) |
| Returns if the given color mode has alpha channel. More... | |
| const std::vector< std::pair< std::string, RGBA > > & | Names () |
| std::ostream & | operator<< (std::ostream &stream, const RGBA &color) |
| Prints the given color to the stream. More... | |
| std::ostream & | operator<< (std::ostream &stream, const RGBAf &color) |
| Prints the given color to the stream. More... | |
| std::istream & | operator>> (std::istream &in, RGBA &color) |
| Reads a color from the stream. More... | |
Variables | |
| constexpr RGBA | Amber |
| constexpr RGBA | AppleGreen |
| constexpr RGBA | Aqua |
| constexpr RGBA | AquaBlue |
| constexpr RGBA | AquaGreen |
| constexpr RGBA | Aquamarine |
| constexpr RGBA | ArmyGreen |
| constexpr RGBA | Aubergine |
| constexpr RGBA | Avocado |
| constexpr RGBA | Azure |
| constexpr RGBA | BabyBlue |
| constexpr RGBA | BabyPink |
| constexpr RGBA | Beige |
| constexpr RGBA | Black |
| constexpr RGBA | BloodRed |
| constexpr RGBA | Blue |
| constexpr RGBA | BlueGreen |
| constexpr RGBA | BlueGrey |
| constexpr RGBA | BluePurple |
| constexpr RGBA | BlueViolet |
| constexpr RGBA | BluishGreen |
| constexpr RGBA | BluishPurple |
| constexpr RGBA | Bordeaux |
| constexpr RGBA | Brick |
| constexpr RGBA | BrickRed |
| constexpr RGBA | BrightBlue |
| constexpr RGBA | BrightGreen |
| constexpr RGBA | BrightPink |
| constexpr RGBA | BrightPurple |
| constexpr RGBA | BrightRed |
| constexpr RGBA | BrightYellow |
| constexpr RGBA | Brown |
| constexpr RGBA | Brownish |
| constexpr RGBA | BrownishGreen |
| constexpr RGBA | BrownishOrange |
| constexpr RGBA | BrownishRed |
| constexpr RGBA | Burgundy |
| constexpr RGBA | BurntOrange |
| constexpr RGBA | BurntSienna |
| constexpr RGBA | BurntUmber |
| constexpr RGBA | CamoGreen |
| constexpr RGBA | CanaryYellow |
| constexpr RGBA | Cerulean |
| constexpr RGBA | Charcoal |
| constexpr RGBA | Chartreuse |
| constexpr RGBA | CherryRed |
| constexpr RGBA | Chocolate |
| constexpr RGBA | Cinnamon |
| constexpr RGBA | Clay |
| constexpr RGBA | CloudyBlue |
| constexpr RGBA | Cobalt |
| constexpr RGBA | CobaltBlue |
| constexpr RGBA | Coffee |
| constexpr RGBA | Copper |
| constexpr RGBA | Coral |
| constexpr RGBA | CornflowerBlue |
| constexpr RGBA | Cream |
| constexpr RGBA | Crimson |
| constexpr RGBA | Cyan |
| constexpr RGBA | DarkAqua |
| constexpr RGBA | DarkBeige |
| constexpr RGBA | DarkBlue |
| constexpr RGBA | DarkBrown |
| constexpr RGBA | DarkCyan |
| constexpr RGBA | DarkGreen |
| constexpr RGBA | DarkGrey |
| constexpr RGBA | DarkLavender |
| constexpr RGBA | DarkLime |
| constexpr RGBA | DarkMagenta |
| constexpr RGBA | DarkNavy |
| constexpr RGBA | DarkOlive |
| constexpr RGBA | DarkOrange |
| constexpr RGBA | DarkPeach |
| constexpr RGBA | DarkPink |
| constexpr RGBA | DarkPurple |
| constexpr RGBA | DarkRed |
| constexpr RGBA | DarkRose |
| constexpr RGBA | DarkSalmon |
| constexpr RGBA | DarkSkyBlue |
| constexpr RGBA | DarkTan |
| constexpr RGBA | DarkTeal |
| constexpr RGBA | DarkTurquoise |
| constexpr RGBA | DarkViolet |
| constexpr RGBA | DarkYellow |
| constexpr RGBA | DeepBlue |
| constexpr RGBA | DeepGreen |
| constexpr RGBA | DeepPink |
| constexpr RGBA | DeepPurple |
| constexpr RGBA | DeepRed |
| constexpr RGBA | Denim |
| constexpr RGBA | Dirt |
| constexpr RGBA | DirtyGreen |
| constexpr RGBA | DirtyYellow |
| constexpr RGBA | DullBlue |
| constexpr RGBA | DullGreen |
| constexpr RGBA | DullPink |
| constexpr RGBA | DuskyPink |
| constexpr RGBA | DustyBlue |
| constexpr RGBA | DustyPink |
| constexpr RGBA | DustyRose |
| constexpr RGBA | Eggplant |
| constexpr RGBA | Eggshell |
| constexpr RGBA | ElectricBlue |
| constexpr RGBA | ElectricGreen |
| constexpr RGBA | Emerald |
| constexpr RGBA | EmeraldGreen |
| constexpr RGBA | Evergreen |
| constexpr RGBA | FadedGreen |
| constexpr RGBA | FadedRed |
| constexpr RGBA | Forest |
| constexpr RGBA | ForestGreen |
| constexpr RGBA | ForrestGreen |
| constexpr RGBA | Fuchsia |
| constexpr RGBA | Gold |
| constexpr RGBA | Goldenrod |
| constexpr RGBA | Grape |
| constexpr RGBA | Grass |
| constexpr RGBA | GrassGreen |
| constexpr RGBA | Green |
| constexpr RGBA | GreenBlue |
| constexpr RGBA | Greenish |
| constexpr RGBA | GreenishBlue |
| constexpr RGBA | GreenishBrown |
| constexpr RGBA | GreenishGrey |
| constexpr RGBA | GreenishYellow |
| constexpr RGBA | GreenYellow |
| constexpr RGBA | Grey |
| constexpr RGBA | GreyBlue |
| constexpr RGBA | GreyGreen |
| constexpr RGBA | GreyishBlue |
| constexpr RGBA | GreyishGreen |
| constexpr RGBA | GreyishPurple |
| constexpr RGBA | HotPink |
| constexpr RGBA | HunterGreen |
| constexpr RGBA | IceBlue |
| constexpr RGBA | Indigo |
| constexpr RGBA | Ivory |
| constexpr RGBA | Jade |
| constexpr RGBA | JungleGreen |
| constexpr RGBA | Khaki |
| constexpr RGBA | Lavender |
| constexpr RGBA | LeafGreen |
| constexpr RGBA | Lemon |
| constexpr RGBA | LemonYellow |
| constexpr RGBA | LightAqua |
| constexpr RGBA | LightBlue |
| constexpr RGBA | LightBrown |
| constexpr RGBA | LightCyan |
| constexpr RGBA | LighterGreen |
| constexpr RGBA | LightGreen |
| constexpr RGBA | LightGrey |
| constexpr RGBA | LightMagenta |
| constexpr RGBA | LightMauve |
| constexpr RGBA | LightOlive |
| constexpr RGBA | LightOliveGreen |
| constexpr RGBA | LightOrange |
| constexpr RGBA | LightPink |
| constexpr RGBA | LightPurple |
| constexpr RGBA | LightRed |
| constexpr RGBA | LightTan |
| constexpr RGBA | LightTeal |
| constexpr RGBA | LightTurquoise |
| constexpr RGBA | LightViolet |
| constexpr RGBA | LightYellow |
| constexpr RGBA | Lilac |
| constexpr RGBA | Lime |
| constexpr RGBA | LimeGreen |
| constexpr RGBA | Magenta |
| constexpr RGBA | Mahogany |
| constexpr RGBA | Marigold |
| constexpr RGBA | MarineBlue |
| constexpr RGBA | Maroon |
| constexpr RGBA | Mauve |
| constexpr RGBA | MidnightBlue |
| constexpr RGBA | Mint |
| constexpr RGBA | MintGreen |
| constexpr RGBA | Moss |
| constexpr RGBA | MossGreen |
| constexpr RGBA | Mud |
| constexpr RGBA | MuddyGreen |
| constexpr RGBA | Mustard |
| constexpr RGBA | MustardYellow |
| constexpr RGBA | Navy |
| constexpr RGBA | NavyBlue |
| constexpr RGBA | NeonBlue |
| constexpr RGBA | NeonGreen |
| constexpr RGBA | NeonPink |
| constexpr RGBA | NeonPurple |
| constexpr RGBA | Ocean |
| constexpr RGBA | OceanBlue |
| constexpr RGBA | Ochre |
| constexpr RGBA | Ocre |
| constexpr RGBA | OffWhite |
| constexpr RGBA | Olive |
| constexpr RGBA | OliveDrab |
| constexpr RGBA | OliveGreen |
| constexpr RGBA | Orange |
| constexpr RGBA | OrangeBrown |
| constexpr RGBA | OrangeRed |
| constexpr RGBA | Orchid |
| constexpr RGBA | PaleBlue |
| constexpr RGBA | PaleBrown |
| constexpr RGBA | PaleGreen |
| constexpr RGBA | PaleOrange |
| constexpr RGBA | PalePink |
| constexpr RGBA | PalePurple |
| constexpr RGBA | PaleRed |
| constexpr RGBA | PaleYellow |
| constexpr RGBA | PastelBlue |
| constexpr RGBA | PastelGreen |
| constexpr RGBA | PastelPurple |
| constexpr RGBA | Peach |
| constexpr RGBA | PeaGreen |
| constexpr RGBA | PeaSoup |
| constexpr RGBA | Periwinkle |
| constexpr RGBA | Pine |
| constexpr RGBA | PineGreen |
| constexpr RGBA | Pink |
| constexpr RGBA | Pinkish |
| constexpr RGBA | PinkishPurple |
| constexpr RGBA | PinkishRed |
| constexpr RGBA | PinkPurple |
| constexpr RGBA | PinkyPurple |
| constexpr RGBA | Pistachio |
| constexpr RGBA | Plum |
| constexpr RGBA | PowderBlue |
| constexpr RGBA | Puce |
| constexpr RGBA | Pumpkin |
| constexpr RGBA | Purple |
| constexpr RGBA | PurpleBlue |
| constexpr RGBA | PurplePink |
| constexpr RGBA | PurplishBlue |
| constexpr RGBA | PurplishPink |
| constexpr RGBA | Raspberry |
| constexpr RGBA | Red |
| constexpr RGBA | RedBrown |
| constexpr RGBA | ReddishBrown |
| constexpr RGBA | ReddishOrange |
| constexpr RGBA | ReddishPink |
| constexpr RGBA | ReddishPurple |
| constexpr RGBA | RedOrange |
| constexpr RGBA | RedViolet |
| constexpr RGBA | Rose |
| constexpr RGBA | RosePink |
| constexpr RGBA | RoyalBlue |
| constexpr RGBA | RoyalPurple |
| constexpr RGBA | Rust |
| constexpr RGBA | Sage |
| constexpr RGBA | SageGreen |
| constexpr RGBA | Salmon |
| constexpr RGBA | SalmonPink |
| constexpr RGBA | Sand |
| constexpr RGBA | Scarlet |
| constexpr RGBA | SeaBlue |
| constexpr RGBA | Seafoam |
| constexpr RGBA | SeafoamGreen |
| constexpr RGBA | SeaGreen |
| constexpr RGBA | Sepia |
| constexpr RGBA | Sienna |
| constexpr RGBA | Silver |
| constexpr RGBA | Sky |
| constexpr RGBA | SkyBlue |
| constexpr RGBA | Slate |
| constexpr RGBA | SlateBlue |
| constexpr RGBA | SlateGrey |
| constexpr RGBA | SpringGreen |
| constexpr RGBA | SteelBlue |
| constexpr RGBA | Strawberry |
| constexpr RGBA | Tan |
| constexpr RGBA | Tangerine |
| constexpr RGBA | Taupe |
| constexpr RGBA | Teal |
| constexpr RGBA | TealGreen |
| constexpr RGBA | Terracotta |
| constexpr RGBA | Turquoise |
| constexpr RGBA | Umber |
| constexpr RGBA | Vermillion |
| constexpr RGBA | Violet |
| constexpr RGBA | White |
| constexpr RGBA | Wine |
| constexpr RGBA | Yellow |
| constexpr RGBA | YellowGreen |
| constexpr RGBA | YellowishGreen |
| constexpr RGBA | YellowOrange |