2018-04-08 12:17:35 -07:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
2018-05-17 11:25:42 -07:00
|
|
|
public struct GlslProgram
|
2018-04-08 12:17:35 -07:00
|
|
|
{
|
|
|
|
public string Code { get; private set; }
|
|
|
|
|
|
|
|
public IEnumerable<ShaderDeclInfo> Textures { get; private set; }
|
|
|
|
public IEnumerable<ShaderDeclInfo> Uniforms { get; private set; }
|
|
|
|
|
|
|
|
public GlslProgram(
|
2019-03-03 17:45:25 -08:00
|
|
|
string code,
|
|
|
|
IEnumerable<ShaderDeclInfo> textures,
|
|
|
|
IEnumerable<ShaderDeclInfo> uniforms)
|
2018-04-08 12:17:35 -07:00
|
|
|
{
|
2019-03-03 17:45:25 -08:00
|
|
|
Code = code;
|
|
|
|
Textures = textures;
|
|
|
|
Uniforms = uniforms;
|
2018-04-08 12:17:35 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|