forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
technique.states.schema.json
28 lines (28 loc) · 1.07 KB
/
technique.states.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
{
"$schema" : "http://json-schema.org/draft-04/schema",
"title" : "states",
"type" : "object",
"description" : "Fixed-function rendering states.",
"allOf" : [ { "$ref" : "glTFProperty.schema.json" } ],
"properties" : {
"extensions" : {},
"extras" : {},
"enable" : {
"type" : "array",
"description" : "WebGL states to enable.",
"items" : {
"type" : "integer",
"enum" : [3042, 2884, 2929, 32823, 32926, 3089],
"gltf_enumNames" : ["BLEND", "CULL_FACE", "DEPTH_TEST", "POLYGON_OFFSET_FILL", "SAMPLE_ALPHA_TO_COVERAGE", "SCISSOR_TEST"]
},
"uniqueItems" : true,
"default" : [],
"gltf_detailedDescription" : "WebGL states to enable. States not in the array are disabled. All valid values correspond to WebGL enums.",
"gltf_webgl" : "`enable()` and `disable()`"
},
"functions" : {
"$ref" : "technique.states.functions.schema.json"
}
},
"additionalProperties" : false
}