using Ghost.Core; using Ghost.Graphics.Contracts; namespace Ghost.Graphics.RHI; /// /// High-level renderer interface that uses RHI abstractions /// public interface IRenderer : IDisposable { IRenderTargetStrategy? RenderTargetStrategy { get; set; } /// /// Renders a frame /// /// Command allocator to use for rendering /// Result of the rendering operation Result Render(ICommandAllocator commandAllocator); }