AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/IVideoProvider.cs
2024-07-03 18:22:22 +08:00

42 lines
787 B
C#

namespace MyNes.Core
{
public interface IVideoProvider
{
string Name { get; }
string ID { get; }
void WriteErrorNotification(string message, bool instant);
void WriteInfoNotification(string message, bool instant);
void WriteWarningNotification(string message, bool instant);
void TakeSnapshotAs(string path, string format);
void TakeSnapshot();
void Initialize();
void ShutDown();
void SignalToggle(bool started);
void SubmitFrame(ref int[] buffer);
void ResizeBegin();
void ResizeEnd();
void ApplyRegionChanges();
void Resume();
void ToggleAspectRatio(bool keep_aspect);
void ToggleFPS(bool show_fps);
void ApplyFilter();
}
}