IRenderResourceCache.ReturnScratchSurface method
Hands a surface (back) to the scratch pool for later reuse under key. The pool takes ownership: it disposes the surface when the budget forces eviction or the cache is disposed. The key must describe the surface’s actual allocation.
public void ReturnScratchSurface(ScratchSurfaceKey key, IRenderSurface surface)See Also
Section titled “See Also”- struct ScratchSurfaceKey
- interface IRenderSurface
- interface IRenderResourceCache
- namespace Aprillz.MewUI.Rendering