mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-07 20:58:44 +00:00
9948a7be53
* Support constant attributes (with a value of zero) * Remove extra line
21 lines
501 B
C#
21 lines
501 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct VertexAttribDescriptor
|
|
{
|
|
public int BufferIndex { get; }
|
|
public int Offset { get; }
|
|
|
|
public bool IsZero { get; }
|
|
|
|
public Format Format { get; }
|
|
|
|
public VertexAttribDescriptor(int bufferIndex, int offset, bool isZero, Format format)
|
|
{
|
|
BufferIndex = bufferIndex;
|
|
Offset = offset;
|
|
IsZero = isZero;
|
|
Format = format;
|
|
}
|
|
}
|
|
}
|