forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbufferView.schema.json
32 lines (32 loc) · 1.14 KB
/
bufferView.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
{
"$schema" : "http://json-schema.org/draft-03/schema",
"title" : "bufferView",
"type" : "object",
"description" : "A view into a buffer.",
"extends" : { "$ref" : "glTFChildOfRootProperty.schema.json" },
"properties" : {
"buffer" : {
"extends" : { "$ref" : "glTFid.schema.json" },
"description" : "The id (JSON property name) of the buffer.",
"required" : true
},
"byteOffset" : {
"type" : "integer",
"description" : "The offset into the buffer in bytes.",
"minimum" : 0,
"required" : true
},
"byteLength" : {
"type" : "integer",
"description" : "The length of the buffer-view in bytes.",
"minimum" : 0,
"default" : 0
},
"target" : {
"type" : "integer",
"description" : "Valid values are 34962 (ARRAY_BUFFER) or 34963 (ELEMENT_ARRAY_BUFFER). When not provided, the buffer-view contains animation or skin data. WebGL: see bindBuffer().",
"enum" : [34962, 34963]
}
},
"additionalProperties" : false
}