aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/sharedbuffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zencore/include/zencore/sharedbuffer.h b/zencore/include/zencore/sharedbuffer.h
index 5b950ee38..c60af9547 100644
--- a/zencore/include/zencore/sharedbuffer.h
+++ b/zencore/include/zencore/sharedbuffer.h
@@ -42,6 +42,9 @@ public:
*/
[[nodiscard]] inline bool IsNull() const { return m_Buffer.IsNull(); }
+ /** Reset this to null. */
+ ZENCORE_API void Reset();
+
inline MutableMemoryView GetMutableView() { return MutableMemoryView(GetData(), GetSize()); }
inline MemoryView GetView() const { return MemoryView(GetData(), GetSize()); }