aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Vulkan/VulkanTexture.cpp
blob: 4145130d0b14efde4774c46ac25d84b5b35d8b78 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#include "VulkanTexture.h"

namespace Donut
{
	VulkanTexture2D::VulkanTexture2D(uint32_t width, uint32_t height)
		: m_Width(width), m_Height(height)
	{
		m_InternalFormat = 0;
		m_DataFormat = 0;
		m_RendererID = 0;
	}

	VulkanTexture2D::VulkanTexture2D(const std::string& path)
		: m_Path(path)
	{
		m_Width = 1;
		m_Height = 1;
		m_InternalFormat = 0;
		m_DataFormat = 0;
		m_RendererID = 0;
	}

	VulkanTexture2D::~VulkanTexture2D()
	{
	}

	void VulkanTexture2D::SetData(void* data, uint32_t size)
	{
	}

	void VulkanTexture2D::Bind(uint32_t slot) const
	{
	}

	void VulkanTexture2D::BindAsImage(uint32_t slot, bool readOnly) const
	{
	}

	// Vulkan Cubemap Implementation (Placeholder)
	VulkanCubemapTexture::VulkanCubemapTexture(uint32_t width, uint32_t height)
		: m_Width(width), m_Height(height)
	{
		m_InternalFormat = 0;
		m_DataFormat = 0;
		m_RendererID = 0;
	}

	VulkanCubemapTexture::VulkanCubemapTexture(const std::string& path)
		: m_Path(path)
	{
		m_Width = 1024;
		m_Height = 1024;
		m_InternalFormat = 0;
		m_DataFormat = 0;
		m_RendererID = 0;
	}

	VulkanCubemapTexture::~VulkanCubemapTexture()
	{
	}

	void VulkanCubemapTexture::SetData(void* data, uint32_t size)
	{
	}

	void VulkanCubemapTexture::Bind(uint32_t slot) const
	{
	}

	void VulkanCubemapTexture::BindAsImage(uint32_t slot, bool readOnly) const
	{
	}
};