aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/VertexBufferDescriptor.cs
blob: 8fd3c816b6bbc935b14185ed84f6d5d671c6376a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.Graphics.GAL
{
    public readonly struct VertexBufferDescriptor
    {
        public BufferRange Buffer { get; }

        public int Stride { get; }
        public int Divisor { get; }

        public VertexBufferDescriptor(BufferRange buffer, int stride, int divisor)
        {
            Buffer = buffer;
            Stride = stride;
            Divisor = divisor;
        }
    }
}