Use properties in Renderer.
This commit is contained in:
@@ -16,6 +16,14 @@ namespace DaggerFramework.Rendering
|
||||
/// <inheritdoc />
|
||||
public override bool ShouldRun => throw new NotImplementedException();
|
||||
|
||||
public override Vector2 MonitorSize => throw new NotImplementedException();
|
||||
|
||||
public override int TargetFps { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
|
||||
public override bool VSync { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
|
||||
public override string WindowTitle { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
|
||||
|
||||
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Initialize(RendererSettings settings)
|
||||
{
|
||||
@@ -93,7 +101,7 @@ namespace DaggerFramework.Rendering
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void SetTargetFps(int fps)
|
||||
protected override void SetTargetFps(int fps)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -111,19 +119,19 @@ namespace DaggerFramework.Rendering
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void SetWindowTitle(string title)
|
||||
protected override void SetWindowTitle(string title)
|
||||
{
|
||||
SetWindowTitleUnsafe(title);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void SetWindowVSync(bool value)
|
||||
protected override void SetWindowVSync(bool value)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool WindowShouldClose() => WindowShouldCloseUnsafe();
|
||||
protected override bool WindowShouldClose() => WindowShouldCloseUnsafe();
|
||||
|
||||
private unsafe void CreateWindowUnsafe(string title, Vector2 size)
|
||||
{
|
||||
@@ -178,6 +186,21 @@ namespace DaggerFramework.Rendering
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
protected override int GetMonitorWidth(int monitorId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
protected override int GetMonitorHeight(int monitorId)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
protected override int GetCurrentMonitor()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private GL _gl;
|
||||
private Glfw _glfw;
|
||||
private unsafe WindowHandle* _windowHandle;
|
||||
|
||||
Reference in New Issue
Block a user