Update TestGame, load fonts from memory.
This commit is contained in:
@@ -86,8 +86,6 @@ namespace DaggerFramework.Rendering
|
||||
/// <returns>A texture handler on the GPU.</returns>
|
||||
public abstract int LoadTexture(Texture2d texture);
|
||||
|
||||
public abstract int LoadFont(Font font);
|
||||
|
||||
/// <summary>
|
||||
/// Sets transforms for the next draw operation.
|
||||
/// </summary>
|
||||
@@ -128,7 +126,7 @@ namespace DaggerFramework.Rendering
|
||||
/// <param name="color">Color of the text.</param>
|
||||
public abstract void DrawSdfText(string text, int fontSize, Color color);
|
||||
|
||||
public abstract void DrawText(int fontId, string text, int fontSize, Color color);
|
||||
public abstract void DrawText(Font font, string text, Color color);
|
||||
|
||||
/// <summary>
|
||||
/// Draws the texture.
|
||||
|
||||
Reference in New Issue
Block a user