15 inline static void SetClearColor(
const glm::vec4& color)
17 s_RendererAPI->SetClearColor(color);
19 inline static void Clear()
21 s_RendererAPI->Clear();
23 inline static void BeginScene()
25 s_RendererAPI->BeginScene();
27 inline static void DrawIndexed(
const std::shared_ptr<VertexArray>& vertexArray)
29 s_RendererAPI->DrawIndexed(vertexArray);
31 static void EndScene()
33 s_RendererAPI->EndScene();
36 inline static glm::vec4& GetClearColor()
38 return s_RendererAPI->GetClearColor();
41 inline static RendererAPI* GetRendererAPI() {
return s_RendererAPI; }