blob: 971972c75497877a594b6e6d00ffaedfc098d9b9 (
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
|
#include "VulkanTexture.h"
namespace Donut
{
VulkanTexture2D::VulkanTexture2D(uint32_t width, uint32_t height)
: m_Width(width), m_Height(height)
{
// TODO(Hachem): Implement Vulkan texture creation with dimensions
}
VulkanTexture2D::VulkanTexture2D(const std::string& path)
: m_Path(path)
{
// TODO(Hachem): Implement Vulkan texture creation from file
}
VulkanTexture2D::~VulkanTexture2D()
{
// TODO(Hachem): Implement Vulkan texture cleanup
}
void VulkanTexture2D::SetData(void* data, uint32_t size)
{
// TODO(Hachem): Implement Vulkan texture data setting
}
void VulkanTexture2D::Bind(uint32_t slot) const
{
// TODO(Hachem): Implement Vulkan texture binding
}
};
|