Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2019-11-17 23:21:47 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-11-17 23:21:47 +0300
commit9f1b91ca13163419509c3e65ad89a1492e611305 (patch)
tree9023bd94befa59ce5c6a09cb882229af4e472367 /io_scene_gltf2/io/com/gltf2_io_constants.py
parentbc2bf031bd96110a85c996121cb80d228f670ae1 (diff)
glTF importer: import data from texture samplers + exporter fix
Diffstat (limited to 'io_scene_gltf2/io/com/gltf2_io_constants.py')
-rwxr-xr-xio_scene_gltf2/io/com/gltf2_io_constants.py15
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