CommonLibSSE NG
Loading...
Searching...
No Matches
RE::NiColorA Class Reference

#include <NiColor.h>

Public Types

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

Public Member Functions

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

Public Attributes

float red
 
float green
 
float blue
 
float alpha
 

Friends

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

Member Enumeration Documentation

◆ anonymous enum

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

Constructor & Destructor Documentation

◆ NiColorA() [1/5]

constexpr RE::NiColorA::NiColorA ( )
inlineconstexprnoexcept

◆ NiColorA() [2/5]

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

◆ NiColorA() [3/5]

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

◆ NiColorA() [4/5]

constexpr RE::NiColorA::NiColorA ( float  a_red,
float  a_green,
float  a_blue,
float  a_alpha 
)
inlineconstexprnoexcept

◆ NiColorA() [5/5]

RE::NiColorA::NiColorA ( const Color a_rhs)

◆ ~NiColorA()

RE::NiColorA::~NiColorA ( )
defaultnoexcept

Member Function Documentation

◆ operator*()

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

◆ operator*=()

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

◆ operator/()

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

◆ operator/=()

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

◆ operator=() [1/3]

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

◆ operator=() [2/3]

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

◆ operator=() [3/3]

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

Friends And Related Symbol Documentation

◆ operator!=

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

◆ operator==

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

Member Data Documentation

◆ alpha

float RE::NiColorA::alpha

◆ blue

float RE::NiColorA::blue

◆ green

float RE::NiColorA::green

◆ red

float RE::NiColorA::red

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