NAME
vrmBufferView — append bytes and a bufferView
SYNOPSIS
vrmBufferView[g, bytes] · vrmBufferView[g, bytes, target]
DESCRIPTION
Pads the buffer with zeros to 4 bytes, appends the bytes, and adds a bufferView (target 34962 for vertex data, 34963 for indices). g is the symbol holding the file (the function holds its first argument).
RETURN VALUE
The bufferView's index, from 0.
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
