5#include <CesiumGltf/Library.h>
6#include <CesiumGltf/MeshPrimitive.h>
7#include <CesiumGltf/NamedObject.h>
20 static constexpr const char* TypeName =
"Mesh";
41 accum += int64_t(
sizeof(
Mesh));
50 accum += int64_t(
sizeof(
double) * this->weights.capacity());
Classes for working with glTF models.
Geometry to be rendered with the given material.
A set of primitives to be rendered. Its global transform is defined by a node that references it.
std::vector< double > weights
Array of weights to be applied to the morph targets. The number of array elements MUST match the numb...
std::vector< CesiumGltf::MeshPrimitive > primitives
An array of primitives, each defining geometry to be rendered.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
The base class for objects in a glTF that have a name.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...