{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "bufferView.schema.json", "title": "Buffer View", "type": "object", "description": "A view into a buffer generally representing a subset of the buffer.", "$ref": "glTFChildOfRootProperty.schema.json", "properties": { "buffer": { "$ref": "glTFid.schema.json", "description": "The index of the buffer." }, "byteLength": { "type": "integer", "description": "The length of the bufferView in bytes.", "minimum": 1 }, "byteOffset": { "type": "integer", "description": "The offset into the buffer in bytes.", "minimum": 0, "default": 0 }, "byteStride": { "type": "integer", "description": "The stride, in bytes.", "minimum": 4, "maximum": 252, "multipleOf": 4, "gltf_detailedDescription": "The stride, in bytes, between vertex attributes. When this is not defined, data is tightly packed. When two or more accessors use the same buffer view, this field **MUST** be defined." }, "target": { "description": "The hint representing the intended GPU buffer type to use with this buffer view.", "anyOf": [ { "const": 34962, "description": "ARRAY_BUFFER", "type": "integer" }, { "const": 34963, "description": "ELEMENT_ARRAY_BUFFER", "type": "integer" }, { "type": "integer" } ] } }, "required": [ "buffer", "byteLength" ] }