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/VertexArrayObject.hpp>
4
5
#include "GLVertexBuffer.hpp"
6
#include "GLIndexBuffer.hpp"
7
8
namespace
Grindstone::GraphicsAPI::OpenGL {
9
class
VertexArrayObject
:
public
Grindstone::GraphicsAPI::VertexArrayObject
{
10
public
:
11
VertexArrayObject
();
12
VertexArrayObject
(
const
CreateInfo
& createInfo);
13
virtual
~VertexArrayObject
()
override
;
14
15
virtual
void
Bind()
override
;
16
virtual
void
Unbind()
override
;
17
18
protected
:
19
GLuint vertexArrayObject;
20
uint32_t vertexBufferCount = 0;
21
22
};
23
}
Grindstone::GraphicsAPI::OpenGL::VertexArrayObject
Definition
GLVertexArrayObject.hpp:9
Grindstone::GraphicsAPI::VertexArrayObject
Definition
VertexArrayObject.hpp:10
Grindstone::GraphicsAPI::VertexArrayObject::CreateInfo
Definition
VertexArrayObject.hpp:12
sources
code
Plugins
GraphicsOpenGL
GLVertexArrayObject.hpp
Generated by
1.12.0