mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
25 lines
402 B
Beef
25 lines
402 B
Beef
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 Init();
|
|
|
|
public extern void Clear(RenderTarget renderTarget, ColorRGBA clearColor);
|
|
|
|
public extern void DrawIndexed(GeometryBinding geometry);
|
|
}
|
|
}
|