MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Invalidate

Method Invalidate

Source/Engine/Render2D/FontTextureAtlas.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool FontTextureAtlas::Invalidate(const FontTextureAtlasSlot* slot)
81{
82 if (slot)
83 {
84 // Push back to free slots list to be used on the next insert (in theory slot handle is still valid but we keep it free)
85 _freeSlots.AddUnique((FontTextureAtlasSlot*)slot);
86 return true;
87 }
88 return false;
89}
90
91bool FontTextureAtlas::Invalidate(uint32 x, uint32 y, uint32 width, uint32 height)
92{

Callers

nothing calls this directly

Calls 2

InvalidateFunction · 0.85
AddUniqueMethod · 0.80

Tested by

no test coverage detected