mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-07 00:15:53 +08:00
* to mat init * BitBlt 加锁 * 使用读写锁重构 Windows.Graphics.Capture,删除BGI自己命名的缓存设置 * dwm加锁并返回mat * 队伍中没有对应元素角色修复日志问题 * 清除所有 DispatcherTimerOperationEnum 内容 * 修复单测的编译错误 * HDR Support * 清理无用的截图器模式
16 lines
313 B
C#
16 lines
313 B
C#
using OpenCvSharp;
|
|
|
|
namespace Fischless.GameCapture;
|
|
|
|
public interface IGameCapture : IDisposable
|
|
{
|
|
public CaptureModes Mode { get; }
|
|
public bool IsCapturing { get; }
|
|
|
|
public void Start(nint hWnd, Dictionary<string, object>? settings = null);
|
|
|
|
public Mat? Capture();
|
|
|
|
public void Stop();
|
|
}
|