cesium-native  0.41.0
PropertyTextureProperty.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 #include <CesiumUtility/JsonValue.h>
9 
10 #include <cstdint>
11 #include <optional>
12 #include <vector>
13 
14 namespace CesiumGltf {
18 struct CESIUMGLTF_API PropertyTextureProperty final : public TextureInfo {
19  static inline constexpr const char* TypeName = "PropertyTextureProperty";
20 
27  std::vector<int64_t> channels = {0};
28 
34  std::optional<CesiumUtility::JsonValue> offset;
35 
41  std::optional<CesiumUtility::JsonValue> scale;
42 
49  std::optional<CesiumUtility::JsonValue> max;
50 
57  std::optional<CesiumUtility::JsonValue> min;
58 };
59 } // namespace CesiumGltf
Classes for working with glTF models.
A texture containing property values.
std::optional< CesiumUtility::JsonValue > min
Minimum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
std::optional< CesiumUtility::JsonValue > offset
An offset to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
std::optional< CesiumUtility::JsonValue > scale
A scale to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
std::optional< CesiumUtility::JsonValue > max
Maximum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
Reference to a texture.
Definition: TextureInfo.h:15