diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-05-01 18:08:52 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-05-01 18:08:52 +0100 |
commit | 5ef2a29e0aeb15ab2c455f8e4c8d69262ca0f622 (patch) | |
tree | 5eb424ae9fbe3b862db6abd7e7e1029e07936cc1 /lib | |
parent | Add missing test over iterator comparison (diff) | |
download | ilt-5ef2a29e0aeb15ab2c455f8e4c8d69262ca0f622.tar.bz2 ilt-5ef2a29e0aeb15ab2c455f8e4c8d69262ca0f622.tar.xz ilt-5ef2a29e0aeb15ab2c455f8e4c8d69262ca0f622.zip |
Add method to get GL buffer name of glContainer
Diffstat (limited to 'lib')
-rw-r--r-- | lib/glContainer.h | 6 |
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 { |