aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/CodeGen/Glsl/GlslProgram.cs
blob: e616aa1f8197cd59f77f70be962a9049f0851a28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
{
    class GlslProgram
    {
        public CBufferDescriptor[] CBufferDescriptors { get; }
        public TextureDescriptor[] TextureDescriptors { get; }

        public string Code { get; }

        public GlslProgram(
            CBufferDescriptor[] cBufferDescs,
            TextureDescriptor[] textureDescs,
            string              code)
        {
            CBufferDescriptors = cBufferDescs;
            TextureDescriptors = textureDescs;
            Code               = code;
        }
    }
}