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
+17
View File
@@ -0,0 +1,17 @@
namespace Nerfed.Runtime.Graphics;
/// <summary>
/// Can be defined on your struct type to enable simplified vertex input state definition.
/// </summary>
public interface IVertexType
{
/// <summary>
/// An ordered list of the types in your vertex struct.
/// </summary>
static abstract VertexElementFormat[] Formats { get; }
/// <summary>
/// An ordered list of the offsets in your vertex struct.
/// </summary>
static abstract uint[] Offsets { get; }
}