Move some FreeType operations to Font itself, add lazy loading for Glyph data, remove IDisposable from base Resource.

This commit is contained in:
2025-06-29 14:28:39 +02:00
parent 552e05d498
commit e0e8d6e9ff
3 changed files with 73 additions and 62 deletions

View File

@@ -57,7 +57,7 @@ namespace Voile
/// <summary>
/// Represents data usable by Voile.
/// </summary>
public abstract class Resource : IDisposable
public abstract class Resource
{
/// <summary>
/// Path to this resource.
@@ -68,9 +68,5 @@ namespace Voile
{
Path = path;
}
public void Dispose()
{
}
}
}