cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionKhrTextureBasisu.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 {
15struct CESIUMGLTF_API ExtensionKhrTextureBasisu final
20 static constexpr const char* TypeName = "ExtensionKhrTextureBasisu";
23 static constexpr const char* ExtensionName = "KHR_texture_basisu";
24
29 int32_t source = -1;
30
37 int64_t getSizeBytes() const {
38 int64_t accum = 0;
39 accum += int64_t(sizeof(ExtensionKhrTextureBasisu));
41 int64_t(sizeof(CesiumUtility::ExtensibleObject));
42
43 return accum;
44 }
45};
46} // namespace CesiumGltf
Classes for working with glTF models.
glTF extension to specify textures using the KTX v2 images with Basis Universal supercompression.
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 ...