Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
VulkanVertexArrayObject.hpp
1
#pragma once
2
3
#include <vector>
4
5
#include <Common/Graphics/VertexArrayObject.hpp>
6
7
namespace
Grindstone::GraphicsAPI::Vulkan {
8
class
VertexBuffer;
9
class
IndexBuffer;
10
11
class
VertexArrayObject
:
public
Grindstone::GraphicsAPI::VertexArrayObject
{
12
public
:
13
VertexArrayObject
(
const
CreateInfo
& createInfo);
14
15
// Inherited from VertexArrayObject
16
virtual
~VertexArrayObject
()
override
;
17
virtual
void
Bind()
override
;
18
virtual
void
Unbind()
override
;
19
public
:
20
std::vector<GraphicsAPI::VertexBuffer*>& GetVertexBuffers();
21
GraphicsAPI::IndexBuffer
* GetIndexBuffer()
const
;
22
private
:
23
std::vector<GraphicsAPI::VertexBuffer*> vertexBuffers;
24
GraphicsAPI::IndexBuffer
* indexBuffer =
nullptr
;
25
};
26
}
Grindstone::GraphicsAPI::IndexBuffer
Definition
IndexBuffer.hpp:11
Grindstone::GraphicsAPI::VertexArrayObject
Definition
VertexArrayObject.hpp:10
Grindstone::GraphicsAPI::Vulkan::VertexArrayObject
Definition
VulkanVertexArrayObject.hpp:11
Grindstone::GraphicsAPI::VertexArrayObject::CreateInfo
Definition
VertexArrayObject.hpp:12
sources
code
Plugins
GraphicsVulkan
VulkanVertexArrayObject.hpp
Generated by
1.12.0