Karma Engine
Loading...
Searching...
No Matches
Karma
src
Platform
OpenGL
OpenGLRendererAPI.h
1
#pragma once
2
3
#include "Karma/Renderer/RendererAPI.h"
4
5
namespace
Karma
6
{
7
class
KARMA_API
OpenGLRendererAPI
:
public
RendererAPI
8
{
9
public
:
10
virtual
void
SetClearColor(
const
glm::vec4& color)
override
;
11
virtual
void
Clear()
override
;
12
13
virtual
void
BeginScene()
override
{}
14
virtual
void
DrawIndexed(
const
std::shared_ptr<VertexArray> vertexArray)
override
;
15
virtual
void
EndScene()
override
{}
16
};
17
}
Karma::OpenGLRendererAPI
Definition
OpenGLRendererAPI.h:8
Karma::RendererAPI
Definition
RendererAPI.h:11
Generated by
1.12.0