diff options
| author | hachem <im@hachem.wtf> | 2026-08-23 16:19:19 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-23 16:19:19 +0200 |
| commit | 0ee2712029f53175552d459f908b163ad61de197 (patch) | |
| tree | a58bc213d91acb8b42aec0b19cd678e63bb3ecd4 /src/rendering/texture_manager.h | |
| parent | 380b4d5d5a3e66d89ca7b3b1601bb23e5a01bf7b (diff) | |
feat: RHI interface with shared scene and black hole renderers
Diffstat (limited to 'src/rendering/texture_manager.h')
| -rw-r--r-- | src/rendering/texture_manager.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/rendering/texture_manager.h b/src/rendering/texture_manager.h deleted file mode 100644 index 02c32b1..0000000 --- a/src/rendering/texture_manager.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include "core/memory.h" -#include "rendering/texture.h" -#include <cstdint> - -namespace Donut -{ - class TextureManager - { - public: - static auto create_texture(uint32_t width, uint32_t height) -> Ref<Texture2D>; - - static auto bind_texture(uint32_t texture_id, uint32_t slot = 0) -> void; - static auto bind_image_texture(uint32_t texture_id, uint32_t slot = 0, bool read_only = false) -> void; - static auto set_texture_data(uint32_t texture_id, void* data, uint32_t width, uint32_t height) -> void; - static auto resize_texture(uint32_t texture_id, uint32_t width, uint32_t height) -> void; - }; -}; |
