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