aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Shader/GlslProgram.cs
blob: a7af05aef9633b02478b0b27b85eb5461f497a41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Collections.Generic;

namespace Ryujinx.Graphics.Gal.Shader
{
    public struct GlslProgram
    {
        public string Code { get; private set; }

        public IEnumerable<ShaderDeclInfo> Textures { get; private set; }
        public IEnumerable<ShaderDeclInfo> Uniforms { get; private set; }

        public GlslProgram(
            string                      Code,
            IEnumerable<ShaderDeclInfo> Textures,
            IEnumerable<ShaderDeclInfo> Uniforms)
        {
            this.Code     = Code;
            this.Textures = Textures;
            this.Uniforms = Uniforms;
        }
    }
}