diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 00:13:38 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 00:13:38 +0200 |
| commit | 13f2e940700b4451f6bff52eb1666475fd2de72c (patch) | |
| tree | 5908ff643da3caeef9a00cee3ff10931e4698a37 /src/Platform/Vulkan/VulkanTexture.cpp | |
| parent | 641db1c86bf624527173b0323bd3c832338c3662 (diff) | |
[setup]: Prepare for Vulkan
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 + } +}; |
