cesium-native 0.67.0
Loading...
Searching...
No Matches
Padding.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumTilesetJson/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7
8#include <cstdint>
9#include <vector>
10
11namespace CesiumTilesetJson {
16struct CESIUMTILESETJSON_API Padding final
21 static constexpr const char* TypeName = "Padding";
22
26 std::vector<int64_t> before;
27
31 std::vector<int64_t> after;
32
39 int64_t getSizeBytes() const {
40 int64_t accum = 0;
41 accum += int64_t(sizeof(Padding));
43 int64_t(sizeof(CesiumUtility::ExtensibleObject));
44 accum += int64_t(sizeof(int64_t) * this->before.capacity());
45 accum += int64_t(sizeof(int64_t) * this->after.capacity());
46 return accum;
47 }
48};
49} // namespace CesiumTilesetJson
Classes to represent a tileset.json from 3D Tiles 1.1.
The padding property specifies how many rows of attribute data in each dimension come from neighborin...
Definition Padding.h:17
std::vector< int64_t > after
after
Definition Padding.h:31
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition Padding.h:39
static constexpr const char * TypeName
The original name of this type.
Definition Padding.h:21
std::vector< int64_t > before
before
Definition Padding.h:26
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 ...