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