hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/vulkan/vulkan_vertex_array.cpp
blob: 69f4679558a779f10d20638cf73e939fd7bac793 (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()
	{
	}

	auto VulkanVertexArray::bind() const -> void
	{
	}

	auto VulkanVertexArray::unbind() const -> void
	{
	}

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

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