MCPcopy Create free account
hub / github.com/Kitware/VTK / Append

Method Append

Rendering/Core/vtkStateStorage.h:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110template <class T>
111inline void vtkStateStorage::Append(const T& value, const char* name)
112{
113 this->StorageOffsets.push_back(this->Storage.size());
114 this->StorageNames.push_back(name);
115 const char* start = reinterpret_cast<const char*>(&value);
116 this->Storage.insert(this->Storage.end(), start, start + sizeof(T));
117}
118
119VTK_ABI_NAMESPACE_END
120#else // normal implementation

Callers 15

BuildBufferObjectsMethod · 0.45
BuildIBOMethod · 0.45
PreRenderPropMethod · 0.45
UpdateMethod · 0.45

Calls 4

push_backMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected