Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-08-20 12:42:31 +0300
committerJacques Lucke <jacques@blender.org>2021-08-20 12:48:31 +0300
commitfd51b05a02abcbdc9b551a9f2bf72a4ea6bc1f1c (patch)
tree701a0e7da57f59566e2c3a1f048bab07d8af32f6 /source/blender/functions/FN_generic_vector_array.hh
parent2b6f0cc8367c04df8147cf231b11de4b4b8b41d5 (diff)
Functions: add clear method to vector array
Diffstat (limited to 'source/blender/functions/FN_generic_vector_array.hh')
-rw-r--r--source/blender/functions/FN_generic_vector_array.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/functions/FN_generic_vector_array.hh b/source/blender/functions/FN_generic_vector_array.hh
index eeba0c9dba2..179e85671f8 100644
--- a/source/blender/functions/FN_generic_vector_array.hh
+++ b/source/blender/functions/FN_generic_vector_array.hh
@@ -82,6 +82,8 @@ class GVectorArray : NonCopyable, NonMovable {
void extend(IndexMask mask, const GVVectorArray &values);
void extend(IndexMask mask, const GVectorArray &values);
+ void clear(IndexMask mask);
+
GMutableSpan operator[](int64_t index);
GSpan operator[](int64_t index) const;