Include Silk.NET, begin GlRenderer.

This commit is contained in:
2023-02-28 21:11:24 +01:00
parent e95cc75ef4
commit d32390b21c
2 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,105 @@
using System.Drawing;
using System.Numerics;
namespace DaggerFramework.Rendering
{
public class GlRenderer : Renderer
{
public override Vector2 WindowSize => throw new NotImplementedException();
public override void BeginFrame()
{
throw new NotImplementedException();
}
public override void ClearBackground(Color color)
{
throw new NotImplementedException();
}
public override void CreateWindow(string title, Vector2 size)
{
throw new NotImplementedException();
}
public override void CloseWindow()
{
throw new NotImplementedException();
}
public override void DrawCircle(float radius, Color color)
{
throw new NotImplementedException();
}
public override void DrawDebugText(Vector2 position, string text, int fontSize, Color color)
{
throw new NotImplementedException();
}
public override void DrawRectangle(Vector2 size, Color color)
{
throw new NotImplementedException();
}
public override void DrawTexture(int id, Color tint)
{
throw new NotImplementedException();
}
public override void EndFrame()
{
throw new NotImplementedException();
}
public override double GetFrameTime()
{
throw new NotImplementedException();
}
public override void Initialize(RendererSettings settings)
{
throw new NotImplementedException();
}
public override int LoadTexture(Texture2d texture)
{
throw new NotImplementedException();
}
public override int LoadTexture(string path)
{
throw new NotImplementedException();
}
public override void SetTargetFps(int fps)
{
throw new NotImplementedException();
}
public override void SetTransform(Vector2 position, float rotation = 0)
{
throw new NotImplementedException();
}
public override void SetTransform(Matrix4x4 transform)
{
throw new NotImplementedException();
}
public override void SetWindowTitle(string title)
{
throw new NotImplementedException();
}
public override void SetWindowVSync(bool value)
{
throw new NotImplementedException();
}
public override bool WindowShouldClose()
{
throw new NotImplementedException();
}
}
}