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(
|
2019-03-04 02:45:25 +01:00
|
|
|
string code,
|
|
|
|
IEnumerable<ShaderDeclInfo> textures,
|
|
|
|
IEnumerable<ShaderDeclInfo> uniforms)
|
2018-04-08 21:17:35 +02:00
|
|
|
{
|
2019-03-04 02:45:25 +01:00
|
|
|
Code = code;
|
|
|
|
Textures = textures;
|
|
|
|
Uniforms = uniforms;
|
2018-04-08 21:17:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|