From f2422abfebd6925f68920915bd474f6a62898fcc Mon Sep 17 00:00:00 2001 From: Atdunbg <979541498@qq.com> Date: Wed, 9 Jul 2025 17:42:20 +0800 Subject: [PATCH] add GetPath() --- Hazel/src/Hazel/Renderer/Texture.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Hazel/src/Hazel/Renderer/Texture.h b/Hazel/src/Hazel/Renderer/Texture.h index 1c15f7d..23066e0 100644 --- a/Hazel/src/Hazel/Renderer/Texture.h +++ b/Hazel/src/Hazel/Renderer/Texture.h @@ -6,7 +6,7 @@ #define TEXTURE_H #include -#include +#include namespace Hazel @@ -18,6 +18,7 @@ namespace Hazel virtual const uint32_t GetWidth() const = 0; virtual const uint32_t GetHeight() const = 0; virtual const uint32_t GetRendererID() const = 0; + virtual const std::string& GetPath() const = 0; virtual void Bind(uint32_t slot = 0) const = 0;