5#include <CesiumGltf/Library.h>
6#include <CesiumGltf/NamedObject.h>
18 static constexpr const char*
TypeName =
"Sampler";
28 static constexpr int32_t
LINEAR = 9729;
39 static constexpr int32_t
LINEAR = 9729;
65 static constexpr int32_t
REPEAT = 10497;
79 static constexpr int32_t
REPEAT = 10497;
124 accum += int64_t(
sizeof(
Sampler));
Classes for working with glTF models.
The base class for objects in a glTF that have a name.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Known values for Magnification filter.
static constexpr int32_t LINEAR
LINEAR (9729)
static constexpr int32_t NEAREST
NEAREST (9728)
Known values for Minification filter.
static constexpr int32_t NEAREST_MIPMAP_NEAREST
NEAREST_MIPMAP_NEAREST (9984)
static constexpr int32_t LINEAR_MIPMAP_NEAREST
LINEAR_MIPMAP_NEAREST (9985)
static constexpr int32_t NEAREST
NEAREST (9728)
static constexpr int32_t NEAREST_MIPMAP_LINEAR
NEAREST_MIPMAP_LINEAR (9986)
static constexpr int32_t LINEAR_MIPMAP_LINEAR
LINEAR_MIPMAP_LINEAR (9987)
static constexpr int32_t LINEAR
LINEAR (9729)
Known values for S (U) wrapping mode.
static constexpr int32_t MIRRORED_REPEAT
MIRRORED_REPEAT (33648)
static constexpr int32_t REPEAT
REPEAT (10497)
static constexpr int32_t CLAMP_TO_EDGE
CLAMP_TO_EDGE (33071)
Known values for T (V) wrapping mode.
static constexpr int32_t MIRRORED_REPEAT
MIRRORED_REPEAT (33648)
static constexpr int32_t CLAMP_TO_EDGE
CLAMP_TO_EDGE (33071)
static constexpr int32_t REPEAT
REPEAT (10497)
Texture sampler properties for filtering and wrapping modes.
int32_t wrapS
S (U) wrapping mode.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::optional< int32_t > magFilter
Magnification filter.
int32_t wrapT
T (V) wrapping mode.
static constexpr const char * TypeName
The original name of this type.
std::optional< int32_t > minFilter
Minification filter.