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
8namespace CesiumGltf {
12struct 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
Classes for working with glTF models.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Reference to a texture.
Definition TextureInfo.h:14