cesium-native 0.48.0
Loading...
Searching...
No Matches
MaterialNormalTextureInfo.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 MaterialNormalTextureInfo final : public TextureInfo {
16 static constexpr const char* TypeName = "MaterialNormalTextureInfo";
17
27 double scale = 1;
28
35 int64_t getSizeBytes() const {
36 int64_t accum = 0;
37 accum += int64_t(sizeof(MaterialNormalTextureInfo));
38 accum += TextureInfo::getSizeBytes() - int64_t(sizeof(TextureInfo));
39
40 return accum;
41 }
42};
43} // namespace CesiumGltf
Classes for working with glTF models.
static constexpr const char * TypeName
The original name of this type.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
double scale
The scalar parameter applied to each normal vector of the normal texture.
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