Setup entry point + integrated moonworks stuff

This commit is contained in:
2024-07-05 14:32:58 +02:00
parent e7a4a862be
commit 8334a24fd1
116 changed files with 16988 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
using System.Numerics;
using System.Runtime.InteropServices;
namespace Nerfed.Runtime.Graphics;
[StructLayout(LayoutKind.Sequential)]
public struct FontVertex : IVertexType
{
public Vector3 Position;
public Vector2 TexCoord;
public Color Color;
public static VertexElementFormat[] Formats { get; } =
[
VertexElementFormat.Vector3,
VertexElementFormat.Vector2,
VertexElementFormat.Color
];
public static uint[] Offsets { get; } =
[
0,
12,
20
];
}