aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/ShaderProgramInfo.cs
blob: c529a3536f57882a75a4d2c688dcadfc313c9e10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.ObjectModel;

namespace Ryujinx.Graphics.Shader
{
    public class ShaderProgramInfo
    {
        public ReadOnlyCollection<CBufferDescriptor> CBuffers { get; }
        public ReadOnlyCollection<TextureDescriptor> Textures { get; }

        internal ShaderProgramInfo(CBufferDescriptor[] cBuffers, TextureDescriptor[] textures)
        {
            CBuffers = Array.AsReadOnly(cBuffers);
            Textures = Array.AsReadOnly(textures);
        }
    }
}