-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
glTF 2.0 buffer: does it need a type? #786
Comments
Some history behind this: #629 Roughly: It once was allowed to also have the type |
That field is meant to be linked with XHR's var oReq = new XMLHttpRequest();
oReq.open("GET", "buffer.bin", true);
oReq.responseType = "arraybuffer"; // <-- buffer.type
oReq.onload = function (oEvent) {
var arrayBuffer = oReq.response;
// ...
};
oReq.send(null);
@pjcozzi what do you think of removing |
@xelatihy good eye, thanks. @lexaknyazev +1 from me. |
@lexaknyazev I am in support of this? Is this spec updated so we can label this |
Spec and README.md updated. |
Great, thanks! |
Updated in #826 |
The buffer schema for glTF 1.1 in glTF/specification/1.1/schema/buffer.schema.json has an enum with only one possible value for the parameter value. Since only one value is possible, is this useful?
The text was updated successfully, but these errors were encountered: