2023-01-05 01:34:01 +00:00
|
|
|
namespace MoonWorks.Graphics
|
|
|
|
{
|
2023-09-19 20:19:41 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Can be defined on your struct type to enable simplified vertex input state definition.
|
|
|
|
/// </summary>
|
2023-01-05 01:34:01 +00:00
|
|
|
public interface IVertexType
|
|
|
|
{
|
2023-09-19 20:19:41 +00:00
|
|
|
/// <summary>
|
|
|
|
/// An ordered list of the types in your vertex struct.
|
|
|
|
/// </summary>
|
2023-01-05 21:41:48 +00:00
|
|
|
static abstract VertexElementFormat[] Formats { get; }
|
2023-01-05 01:34:01 +00:00
|
|
|
}
|
|
|
|
}
|