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

Method SetPixelBlend

olcPixelGameEngine.h:4245–4250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4243 }
4244
4245 void PixelGameEngine::SetPixelBlend(float fBlend)
4246 {
4247 fBlendFactor = fBlend;
4248 if (fBlendFactor < 0.0f) fBlendFactor = 0.0f;
4249 if (fBlendFactor > 1.0f) fBlendFactor = 1.0f;
4250 }
4251
4252 std::stringstream& PixelGameEngine::ConsoleOut()
4253 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected