aboutsummaryrefslogtreecommitdiff
path: root/src/Rendering/Texture.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-13 18:39:13 +0200
committerhachem <im@hachem.wtf>2025-08-13 18:39:13 +0200
commit8a0b2a59c9809d5fc8e6a30c2abc4d5af21aa39e (patch)
tree41adf621418b790100d207c1534236945b431d1e /src/Rendering/Texture.h
parentf1517709556827fb8b7bab00bdee4a9794d88dd1 (diff)
[fix]: More consistent formatting
Diffstat (limited to 'src/Rendering/Texture.h')
-rw-r--r--src/Rendering/Texture.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Rendering/Texture.h b/src/Rendering/Texture.h
index f17bb1d..4d150c0 100644
--- a/src/Rendering/Texture.h
+++ b/src/Rendering/Texture.h
@@ -11,15 +11,16 @@ namespace Donut
public:
virtual ~Texture() = default;
- virtual uint32_t GetWidth() const = 0;
- virtual uint32_t GetHeight() const = 0;
+ virtual uint32_t GetWidth() const = 0;
+ virtual uint32_t GetHeight() const = 0;
virtual uint32_t GetRendererID() const = 0;
- virtual void SetData(void* data, uint32_t size) = 0;
- virtual void Bind(uint32_t slot = 0) const = 0;
- virtual void BindAsImage(uint32_t slot = 0, bool readOnly = false) const = 0;
+ virtual void SetData(void* data, uint32_t size) = 0;
+ virtual void Bind(uint32_t slot = 0) const = 0;
+ virtual void BindAsImage(uint32_t slot = 0,
+ bool readOnly = false) const = 0;
- virtual bool operator==(const Texture& other) const = 0;
+ virtual bool operator==(const Texture& other) const = 0;
};
class Texture2D