//
// Created by sfd on 25-4-22.
//

#ifndef OPENGLRENDERERAPI_H
#define OPENGLRENDERERAPI_H
#include <Hazel/Renderer/RendererAPI.h>


namespace Hazel
{
    class OpenGLRendererAPI : public RendererAPI
    {
    public:
        virtual void Init() override;
        virtual void SetClearColor(const glm::vec4& color) override;
        virtual void SetViewPort(uint32_t x, uint32_t y, uint32_t width, uint32_t height) override;
        virtual void Clear() override;
        virtual void DrawIndexed(const  std::shared_ptr<Hazel::VertexArray>& vertexArray, uint32_t indexCount = 0) override;
    };
}


#endif //OPENGLRENDERERAPI_H
