2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

Big unsafe update 1

This commit is contained in:
2021-11-11 12:00:42 +00:00
parent bb7ceb2102
commit e5400d0bae
10 changed files with 97 additions and 107 deletions

View File

@@ -60,7 +60,7 @@ namespace Raylib_cs
/// Font, font texture and GlyphInfo array data
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct Font
public unsafe struct Font
{
/// <summary>
/// Base size (default chars height)
@@ -85,11 +85,11 @@ namespace Raylib_cs
/// <summary>
/// Rectangles in texture for the glyphs
/// </summary>
public IntPtr recs;
public Rectangle* recs;
/// <summary>
/// Glyphs info data
/// </summary>
public IntPtr glyphs;
public GlyphInfo* glyphs;
}
}