From 9a19ae463880e06bae84eb8ae1b7279595ecdc38 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 20 Aug 2026 03:00:56 +0200 Subject: [fix]: path for the logo --- src/Rendering/Texture.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 src/Rendering/Texture.h (limited to 'src/Rendering/Texture.h') diff --git a/src/Rendering/Texture.h b/src/Rendering/Texture.h deleted file mode 100644 index e9b3e0a..0000000 --- a/src/Rendering/Texture.h +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once - -#include "core/memory.h" - -#include -#include - -namespace Donut -{ - class Texture - { - public: - virtual ~Texture() = default; - - virtual auto get_width() const -> uint32_t = 0; - virtual auto get_height() const -> uint32_t = 0; - virtual auto get_renderer_id() const -> uint32_t = 0; - - virtual auto set_data(void* data, uint32_t size) -> void = 0; - virtual auto bind(uint32_t slot = 0) const -> void = 0; - virtual void bind_as_image(uint32_t slot = 0, - bool read_only = false) const = 0; - - virtual bool operator==(const Texture& other) const = 0; - }; - - class Texture2D - : public Texture - { - public: - static auto create(uint32_t width, uint32_t height) -> Ref; - static auto create(const std::string& path) -> Ref; - }; - - class CubemapTexture - : public Texture - { - public: - static auto create(uint32_t width, uint32_t height) -> Ref; - static auto create_from_hdri(const std::string& path) -> Ref; - }; -}; \ No newline at end of file -- cgit v1.3