blob: 623e5406766322e8a7463b345ef9511ef4204f29 (
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
|
#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
}
void VulkanTexture2D::BindAsImage(uint32_t slot, bool readOnly) const
{
// TODO(Hachem): Implement Vulkan texture image binding
}
};
|