add comment for Font.Load
parent
95baaf3a91
commit
1bd1560560
|
@ -16,6 +16,11 @@ namespace MoonWorks.Graphics.Font
|
||||||
private byte* StringBytes;
|
private byte* StringBytes;
|
||||||
private int StringBytesLength;
|
private int StringBytesLength;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Loads a TTF or OTF font from a path for use in MSDF rendering.
|
||||||
|
/// Note that there must be an msdf-atlas-gen JSON and image file alongside.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
public unsafe static Font Load(
|
public unsafe static Font Load(
|
||||||
GraphicsDevice graphicsDevice,
|
GraphicsDevice graphicsDevice,
|
||||||
CommandBuffer commandBuffer,
|
CommandBuffer commandBuffer,
|
||||||
|
|
Loading…
Reference in New Issue