Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
Color.h File Reference

Provides commonly used colors and color manipulation functions. More...

#include <glm/glm.hpp>

Go to the source code of this file.

Namespaces

namespace  Muto
 The main namespace for the Muto engine.
 
namespace  Muto::Color
 Provides commonly used colors and color manipulation functions.
 

Functions

static glm::vec4 Muto::Color::Black ()
 Returns a vec4 representing the color black.
 
static glm::vec4 Muto::Color::Blue ()
 Returns a vec4 representing the color blue.
 
static glm::vec4 Muto::Color::Brown ()
 Returns a vec4 representing the color brown.
 
static glm::vec4 Muto::Color::Cyan ()
 Returns a vec4 representing the color cyan.
 
static glm::vec4 Muto::Color::Gray ()
 Returns a vec4 representing the color gray.
 
static glm::vec4 Muto::Color::Green ()
 Returns a vec4 representing the color green.
 
static glm::vec4 Muto::Color::Indigo ()
 Returns a vec4 representing the color indigo.
 
static glm::vec4 Muto::Color::Magenta ()
 Returns a vec4 representing the color magenta.
 
static glm::vec4 Muto::Color::Orange ()
 Returns a vec4 representing the color orange.
 
static glm::vec4 Muto::Color::Pink ()
 Returns a vec4 representing the color pink.
 
static glm::vec4 Muto::Color::Purple ()
 Returns a vec4 representing the color purple.
 
static glm::vec4 Muto::Color::Red ()
 Returns a vec4 representing the color red.
 
static glm::vec4 Muto::Color::SetAlpha (const glm::vec4 &color, float alpha=0.0f)
 Sets the alpha component of the given color to the specified value.
 
static glm::vec4 Muto::Color::StripAlpha (const glm::vec4 &color)
 Strips the alpha component from the given color, setting it to 1.0 (fully opaque).
 
static glm::vec4 Muto::Color::Transparent ()
 Returns a vec4 representing a fully transparent color.
 
static glm::vec4 Muto::Color::White ()
 Returns a vec4 representing the color white.
 
static glm::vec4 Muto::Color::Yellow ()
 Returns a vec4 representing the color yellow.
 

Detailed Description

Provides commonly used colors and color manipulation functions.

Author
Damon S. Green II