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
10
namespace
CesiumGltf
{
15
struct
CESIUMGLTF_API
ExtensionKhrTextureBasisu
final
16
:
public
CesiumUtility::ExtensibleObject
{
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
));
40
accum +=
CesiumUtility::ExtensibleObject::getSizeBytes
() -
41
int64_t(
sizeof
(
CesiumUtility::ExtensibleObject
));
42
43
return
accum;
44
}
45
};
46
}
// namespace CesiumGltf
CesiumGltf
Classes for working with glTF models.
Definition
GltfConverterUtility.h:17
CesiumGltf::ExtensionKhrTextureBasisu
glTF extension to specify textures using the KTX v2 images with Basis Universal supercompression.
Definition
ExtensionKhrTextureBasisu.h:16
CesiumGltf::ExtensionKhrTextureBasisu::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition
ExtensionKhrTextureBasisu.h:37
CesiumUtility::ExtensibleObject
The base class for objects that have extensions and extras.
Definition
ExtensibleObject.h:15
CesiumUtility::ExtensibleObject::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...
Definition
ExtensibleObject.h:127
CesiumGltf
generated
include
CesiumGltf
ExtensionKhrTextureBasisu.h
Generated by
1.12.0