mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Added Camera, Renderer, ... and moved example to sandbox
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using GlitchyEngine.Math;
|
||||
|
||||
namespace GlitchyEngine.Renderer
|
||||
{
|
||||
public class RendererAPI
|
||||
{
|
||||
public enum API
|
||||
{
|
||||
None,
|
||||
D3D11
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets which graphics API is active.
|
||||
*/
|
||||
public static extern API Api { get; }
|
||||
|
||||
public extern void Clear(RenderTarget renderTarget, ColorRGBA clearColor);
|
||||
|
||||
public extern void DrawIndexed(GeometryBinding geometry);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user