aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/VertexBufferDescriptor.cs
blob: 15f0dff852e7c42081a71e5a08eccd84c0add224 (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;
        }
    }
}