MCPcopy Create free account
hub / github.com/MyGUI/mygui / convertColour

Function convertColour

MyGUIEngine/src/MyGUI_TextureUtility.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void convertColour(uint32& _colour, VertexColourType _format)
87 {
88 if (_format == VertexColourType::ColourABGR)
89 _colour = ((_colour & 0x00FF0000) >> 16) | ((_colour & 0x000000FF) << 16) | (_colour & 0xFF00FF00);
90 }
91
92} // namespace MyGUI

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected