mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-13 02:39:50 +00:00
28 lines
No EOL
676 B
C#
28 lines
No EOL
676 B
C#
using Ryujinx.Graphics.GAL;
|
|
|
|
namespace Ryujinx.Graphics.Gpu.Shader
|
|
{
|
|
/// <summary>
|
|
/// Cached graphics shader code for all stages.
|
|
/// </summary>
|
|
class GraphicsShader
|
|
{
|
|
/// <summary>
|
|
/// Host shader program object.
|
|
/// </summary>
|
|
public IProgram HostProgram { get; set; }
|
|
|
|
/// <summary>
|
|
/// Compiled shader for each shader stage.
|
|
/// </summary>
|
|
public CachedShader[] Shader { get; }
|
|
|
|
/// <summary>
|
|
/// Creates a new instance of cached graphics shader.
|
|
/// </summary>
|
|
public GraphicsShader()
|
|
{
|
|
Shader = new CachedShader[5];
|
|
}
|
|
}
|
|
} |