NAME
view — append bytes and a bufferView
SYNOPSIS
g.view(data, target=None)
DESCRIPTION
Pads the buffer to 4 bytes, appends the data, and adds a bufferView over it.
PARAMETERS
data: bytes. target: 34962 for vertex data, 34963 for triangle indices, or none.
RETURN VALUE
The bufferView's index.
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
