diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 02:27:02 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 02:40:07 +0200 |
| commit | 5b361d81dbd2af0d0e99b9eb1adebea76ff05db0 (patch) | |
| tree | 34db1df17e8c7248aeeb92156d635d31c2484e3f /src/Platform/Vulkan/VulkanRendererAPI.cpp | |
| parent | e3abaaf59777258ba06705135a0cafcb5918ad12 (diff) | |
[chore]: MASSIVE refactor + more vulkan bs
Diffstat (limited to 'src/Platform/Vulkan/VulkanRendererAPI.cpp')
| -rw-r--r-- | src/Platform/Vulkan/VulkanRendererAPI.cpp | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/src/Platform/Vulkan/VulkanRendererAPI.cpp b/src/Platform/Vulkan/VulkanRendererAPI.cpp deleted file mode 100644 index 79f7633..0000000 --- a/src/Platform/Vulkan/VulkanRendererAPI.cpp +++ /dev/null @@ -1,86 +0,0 @@ -#include "VulkanRendererAPI.h" - -namespace Donut -{ - void VulkanRendererAPI::Init() - { - // TODO(Hachem): Implement Vulkan renderer API initialization - } - - void VulkanRendererAPI::SetViewport(uint32_t x, uint32_t y, uint32_t width, uint32_t height) - { - // TODO(Hachem): Implement Vulkan viewport setting - } - - void VulkanRendererAPI::SetClearColor(const glm::vec4& color) - { - // TODO(Hachem): Implement Vulkan clear color setting - } - - void VulkanRendererAPI::Clear() - { - // TODO(Hachem): Implement Vulkan clear - } - - void VulkanRendererAPI::EnableDepthTest() - { - // TODO(Hachem): Implement Vulkan depth test enabling - } - - void VulkanRendererAPI::DisableDepthTest() - { - // TODO(Hachem): Implement Vulkan depth test disabling - } - - void VulkanRendererAPI::SetFaceCulling(bool enabled) - { - // TODO(Hachem): Implement Vulkan face culling setting - } - - void VulkanRendererAPI::EnableBlending() - { - // TODO(Hachem): Implement Vulkan blending enabling - } - - void VulkanRendererAPI::DisableBlending() - { - // TODO(Hachem): Implement Vulkan blending disabling - } - - void VulkanRendererAPI::DrawIndexed(const Ref<VertexArray>& vertexArray, uint32_t indexCount) - { - // TODO(Hachem): Implement Vulkan indexed drawing - } - - void VulkanRendererAPI::DrawArrays(uint32_t vertexCount, uint32_t first) - { - // TODO(Hachem): Implement Vulkan array drawing - } - - void VulkanRendererAPI::DrawLines(const Ref<VertexArray>& vertexArray, uint32_t indexCount) - { - // TODO(Hachem): Implement Vulkan line drawing - } - - void VulkanRendererAPI::BindTexture(uint32_t textureID, uint32_t slot) - { - // TODO(Hachem): Implement Vulkan texture binding - } - - void VulkanRendererAPI::BindImageTexture(uint32_t textureID, uint32_t slot, bool readOnly) - { - // TODO(Hachem): Implement Vulkan image texture binding - } - - void VulkanRendererAPI::ReadPixels(uint32_t x, uint32_t y, uint32_t width, uint32_t height, - uint32_t format, uint32_t type, void* pixels) - { - // TODO(Hachem): Implement Vulkan pixel reading - // For now, this is a placeholder implementation - // In a real Vulkan implementation, this would involve: - // 1. Creating a staging buffer - // 2. Copying the framebuffer to the staging buffer - // 3. Mapping the staging buffer and copying to the pixels array - // 4. Unmapping and destroying the staging buffer - } -}; |
