2018-04-08 19:17:35 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
2018-05-17 18:25:42 +00:00
|
|
|
public struct GlslProgram
|
2018-04-08 19:17:35 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|