aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Shader/GlslProgram.cs
blob: be8555d572cce39259edb3ef513084f4b07b519e (plain)
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)
        {
            Code     = code;
            Textures = textures;
            Uniforms = uniforms;
        }
    }
}