diff options
| author | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
| commit | 23086a5d33acc66414f1169bf22abe78b3383f94 (patch) | |
| tree | a895c3e3ab8074118a84aada97ea990b60fba556 /src/rendering/texture.h | |
| parent | 2d8f706efe6e0a02b3238c2f22e7cdce620e9807 (diff) | |
fix: more consistent formatting
Diffstat (limited to 'src/rendering/texture.h')
| -rw-r--r-- | src/rendering/texture.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/rendering/texture.h b/src/rendering/texture.h index 68866b5..e9f369f 100644 --- a/src/rendering/texture.h +++ b/src/rendering/texture.h @@ -11,15 +11,16 @@ namespace Donut public: virtual ~Texture() = default; - virtual uint32_t get_width() const = 0; - virtual uint32_t get_height() const = 0; + virtual uint32_t get_width() const = 0; + virtual uint32_t get_height() const = 0; virtual uint32_t get_renderer_id() const = 0; - virtual void set_data(void* data, uint32_t size) = 0; - virtual void bind(uint32_t slot = 0) const = 0; - virtual void bind_as_image(uint32_t slot = 0, bool read_only = false) const = 0; + virtual void set_data(void* data, uint32_t size) = 0; + virtual void bind(uint32_t slot = 0) const = 0; + virtual void bind_as_image(uint32_t slot = 0, + bool read_only = false) const = 0; - virtual bool operator==(const Texture& other) const = 0; + virtual bool operator==(const Texture& other) const = 0; }; class Texture2D |
