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