Skip to content
Discussion options

You must be logged in to vote

This requirement is needed for parts of the fast decoding loop. In addition it is motivated by the fact that many graphics APIs impose the same requirement on strides or formats of vertex buffers; it's uncommon to be able to specify a 6-byte uint16x3 input.

Indeed, the expectation is that inputs like this are padded, either with zeroes, or with some other useful data (e.g. for interleaved vertices there's usually opportunities to use padding space for something needed by another vertex component).

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Ono-Sendai
Comment options

You must be logged in to vote
6 replies
@Ono-Sendai
Comment options

@zeux
Comment options

zeux Apr 21, 2025
Maintainer

@Ono-Sendai
Comment options

@arpu
Comment options

@zeux
Comment options

zeux Apr 23, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants