MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / SetLayerTint

Method SetLayerTint

olcPixelGameEngine.h:2598–2601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2596 }
2597
2598 void PixelGameEngine::SetLayerTint(uint8_t layer, const olc::Pixel& tint)
2599 {
2600 if (layer < vLayers.size()) vLayers[layer].tint = tint;
2601 }
2602
2603 void PixelGameEngine::SetLayerCustomRenderFunction(uint8_t layer, std::function<void()> f)
2604 {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected