MCPcopy Create free account
hub / github.com/comaps/comaps / GetRed

Method GetRed

libs/drape/color.hpp:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 {}
22
23 constexpr uint8_t GetRed() const { return ExtractByte(m_rgba, 3); }
24 constexpr uint8_t GetGreen() const { return ExtractByte(m_rgba, 2); }
25 constexpr uint8_t GetBlue() const { return ExtractByte(m_rgba, 1); }
26 constexpr uint8_t GetAlpha() const { return ExtractByte(m_rgba, 0); }

Callers 6

DebugPrintFunction · 0.80
ToVec3Function · 0.80
ToVec4Function · 0.80
UploadResourcesMethod · 0.80
ColorToARGBFunction · 0.80
CalculatePointColorMethod · 0.80

Calls 1

ExtractByteFunction · 0.85

Tested by

no test coverage detected