forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtechnique.schema.json
54 lines (54 loc) · 1.96 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema" : "http://json-schema.org/draft-04/schema",
"title" : "technique",
"type" : "object",
"description" : "A template for material appearances.",
"allOf" : [ { "$ref" : "glTFChildOfRootProperty.schema.json" } ],
"properties": {
"name" : {},
"extensions" : {},
"extras" : {},
"parameters" : {
"type" : "object",
"description" : "A dictionary object of technique.parameters objects.",
"properties" : {
},
"additionalProperties" : {
"$ref" : "technique.parameters.schema.json"
},
"default" : {},
"gltf_detailedDescription" : "A dictionary object of technique.parameters objects. Each parameter defines an attribute or uniform input, and an optional semantic and value."
},
"attributes" : {
"type" : "object",
"description" : "A dictionary object of strings that maps GLSL attribute names to technique parameter IDs.",
"properties" : {
},
"additionalProperties" : {
"$ref" : "technique.attribute.schema.json"
},
"default" : {}
},
"program" : {
"allOf" : [ { "$ref" : "glTFid.schema.json" } ],
"description" : "The ID of the program."
},
"uniforms" : {
"type" : "object",
"description" : "A dictionary object of strings that maps GLSL uniform names to technique parameter IDs.",
"properties" : {
},
"additionalProperties" : {
"$ref" : "technique.uniform.schema.json"
},
"default" : {}
},
"states" : {
"allOf" : [ { "$ref" : "technique.states.schema.json" } ],
"description" : "Fixed-function rendering states.",
"default" : {}
}
},
"additionalProperties" : false,
"required" : ["program"]
}