Skip to content

Commit

Permalink
Merge pull request #631 from lexaknyazev/1.0.1-buffer.type-2
Browse files Browse the repository at this point in the history
Clarify usage of buffer.type
  • Loading branch information
pjcozzi committed Jun 23, 2016
2 parents b90f78b + 408095a commit 3b6eb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/2.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ Buffer data is little endian.

All buffers are stored in the asset's `buffers` dictionary property.

The following example defines a buffer. The `byteLength` property specifies the size of the buffer file. The `type` property specifies how the data is stored, either as a binary array buffer or text. The `uri` property is the URI to the buffer data. Buffer data may also be stored within the glTF file as base64-encoded data and reference via data URI.
The following example defines a buffer. The `byteLength` property specifies the size of the buffer file. The `type` property specifies how the data is stored; its value can be used as the `responseType` when retrieving data over [XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest). The `uri` property is the URI to the buffer data. Buffer data may also be stored within the glTF file as base64-encoded data and reference via data URI.

```javascript
"buffers": {
Expand Down

0 comments on commit 3b6eb6a

Please sign in to comment.