cesium-native
0.43.0
Loading...
Searching...
No Matches
MaterialOcclusionTextureInfo.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/TextureInfo.h>
7
8
namespace
CesiumGltf
{
12
struct
CESIUMGLTF_API
MaterialOcclusionTextureInfo
final :
public
TextureInfo
{
16
static
constexpr
const
char
* TypeName =
"MaterialOcclusionTextureInfo"
;
17
26
double
strength = 1;
27
34
int64_t
getSizeBytes
()
const
{
35
int64_t accum = 0;
36
accum += int64_t(
sizeof
(
MaterialOcclusionTextureInfo
));
37
accum += TextureInfo::getSizeBytes() - int64_t(
sizeof
(
TextureInfo
));
38
39
return
accum;
40
}
41
};
42
}
// namespace CesiumGltf
CesiumGltf
Classes for working with glTF models.
Definition
GltfConverterUtility.h:17
CesiumGltf::MaterialOcclusionTextureInfo
Material Occlusion Texture Info.
Definition
MaterialOcclusionTextureInfo.h:12
CesiumGltf::MaterialOcclusionTextureInfo::getSizeBytes
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition
MaterialOcclusionTextureInfo.h:34
CesiumGltf::TextureInfo
Reference to a texture.
Definition
TextureInfo.h:14
CesiumGltf
generated
include
CesiumGltf
MaterialOcclusionTextureInfo.h
Generated by
1.12.0