Update TestGame, load fonts from memory.
This commit is contained in:
@@ -2,7 +2,11 @@ namespace DaggerFramework;
|
||||
|
||||
public class Font : Resource
|
||||
{
|
||||
public int Size = 16;
|
||||
/// <summary>
|
||||
/// Internal handle for the font. If it got successfully loaded into the GPU, the value will be other than -1.
|
||||
/// </summary>
|
||||
internal int FontHandle { get; set; } = -1;
|
||||
public int Size { get; set; } = 16;
|
||||
public Font(string path, byte[] buffer) : base(path, buffer)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user