5 #include "CesiumGltf/Library.h"
6 #include "CesiumGltf/NamedObject.h"
15 static inline constexpr
const char* TypeName =
"Sampler";
21 static constexpr int32_t NEAREST = 9728;
23 static constexpr int32_t LINEAR = 9729;
30 static constexpr int32_t NEAREST = 9728;
32 static constexpr int32_t LINEAR = 9729;
34 static constexpr int32_t NEAREST_MIPMAP_NEAREST = 9984;
36 static constexpr int32_t LINEAR_MIPMAP_NEAREST = 9985;
38 static constexpr int32_t NEAREST_MIPMAP_LINEAR = 9986;
40 static constexpr int32_t LINEAR_MIPMAP_LINEAR = 9987;
47 static constexpr int32_t CLAMP_TO_EDGE = 33071;
49 static constexpr int32_t MIRRORED_REPEAT = 33648;
51 static constexpr int32_t REPEAT = 10497;
58 static constexpr int32_t CLAMP_TO_EDGE = 33071;
60 static constexpr int32_t MIRRORED_REPEAT = 33648;
62 static constexpr int32_t REPEAT = 10497;
89 int32_t wrapS = WrapS::REPEAT;
97 int32_t wrapT = WrapT::REPEAT;
Classes for working with glTF models.
The base class for objects in a glTF that have a name.
Known values for Magnification filter.
Known values for Minification filter.
Known values for S (U) wrapping mode.
Known values for T (V) wrapping mode.
Texture sampler properties for filtering and wrapping modes.
std::optional< int32_t > magFilter
Magnification filter.
std::optional< int32_t > minFilter
Minification filter.