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
10namespace CesiumGltf {
14struct 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));
47 int64_t(sizeof(CesiumUtility::ExtensibleObject));
48
49 return accum;
50 }
51};
52} // namespace CesiumGltf
Classes for working with glTF models.
Reference to a texture.
Definition TextureInfo.h:14
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition TextureInfo.h:43
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 ...