cesium-native
0.43.0
Loading...
Searching...
No Matches
TextureInfo.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
TextureInfo
:
public
CesiumUtility::ExtensibleObject
{
18
static
constexpr
const
char
* TypeName =
"TextureInfo"
;
19
23
int32_t index = -1;
24
35
int64_t texCoord = 0;
36
43
int64_t
getSizeBytes
()
const
{
44
int64_t accum = 0;
45
accum += int64_t(
sizeof
(
TextureInfo
));
46
accum +=
CesiumUtility::ExtensibleObject::getSizeBytes
() -
47
int64_t(
sizeof
(
CesiumUtility::ExtensibleObject
));
48
49
return
accum;
50
}
51
};
52
}
// namespace CesiumGltf
CesiumGltf
Classes for working with glTF models.
Definition
GltfConverterUtility.h:17
CesiumGltf::TextureInfo
Reference to a texture.
Definition
TextureInfo.h:14
CesiumGltf::TextureInfo::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition
TextureInfo.h:43
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
TextureInfo.h
Generated by
1.12.0