diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-11-17 23:21:47 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-11-17 23:21:47 +0300 |
commit | 9f1b91ca13163419509c3e65ad89a1492e611305 (patch) | |
tree | 9023bd94befa59ce5c6a09cb882229af4e472367 /io_scene_gltf2/io/com/gltf2_io_constants.py | |
parent | bc2bf031bd96110a85c996121cb80d228f670ae1 (diff) |
glTF importer: import data from texture samplers + exporter fix
Diffstat (limited to 'io_scene_gltf2/io/com/gltf2_io_constants.py')
-rwxr-xr-x | io_scene_gltf2/io/com/gltf2_io_constants.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/io_scene_gltf2/io/com/gltf2_io_constants.py b/io_scene_gltf2/io/com/gltf2_io_constants.py index c97908cd..9757a2a7 100755 --- a/io_scene_gltf2/io/com/gltf2_io_constants.py +++ b/io_scene_gltf2/io/com/gltf2_io_constants.py @@ -103,6 +103,21 @@ class DataType: }[num_elems] +class TextureFilter(IntEnum): + Nearest = 9728 + Linear = 9729 + NearestMipmapNearest = 9984 + LinearMipmapNearest = 9985 + NearestMipmapLinear = 9986 + LinearMipmapLinear = 9987 + + +class TextureWrap(IntEnum): + ClampToEdge = 33071 + MirroredRepeat = 33648 + Repeat = 10497 + + ################# # LEGACY DEFINES |