using System; using System.Runtime.InteropServices; namespace Raylib_cs { /// /// Font, font texture and GlyphInfo array data /// [StructLayout(LayoutKind.Sequential)] public struct Font { /// /// Base size (default chars height) /// public int baseSize; /// /// Number of characters /// public int glyphCount; /// /// Padding around the glyph characters /// public int glyphPadding; /// /// Texture atlas containing the glyphs /// public Texture2D texture; /// /// Rectangles in texture for the glyphs /// public IntPtr recs; /// /// Glyphs info data /// public IntPtr glyphs; } }