Ryujinx/Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs

21 lines
501 B
C#
Raw Normal View History

2019-12-29 18:41:50 +01:00
namespace Ryujinx.Graphics.GAL
2019-10-13 08:02:07 +02:00
{
public struct VertexAttribDescriptor
{
public int BufferIndex { get; }
public int Offset { get; }
2019-10-13 08:02:07 +02:00
public bool IsZero { get; }
2019-10-13 08:02:07 +02:00
public Format Format { get; }
public VertexAttribDescriptor(int bufferIndex, int offset, bool isZero, Format format)
2019-10-13 08:02:07 +02:00
{
BufferIndex = bufferIndex;
Offset = offset;
IsZero = isZero;
2019-10-13 08:02:07 +02:00
Format = format;
}
}
}