using System;
using Robust.Shared.Maths;
using SixLabors.ImageSharp.PixelFormats;
namespace Robust.Client.Graphics
{
///
/// Represents something that can be rendered to.
///
public interface IRenderTarget : IDisposable
{
///
/// The size of the render target, in physical pixels.
///
Vector2i Size { get; }
void CopyPixelsToMemory(CopyPixelsDelegate callback, UIBox2i? subRegion = null) where T : unmanaged, IPixel;
}
}