5#include <CesiumTilesetJson/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
15struct CESIUMTILESETJSON_API
Asset final
20 static constexpr const char*
TypeName =
"Asset";
42 accum += int64_t(
sizeof(
Asset));
45 accum += int64_t(this->version.capacity() *
sizeof(
char));
46 if (this->tilesetVersion) {
47 accum += int64_t(this->tilesetVersion->capacity() *
sizeof(
char));
Classes to represent a tileset.json from 3D Tiles 1.1.
Metadata about the entire tileset.
std::string version
The 3D Tiles version. The version defines the JSON schema for the tileset JSON and the base set of ti...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * TypeName
The original name of this type.
std::optional< std::string > tilesetVersion
Application-specific version of this tileset, e.g., for when an existing tileset is updated.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...