summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/glContainer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/glContainer.h b/lib/glContainer.h
index 4b85005..94ba118 100644
--- a/lib/glContainer.h
+++ b/lib/glContainer.h
@@ -206,6 +206,12 @@ public:
return const_reserve_iterator {data_ - 1};
}
+ [[nodiscard]] const auto &
+ bufferName() const
+ {
+ return buffer_;
+ }
+
[[nodiscard]] size_type
size() const
{