using Ghost.Core;
using Ghost.Graphics.Core;
namespace Ghost.Graphics.RHI;
///
/// High-level renderer interface that uses RHI abstractions
///
public interface IRenderer : IDisposable
{
Handle RenderTarget
{
get;
}
///
/// Sets the render Target for this renderer
///
/// Render Target to render into
public void SetRenderTarget(Handle renderTarget);
///
/// Renders a frame
///
/// Command buffer to record rendering commands into
/// Result of the rendering operation
public Result Render(ICommandBuffer commandBuffer);
}