MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/openvdb / arrayMemUsage

Method arrayMemUsage

openvdb/openvdb/points/AttributeArray.h:1206–1212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204
1205template<typename ValueType_, typename Codec_>
1206size_t
1207TypedAttributeArray<ValueType_, Codec_>::arrayMemUsage() const
1208{
1209 if (this->isOutOfCore()) return 0;
1210
1211 return (mIsUniform ? 1 : this->dataSize()) * sizeof(StorageType);
1212}
1213
1214
1215template<typename ValueType_, typename Codec_>

Callers 6

TypedAttributeArrayMethod · 0.95
memUsageMethod · 0.95
writeMetadataMethod · 0.95
writeBuffersMethod · 0.95
writePagedBuffersMethod · 0.95
AttributeArray.hFile · 0.80

Calls 2

isOutOfCoreMethod · 0.95
dataSizeMethod · 0.95

Tested by

no test coverage detected