internal static void UnmarkOwned(SurfaceFormat format, int texels) { texels.AssertPositiveOrZero(); var size = format.SizeBytesLong(texels); Unmark(size); }
internal static void UnmarkUnowned(SurfaceFormat format, int texels) { if (!Config.Garbage.CollectAccountUnownedTextures) { return; } texels.AssertPositiveOrZero(); var size = format.SizeBytesLong(texels); Unmark(size); }