MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ModulateRGB

Method ModulateRGB

Source/Graphics/ColourValue.cpp:191–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191c32 c32::ModulateRGB( c32 colour ) const
192{
193 u8 r = ModulateComponent( GetR(), colour.GetR() );
194 u8 g = ModulateComponent( GetG(), colour.GetG() );
195 u8 b = ModulateComponent( GetB(), colour.GetB() );
196 u8 a = GetA();
197
198 return c32( r, g, b, a );
199}
200
201c32 c32::ModulateA( c32 colour ) const
202{

Callers

nothing calls this directly

Calls 5

ModulateComponentFunction · 0.85
c32Class · 0.70
GetRMethod · 0.45
GetGMethod · 0.45
GetBMethod · 0.45

Tested by

no test coverage detected