CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::NiColor Class Reference

#include <NiColor.h>

Public Types

enum  : std::size_t { kRed , kGreen , kBlue , kTotal }
 

Public Member Functions

constexpr NiColor () noexcept
 
constexpr NiColor (const NiColor &a_rhs) noexcept
 
constexpr NiColor (NiColor &&a_rhs) noexcept
 
constexpr NiColor (float a_red, float a_green, float a_blue) noexcept
 
 ~NiColor () noexcept=default
 
constexpr NiColoroperator= (const NiColor &a_rhs) noexcept
 
constexpr NiColoroperator= (NiColor &&a_rhs) noexcept
 
constexpr NiColoroperator= (const NiColorA &a_rhs) noexcept
 
constexpr float & operator[] (std::size_t a_idx) noexcept
 
constexpr const float & operator[] (std::size_t a_idx) const noexcept
 
NiColor operator* (float a_value) const noexcept
 
NiColoroperator*= (float a_value) noexcept
 
NiColor operator/ (float a_value) const noexcept
 
NiColoroperator/= (float a_value) noexcept
 

Public Attributes

float red
 
float green
 
float blue
 

Friends

constexpr bool operator== (const NiColor &a_lhs, const NiColor &a_rhs) noexcept
 
constexpr bool operator!= (const NiColor &a_lhs, const NiColor &a_rhs) noexcept
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : std::size_t
Enumerator
kRed 
kGreen 
kBlue 
kTotal 

Constructor & Destructor Documentation

◆ NiColor() [1/4]

constexpr RE::NiColor::NiColor ( )
inlineconstexprnoexcept

◆ NiColor() [2/4]

constexpr RE::NiColor::NiColor ( const NiColor a_rhs)
inlineconstexprnoexcept

◆ NiColor() [3/4]

constexpr RE::NiColor::NiColor ( NiColor &&  a_rhs)
inlineconstexprnoexcept

◆ NiColor() [4/4]

constexpr RE::NiColor::NiColor ( float  a_red,
float  a_green,
float  a_blue 
)
inlineconstexprnoexcept

◆ ~NiColor()

RE::NiColor::~NiColor ( )
defaultnoexcept

Member Function Documentation

◆ operator*()

NiColor RE::NiColor::operator* ( float  a_value) const
inlinenoexcept

◆ operator*=()

NiColor & RE::NiColor::operator*= ( float  a_value)
inlinenoexcept

◆ operator/()

NiColor RE::NiColor::operator/ ( float  a_value) const
inlinenoexcept

◆ operator/=()

NiColor & RE::NiColor::operator/= ( float  a_value)
inlinenoexcept

◆ operator=() [1/3]

constexpr NiColor & RE::NiColor::operator= ( const NiColor a_rhs)
inlineconstexprnoexcept

◆ operator=() [2/3]

constexpr NiColor & RE::NiColor::operator= ( const NiColorA a_rhs)
constexprnoexcept

◆ operator=() [3/3]

constexpr NiColor & RE::NiColor::operator= ( NiColor &&  a_rhs)
inlineconstexprnoexcept

◆ operator[]() [1/2]

constexpr const float & RE::NiColor::operator[] ( std::size_t  a_idx) const
inlineconstexprnoexcept

◆ operator[]() [2/2]

constexpr float & RE::NiColor::operator[] ( std::size_t  a_idx)
inlineconstexprnoexcept

Friends And Related Function Documentation

◆ operator!=

constexpr bool operator!= ( const NiColor a_lhs,
const NiColor a_rhs 
)
friend

◆ operator==

constexpr bool operator== ( const NiColor a_lhs,
const NiColor a_rhs 
)
friend

Member Data Documentation

◆ blue

float RE::NiColor::blue

◆ green

float RE::NiColor::green

◆ red

float RE::NiColor::red

The documentation for this class was generated from the following file: