summaryrefslogtreecommitdiff
path: root/indra/newview/gltf/accessor.h
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2024-04-30 21:57:42 -0500
committerRunitaiLinden <davep@lindenlab.com>2024-04-30 21:57:42 -0500
commit170765fd3505410dced83b342f87030fd9151e35 (patch)
treef3665586f2d731a04bf645bc1155bbddc6c5f7e8 /indra/newview/gltf/accessor.h
parent5e2bac01cb6e8d3de3cc0e496d94a729e4740247 (diff)
#1357 Proof of concept on decomposing a GLTF scene into its component parts
Diffstat (limited to 'indra/newview/gltf/accessor.h')
-rw-r--r--indra/newview/gltf/accessor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/gltf/accessor.h b/indra/newview/gltf/accessor.h
index 9b8265d8da..6849cd8609 100644
--- a/indra/newview/gltf/accessor.h
+++ b/indra/newview/gltf/accessor.h
@@ -45,6 +45,10 @@ namespace LL
std::string mName;
std::string mUri;
+ // erase the given range from this buffer.
+ // also updates all buffer views in given asset that reference this buffer
+ void erase(Asset& asset, S32 offset, S32 length);
+
const Buffer& operator=(const tinygltf::Buffer& src);
};