Add XML documentation to Ryujinx.Graphics.Gpu.State
This commit is contained in:
parent
430faeb8ef
commit
d1c0a64e6a
47 changed files with 419 additions and 125 deletions
|
@ -1,5 +1,8 @@
|
|||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
/// <summary>
|
||||
/// Graphics shader stage state.
|
||||
/// </summary>
|
||||
struct ShaderState
|
||||
{
|
||||
public uint Control;
|
||||
|
@ -19,6 +22,11 @@ namespace Ryujinx.Graphics.Gpu.State
|
|||
public uint Unknown0x38;
|
||||
public uint Unknown0x3c;
|
||||
|
||||
/// <summary>
|
||||
/// Unpacks shader enable information.
|
||||
/// Must be ignored for vertex shaders, those are always enabled.
|
||||
/// </summary>
|
||||
/// <returns>True if the stage is enabled, false otherwise</returns>
|
||||
public bool UnpackEnable()
|
||||
{
|
||||
return (Control & 1) != 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue