forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsampler.schema.json
34 lines (34 loc) · 1.52 KB
/
sampler.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"$schema" : "http://json-schema.org/draft-03/schema",
"title" : "sampler",
"type" : "object",
"description" : "Texture sampler properties. WebGL: see texParameterf().",
"extends" : { "$ref" : "glTFChildOfRootProperty.schema.json" },
"properties" : {
"magFilter": {
"type" : "integer",
"description" : "9728 (NEAREST) or 9729 (LINEAR). WebGL: see texParameterf() when pname is TEXTURE_MAG_FILTER.",
"enum" : [9728, 9729],
"default" : 9729
},
"minFilter": {
"type" : "integer",
"description" : "9728 (NEAREST), 9729 (LINEAR), 9984 (NEAREST_MIPMAP_NEAREST), 9985 (LINEAR_MIPMAP_NEAREST), 9986 (NEAREST_MIPMAP_LINEAR), or 9987 (LINEAR_MIPMAP_LINEAR). WebGL: see texParameterf() when pname is TEXTURE_MIN_FILTER.",
"enum" : [9728, 9729, 9984, 9985, 9986, 9987],
"default" : 9986
},
"wrapS": {
"type" : "integer",
"description" : "33071 (CLAMP_TO_EDGE), 33648 (MIRRORED_REPEAT), or 10497 (REPEAT). WebGL: see texParameterf() when pname is TEXTURE_WRAP_S.",
"enum" : [33071, 33648, 10497],
"default" : 10497
},
"wrapT": {
"type" : "integer",
"description" : "33071 (CLAMP_TO_EDGE), 33648 (MIRRORED_REPEAT), or 10497 (REPEAT). WebGL: see texParameterf() when pname is TEXTURE_WRAP_T.",
"enum" : [33071, 33648, 10497],
"default" : 10497
}
},
"additionalProperties" : false
}