Add optional vtable swapchain hook mode

This commit is contained in:
Soreepeong 2024-07-23 10:57:09 +09:00
parent 6fd19638e9
commit 3215b6dddf
6 changed files with 374 additions and 29 deletions

View file

@ -8,6 +8,7 @@ using System.Runtime.InteropServices;
using Dalamud.Game.Text;
using Dalamud.Interface;
using Dalamud.Interface.FontIdentifier;
using Dalamud.Interface.Internal;
using Dalamud.Interface.Internal.ReShadeHandling;
using Dalamud.Interface.Style;
using Dalamud.IoC.Internal;
@ -445,6 +446,9 @@ internal sealed class DalamudConfiguration : IInternalDisposableService
/// <summary>Gets or sets the mode specifying how to handle ReShade.</summary>
public ReShadeHandlingMode ReShadeHandlingMode { get; set; } = ReShadeHandlingMode.ReShadeAddon;
/// <summary>Gets or sets the swap chain hook mode.</summary>
public SwapChainHelper.HookMode SwapChainHookMode { get; set; } = SwapChainHelper.HookMode.ByteCode;
/// <summary>
/// Gets or sets hitch threshold for game network up in milliseconds.
/// </summary>