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

Method ClearAllSlots

extensions/olcPGEX_Shaders.h:622–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620 }
621
622 void Shade::ClearAllSlots()
623 {
624 slotTarget[0] = { false, 0, {0.0f, 0.0f}, {1.0f, 1.0f} };
625 }
626
627 int32_t Shade::SetSourceDecal(olc::Decal* pDecal, const uint32_t nSlot, const olc::vf2d& vSourcePos, const olc::vf2d& vSourceSize)
628 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected