VTK  9.4.20241226
GLTFSampler.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef GLTFSampler_h
5#define GLTFSampler_h
6
7#include "vtkIOGeometryModule.h" // For export macro
8
9VTK_ABI_NAMESPACE_BEGIN
10
15struct VTKIOGEOMETRY_EXPORT GLTFSampler
16{
17 enum FilterType : unsigned short
18 {
19 NEAREST = 9728,
20 LINEAR = 9729,
21 NEAREST_MIPMAP_NEAREST = 9984,
22 LINEAR_MIPMAP_NEAREST = 9985,
23 NEAREST_MIPMAP_LINEAR = 9986,
24 LINEAR_MIPMAP_LINEAR = 9987
25 };
26 enum WrapType : unsigned short
27 {
28 CLAMP_TO_EDGE = 33071,
29 MIRRORED_REPEAT = 33648,
30 REPEAT = 10497
31 };
36};
37
38VTK_ABI_NAMESPACE_END
39#endif
This struct describes a glTF sampler object.
Definition GLTFSampler.h:16
WrapType WrapT
Definition GLTFSampler.h:35
FilterType MinFilter
Definition GLTFSampler.h:33
FilterType MagFilter
Definition GLTFSampler.h:32
WrapType WrapS
Definition GLTFSampler.h:34