CommonLibSSE NG
Loading...
Searching...
No Matches
RE::ColorUtil Namespace Reference

Namespaces

namespace  detail
 

Enumerations

enum class  BLEND_MODE {
  kDarken = 0 , kMultiply , kColorBurn , kLinearBurn ,
  kDarkerColor , kLighten , kScreen , kColorDodge ,
  kLinearDodge , kLighterColor , kOverlay , kSoftLight ,
  kHardLight , kVividLight , kLinearLight , kPinLight ,
  kHardMix , kDifference , kExclusion , kSubtract ,
  kDivide
}
 

Functions

NiColor Blend (const NiColor &a_src, const NiColor &a_dest, BLEND_MODE a_mode, float a_alpha)
 
float CalcLuminance (const NiColor &a_src)
 
NiColor Mix (const NiColor &a_src, const NiColor &a_dest, float a_percentage)
 

Enumeration Type Documentation

◆ BLEND_MODE

enum class RE::ColorUtil::BLEND_MODE
strong
Enumerator
kDarken 
kMultiply 
kColorBurn 
kLinearBurn 
kDarkerColor 
kLighten 
kScreen 
kColorDodge 
kLinearDodge 
kLighterColor 
kOverlay 
kSoftLight 
kHardLight 
kVividLight 
kLinearLight 
kPinLight 
kHardMix 
kDifference 
kExclusion 
kSubtract 
kDivide 

Function Documentation

◆ Blend()

NiColor RE::ColorUtil::Blend ( const NiColor a_src,
const NiColor a_dest,
BLEND_MODE  a_mode,
float  a_alpha 
)

◆ CalcLuminance()

float RE::ColorUtil::CalcLuminance ( const NiColor a_src)

◆ Mix()

NiColor RE::ColorUtil::Mix ( const NiColor a_src,
const NiColor a_dest,
float  a_percentage 
)