cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionTextureWebp.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 <CesiumUtility/ExtensibleObject.h>
7
8#include <cstdint>
9
10namespace CesiumGltf {
14struct CESIUMGLTF_API ExtensionTextureWebp final
19 static constexpr const char* TypeName = "ExtensionTextureWebp";
22 static constexpr const char* ExtensionName = "EXT_texture_webp";
23
27 int32_t source = -1;
28
35 int64_t getSizeBytes() const {
36 int64_t accum = 0;
37 accum += int64_t(sizeof(ExtensionTextureWebp));
39 int64_t(sizeof(CesiumUtility::ExtensibleObject));
40
41 return accum;
42 }
43};
44} // namespace CesiumGltf
Classes for working with glTF models.
glTF extension to specify textures using the WebP image format.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...