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

Method ReserveColor

libs/drape/texture_of_colors.cpp:191–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void ColorTexture::ReserveColor(dp::Color const & color)
192{
193 bool newResource = false;
194 m_indexer->ReserveResource(true /* predefined */, ColorKey(color), newResource);
195}
196
197int ColorTexture::GetColorSizeInPixels()
198{

Callers 1

InitMethod · 0.80

Calls 2

ColorKeyClass · 0.85
ReserveResourceMethod · 0.45

Tested by

no test coverage detected