hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/vulkan/vulkan_vertex_array.cpp
blob: 82586968d41618cd3fd40735194762bc6af6fc96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "vulkan_vertex_array.h"

namespace Donut
{
	VulkanVertexArray::VulkanVertexArray()
	{
	}

	VulkanVertexArray::~VulkanVertexArray()
	{
	}

	void VulkanVertexArray::bind() const
	{
	}

	void VulkanVertexArray::unbind() const
	{
	}

	void VulkanVertexArray::add_vertex_buffer(const Ref<VertexBuffer>& vertex_buffer)
	{
		m_vertex_buffers.push_back(vertex_buffer);
	}

	void VulkanVertexArray::set_index_buffer(const Ref<IndexBuffer>& index_buffer)
	{
		m_index_buffer = index_buffer;
	}
};