aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Graphics.GAL/VertexBufferDescriptor.cs
blob: 15f0dff852e7c42081a71e5a08eccd84c0add224 (plain) (tree)
1
2
3
                              
 
                                                 












                                                                                  
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;
        }
    }
}