Add XML documentation to Ryujinx.Graphics.Gpu.Shader
This commit is contained in:
parent
e58b540c4e
commit
430faeb8ef
9 changed files with 197 additions and 11 deletions
|
@ -2,12 +2,26 @@ using Ryujinx.Graphics.GAL;
|
|||
|
||||
namespace Ryujinx.Graphics.Gpu.Shader
|
||||
{
|
||||
/// <summary>
|
||||
/// Cached compute shader code.
|
||||
/// </summary>
|
||||
class ComputeShader
|
||||
{
|
||||
/// <summary>
|
||||
/// Host shader program object.
|
||||
/// </summary>
|
||||
public IProgram HostProgram { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Cached shader.
|
||||
/// </summary>
|
||||
public CachedShader Shader { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of the compute shader.
|
||||
/// </summary>
|
||||
/// <param name="hostProgram">Host shader program</param>
|
||||
/// <param name="shader">Cached shader</param>
|
||||
public ComputeShader(IProgram hostProgram, CachedShader shader)
|
||||
{
|
||||
HostProgram = hostProgram;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue