2018-04-08 20:17:35 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal.Shader
|
|
|
|
{
|
2018-05-17 19:25:42 +01:00
|
|
|
public struct GlslProgram
|
2018-04-08 20:17:35 +01: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-04 01:45:25 +00:00
|
|
|
string code,
|
|
|
|
IEnumerable<ShaderDeclInfo> textures,
|
|
|
|
IEnumerable<ShaderDeclInfo> uniforms)
|
2018-04-08 20:17:35 +01:00
|
|
|
{
|
2019-03-04 01:45:25 +00:00
|
|
|
Code = code;
|
|
|
|
Textures = textures;
|
|
|
|
Uniforms = uniforms;
|
2018-04-08 20:17:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|