#pragma once
#include "DeerRender/Render/RenderAPI.h" 
 

namespace Deer {
	class OpenGLRenderAPI : public RenderAPI {
	public:
		void init() override;
		void clearColor(const glm::vec4& color) override;
		void setDepthBuffer(bool enable) override;
		void setBackfaceCulling(bool enable) override;
		void clear() override;

		void drawIndex(VertexArray& vertexArray) override;
		void drawLines(VertexArray& vertexArray) override;

		void unbindFrameBuffer() override;
	};
}

