diff options
Diffstat (limited to 'src/Platform/Vulkan/VulkanTexture.cpp')
| -rw-r--r-- | src/Platform/Vulkan/VulkanTexture.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Platform/Vulkan/VulkanTexture.cpp b/src/Platform/Vulkan/VulkanTexture.cpp new file mode 100644 index 0000000..971972c --- /dev/null +++ b/src/Platform/Vulkan/VulkanTexture.cpp @@ -0,0 +1,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 + } +}; |
