aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/InputAssembler/VertexAttribDescriptor.cs
blob: cba3a9a41887e4610a3ba1dab659d07c99aafb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.Graphics.GAL.InputAssembler
{
    public struct VertexAttribDescriptor
    {
        public int BufferIndex  { get; }
        public int Offset       { get; }

        public Format Format { get; }

        public VertexAttribDescriptor(int bufferIndex, int offset, Format format)
        {
            BufferIndex = bufferIndex;
            Offset      = offset;
            Format      = format;
        }
    }
}