forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtechnique.schema.json
35 lines (35 loc) · 1.38 KB
/
technique.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
35
{
"$schema" : "http://json-schema.org/draft-04/schema",
"title" : "Technique",
"type" : "object",
"description" : "A template for material appearances.",
"allOf" : [ { "$ref" : "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"program" : {
"allOf" : [ { "$ref" : "glTFid.schema.json" } ],
"description" : "The index of the program."
},
"attributes" : {
"type" : "object",
"description" : "A dictionary object of `Attribute` objects.",
"properties" : {},
"additionalProperties" : {
"$ref" : "technique.attribute.schema.json"
},
"gltf_detailedDescription" : "A dictionary object of `Attribute` objects. Each object defines an attribute input with a type and a semantic."
},
"uniforms" : {
"type" : "object",
"description" : "A dictionary object of `Uniform` objects.",
"properties" : {},
"additionalProperties" : {
"$ref" : "technique.uniform.schema.json"
},
"gltf_detailedDescription" : "A dictionary object of `Uniform` objects. Each object defines a uniform input with a type and an optional semantic and value."
},
"name" : {},
"extensions" : {},
"extras" : {}
},
"required" : ["program"]
}