mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 19:26:39 +00:00
19 lines
414 B
C#
19 lines
414 B
C#
|
using Ryujinx.Graphics.GAL;
|
||
|
using Ryujinx.Graphics.Shader;
|
||
|
|
||
|
namespace Ryujinx.Graphics.Gpu.Shader
|
||
|
{
|
||
|
class CachedShader
|
||
|
{
|
||
|
public ShaderProgram Program { get; }
|
||
|
public IShader Shader { get; set; }
|
||
|
|
||
|
public int[] Code { get; }
|
||
|
|
||
|
public CachedShader(ShaderProgram program, int[] code)
|
||
|
{
|
||
|
Program = program;
|
||
|
Code = code;
|
||
|
}
|
||
|
}
|
||
|
}
|