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

Method _setColour

MyGUIEngine/src/MyGUI_PolygonalSkin.cpp:250–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248 }
249
250 void PolygonalSkin::_setColour(const Colour& _value)
251 {
252 uint32 colour = texture_utility::toNativeColour(_value, mVertexFormat);
253 mCurrentColour = (colour & 0x00FFFFFF) | (mCurrentColour & 0xFF000000);
254
255 if (nullptr != mNode)
256 mNode->outOfDate(mRenderItem);
257 }
258
259 void PolygonalSkin::setStateData(IStateInfo* _data)
260 {

Callers

nothing calls this directly

Calls 2

toNativeColourFunction · 0.85
outOfDateMethod · 0.45

Tested by

no test coverage detected