Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
GLVertexArrayObject.hpp
1
#pragma once
2
3
#include <Common/Graphics/Formats.hpp>
4
#include <Common/Graphics/VertexArrayObject.hpp>
5
6
namespace
Grindstone::GraphicsAPI::OpenGL {
7
class
VertexArrayObject :
public
Grindstone::GraphicsAPI::VertexArrayObject
{
8
public
:
9
VertexArrayObject();
10
VertexArrayObject(
const
CreateInfo
& createInfo);
11
virtual
~VertexArrayObject()
override
;
12
13
virtual
void
Bind()
override
;
14
virtual
void
Unbind()
override
;
15
16
protected
:
17
GLuint vertexArrayObject;
18
uint32_t vertexBufferCount = 0;
19
};
20
}
Grindstone::GraphicsAPI::VertexArrayObject
Definition
VertexArrayObject.hpp:9
Grindstone::GraphicsAPI::VertexArrayObject::CreateInfo
Definition
VertexArrayObject.hpp:11
sources
code
Plugins
GraphicsOpenGL
GLVertexArrayObject.hpp
Generated by
1.13.2