public RenderSystem() { Renderer = RendererAPI.GetAPI(); Camera = new OrthographicCamera(-1.6f, 1.6f, -0.9f, 0.9f); }
public static void SetClearColor(float red, float green, float blue, float alpha) { RendererAPI.GetAPI().SetClearColor(red, green, blue, alpha); }
public static void Clear() { RendererAPI.GetAPI().Clear(); }
public static void DrawIndexed(VertexArray vertexArray) { RendererAPI.GetAPI().DrawIndexed(vertexArray); }