forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
texture.schema.json
21 lines (21 loc) · 989 Bytes
/
texture.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Texture",
"type": "object",
"description": "A texture and its sampler.",
"allOf": [ { "$ref": "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"sampler": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
"description": "The index of the sampler used by this texture. When undefined, a sampler with repeat wrapping and auto filtering should be used."
},
"source": {
"allOf": [ { "$ref": "glTFid.schema.json" } ],
"description": "The index of the image used by this texture. When undefined, it is expected that an extension or other mechanism will supply an alternate texture source, otherwise behavior is undefined."
},
"name": { },
"extensions": { },
"extras": { }
},
"gltf_webgl": "`createTexture()`, `deleteTexture()`, `bindTexture()`, `texImage2D()`, and `texParameterf()`"
}