Nullable fixes, use Texture2d resource for rendering directly.
This commit is contained in:
@@ -5,7 +5,7 @@ public class Font : Resource
|
||||
/// <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;
|
||||
internal int Handle { 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