aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs
blob: 1547658e47737c3c0dbac1debe69f58584302c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
        }
    }
}