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
10
namespace
CesiumGltf
{
14
struct
CESIUMGLTF_API
ExtensionTextureWebp
final
15
:
public
CesiumUtility::ExtensibleObject
{
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
));
38
accum +=
CesiumUtility::ExtensibleObject::getSizeBytes
() -
39
int64_t(
sizeof
(
CesiumUtility::ExtensibleObject
));
40
41
return
accum;
42
}
43
};
44
}
// namespace CesiumGltf
CesiumGltf
Classes for working with glTF models.
Definition
GltfConverterUtility.h:17
CesiumGltf::ExtensionTextureWebp
glTF extension to specify textures using the WebP image format.
Definition
ExtensionTextureWebp.h:15
CesiumGltf::ExtensionTextureWebp::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition
ExtensionTextureWebp.h:35
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
ExtensionTextureWebp.h
Generated by
1.12.0