30 lines
711 B
C#
30 lines
711 B
C#
using Aquarium.Engine.Input;
|
|
using Aquarium.Engine.Audio;
|
|
using Aquarium.Engine.Ui;
|
|
|
|
namespace Aquarium.Engine.Render;
|
|
|
|
public interface IAquariumRenderer : IAquariumFieldResourceBroker, IDisposable
|
|
{
|
|
int RenderDebugMode { get; set; }
|
|
|
|
bool DebugUiVisible { get; set; }
|
|
|
|
bool HasPresentedReadyFrame { get; }
|
|
|
|
bool CapturesInput { get; }
|
|
|
|
AquariumSynthDocument DebugSynth { get; }
|
|
|
|
void UpdateUi(InputState input, AquariumUiDocument clientUi);
|
|
|
|
void CycleRenderDebugMode();
|
|
|
|
GraphicsSettings CaptureGraphicsSettings();
|
|
|
|
void ApplyGraphicsSettings(GraphicsSettings settings);
|
|
|
|
void Render(AquariumFrame frame, int width, int height);
|
|
|
|
void SaveFramePng(string path);
|
|
}
|