BizHawk/BizHawk.Emulation.Common/Interfaces/IVideoProvider.cs

19 lines
487 B
C#

namespace BizHawk.Emulation.Common
{
public interface IVideoProvider
{
int[] GetVideoBuffer();
// put together, these describe a metric on the screen
// they should define the smallest size that the buffer can be placed inside such that:
// 1. no actual pixel data is lost
// 2. aspect ratio is accurate
int VirtualWidth { get; }
int VirtualHeight { get; }
int BufferWidth { get; }
int BufferHeight { get; }
int BackgroundColor { get; }
}
}