|
NcEngine
|
Four component color. More...
#include <Color.h>
Public Member Functions | |
| constexpr | Color (const Vector4 &in) |
| constexpr | Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a) |
| constexpr auto | R () -> float & |
| constexpr auto | G () -> float & |
| constexpr auto | B () -> float & |
| constexpr auto | A () -> float & |
| constexpr auto | R () const -> const float & |
| constexpr auto | G () const -> const float & |
| constexpr auto | B () const -> const float & |
| constexpr auto | A () const -> const float & |
| constexpr | Vector4 () noexcept |
| constexpr | Vector4 (float x_, float y_, float z_, float w_) noexcept |
| constexpr | Vector4 (const Vector3 &v, float w_) noexcept |
Public Member Functions inherited from nc::Vector4 | |
| constexpr | Vector4 (float x_, float y_, float z_, float w_) noexcept |
| constexpr | Vector4 (const Vector3 &v, float w_) noexcept |
Static Public Member Functions | |
| static constexpr auto | Red () -> Color |
| static constexpr auto | Green () -> Color |
| static constexpr auto | Blue () -> Color |
| static constexpr auto | White () -> Color |
| static constexpr auto | Black () -> Color |
| static constexpr auto | Transparent () -> Color |
Static Public Member Functions inherited from nc::Vector4 | |
| static constexpr Vector4 | Splat (float v) noexcept |
| static constexpr Vector4 | Zero () noexcept |
| static constexpr Vector4 | One () noexcept |
Additional Inherited Members | |
Public Attributes inherited from nc::Vector4 | |
| float | x |
| float | y |
| float | z |
| float | w |
Four component color.