MoonWorks/src/Graphics/IVertexType.cs

14 lines
340 B
C#
Raw Normal View History

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>
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; }
}
}