mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2026-01-12 02:10:27 +00:00
consistency
This commit is contained in:
parent
801dcd5237
commit
854df7c347
1 changed files with 7 additions and 7 deletions
|
|
@ -160,7 +160,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
/// <param name="option">specifies which capture option should be retrieved.</param>
|
||||
/// <returns>
|
||||
/// the value of the capture option, if the option is a valid <see cref="CaptureOption"/> enum.
|
||||
/// Otherwise, returns <see cref="int.MaxValue"/>
|
||||
/// Otherwise, returns <see cref="int.MaxValue"/>.
|
||||
/// </returns>
|
||||
[RenderDocApiVersion(1, 0)]
|
||||
public static int GetCaptureOptionU32(CaptureOption option) => Api->GetCaptureOptionU32(option);
|
||||
|
|
@ -171,7 +171,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
/// <param name="option">specifies which capture option should be retrieved.</param>
|
||||
/// <returns>
|
||||
/// the value of the capture option, if the option is a valid <see cref="CaptureOption"/> enum.
|
||||
/// Otherwise, returns -<see cref="float.MaxValue"/>
|
||||
/// Otherwise, returns -<see cref="float.MaxValue"/>.
|
||||
/// </returns>
|
||||
[RenderDocApiVersion(1, 0)]
|
||||
public static float GetCaptureOptionF32(CaptureOption option) => Api->GetCaptureOptionF32(option);
|
||||
|
|
@ -184,7 +184,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
public static void SetFocusToggleKeys(ReadOnlySpan<InputButton> buttons)
|
||||
{
|
||||
if (Api is null) return;
|
||||
|
||||
|
||||
fixed (InputButton* ptr = buttons)
|
||||
{
|
||||
Api->SetFocusToggleKeys(ptr, buttons.Length);
|
||||
|
|
@ -199,7 +199,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
public static void SetCaptureKeys(ReadOnlySpan<InputButton> buttons)
|
||||
{
|
||||
if (Api is null) return;
|
||||
|
||||
|
||||
fixed (InputButton* ptr = buttons)
|
||||
{
|
||||
Api->SetCaptureKeys(ptr, buttons.Length);
|
||||
|
|
@ -215,7 +215,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
public static void RemoveHooks()
|
||||
{
|
||||
if (Api is null) return;
|
||||
|
||||
|
||||
Api->RemoveHooks();
|
||||
}
|
||||
|
||||
|
|
@ -228,7 +228,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
public static void UnloadCrashHandler()
|
||||
{
|
||||
if (Api is null) return;
|
||||
|
||||
|
||||
Api->UnloadCrashHandler();
|
||||
}
|
||||
|
||||
|
|
@ -240,7 +240,7 @@ namespace Ryujinx.Graphics.RenderDocApi
|
|||
public static void TriggerCapture()
|
||||
{
|
||||
if (Api is null) return;
|
||||
|
||||
|
||||
Api->TriggerCapture();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue