Render basic geometry

Added GraphicsContext, SwapChain, Buffer, VertexBuffer, IndexBuffer and a basic DX11 implementation.
This commit is contained in:
Simon Lübeß
2020-11-25 13:03:40 +01:00
parent 0237e0b38d
commit 5954fbc411
20 changed files with 1219 additions and 180 deletions
+6
View File
@@ -1,6 +1,7 @@
using System;
using GlitchyEngine.Events;
using GlitchyEngine.Math;
using GlitchyEngine.Renderer;
namespace GlitchyEngine
{
@@ -86,6 +87,11 @@ namespace GlitchyEngine
* Gets or Sets whether or not the application uses VSync
*/
public extern bool IsVSync {get; set;}
/**
* Gets the windows graphics context.
*/
public extern GraphicsContext Context {get;}
/**
* Gets a pointer to the platform specific window representation.