Setup entry point + integrated moonworks stuff
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user