cesium-native
0.43.0
Loading...
Searching...
No Matches
Texture.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 <CesiumGltf/NamedObject.h>
7
8
#include <cstdint>
9
10
namespace
CesiumGltf
{
14
struct
CESIUMGLTF_API
Texture
final :
public
CesiumGltf::NamedObject
{
18
static
constexpr
const
char
* TypeName =
"Texture"
;
19
24
int32_t sampler = -1;
25
31
int32_t source = -1;
32
39
int64_t
getSizeBytes
()
const
{
40
int64_t accum = 0;
41
accum += int64_t(
sizeof
(
Texture
));
42
accum +=
CesiumGltf::NamedObject::getSizeBytes
() -
43
int64_t(
sizeof
(
CesiumGltf::NamedObject
));
44
45
return
accum;
46
}
47
};
48
}
// namespace CesiumGltf
CesiumGltf
Classes for working with glTF models.
Definition
GltfConverterUtility.h:17
CesiumGltf::NamedObject
The base class for objects in a glTF that have a name.
Definition
NamedObject.h:15
CesiumGltf::NamedObject::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition
NamedObject.h:29
CesiumGltf::Texture
A texture and its sampler.
Definition
Texture.h:14
CesiumGltf::Texture::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition
Texture.h:39
CesiumGltf
generated
include
CesiumGltf
Texture.h
Generated by
1.12.0