2019-12-29 14:41:50 -03:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
2019-10-13 03:02:07 -03:00
|
|
|
{
|
|
|
|
public struct VertexAttribDescriptor
|
|
|
|
{
|
2020-01-05 22:04:37 -03:00
|
|
|
public int BufferIndex { get; }
|
|
|
|
public int Offset { get; }
|
2019-10-13 03:02:07 -03:00
|
|
|
|
2020-03-29 23:11:24 -03:00
|
|
|
public bool IsZero { get; }
|
|
|
|
|
2019-10-13 03:02:07 -03:00
|
|
|
public Format Format { get; }
|
|
|
|
|
2020-03-29 23:11:24 -03:00
|
|
|
public VertexAttribDescriptor(int bufferIndex, int offset, bool isZero, Format format)
|
2019-10-13 03:02:07 -03:00
|
|
|
{
|
|
|
|
BufferIndex = bufferIndex;
|
|
|
|
Offset = offset;
|
2020-03-29 23:11:24 -03:00
|
|
|
IsZero = isZero;
|
2019-10-13 03:02:07 -03:00
|
|
|
Format = format;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|