cesium-native 0.66.0
Loading...
Searching...
No Matches
Layer.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/Library.h>
6#include <CesiumGltf/NamedObject.h>
7
8namespace CesiumGltf {
12struct CESIUMGLTF_API Layer final : public CesiumGltf::NamedObject {
16 static constexpr const char* TypeName = "Layer";
17
24 int64_t getSizeBytes() const {
25 int64_t accum = 0;
26 accum += int64_t(sizeof(Layer));
28 int64_t(sizeof(CesiumGltf::NamedObject));
29
30 return accum;
31 }
32};
33} // namespace CesiumGltf
Classes for working with glTF models.
An object defining a layer.
Definition Layer.h:12
static constexpr const char * TypeName
The original name of this type.
Definition Layer.h:16
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition Layer.h:24
The base class for objects in a glTF that have a name.
Definition NamedObject.h:14
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition NamedObject.h:28